It looks like this hang issue was introduced because the mmap test has timed 
out.
And it gets killed by the autotest framework.

However it's not really "killed", you can see that it's still stuck with
mmap test:

# ps aux
root     23787  0.0  0.0   4384   748 ?        S    06:21   0:00 
/tmp/testlibpIXHkr/source/bionic/apparmor-2.12/tests/regression/apparmor/mmap

# ps aux |grep Z
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
ubuntu    2138  0.0  0.0      0     0 ?        Z    05:48   0:00 [sh] <defunct>
root      8307  0.0  0.0      0     0 ?        Z    10:15   0:00 
[unix_socket_cli] <defunct>

In this case, with PID 23787 killed, the test will keep going and
terminates on jenkins properly.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1783922

Title:
  ubuntu_qrt_apparmor will hang with Bionic kernel on KVM instance (mmap
  test timeout)

Status in QA Regression Testing:
  New
Status in linux package in Ubuntu:
  Triaged

Bug description:
  This test will timeout on a KVM instance (1G ram) with Bionic kernel.

  This is the last test executed on this system:
  Jul 26 10:10:54 zeppo kernel: [ 2140.591600] audit: type=1400 
audit(1532599854.772:275036): apparmor="STATUS" operation="profile_load" 
profile="unconfined" 
name="/tmp/testlibJOdhfr/source/bionic/apparmor-2.12/tests/regression/apparmor/mmap"
 pid=24072 comm="apparmor_parser"

    Run parser regression tests ... (Applying patch 
0001-mount-regression-test-convert-mount-test-to-use-MS_N.patch) (Applying 
patch utils-fix-interpreter-testcase-for-multiple-symlinks.patch) ok
    test_regression_testsuite (__main__.ApparmorTestsuites)
       preparing apparmor_2.12-4ubuntu5.dsc...  done
    Timer expired (10800 sec.), nuking pid 20299

  $ watch free -m
  total        used        free      shared  buff/cache   available
  Mem:            985         445          72           0         467         
355
  Swap:          1443           7        1436

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-29-generic 4.15.0-29.31
  ProcVersionSignature: User Name 4.15.0-29.31-generic 4.15.18
  Uname: Linux 4.15.0-29-generic x86_64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Jul 26 09:35 seq
   crw-rw---- 1 root audio 116, 33 Jul 26 09:35 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.9-0ubuntu7.2
  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:
  Date: Fri Jul 27 02:28:52 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:

  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic 
root=UUID=41f2a2b1-0082-4a56-ad3b-9f99ca574aeb ro
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-29-generic N/A
   linux-backports-modules-4.15.0-29-generic  N/A
   linux-firmware                             1.173.1
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/1783922/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to