thoth-station/integration-tests

No runtime environment with name 'download-dataset' was found in the configuration file for hoth-station/elyra-aidevsecops-tutorial

Closed this issue · 0 comments

Describe the bug

hen I ask for an advise for the cloned application for runtime environment download-dataset , with user stack supplied and without static analysis (0.075s)
features/steps/advise.py:212
Error message
Traceback (most recent call last):
  File "/opt/app-root/lib64/python3.8/site-packages/behave/model.py", line 1329, in run
    match.run(runner.context)
  File "/opt/app-root/lib64/python3.8/site-packages/behave/matchers.py", line 98, in run
    self.func(context, *args, **kwargs)
  File "features/steps/advise.py", line 232, in step_impl
    results = advise_here(
  File "/opt/app-root/lib64/python3.8/site-packages/thamos/lib.py", line 565, in advise_here
    return advise(
  File "/opt/app-root/lib64/python3.8/site-packages/thamos/lib.py", line 104, in wrapper
    result = func(api_client, *args, **kwargs)
  File "/opt/app-root/lib64/python3.8/site-packages/thamos/lib.py", line 391, in advise
    thoth_config.get_runtime_environment(runtime_environment_name) or dict()
  File "/opt/app-root/lib64/python3.8/site-packages/thamos/config.py", line 392, in get_runtime_environment
    raise NoRuntimeEnvironmentError(
thamos.exceptions.NoRuntimeEnvironmentError: No runtime environment with name 'download-dataset' was found in the configuration file; configured runtime environment names: rhel:8

Captured logging:
INFO:thamos.lib:Using Pipenv files to manage dependencies located in '/tmp/tmp2_hlf3sl'
INFO:thamos.lib:Submitting Pipfile.lock as a base for user's stack scoring - see https://thoth-station.ninja/j/user_stack
ERROR:thamos.lib:Pipfile hash stated in Pipfile.lock '8b3de1' does not correspond to Pipfile hash '7a91a3' - was Pipfile adjusted? This error is not critical.

To Reproduce
Steps to reproduce the behavior:

  1. Go to test environment
  2. Trigger integration tests
  3. See the error

Expected behavior

Integration test should succeed.