test_072_strict_devmem / test_120_smep_works failed on Bionic 4.18 Azure

Bug #1803333 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Seems that this issue is identical to bug 1803328, caused by missing header or something so the make command failed.

484. FAIL: test_072_strict_devmem (__main__.KernelSecurityTest)
485. /dev/mem unreadable for kernel memory
486. ----------------------------------------------------------------------
487. Traceback (most recent call last):
488. File "./test-kernel-security.py", line 586, in test_072_strict_devmem
489. self.assertShellExitEquals(0, ["make"])
490. File "/home/azure/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1140, in assertShellExitEquals
491. self.assertEqual(expected, rc, msg + result + report)
492. AssertionError: Got exit code 2, expected 0
493. Command: 'make'
494. Output:
495. cc -Wall -Werror -O2 readmem.c -o readmem -lcap
496. make -C signpost
497. make[1]: Entering directory '/home/azure/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/mem/signpost'
498. make -C /usr/src/linux-headers-4.18.0-1004-azure SUBDIRS=$PWD modules
499. make[2]: Entering directory '/usr/src/linux-headers-4.18.0-1004-azure'
500. make[2]: Makefile: No such file or directory
501. make[2]: *** No rule to make target 'Makefile'. Stop.
502. make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-1004-azure'
503. Makefile:4: recipe for target 'all' failed
504. make[1]: *** [all] Error 2
505. make[1]: Leaving directory '/home/azure/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/mem/signpost'
506. Makefile:6: recipe for target 'all' failed
507. make: *** [all] Error 2

511. FAIL: test_120_smep_works (__main__.KernelSecurityTest)
512. SMEP works
513. ----------------------------------------------------------------------
514. Traceback (most recent call last):
515. File "./test-kernel-security.py", line 1501, in test_120_smep_works
516. self.assertShellExitEquals(0, ["make", "clean"])
517. File "/home/azure/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1140, in assertShellExitEquals
518. self.assertEqual(expected, rc, msg + result + report)
519. AssertionError: Got exit code 2, expected 0
520. Command: 'make', 'clean'
521. Output:
522. make -C execuser clean
523. make[1]: Entering directory '/home/azure/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser'
524. make -C /usr/src/linux-headers-4.18.0-1004-azure SUBDIRS=$PWD clean
525. make[2]: Entering directory '/usr/src/linux-headers-4.18.0-1004-azure'
526. make[2]: Makefile: No such file or directory
527. make[2]: *** No rule to make target 'Makefile'. Stop.
528. make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-1004-azure'
529. Makefile:7: recipe for target 'clean' failed
530. make[1]: *** [clean] Error 2
531. make[1]: Leaving directory '/home/azure/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/smep/execuser'
532. Makefile:7: recipe for target 'clean' failed
533. make: *** [clean] Error 2

Po-Hsu Lin (cypressyew)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.