Passed with F-oem-5.6 now. Closing this bug now. ** Changed in: ubuntu-kernel-tests Status: New => Fix Released
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1880659 Title: test_120_smep_works from ubuntu_qrt_kernel_security fail on F-OEM-5.6 Status in QA Regression Testing: Fix Released Status in ubuntu-kernel-tests: Fix Released Status in linux-oem-5.6 package in Ubuntu: Invalid Bug description: Issue found on Focal 5.6.0-1011-oem, this failure can only be reproduce on node kili, with reproduce rate 2 out of 2 attempts. Skipped on the other 2 nodes (rizzo and onibi) ====================================================================== FAIL: test_120_smep_works (__main__.KernelSecurityTest) SMEP works ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-kernel-security.py", line 1561, in test_120_smep_works self.assertShellExitEquals(0, ["make"]) File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1158, in assertShellExitEquals self.assertEqual(expected, rc, msg + result + report) AssertionError: Got exit code 2, expected 0 Command: 'make' Output: make -C execuser make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser' make -C /usr/src/linux-headers-5.6.0-1011-oem M=$PWD modules make[2]: Entering directory '/usr/src/linux-headers-5.6.0-1011-oem' CC [M] /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser/execuser.o /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser/execuser.c: In function ‘execuser_init’: /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser/execuser.c:80:52: error: passing argument 4 of ‘proc_create’ from incompatible pointer type [-Werror=incompatible-pointer-types] 80 | PROC_CREATE(entry, "execuser_mapped", S_IRUGO, &execuser_fops_mapped); | ^~~~~~~~~~~~~~~~~~~~~ | | | const struct file_operations * /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser/execuser.c:64:43: note: in definition of macro ‘PROC_CREATE’ 64 | entry = proc_create(name, mode, NULL, func) | ^~~~ In file included from /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser/execuser.c:15: ./include/linux/proc_fs.h:64:24: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’ 64 | struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops); | ^~~~~~~~~~~ /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser/execuser.c:86:54: error: passing argument 4 of ‘proc_create’ from incompatible pointer type [-Werror=incompatible-pointer-types] 86 | PROC_CREATE(entry, "execuser_unmapped", S_IRUGO, &execuser_fops_unmapped); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | const struct file_operations * /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser/execuser.c:64:43: note: in definition of macro ‘PROC_CREATE’ 64 | entry = proc_create(name, mode, NULL, func) | ^~~~ In file included from /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser/execuser.c:15: ./include/linux/proc_fs.h:64:24: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’ 64 | struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops); | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:276: /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser/execuser.o] Error 1 make[2]: *** [Makefile:1703: /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-5.6.0-1011-oem' make[1]: *** [Makefile:4: all] Error 2 make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser' make: *** [Makefile:4: all] Error 2 ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-image-5.6.0-1011-oem 5.6.0-1011.11 ProcVersionSignature: User Name 5.6.0-1011.11-oem 5.6.14 Uname: Linux 5.6.0-1011-oem x86_64 ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 CasperMD5CheckResult: skip Date: Tue May 26 07:41:19 2020 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=C.UTF-8 SHELL=/bin/bash SourcePackage: linux-signed-oem-5.6 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/qa-regression-testing/+bug/1880659/+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