You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code works for the imagemagick example and there is no build failure in the CI/CD pipeline, but I get the errors below when I run:
$ python -m pytest -m gitlab_runner -sv
============================================================================================================== short test summary info ==============================================================================================================
FAILED tests/test_plugin_git.py::test_git_processCommitAndDownload - TypeError: can only concatenate str (not "NoneType") to str
FAILED tests/test_plugins.py::test_rsync_plugin_check - assert False
FAILED tests/test_plugins.py::test_rsync_plugin_run - TypeError: expected str, bytes or os.PathLike object, not NoneType
FAILED tests/test_queue_factory.py::test_factory_nats - AttributeError: 'NoneType' object has no attribute 'debug'
FAILED tests/test_queue_nats.py::test_queue_nats_connect_close - AttributeError: 'NoneType' object has no attribute 'debug'
FAILED tests/test_queue_nats.py::test_queue_nats_subscribe - AttributeError: 'NoneType' object has no attribute 'debug'
FAILED tests/test_queue_nats.py::test_queue_nats_send_subscribe_nextMsg - AttributeError: 'NoneType' object has no attribute 'debug'
==================================================================================================== 7 failed, 5 passed, 36 deselected in 3.83s =============================================================================
Ps: The unit tests are all green or deselected: python -m pytest -m unit -sv
The text was updated successfully, but these errors were encountered:
Are you running these tests locally? If so the reason for this is because the gitlab_runner tests are using env variables defined in the CI env. A solution to this would be:
Better documentation
Printed warnings indicating that the env variables are not defined
These tests should now work in our docker compose file so I'm going to close this, the only tests that will not work are the ones with the globus tags for obvious reasons.
The code works for the imagemagick example and there is no build failure in the CI/CD pipeline, but I get the errors below when I run:
Ps: The unit tests are all green or deselected:
python -m pytest -m unit -sv
The text was updated successfully, but these errors were encountered: