Hi, I am submitting the following job (through python): import htcondor s = htcondor.Schedd() job = htcondor.Submit({ "executable": "/bin/cat", "arguments": "test.txt", "transfer_executable": False, "initialdir": "/tmp", "should_transfer_files": True, "transfer_input_files": "/test/test.txt", "universe": "docker", "docker_image": "python:3.8.10", "output": "/tmp/test.out", "error": "/tmp/test.err", "max_retries": 0, }) with s.transaction() as t: job.queue(t) Once it ran, test.out is empty and test.err contains the following:
/bin/cat: test.py: No such file or directory However, if I change my job for a Vanilla universe one: import htcondor s = htcondor.Schedd() job = htcondor.Submit({ "executable": "/bin/cat", "arguments": "test.txt", "transfer_executable": False, "initialdir": "/tmp", "should_transfer_files": True, "transfer_input_files": "/test/test.txt", "universe": "vanila", "output": "/tmp/test.out", "error": "/tmp/test.err", "max_retries": 0, }) with s.transaction() as t: job.queue(t) Then it works as intended. This is a dummy recreation of a problem I am having in a bigger project, and which shows the same behavior: input files not being transferred in the docker container. Thanks, Gaëtan
Attention: |