overlay-shiftfs-tests: race with systemd-tmpfiles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
I see some failures on ovl-mkdir-xattrs.sh where:
1105 00:40:55 ERROR| [stderr] + echo 'dir is /tmp/tmp.
1106 00:40:55 ERROR| [stderr] + mkdir -p /tmp/tmp.
1107 00:40:55 ERROR| [stderr] + mkdir /tmp/tmp.
1108 00:40:55 ERROR| [stderr] + mount -t overlay -o lowerdir=
1109 00:40:55 ERROR| [stderr] mount: /tmp/tmp.
At some other instances, the failure is at mkdir /tmp/XXXX/l/dev, meaning /tmp/XXXX/l or /tmp/XXXX/u is gone.
As this is being run on a recently started container, my bet is that systemd-tmpfiles setup is still running. This would be /lib/systemd/
One possible solution is not using /tmp/ for these tests.
Cascardo.