Project

Profile

Help

Issue #8882

closed

UploadCollectionTestCase.test_collection_upload is failing

Added by dkliban@redhat.com over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Seeing the following failure in nightly CI:

pulp_smash.exceptions.TaskReportError: ('Task report /pulp/api/v3/tasks/fba54395-4cfc-4aeb-8f16-6c768e288c54/ contains a error: {\'traceback\': \'  File "/usr/local/lib/python3.6/site-packages/rq/worker.py", line 1013, in perform_job\
    rv = job.perform()\
  File "/usr/local/lib/python3.6/site-packages/rq/job.py", line 709, in perform\
    self._result = self._execute()\
  File "/usr/local/lib/python3.6/site-packages/rq/job.py", line 732, in _execute\
    result = self.func(*self.args, **self.kwargs)\
  File "/usr/local/lib/python3.6/site-packages/pulp_ansible/app/tasks/collections.py", line 203, in import_collection\
    artifact_file, filename=filename, file_url=url, logger=user_facing_logger\
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 57, in import_collection\
    return _import_collection(file, filename, file_url, logger, cfg)\
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 80, in _import_collection\
    data = CollectionLoader(extract_dir, filename, cfg=cfg, logger=logger).load()\
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 198, in load\
    self._check_file_manifest(self.path, self.file_manifest, self.file_manifest_file.name)\
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 324, in _check_file_manifest\
    msg=err_msg)\
\', \'description\': "Files in the artifact but not the file manifest: [\'plugins\', \'roles/minishift_up_role/handlers\']"}
Full task report: {\'pulp_href\': \'/pulp/api/v3/tasks/fba54395-4cfc-4aeb-8f16-6c768e288c54/\', \'pulp_created\': \'2021-06-09T03:42:21.436036Z\', \'state\': \'failed\', \'name\': \'pulp_ansible.app.tasks.collections.import_collection\', \'logging_cid\': \'408d28be9c7045e4a0e00a4c90ee087a\', \'started_at\': \'2021-06-09T03:42:21.543518Z\', \'finished_at\': \'2021-06-09T03:42:21.595694Z\', \'error\': {\'traceback\': \'  File "/usr/local/lib/python3.6/site-packages/rq/worker.py", line 1013, in perform_job\
    rv = job.perform()\
  File "/usr/local/lib/python3.6/site-packages/rq/job.py", line 709, in perform\
    self._result = self._execute()\
  File "/usr/local/lib/python3.6/site-packages/rq/job.py", line 732, in _execute\
    result = self.func(*self.args, **self.kwargs)\
  File "/usr/local/lib/python3.6/site-packages/pulp_ansible/app/tasks/collections.py", line 203, in import_collection\
    artifact_file, filename=filename, file_url=url, logger=user_facing_logger\
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 57, in import_collection\
    return _import_collection(file, filename, file_url, logger, cfg)\
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 80, in _import_collection\
    data = CollectionLoader(extract_dir, filename, cfg=cfg, logger=logger).load()\
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 198, in load\
    self._check_file_manifest(self.path, self.file_manifest, self.file_manifest_file.name)\
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 324, in _check_file_manifest\
    msg=err_msg)\
\', \'description\': "Files in the artifact but not the file manifest: [\'plugins\', \'roles/minishift_up_role/handlers\']"}, \'worker\': \'/pulp/api/v3/workers/b44f48bd-ade9-428e-91b7-a7404b5f8ac9/\', \'parent_task\': None, \'child_tasks\': [], \'task_group\': None, \'progress_reports\': [], \'created_resources\': [], \'reserved_resources_record\': []}', {'pulp_href': '/pulp/api/v3/tasks/fba54395-4cfc-4aeb-8f16-6c768e288c54/', 'pulp_created': '2021-06-09T03:42:21.436036Z', 'state': 'failed', 'name': 'pulp_ansible.app.tasks.collections.import_collection', 'logging_cid': '408d28be9c7045e4a0e00a4c90ee087a', 'started_at': '2021-06-09T03:42:21.543518Z', 'finished_at': '2021-06-09T03:42:21.595694Z', 'error': {'traceback': '  File "/usr/local/lib/python3.6/site-packages/rq/worker.py", line 1013, in perform_job
    rv = job.perform()
  File "/usr/local/lib/python3.6/site-packages/rq/job.py", line 709, in perform
    self._result = self._execute()
  File "/usr/local/lib/python3.6/site-packages/rq/job.py", line 732, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/pulp_ansible/app/tasks/collections.py", line 203, in import_collection
    artifact_file, filename=filename, file_url=url, logger=user_facing_logger
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 57, in import_collection
    return _import_collection(file, filename, file_url, logger, cfg)
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 80, in _import_collection
    data = CollectionLoader(extract_dir, filename, cfg=cfg, logger=logger).load()
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 198, in load
    self._check_file_manifest(self.path, self.file_manifest, self.file_manifest_file.name)
  File "/usr/local/lib/python3.6/site-packages/galaxy_importer/collection.py", line 324, in _check_file_manifest
    msg=err_msg)
', 'description': "Files in the artifact but not the file manifest: ['plugins', 'roles/minishift_up_role/handlers']"}, 'worker': '/pulp/api/v3/workers/b44f48bd-ade9-428e-91b7-a7404b5f8ac9/', 'parent_task': None, 'child_tasks': [], 'task_group': None, 'progress_reports': [], 'created_resources': [], 'reserved_resources_record': []})

Also available in: Atom PDF