canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #01743
[Bug 2034586] Re: overlay-shiftfs-tests: race with systemd-tmpfiles
** Changed in: ubuntu-kernel-tests
Status: New => Fix Released
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2034586
Title:
overlay-shiftfs-tests: race with systemd-tmpfiles
Status in ubuntu-kernel-tests:
Fix Released
Bug description:
I see some failures on ovl-mkdir-xattrs.sh where:
1105 00:40:55 ERROR| [stderr] + echo 'dir is /tmp/tmp.9GEeAFGs0M'
1106 00:40:55 ERROR| [stderr] + mkdir -p /tmp/tmp.9GEeAFGs0M/l /tmp/tmp.9GEeAFGs0M/u /tmp/tmp.9GEeAFGs0M/w /tmp/tmp.9GEeAFGs0M/t
1107 00:40:55 ERROR| [stderr] + mkdir /tmp/tmp.9GEeAFGs0M/l/dev
1108 00:40:55 ERROR| [stderr] + mount -t overlay -o lowerdir=/tmp/tmp.9GEeAFGs0M/l,upperdir=/tmp/tmp.9GEeAFGs0M/u,workdir=/tmp/tmp.9GEeAFGs0M/w o /tmp/tmp.9GEeAFGs0M/t
1109 00:40:55 ERROR| [stderr] mount: /tmp/tmp.9GEeAFGs0M/t: mount point does not exist.
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/system/systemd-tmpfiles-setup.service. This calls
systemd-tmpfiles --remove --create. The --remove on /tmp, will remove
everything there.
One possible solution is not using /tmp/ for these tests.
Cascardo.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2034586/+subscriptions
References