ubuntu_qrt_apparmor:test-apparmor.py:test-aa-notify.py: test_entries_since_login(_verbose)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
[stderr] === test-aa-notify.py ===
[stderr] .FF..
[stderr] =======
[stderr] FAIL: test_entries_
[stderr] Test showing log entries since last login
[stderr] -------
[stderr] Traceback (most recent call last):
[stderr] File "/tmp/testlib0x
[stderr] self.assertIn(
[stderr] AssertionError: 'AppArmor denials: 10 (since' not found in 'AppArmor denials: 20 (since Fri Jul 2 17:22:04 2021)\n' : Got output "AppArmor denials: 20 (since Fri Jul 2 17:22:04 2021)
[stderr] ", expected "AppArmor denials: 10 (since"
[stderr] AppArmor denials: 20 (since Fri Jul 2 17:22:04 2021)
[stderr]
[stderr]
[stderr] =======
[stderr] FAIL: test_entries_
[stderr] Test showing log entries since last login in verbose mode
[stderr] -------
[stderr] Traceback (most recent call last):
[stderr] File "/tmp/testlib0x
[stderr] self.assertIn(
[stderr] AssertionError: 'Profile: libreoffice-
[stderr] Showing entries since ubuntu logged in
[stderr]
[stderr] Profile: libreoffice-soffice
[stderr] Operation: exec
[stderr] Name: /bin/uname
[stderr] Denied: x
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_inherit
[stderr] Name: /dev/null
[stderr] Denied: w
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /bin/uname
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /lib/x86_
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /etc/ld.so.cache
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /lib/x86_
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /lib/x86_
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /usr/lib/
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-soffice
[stderr] Operation: exec
[stderr] Name: /usr/bin/file
[stderr] Denied: x
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /usr/bin/file
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-soffice
[stderr] Operation: exec
[stderr] Name: /bin/uname
[stderr] Denied: x
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_inherit
[stderr] Name: /dev/null
[stderr] Denied: w
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /bin/uname
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /lib/x86_
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /etc/ld.so.cache
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /lib/x86_
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /lib/x86_
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /usr/lib/
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-soffice
[stderr] Operation: exec
[stderr] Name: /usr/bin/file
[stderr] Denied: x
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /usr/bin/file
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] AppArmor denials: 20 (since Fri Jul 2 17:22:04 2021)
[stderr] For more information, please see: https:/
[stderr] ", expected "Profile: libreoffice-soffice
[stderr] Operation: exec
[stderr] Name: /bin/uname
[stderr] Denied: x
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_inherit
[stderr] Name: /dev/null
[stderr] Denied: w
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /bin/uname
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /lib/x86_
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /etc/ld.so.cache
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /lib/x86_
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /lib/x86_
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /usr/lib/
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-soffice
[stderr] Operation: exec
[stderr] Name: /usr/bin/file
[stderr] Denied: x
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /usr/bin/file
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] AppArmor denials: 10 (since"
[stderr] Using log file /tmp/test-
[stderr] Showing entries since ubuntu logged in
[stderr]
[stderr] Profile: libreoffice-soffice
[stderr] Operation: exec
[stderr] Name: /bin/uname
[stderr] Denied: x
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_inherit
[stderr] Name: /dev/null
[stderr] Denied: w
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /bin/uname
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /lib/x86_
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /etc/ld.so.cache
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /lib/x86_
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /lib/x86_
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /usr/lib/
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-soffice
[stderr] Operation: exec
[stderr] Name: /usr/bin/file
[stderr] Denied: x
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /usr/bin/file
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-soffice
[stderr] Operation: exec
[stderr] Name: /bin/uname
[stderr] Denied: x
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_inherit
[stderr] Name: /dev/null
[stderr] Denied: w
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /bin/uname
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /lib/x86_
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /etc/ld.so.cache
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /lib/x86_
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /lib/x86_
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: open
[stderr] Name: /usr/lib/
[stderr] Denied: r
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-soffice
[stderr] Operation: exec
[stderr] Name: /usr/bin/file
[stderr] Denied: x
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] Profile: libreoffice-
[stderr] Operation: file_mmap
[stderr] Name: /usr/bin/file
[stderr] Denied: rm
[stderr] Logfile: /tmp/test-
[stderr]
[stderr] AppArmor denials: 20 (since Fri Jul 2 17:22:04 2021)
[stderr] For more information, please see: https:/
[stderr]
[stderr]
This seems to be failing only when running the generic kernel on oracle instances. Not spotted on azure/aws/gcp instances.