← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1760654] Re: test_140_kernel_modules_not_tainted in kernel security test failed with 4.4 X-kvm

 

This seems to be a false failure caused by test script itself (qa-
regression-testing/scripts/test-kernel-security.py):

Here, test_140_kernel_modules_not_tainted is complaining about a module
'signpost' which is a test module that was inserted by an unrelated test
case (test_072_strict_devmem) which ran and failed earlier in this run
(see bug 1760649).  The fault is that test_072_strict_devmem fails to
remove its 'signpost' test module at line 768 if that assert at line 766
fails.

@Po-Hsu, could you take a look at fixing test_072_strict_devmem so that
it removes 'signpost' regardless of success or failure?

** Changed in: linux-kvm (Ubuntu Xenial)
       Status: New => Won't Fix

** Changed in: linux-kvm (Ubuntu Xenial)
     Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux-kvm (Ubuntu)
       Status: New => Invalid

** Changed in: linux-kvm (Ubuntu Xenial)
       Status: Won't Fix => Invalid

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1760654

Title:
  test_140_kernel_modules_not_tainted in kernel security test failed
  with 4.4 X-kvm

Status in QA Regression Testing:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-kvm package in Ubuntu:
  Invalid
Status in linux source package in Xenial:
  New
Status in linux-kvm source package in Xenial:
  Invalid

Bug description:
    FAIL: test_140_kernel_modules_not_tainted (__main__.KernelSecurityTest)
    kernel modules are not marked with a taint flag (especially 'E' for TAINT_UNSIGNED_MODULE)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "./test-kernel-security.py", line 1740, in test_140_kernel_modules_not_tainted
        self.fail('Module \'%s\' is tainted: %s' % (fields[0], last_field))
    AssertionError: Module 'signpost' is tainted: (OE)

  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_kernel_security/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:18:25 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/qa-regression-testing/+bug/1760654/+subscriptions