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 1760672

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

-- 
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/1760672

Title:
  test_regression_testsuite in ubuntu_qrt_apparmor failed with 4.4 X-kvm

Status in linux package in Ubuntu:
  Incomplete
Status in linux-kvm package in Ubuntu:
  New

Bug description:
    FAIL: test_regression_testsuite (__main__.ApparmorTestsuites)
    Run kernel regression tests
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "./test-apparmor.py", line 1719, in test_regression_testsuite
        self.assertEqual(expected, rc, result + report)
    AssertionError: Got exit code 2, expected 0
    
    running aa_exec
    
    running access
    xfail: ACCESS file rx (r)
    xfail: ACCESS file rwx (r)
    xfail: ACCESS file r (wx)
    xfail: ACCESS file rx (wx)
    xfail: ACCESS file rwx (wx)
    xfail: ACCESS dir rwx (r)
    xfail: ACCESS dir r (wx)
    xfail: ACCESS dir rx (wx)
    xfail: ACCESS dir rwx (wx)
    
    running at_secure
    
    running introspect
    
    running capabilities
            (ptrace)
            (sethostname)
            (setdomainname)
            (setpriority)
            (setscheduler)
            (reboot)
            (chroot)
            (mlockall)
            (net_raw)
            (ioperm)
            (iopl)
    
    running changeprofile
    
    running onexec
    
    running changehat
    
    running changehat_fork
    
    running changehat_misc
    
    *** A 'Killed' message from bash is expected for the following test
    
/tmp/testlibfuOynn/source/xenial/apparmor-2.10.95/tests/regression/apparmor/prologue.inc:
 line 219:  1087 Killed                  $testexec "$@" > $outfile 2>&1
    
    *** A 'Killed' message from bash is expected for the following test
    
/tmp/testlibfuOynn/source/xenial/apparmor-2.10.95/tests/regression/apparmor/prologue.inc:
 line 219:  1124 Killed                  $testexec "$@" > $outfile 2>&1
    
    running chdir
    
    running clone
    
    running coredump
    cat: /proc/sys/kernel/core_pattern: No such file or directory
    Fatal Error (coredump): Unexpected shell error. Run with -x to debug
    
    running deleted
    
    running environ
    
    running exec
    
    running exec_qual
    
    running fchdir
    
    running fd_inheritance
    
    running fork
    
    running i18n
    
    running link
    
    running link_subset
    
    running mkdir
    
    running mmap
    
    running mount
        using mount rules ...
    
    running mult_mount
    
    running named_pipe
    
    running namespaces
    
    running net_raw
    
    running open
    
    running openat
    
    running pipe
    
    running pivot_root
    
    running ptrace
       using ptrace v6 tests ...
    
    running pwrite
    
    running query_label
    Alert: query_label passed. Test 'QUERY file (all base perms #1)' was marked 
as expected pass but known problem (xpass)
    xpass: QUERY file (all base perms #1)
    Alert: query_label passed. Test 'QUERY file (all base perms #2)' was marked 
as expected pass but known problem (xpass)
    xpass: QUERY file (all base perms #2)
    
    running regex
    
    running rename
    
    running readdir
    
    running rw
    
    running socketpair
    
    running swap
    swapon: /tmp/sdtest.1888-11220-Ogd1qf/swapfile: insecure permissions 0644, 
0600 suggested.
    
    running sd_flags
    
    running setattr
    
    running symlink
    
    running syscall
        WARNING: syscall sysctl not implemented, skipping tests ...
    
    running tcp
    
    running unix_fd_server
    
    running unix_socket_pathname
    xpass: AF_UNIX pathname socket (dgram); confined server w/ access (rw)
    xpass: AF_UNIX pathname socket (dgram); confined client w/ access (rw)
    
    running unix_socket_abstract
    
    running unix_socket_unnamed
    xpass: AF_UNIX unnamed socket (dgram); confined server (peer label w/ 
implicit perms)
    xpass: AF_UNIX unnamed socket (dgram); confined server (peer label w/ 
explicit perms)
    xpass: AF_UNIX unnamed socket (dgram); confined server (peer label, peer 
addr)
    xpass: AF_UNIX unnamed socket (dgram); confined server (type, peer label, 
peer addr)
    xpass: AF_UNIX unnamed socket (dgram); confined server (type, addr, peer 
label)
    xpass: AF_UNIX unnamed socket (dgram); confined server (type, addr, peer 
label, peer addr)
    
    running unlink
    
    running xattrs
    Required feature 'file/xattr' not available.. Skipping tests ...
    
    running longpath
    
    running dbus_eavesdrop
    
    running dbus_message
    
    running dbus_service
    
    running dbus_unrequested_reply
    
    running aa_policy_cache
    
    running exec_stack
    
    running stackonexec
    
    running stackprofile
    Makefile:303: recipe for target 'tests' failed
    make: *** [tests] Error 1

  Steps to reproduce:
    Deploy the node with Xenial 4.4 kernel, install linux-kvm
    sudo apt-get install python-minimal
    git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest-client-tests -b 
master-next
    git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest
    rm -fr autotest/client/tests
    ln -sf ~/autotest-client-tests autotest/client/tests
    AUTOTEST_PATH=/home/ubuntu/autotest sudo -E autotest/client/autotest-local 
--verbose autotest/client/tests/ubuntu_qrt_apparmor/control

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-1019-kvm 4.4.0-1019.24
  ProcVersionSignature: User Name 4.4.0-1019.24-kvm 4.4.98
  Uname: Linux 4.4.0-1019-kvm x86_64
  NonfreeKernelModules: signpost
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  Date: Mon Apr  2 17:34:46 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-kvm
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1760672/+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