Test ubuntu-20.04-64:tests/main/uc20-create-partitions flaky
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The test sometimes fails with
Error: 2021-11-02 22:41:48 Error executing google:
-----
++ cat loop.txt
+ LOOP=/dev/loop3
+ echo 'Run the snap-bootstrap tool'
Run the snap-bootstrap tool
+ go get ../../lib/
go: finding github.
go: finding github.
go: finding github.
go: finding github.
go: finding github.
go: finding github.
go: finding github.
go: finding go.mozilla.
go: finding maze.io/x/crypto v0.0.0-
+ kerneldir=
+ uc20-create-
+ echo 'And check that the partitions are created'
And check that the partitions are created
+ MATCH '750M Linux filesystem'
+ sfdisk -l /dev/loop3
+ MATCH '16.7G Linux filesystem'
+ sfdisk -l /dev/loop3
+ MATCH 'ext4 filesystem data,.* volume name "ubuntu-boot"'
+ file -s /dev/loop3p3
+ MATCH 'ext4 filesystem data,.* volume name "ubuntu-save"'
+ file -s /dev/loop3p4
+ MATCH 'ext4 filesystem data,.* volume name "ubuntu-data"'
+ file -s /dev/loop3p5
+ echo 'Check that the filesystems were not auto-mounted'
Check that the filesystems were not auto-mounted
+ NOMATCH /run/mnt/
+ mount
+ NOMATCH /run/mnt/
+ mount
+ NOMATCH /run/mnt/
+ mount
+ NOMATCH /run/mnt/
+ mount
+ mkdir -p ./mnt
+ mount /dev/loop3p2 ./mnt
+ MATCH vfat
+ df -T /dev/loop3p2
+ umount ./mnt
+ mkdir -p ./mnt
+ mount /dev/loop3p3 ./mnt
+ df -T /dev/loop3p3
+ MATCH ext4
+ umount ./mnt
+ MATCH 'ext4 filesystem data,.* volume name "ubuntu-boot"'
+ file -s /dev/loop3p3
+ MATCH '^Filesystem features:
+ tune2fs -l /dev/loop3p3
+ mkdir -p ./mnt
+ mount /dev/loop3p4 ./mnt
+ df -T /dev/loop3p4
+ MATCH ext4
+ umount ./mnt
+ MATCH 'ext4 filesystem data,.* volume name "ubuntu-save"'
+ file -s /dev/loop3p4
+ MATCH '^Filesystem features:
+ tune2fs -l /dev/loop3p4
+ mkdir -p ./mnt
+ mount /dev/loop3p5 ./mnt
+ MATCH ext4
+ df -T /dev/loop3p5
+ umount ./mnt
+ MATCH 'ext4 filesystem data,.* volume name "ubuntu-data"'
+ file -s /dev/loop3p5
+ MATCH '^Filesystem features:
+ tune2fs -l /dev/loop3p5
++ cut -f2 -d=
++ grep '^ID_PART_
++ udevadm info -q property /dev/loop3p5
+ sz=35032003
+ '[' 35032003 -lt 20971520 ']'
+ echo 'Check that the filesystem content was deployed'
Check that the filesystem content was deployed
+ mkdir -p ./mnt
+ mount /dev/loop3p3 ./mnt
+ ls ./mnt/EFI/
./mnt/EFI/
+ ls ./mnt/EFI/
./mnt/EFI/
+ rm ./mnt/EFI/
+ umount ./mnt
+ echo 'now add a partition'
now add a partition
+ cat
+ uc20-create-
panic: cannot mount filesystem "/dev/loop3p4" at "/run/mnt/
goroutine 1 [running]:
main.main()
/home/
Debug output available at https:/
summary: |
- Test google:ubuntu-20.04-64:tests/main/uc20-create-partitions flaky + Test ubuntu-20.04-64:tests/main/uc20-create-partitions flaky |
Changed in snapd: | |
status: | New → Fix Released |
importance: | Undecided → Medium |