Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test errors in ETOS Suite Runner #294

Open
andmat900 opened this issue Oct 14, 2024 · 0 comments
Open

Unit test errors in ETOS Suite Runner #294

andmat900 opened this issue Oct 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@andmat900
Copy link
Contributor

andmat900 commented Oct 14, 2024

Description

ETOS Suite Runner tests pass, but log output suggest something is broken in the code:

[2024-10-14 05:30:38][6e8ec0be-3299-4242-b07c-1843113c350f] INFO:ExecutionSpaceProvider - Checkin: Checking in all checked out execution spaces.
Traceback (most recent call last):
  File "/home/runner/work/etos-suite-runner/etos-suite-runner/projects/etos_suite_runner/.tox/py3/lib/python3.9/site-packages/iut_provider/utilities/jsontas_provider.py", line 138, in _wait_for_and_checkout_iuts
    available_iuts = self.list_iuts(maximum_amount)
  File "/home/runner/work/etos-suite-runner/etos-suite-runner/projects/etos_suite_runner/.tox/py3/lib/python3.9/site-packages/iut_provider/utilities/jsontas_provider.py", line 76, in list_iuts
[2024-10-14 05:30:38][6e8ec0be-3299-4242-b07c-1843113c350f] ERROR:EnvironmentProvider: Failed creating environment for test. AttributeError("'str' object has no attribute 'to_string'")
    return list_iuts.list(self.identity, amount)
  File "/home/runner/work/etos-suite-runner/etos-suite-runner/projects/etos_suite_runner/.tox/py3/lib/python3.9/site-packages/iut_provider/utilities/list.py", line 68, in list
    raise NoIutFound()
iut_provider.exceptions.NoIutFound

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/work/etos-suite-runner/etos-suite-runner/projects/etos_suite_runner/.tox/py3/lib/python3.9/site-packages/environment_provider/environment_provider.py", line 563, in run
    return self._run()
  File "/home/runner/work/etos-suite-runner/etos-suite-runner/projects/etos_suite_runner/.tox/py3/lib/python3.9/site-packages/environment_provider/environment_provider.py", line 539, in _run
    self.checkout(test_suite_name, test_runners, datasets.pop(0), main_suite_id)
  File "/home/runner/work/etos-suite-runner/etos-suite-runner/projects/etos_suite_runner/.tox/py3/lib/python3.9/site-packages/environment_provider/environment_provider.py", line 407, in checkout
    iuts = self.iut_provider.wait_for_and_checkout_iuts(
  File "/home/runner/work/etos-suite-runner/etos-suite-runner/projects/etos_suite_runner/.tox/py3/lib/python3.9/site-packages/iut_provider/utilities/jsontas_provider.py", line 227, in wait_for_and_checkout_iuts
    return self._wait_for_and_checkout_iuts(minimum_amount, maximum_amount)
  File "/home/runner/work/etos-suite-runner/etos-suite-runner/projects/etos_suite_runner/.tox/py3/lib/python3.9/site-packages/iut_provider/utilities/jsontas_provider.py", line 168, in _wait_for_and_checkout_iuts
    "%r does not exist in the IUT provider!", self.identity.to_string()
AttributeError: 'str' object has no attribute 'to_string'

Most recent link: https://github.com/eiffel-community/etos-suite-runner/actions/runs/11321542348/job/31480752519?pr=73

Additional Context

No response

Logs

No response

Expected Behavior

No errors in the log output.

Steps To Reproduce

No response

The version of this project/repo, if applicable

main

The version/edition of the Eiffel Protocol used, if applicable

main

@andmat900 andmat900 added the bug Something isn't working label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant