2019-01-08 16:23:49 +01:00
|
|
|
summary: Check mount bug https://forum.snapcraft.io/t/5682
|
|
|
|
|
|
2021-03-04 10:35:57 -03:00
|
|
|
details: |
|
2019-01-08 16:23:49 +01:00
|
|
|
Regression test for systemd mount race that produces a protocol
|
|
|
|
|
error. We added a workaround to snapd for the upstream bug
|
|
|
|
|
https://github.com/systemd/systemd/issues/10872
|
|
|
|
|
|
|
|
|
|
For more discussion on the issue see
|
|
|
|
|
https://forum.snapcraft.io/t/5682
|
2019-01-09 20:12:51 +01:00
|
|
|
https://launchpad.net/bugs/1772016
|
2019-01-08 16:23:49 +01:00
|
|
|
|
|
|
|
|
backends: [-autopkgtest]
|
|
|
|
|
|
2019-01-09 20:12:51 +01:00
|
|
|
# only run on a subset of systems because this test takes a long time to run
|
2019-07-19 11:04:07 -03:00
|
|
|
systems: [ubuntu-18.04-64, arch-linux-64]
|
2019-01-09 20:12:51 +01:00
|
|
|
|
2019-01-08 16:23:49 +01:00
|
|
|
execute: |
|
2019-01-09 20:12:51 +01:00
|
|
|
snap set system experimental.parallel-instances=true
|
|
|
|
|
|
|
|
|
|
names=(test-snapd-tools)
|
|
|
|
|
for n in $(seq 9); do
|
2019-01-10 07:54:59 +01:00
|
|
|
names+=("test-snapd-tools_$n")
|
2019-01-09 20:12:51 +01:00
|
|
|
done
|
|
|
|
|
for i in $(seq 10); do
|
|
|
|
|
echo "Install $i"
|
2019-01-10 07:54:59 +01:00
|
|
|
snap install "${names[@]}"
|
2020-07-28 09:00:35 -05:00
|
|
|
# snap remove --purge doesn't support multiple snaps, need to run
|
|
|
|
|
# sequentially
|
|
|
|
|
for n in $(seq 9); do
|
|
|
|
|
snap remove --purge "test-snapd-tools_$n"
|
|
|
|
|
done
|
2019-01-09 20:12:51 +01:00
|
|
|
done
|