ubuntu_squashfs_smoke_test failed with Disco

Bug #1807341 reported by Po-Hsu Lin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
High
Colin Ian King
linux (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Disco by Po-Hsu Lin

Bug Description

Tested on a KVM node with generic kernel.

$ sudo /home/ubuntu/autotest/client/tests/ubuntu_squashfs_smoke_test/ubuntu_squashfs_smoke_test.sh
Testing with compression method gzip
Testing mount of squashfs: PASSED (gzip)
Testing umount of squashfs: PASSED (gzip)
Checking data integrity: FAILED (squashed /bin different from original /bin, gzip)

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: linux-image-4.18.0-11-generic 4.18.0-11.12
ProcVersionSignature: User Name 4.18.0-11.12-generic 4.18.12
Uname: Linux 4.18.0-11-generic x86_64
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Dec 7 07:39 seq
 crw-rw---- 1 root audio 116, 33 Dec 7 07:39 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu14
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDmesg:

Date: Fri Dec 7 07:44:11 2018
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
PciMultimedia:

ProcFB: 0 cirrusdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-11-generic root=UUID=576666e8-9e7f-40ee-934e-f1dce18323e5 ro console=ttyS0,115200n8
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-11-generic N/A
 linux-backports-modules-4.18.0-11-generic N/A
 linux-firmware 1.176
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: Ubuntu-1.8.2-1ubuntu1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-xenial
dmi.modalias: dmi:bvnSeaBIOS:bvrUbuntu-1.8.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-xenial:cvnQEMU:ct1:cvrpc-i440fx-xenial:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-xenial
dmi.sys.vendor: QEMU

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1807341

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Seth Forshee (sforshee) wrote :

This is a test issue, likely that the test was broken by a change in userspace.

The test creates a squashfs using /bin as the source. In disco this is a link to usr/bin, so the created squashfs contains a single file /bin which is also a symlink to usr/bin. Since this is a relative symlink and usr/bin doesn't exist in the squashfs, the attempt to diff the contents of /bin and $SQUASHFS_MNT/bin finds many differences, causing the test to fail.

Revision history for this message
Colin Ian King (colin-king) wrote :

Thanks for the analysis Seth, I'll fix that up.

Changed in ubuntu-kernel-tests:
importance: Undecided → High
assignee: nobody → Colin Ian King (colin-king)
status: New → In Progress
Revision history for this message
Colin Ian King (colin-king) wrote :
Changed in ubuntu-kernel-tests:
status: In Progress → Fix Committed
Revision history for this message
Colin Ian King (colin-king) wrote :

@Sam, do you mind retesting this?

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Passed on another node (the original node is busy), so I think this patch works.
Thanks!

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in ubuntu-kernel-tests:
status: Fix Committed → Fix Released
Brad Figg (brad-figg)
tags: added: cscc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.