Hi, On 02-03-2022 14:58, Nilesh Patra wrote:
@Paul, could you please help reproduce this in the debci environment and help us with any clues as to what might be wrong?
The autopkgtest command line is at the top of each log.
| File "/usr/lib/python3/dist-packages/toil/jobStores/fileJobStore.py", line 498, in read_file | os.link(jobStoreFilePath, local_path) | OSError: [Errno 18] Invalid cross-device link: '/tmp/autopkgtest-lxc.rgt3f050/downtmp/build.YHo/src/jobstore-test-de9381ff-d8be-4b36-a691-be2c5fa759d2/files/no-job/file-d7145278c6b84845bd03cf5cff29e690/stream' -> '/home/debci/tmp/tmp1lgiu28c'
>
It looks (to me) that home and tmp are mounted on different partitions and os.link does not work with such a setting.
I *think* the /tmp inside the lxc is mapped to /tmp of the host. /home is completely native to the container. (Not sure if all this matters). On *some* architectures /tmp and /var/lib/lxc of the host are on a separate partitions with respect to the rest. I'm pretty sure that for all our architectures all files inside the container are on the same partition.
Paul
OpenPGP_signature
Description: OpenPGP digital signature