Skip to content

Crash when no output from container #53

@mathiser

Description

@mathiser

ob-consumer_1 | Traceback (most recent call last):
job-consumer_1 | File "/home/app/consumer/consumer_rabbitmq_impl.py", line 123, in do_work
job-consumer_1 | j.send_volume_output()
job-consumer_1 | File "/home/app/job/job_docker_impl.py", line 145, in send_volume_output
job-consumer_1 | tmp_container = self.cli.containers.run(self.volume_sender,
job-consumer_1 | File "/usr/local/lib/python3.8/dist-packages/docker/models/containers.py", line 876, in run
job-consumer_1 | raise ContainerError(
job-consumer_1 | docker.errors.ContainerError: Command 'None' in image 'volume_sender:temp' returned non-zero exit status 1: b'Traceback (most recent call last):\n File "/main.py", line 33, in \n main()\n File "/main.py", line 25, in main\n tmp_zip = zip_folder_to_tmpfile(os.environ.get("VOLUME_MOUNTPOINT"))\n File "/main.py", line 13, in zip_folder_to_tmpfile\n with open(os.path.join(src, "no_output_files_found.error"), "w") as f:\nOSError: [Errno 30] Read-only file system: '/data/no_output_files_found.error'\n'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions