ubuntu_qrt_apparmor i18n test failed on Hirsute Power8 / Power9

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

Bug Description

It looks like this issue is only affecting Power8, the test_regression_testsuite has passed on AMD64 / ARM64

 ======================================================================
  FAIL: test_regression_testsuite (__main__.ApparmorTestsuites)
  Run kernel 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 1787, in test_regression_testsuite
      self.assertEqual(expected, rc, result + report)
  AssertionError: 0 != 2 : Got exit code 2, expected 0

  running aa_exec

  running access
  xfail: ACCESS file rx (r)
  xfail: ACCESS file rwx (r)
  xfail: ACCESS file r (wx)
  xfail: ACCESS file rx (wx)
  xfail: ACCESS file rwx (wx)
  xfail: ACCESS dir rwx (r)
  xfail: ACCESS dir r (wx)
  xfail: ACCESS dir rx (wx)
  xfail: ACCESS dir rwx (wx)

  running at_secure

  running introspect

  running capabilities
          (ptrace)
          (sethostname)
          (setdomainname)
          (setpriority)
          (setscheduler)
          (reboot)
          (chroot)
          (mlockall)
          (net_raw)

  running changeprofile

  running onexec

  running changehat

  running changehat_fork

  running changehat_misc

  *** A 'Killed' message from bash is expected for the following test
  /tmp/testlib4nnvknqd/source/hirsute/apparmor-3.0.0/tests/regression/apparmor/prologue.inc: line 264: 1052222 Killed $testexec "$@" > $outfile 2>&1

  *** A 'Killed' message from bash is expected for the following test
  /tmp/testlib4nnvknqd/source/hirsute/apparmor-3.0.0/tests/regression/apparmor/prologue.inc: line 264: 1052255 Killed $testexec "$@" > $outfile 2>&1

  running chdir

  running clone

  running coredump
  *** A 'Segmentation Fault' message from bash is expected for the following test
  /tmp/testlib4nnvknqd/source/hirsute/apparmor-3.0.0/tests/regression/apparmor/prologue.inc: line 264: 1052501 Segmentation fault (core dumped) $testexec "$@" > $outfile 2>&1

  *** A 'Segmentation Fault' message from bash is expected for the following test
  /tmp/testlib4nnvknqd/source/hirsute/apparmor-3.0.0/tests/regression/apparmor/prologue.inc: line 264: 1052530 Segmentation fault $testexec "$@" > $outfile 2>&1

  *** A 'Segmentation Fault' message from bash is expected for the following test
  /tmp/testlib4nnvknqd/source/hirsute/apparmor-3.0.0/tests/regression/apparmor/prologue.inc: line 264: 1052565 Segmentation fault $testexec "$@" > $outfile 2>&1

  *** A 'Segmentation Fault' message from bash is expected for the following test
  /tmp/testlib4nnvknqd/source/hirsute/apparmor-3.0.0/tests/regression/apparmor/prologue.inc: line 264: 1052600 Segmentation fault $testexec "$@" > $outfile 2>&1

  *** A 'Segmentation Fault' message from bash is expected for the following test
  /tmp/testlib4nnvknqd/source/hirsute/apparmor-3.0.0/tests/regression/apparmor/prologue.inc: line 264: 1052635 Segmentation fault $testexec "$@" > $outfile 2>&1
  XFAIL: Error: corefile present when not expected -- COREDUMP (ix confinement)

  running deleted

  running environ

  running exec

  running exec_qual

  running fchdir

  running fd_inheritance

  running fork

  running i18n
  Error: open failed. Test 'i18n (202) OPEN (octal) "/tmp/sdtest.1054695-19579-z3PvJ9/file_ʵ_post" RW' was expected to 'pass'. Reason for failure 'FAIL: open /tmp/sdtest.1054695-19579-z3PvJ9/file_ʵ_post failed - Permission denied'
  Error: open failed. Test 'i18n (209) OPEN (octal) "/tmp/sdtest.1054695-19579-z3PvJ9/file_Ѳ_post" RW' was expected to 'pass'. Reason for failure 'FAIL: open /tmp/sdtest.1054695-19579-z3PvJ9/file_Ѳ_post failed - Permission denied'
  Error: open failed. Test 'i18n (216) OPEN (octal) "/tmp/sdtest.1054695-19579-z3PvJ9/file_؍_post" RW' was expected to 'pass'. Reason for failure 'FAIL: open /tmp/sdtest.1054695-19579-z3PvJ9/file_؍_post failed - Permission denied'
  Error: open failed. Test 'i18n (218) OPEN (octal) "/tmp/sdtest.1054695-19579-z3PvJ9/file_ڦ_post" RW' was expected to 'pass'. Reason for failure 'FAIL: open /tmp/sdtest.1054695-19579-z3PvJ9/file_ڦ_post failed - Permission denied'
  Error: open failed. Test 'i18n (219) OPEN (octal) "/tmp/sdtest.1054695-19579-z3PvJ9/file_ە_post" RW' was expected to 'pass'. Reason for failure 'FAIL: open /tmp/sdtest.1054695-19579-z3PvJ9/file_ە_post failed - Permission denied'
  Error: open failed. Test 'i18n (223) OPEN (octal) "/tmp/sdtest.1054695-19579-z3PvJ9/file_ߜ_post" RW' was expected to 'pass'. Reason for failure 'FAIL: open /tmp/sdtest.1054695-19579-z3PvJ9/file_ߜ_post failed - Permission denied'

  running link

  running link_subset

  running mkdir

  running mmap

  running mount
      using mount rules ...

  running mult_mount

  running named_pipe

  running namespaces

  running net_raw

  running open

  running openat

  running pipe

  running pivot_root
   kernel does not support pivot_root domain transitions - skipping tests ...

  running ptrace
     using ptrace v6 tests ...

  running pwrite

  running query_label

  running regex

  running rename

  running readdir

  running rw

  running socketpair

  running swap

  running sd_flags

  running setattr

  running symlink

  running syscall
   WARNING: syscall sysctl not supported by kernel headers, skipping tests ...

  running tcp

  running unix_fd_server

  running unix_socket_pathname
  xpass: AF_UNIX pathname socket (dgram); confined server w/ access (rw)
  xpass: AF_UNIX pathname socket (dgram); confined client w/ access (rw)

  running unix_socket_abstract

  running unix_socket_unnamed
  xpass: AF_UNIX unnamed socket (dgram); confined server (peer label w/ implicit perms)
  xpass: AF_UNIX unnamed socket (dgram); confined server (peer label w/ explicit perms)
  xpass: AF_UNIX unnamed socket (dgram); confined server (peer label, peer addr)
  xpass: AF_UNIX unnamed socket (dgram); confined server (type, peer label, peer addr)
  xpass: AF_UNIX unnamed socket (dgram); confined server (type, addr, peer label)
  xpass: AF_UNIX unnamed socket (dgram); confined server (type, addr, peer label, peer addr)

  running unix_socket_autobind

  running unlink

  running xattrs
  Required feature 'file/xattr' not available.. Skipping tests ...

  running xattrs_profile

  running longpath
  XFAIL: This version of AppArmor does not support changing buffer size.

  running dbus_eavesdrop
  dbus[1109780]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0

  running dbus_message
  dbus[1110062]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0

  running dbus_service
  dbus[1110732]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0

  running dbus_unrequested_reply
  dbus[1111117]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0

  running aa_policy_cache

  running exec_stack

  running nnp

  running stackonexec

  running stackprofile
  make: *** [Makefile:342: tests] Error 1

  ----------------------------------------------------------------------
  Ran 58 tests in 1286.796s

Po-Hsu Lin (cypressyew)
tags: added: 5.8 hirsute kqa-blocker sru-20201130 ubuntu-qrt-apparmor
tags: added: ppc64el
Po-Hsu Lin (cypressyew)
summary: - ubuntu_qrt_apparmor i18n test failed on Hirsute Power8
+ ubuntu_qrt_apparmor i18n test failed on Hirsute Power8 / Power9
Revision history for this message
Paolo Pisati (p-pisati) wrote :

I can reproduce the same issue on Hirsute arm64: https://paste.ubuntu.com/p/QGz7b2f9yH/

and Impish arm64: https://paste.ubuntu.com/p/3PHcCWb9Jw/

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.