[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
I have found another issue with the 4.4 KVM kernel, bug 1769054 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: Fix Released Status in linux package in Ubuntu: Invalid Status in linux-kvm package in Ubuntu: Invalid Status in linux source package in Bionic: Invalid Status in linux-kvm source package in Bionic: Invalid Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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
[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
OK, since we already have this fixed in the qa-regression-testing repo and there is no specific request from the security team, I will just leave it as-is. Thanks for fixing this. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: Fix Released Status in linux package in Ubuntu: Invalid Status in linux-kvm package in Ubuntu: Invalid Status in linux source package in Bionic: Invalid Status in linux-kvm source package in Bionic: Invalid Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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
[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
Hi Po-Hsu, Thanks for double-checking, that's appreciated! The security team does not have an opinion on whether CONFIG_KALLSYMS and CONFIG_KALLSYMS_ALL should be enabled, from a security/hardening standpoint. It may be useful from the kernel team's perspective, to make debugging kernel oops bug reports easier. Thanks again! ** Changed in: qa-regression-testing Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: Fix Released Status in linux package in Ubuntu: Invalid Status in linux-kvm package in Ubuntu: Invalid Status in linux source package in Bionic: Invalid Status in linux-kvm source package in Bionic: Invalid Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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
[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
The test kernel can be found here: http://people.canonical.com/~phlin/kernel/lp-1764980/ -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: Fix Committed Status in linux package in Ubuntu: Invalid Status in linux-kvm package in Ubuntu: Invalid Status in linux source package in Bionic: Invalid Status in linux-kvm source package in Bionic: Invalid Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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
[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
Test result without CONFIG_KALLSYMS and CONFIG_KALLSYMS_ALL enabled: ubuntu@gummo:~$ sudo cat /proc/modules signpost 12288 - - Live 0x (OE) fuse 77824 - - Live 0x kvm_intel 180224 - - Live 0x btrfs 819200 - - Live 0x xor 20480 - - Live 0x zstd_decompress 77824 - - Live 0x zstd_compress 159744 - - Live 0x xxhash 12288 - - Live 0x lzo_compress 12288 - - Live 0x raid6_pq 106496 - - Live 0x pata_acpi 12288 - - Live 0x ubuntu@gummo:~$ cat /proc/version_signature Ubuntu 4.15.0-1008.8-kvm 4.15.17 Test result with CONFIG_KALLSYMS and CONFIG_KALLSYMS_ALL enabled: ubuntu@gummo:~$ sudo cat /proc/modules fuse 94208 3 - Live 0xc056 kvm_intel 196608 0 - Live 0xc052f000 btrfs 913408 0 - Live 0xc044f000 xor 24576 1 btrfs, Live 0xc0444000 zstd_decompress 86016 1 btrfs, Live 0xc042a000 zstd_compress 172032 1 btrfs, Live 0xc03fb000 xxhash 16384 2 zstd_decompress,zstd_compress, Live 0xc03f4000 lzo_compress 16384 1 btrfs, Live 0xc03ef000 raid6_pq 114688 1 btrfs, Live 0xc03ce000 pata_acpi 16384 0 - Live 0xc03c6000 ubuntu@gummo:~$ cat /proc/version_signature Ubuntu 4.15.0-1009.9-kvm 4.15.17 Looks like this config option is the cause. I also noticed that it was enabled in Xenial KVM, which explains why it passed with it. If you think this config should be enabled for Bionic KVM as well, I will send to patch to the mailing list. Thanks -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: Fix Committed Status in linux package in Ubuntu: Invalid Status in linux-kvm package in Ubuntu: Invalid Status in linux source package in Bionic: Invalid Status in linux-kvm source package in Bionic: Invalid Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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
[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
Po-Hsu, sure, that would be great if you could build and test a kernel with CONFIG_KALLSYMS to check that that's actually the config option that is causing the behavior. Thanks! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: Fix Committed Status in linux package in Ubuntu: Invalid Status in linux-kvm package in Ubuntu: Invalid Status in linux source package in Bionic: Invalid Status in linux-kvm source package in Bionic: Invalid Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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
[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
I've now added a check for whether CONFIG_KALLSYMS is enabled in the running kernel and adjusted the expected test results based on that, in qrt commit https://git.launchpad.net/qa-regression- testing/commit/?id=cde457932459a525c75126db8a8d4b7262d4da24 . This should address this failing test case, though it may need to be modified to take into account differing behavior for the 4.4 linux-kvm kernel. ** Changed in: linux-kvm (Ubuntu Bionic) Status: Incomplete => Invalid ** Changed in: qa-regression-testing Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: Fix Committed Status in linux package in Ubuntu: Invalid Status in linux-kvm package in Ubuntu: Invalid Status in linux source package in Bionic: Invalid Status in linux-kvm source package in Bionic: Invalid Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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
[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
I have checked the kernel config for 4.15 linux-kvm, it's true that: # CONFIG_KALLSYMS is not set Do you want me to test it with the config enabled? I can build a test kernel for this. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: In Progress Status in linux package in Ubuntu: Invalid Status in linux-kvm package in Ubuntu: Incomplete Status in linux source package in Bionic: Invalid Status in linux-kvm source package in Bionic: Incomplete Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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
[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
I've reproduced this with the 4.15 linux-kvm kernel. I'm not sure why it's doing this, though: ubuntu@sec-bionic-amd64:~$ sudo cat /proc/modules kvm_intel 200704 - - Live 0x pata_acpi 12288 - - Live 0x ubuntu@sec-bionic-amd64:~$ cat /proc/version_signature Ubuntu 4.15.0-1004.4-kvm 4.15.15 with the regular 4.15 kernel, on the same host: ubuntu@sec-bionic-amd64:~$ cat /proc/version_signature Ubuntu 4.15.0-15.16-generic 4.15.15 ubuntu@sec-bionic-amd64:~$ sudo head -5 /proc/modules nf_conntrack_netlink 40960 0 - Live 0xc05bb000 nf_conntrack 131072 1 nf_conntrack_netlink, Live 0xc058d000 libcrc32c 16384 1 nf_conntrack, Live 0xc0556000 nfnetlink 16384 6 nf_conntrack_netlink, Live 0xc054d000 snd_hda_codec_generic 73728 1 - Live 0xc0538000 Digging around in /sys/modules, it looks like the /proc/modules/MODULE/sections/ tree isn't present in linux-kvm, which is indicating that CONFIG_KALLSYMS is not set. I *think* this is the difference that is causing the /proc/modules addresses to always be zero, at least in the 4.15 kernel, but I haven't tracked down codepaths enough to ensure that's the case. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: In Progress Status in linux package in Ubuntu: Invalid Status in linux-kvm package in Ubuntu: Incomplete Status in linux source package in Bionic: Invalid Status in linux-kvm source package in Bionic: Incomplete Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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
[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
Hi Po-Hsu, I'm not sure why this test is failing on linux-kvm. I've modified the test in question to dump the contents of /proc/modules when the test fails in qrt commit https://git.launchpad.net/qa-regression- testing/commit/?id=b47b677b9f99af9539558044ccdb9b4769f1732e ; if we can get a re-run of the tests with a version of qrt that includes that commit, that give me more information as to what's going wrong. We're not seeing this with the generic kernel, so marking that invalid. Thanks! ** Changed in: linux (Ubuntu Bionic) Status: Triaged => Invalid ** Changed in: qa-regression-testing Status: New => In Progress ** Changed in: qa-regression-testing Assignee: (unassigned) => Steve Beattie (sbeattie) ** Changed in: linux-kvm (Ubuntu Bionic) Status: New => Incomplete -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: In Progress Status in linux package in Ubuntu: Invalid Status in linux-kvm package in Ubuntu: Incomplete Status in linux source package in Bionic: Invalid Status in linux-kvm source package in Bionic: Incomplete Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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
[Kernel-packages] [Bug 1764980] Re: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel
** Also affects: linux (Ubuntu Bionic) Importance: Undecided Status: Incomplete ** Also affects: linux-kvm (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Bionic) Importance: Undecided => Medium ** Changed in: linux (Ubuntu Bionic) Status: Incomplete => Triaged ** Tags added: kernel-da-key -- 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/1764980 Title: test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM kernel Status in QA Regression Testing: New Status in linux package in Ubuntu: Triaged Status in linux-kvm package in Ubuntu: New Status in linux source package in Bionic: Triaged Status in linux-kvm source package in Bionic: New Bug description: test_095_kernel_symbols_missing_proc_modules from ubuntu_qrt_kernel_security test failed with 4.15.0-1004-kvm FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest) kernel addresses in /proc/modules are zeroed out -- Traceback (most recent call last): File "./test-kernel-security.py", line 1609, in test_095_kernel_symbols_missing_proc_modules self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected) File "./test-kernel-security.py", line 1492, in _check_pK_files test_function(expected_restricted) File "./test-kernel-security.py", line 1525, in _095_kernel_symbols_missing_proc_modules expected) File "./test-kernel-security.py", line 1414, in _read_twice self.assertFalse(0 == int(address, 16), "%s: root saw %s" % (filename, address)) AssertionError: /proc/modules: root saw 0x ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-1004-kvm 4.15.0-1004.4 ProcVersionSignature: User Name 4.15.0-1004.4-kvm 4.15.15 Uname: Linux 4.15.0-1004-kvm x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 Date: Wed Apr 18 09:00:43 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=C.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/1764980/+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