Skip to content

galaxy produces a red output collection for a successfull job #227

@martenson

Description

@martenson

history: https://usegalaxy.cz/u/martincech/h/yolo

the job is an unzip tool that is supposed to decompress archive into a collection with cca 3700 small datasets. Works fine on the same input on usegalaxy.eu

this trace could be related:

2025-08-13T13:37:05.043972+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]: galaxy.job_execution.output_collect ERROR 2025-08-13 13:37:05,038 [pN:handler_1,p:3348726,tN:PulsarJobRunner.work_thread-2] Problem gathering output collection.
2025-08-13T13:37:05.044041+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]: Traceback (most recent call last):
2025-08-13T13:37:05.044063+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/job_execution/output_collect.py", line 184, in collect_dynamic_outputs
2025-08-13T13:37:05.044078+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     job_context.populate_collection_elements(
2025-08-13T13:37:05.044094+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/model/store/discover.py", line 339, in populate_collection_elements
2025-08-13T13:37:05.044109+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     self._populate_elements(
2025-08-13T13:37:05.044124+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/model/store/discover.py", line 448, in _populate_elements
2025-08-13T13:37:05.044136+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     self.update_object_store_with_datasets(
2025-08-13T13:37:05.044151+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/model/store/discover.py", line 474, in update_object_store_with_datasets
2025-08-13T13:37:05.044182+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     self.object_store.update_from_file(dataset.dataset, file_name=path, create=True)
2025-08-13T13:37:05.044204+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/objectstore/__init__.py", line 658, in update_from_file
2025-08-13T13:37:05.044218+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     return self._invoke(
2025-08-13T13:37:05.044232+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:            ^^^^^^^^^^^^^
2025-08-13T13:37:05.044245+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/objectstore/__init__.py", line 492, in _invoke
2025-08-13T13:37:05.044257+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     return self.__getattribute__(f"_{delegate}")(obj=obj, **kwargs)
2025-08-13T13:37:05.044271+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-08-13T13:37:05.044288+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/objectstore/__init__.py", line 1233, in _update_from_file
2025-08-13T13:37:05.044301+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     self._create(
2025-08-13T13:37:05.044314+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/objectstore/__init__.py", line 1734, in _create
2025-08-13T13:37:05.044327+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     return self.backends[0].create(obj, **kwargs)
2025-08-13T13:37:05.044340+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-08-13T13:37:05.044353+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/objectstore/__init__.py", line 548, in create
2025-08-13T13:37:05.044365+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     return self._invoke(
2025-08-13T13:37:05.044379+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:            ^^^^^^^^^^^^^
2025-08-13T13:37:05.044392+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/objectstore/__init__.py", line 492, in _invoke
2025-08-13T13:37:05.044408+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     return self.__getattribute__(f"_{delegate}")(obj=obj, **kwargs)
2025-08-13T13:37:05.044421+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-08-13T13:37:05.044435+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:   File "/srv/galaxy/server/lib/galaxy/objectstore/__init__.py", line 1045, in _create
2025-08-13T13:37:05.044451+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     open(path, "w").close()  # Should be rb?
2025-08-13T13:37:05.044465+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]:     ^^^^^^^^^^^^^^^
2025-08-13T13:37:05.044478+02:00 galaxy-cz.grid.cesnet.cz galaxyctl[3348726]: PermissionError: [Errno 13] Permission denied: '/rbd/data/datasets/2/1/3/dataset_2134c300-36b4-48f4-a70c-447da6aa40a3.dat'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions