test_530_config_binfmt_aout in ubuntu_qrt_kernel_security failed on B-i386

Bug #1829692 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
Fix Released
Undecided
Unassigned
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned

Bug Description

It looks like this CONFIG_BINFMT_AOUT was set to m previously:
ubuntu@pepe:~$ grep BINFMT_AOUT /boot/config-4.15.0-5*
/boot/config-4.15.0-50-generic:CONFIG_BINFMT_AOUT=m
/boot/config-4.15.0-51-generic:# CONFIG_BINFMT_AOUT is not set

This was disabled in Tyler's commit 1ad79882 (UBUNTU: [Config] Disable a.out support)
Maybe we will need to correct this in the QRT test suite.

======================================================================
FAIL: test_530_config_binfmt_aout (__main__.KernelSecurityConfigTest)
Ensure BINFMT_AOUT is disabled (LP: #1818552)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test-kernel-security.py", line 2848, in test_530_config_binfmt_aout
    self.assertKernelConfig('BINFMT_AOUT', expected)
  File "./test-kernel-security.py", line 208, in assertKernelConfig
    self.assertKernelConfigSet(name)
  File "./test-kernel-security.py", line 195, in assertKernelConfigSet
    '%s option was expected to be set in the kernel config' % name)
AssertionError: BINFMT_AOUT option was expected to be set in the kernel config

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-51-generic 4.15.0-51.55
ProcVersionSignature: User Name 4.15.0-51.55-generic 4.15.18
Uname: Linux 4.15.0-51-generic i686
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 May 20 03:08 seq
 crw-rw---- 1 root audio 116, 33 May 20 03:08 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: i386
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: Mon May 20 03:12:35 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. PowerEdge R310
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-51-generic root=UUID=7b91a2b8-2e02-407e-a51d-766f6d969020 ro
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-51-generic N/A
 linux-backports-modules-4.15.0-51-generic N/A
 linux-firmware 1.173.6
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/17/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.8.2
dmi.board.name: 05XKKK
dmi.board.vendor: Dell Inc.
dmi.board.version: A05
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.8.2:bd08/17/2011:svnDellInc.:pnPowerEdgeR310:pvr:rvnDellInc.:rn05XKKK:rvrA05:cvnDellInc.:ct23:cvr:
dmi.product.name: PowerEdge R310
dmi.sys.vendor: Dell Inc.

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 1829692

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
Changed in linux (Ubuntu Bionic):
status: New → Incomplete
Revision history for this message
Steve Beattie (sbeattie) wrote :

Correct, the qrt script needed to catch up to the config changes that have landed in the 4.4, 4.15, and 4.18 kernel branches. I've done this in https://git.launchpad.net/qa-regression-testing/commit/?id=fca40854ff8d65c1fb4a19f57a8e541e3655aab9 .

Closing tasks, thanks.

Changed in qa-regression-testing:
status: New → Fix Released
Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in linux (Ubuntu Bionic):
status: Incomplete → Invalid
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Test passed with the updated repo.

Changed in ubuntu-kernel-tests:
status: New → Fix Released
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.