A similiar failure is being seen on linux-xilinx-zynqmp 5.15.0-1038.42

04:56:15 ERROR| [stderr] 
======================================================================
04:56:15 ERROR| [stderr] FAIL: test_parser_testsuite 
(__main__.ApparmorTestsuites)
04:56:15 ERROR| [stderr] Run parser regression tests
04:56:15 ERROR| [stderr] 
----------------------------------------------------------------------
04:56:15 ERROR| [stderr] Traceback (most recent call last):
04:56:15 ERROR| [stderr]   File 
"/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/./test-apparmor.py",
 line 2264, in test_parser_testsuite
04:56:15 ERROR| [stderr]     self.assertEqual(expected, rc, result + report)
04:56:15 ERROR| [stderr] AssertionError: 0 != 2 : Got exit code 2, expected 0

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2009925

Title:
  test_parser_testsuite and test_apport_hooks in ubuntu_qrt_apparmor
  failed on AWS a1.medium with K-64k

Status in QA Regression Testing:
  New
Status in ubuntu-kernel-tests:
  New

Bug description:
  This is not a regression, I can see this failure since 5.19.0-28.29 in
  sru-20221114 right after we have improved the test granularity of
  ubuntu_qrt_apparmor (bug 1982439)

  This issue does not exist with generic kernel, but just this specific 
instance with 64k flavour.
  Perhaps it's because the instance was too small (2G ram with 8GB disk)

  test_parser_testsuite failed with:

   Running 'python3 ./test-apparmor.py -v 
ApparmorTestsuites.test_parser_testsuite'
   Running test: './test-apparmor.py' distro: 'Ubuntu 22.10' kernel: 
'5.19.0-37.38-64k (Ubuntu 5.19.0-37.38-generic-64k 5.19.17)' arch: 'arm64' uid: 
0/0 SUDO_USER: 'ubuntu')
   test_parser_testsuite (__main__.ApparmorTestsuites)
   Skipping private tests
   
   Run parser regression tests ... (Applying patch 
tests-fix-variable-type-for-getopt.patch) FAIL
   
   ======================================================================
   FAIL: test_parser_testsuite (__main__.ApparmorTestsuites)
   Run parser regression tests
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File 
"/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/./test-apparmor.py",
 line 2020, in test_parser_testsuite
       self.assertEqual(expected, rc, result + report)
   AssertionError: 0 != 2 : Got exit code 2, expected 0
   make -C libapparmor_re CFLAGS="-g -O2 -pipe -flto-partition=none 
-D_GNU_SOURCE -Wall -Wall -Wsign-compare -Wmissing-field-initializers -Wformat 
-Wformat-security -Wunused-parameter -Wimplicit-fallthrough -std=gnu++0x"
   make[1]: Entering directory 
'/tmp/testlibycmbl_lm/source/kinetic/apparmor-3.0.7/parser/libapparmor_re'
   make[1]: Nothing to be done for 'all'.
     preparing apparmor_3.0.7-1ubuntu2.dsc...  done
   make[1]: Leaving directory 
'/tmp/testlibycmbl_lm/source/kinetic/apparmor-3.0.7/parser/libapparmor_re'
   g++ -g -O2 -pipe -flto-partition=none -D_GNU_SOURCE -Wall -Wall 
-Wsign-compare -Wmissing-field-initializers -Wformat -Wformat-security 
-Wunused-parameter -Wimplicit-fallthrough -std=gnu++0x  -DHAVE_REALLOCARRAY=1 
-DPACKAGE=\"apparmor-parser\" -DLOCALEDIR=\"/usr/share/locale\"  -DUNIT_TEST 
-Wno-unused-result -o tst_regex parser_regex.c parser_common.o parser_include.o 
parser_interface.o parser_misc.o parser_merge.o parser_symtab.o 
parser_variable.o parser_policy.o parser_alias.o lib.o network.o mount.o dbus.o 
profile.o rule.o signal.o ptrace.o af_rule.o af_unix.o default_features.o 
mqueue.o userns.o libapparmor_re/libapparmor_re.a -static-libgcc 
-static-libstdc++ -L.  -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread
   {standard input}: Assembler messages:
   {standard input}:96038: Warning: end of file not at end of a line; newline 
inserted
   {standard input}:96344: Warning: zero assumed for missing expression
   {standard input}:95284: Error: invalid operands (*UND* and .gcc_except_table 
sections) for `-'
   g++: fatal error: Killed signal terminated program cc1plus
   compilation terminated.
   make: *** [Makefile:347: tst_regex] Error 1
   
   
   ----------------------------------------------------------------------
   Ran 1 test in 151.065s
   
   FAILED (failures=1)

  
  test_apport_hooks failed with:
   Running 'python3 ./test-apparmor.py -v ApparmorApport.test_apport_hooks'
   Running test: './test-apparmor.py' distro: 'Ubuntu 22.10' kernel: 
'5.19.0-37.38-64k (Ubuntu 5.19.0-37.38-generic-64k 5.19.17)' arch: 'arm64' uid: 
0/0 SUDO_USER: 'ubuntu')
   test_apport_hooks (__main__.ApparmorApport)
   Test required apport hooks ... FAIL
   
   ======================================================================
   FAIL: test_apport_hooks (__main__.ApparmorApport)
   Test required apport hooks
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File 
"/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/./test-apparmor.py",
 line 1462, in test_apport_hooks
       self.assertEqual(expected, rc, result + report)
   AssertionError: 0 != 137 : Got exit code 137, expected 0
   
   *** Collecting problem information
   
   The collected information can be sent to the developers to improve the
   application. This might take a few minutes.
   Skipping private tests
   
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Killed
   
   
   ----------------------------------------------------------------------
   Ran 1 test in 480.240s
   
   FAILED (failures=1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/2009925/+subscriptions


-- 
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to     : canonical-ubuntu-qa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help   : https://help.launchpad.net/ListHelp

Reply via email to