Details
Description
Description
The index_registry task if hitting an AttributeError when trying to access serializers.ValidationError because the locally imported 'serializers' is from `galaxy_ng.app.api.ui.serializers` instead of from rest_framework.exceptions or rest_framework.serializers.
worker_1 | pulp []: pulpcore.tasking.pulpcore_worker:INFO: Task bef9a416-8a57-4ddf-8b2b-d5ae4021fafc failed (module 'galaxy_ng.app.api.ui.serializers' has no attribute 'ValidationError') worker_1 | pulp []: pulpcore.tasking.pulpcore_worker:INFO: File "/venv/lib64/python3.8/site-packages/pulpcore/tasking/pulpcore_worker.py", line 452, in _perform_task worker_1 | result = func(*args, **kwargs) worker_1 | worker_1 | File "/src/galaxy_ng/galaxy_ng/app/tasks/index_registry.py", line 113, in create_or_update_remote_container worker_1 | except serializers.ValidationError as e: worker_1 |
Seen running integration tests on local standalone. The error can be seen in the logs.
- Dependency Versions
galaxy_ng 36c40b77eb6f49b97f99b833aa1430dd7a715f61
Steps to Reproduce
- Bring a standalone env (./compose up)
- run integration tests ( HUB_LOCAL=1 ./dev/common/RUN_INTEGRATION.sh)
- watch/grep the logs for above traceback
Attachments
Issue Links
- is related to
-
AAH-1689 Errors in CI server log: squash api tracebacks caused by tests.
- Closed