Activity log for bug #2056182

Date Who What changed Old value New value Message
2024-03-05 12:17:12 Po-Hsu Lin bug added bug
2024-03-05 12:17:24 Po-Hsu Lin bug task added qa-regression-testing
2024-03-05 12:18:44 Po-Hsu Lin description This issue is exclusively failing on J-5.15 s390x LPAR s2lp4. The test will just hang: $ time sudo python3 ./test-apparmor.py -v ApparmorApport.test_apport_hooks Running test: './test-apparmor.py' distro: 'Ubuntu 22.04' kernel: '5.15.0-100.110 (Ubuntu 5.15.0-100.110-generic 5.15.143)' arch: 's390x' init: 'systemd' uid: 0/0 SUDO_USER: 'ubuntu') Skipping private tests WARN: kernel rate limiting in effect Disabling ratelimiting until the next reboot. To renable, run: # sysctl -w kernel.printk_ratelimit=5 test_apport_hooks (__main__.ApparmorApport) Test required apport hooks ... ps command shows: $ ps aux |grep apport root 5972 0.0 0.0 16872 5640 pts/1 S+ 03:03 0:00 sudo python3 ./test-apparmor.py -v ApparmorApport.test_apport_hooks root 5973 0.0 0.0 42360 28604 pts/1 S+ 03:03 0:00 python3 ./test-apparmor.py -v ApparmorApport.test_apport_hooks root 5992 0.0 0.0 2548 856 pts/1 S+ 03:03 0:00 /bin/sh -e /usr/bin/apport-bug apparmor --save /tmp/testlibzx48648b/testlib.apport root 5993 0.0 0.2 173608 90816 pts/1 Sl+ 03:03 0:01 /usr/bin/python3 /usr/bin/apport-cli apparmor --save /tmp/testlibzx48648b/testlib.apport ubuntu 23837 0.0 0.0 9072 1904 pts/2 S+ 05:43 0:00 grep --color=auto apport strace shows the command is trying to read something: $ sudo strace -p 5993 strace: Process 5993 attached read(0, ^Cstrace: Process 5993 detached <detached ...> So if you run the command manually, you will see it's waiting user input # /usr/bin/python3 /usr/bin/apport-cli apparmor --save /tmp/test *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .. *** It seems you have modified the contents of "/etc/apparmor.d/abstractions/ubuntu-browsers.d/chromium-browser". Would you like to add the contents of it to your bug report? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): ^C Here is the content: $ cat /etc/apparmor.d/abstractions/ubuntu-browsers.d/chromium-browser # This file is updated currently not managed by the package but in the future # will be overwritten on upgrades. # # For site-specific adjustments, please see: # /etc/apparmor.d/local/usr.bin.chromium-browser #include <abstractions/ubuntu-browsers.d/plugins-common> #include <abstractions/ubuntu-browsers.d/mailto> #include <abstractions/ubuntu-browsers.d/multimedia> #include <abstractions/ubuntu-browsers.d/productivity> #include <abstractions/ubuntu-browsers.d/java> #include <abstractions/ubuntu-browsers.d/kde> #include <abstractions/ubuntu-browsers.d/text-editors> #include <abstractions/ubuntu-browsers.d/ubuntu-integration> #include <abstractions/ubuntu-browsers.d/user-files> This file belongs to apparmor. I am not sure how to correct this for the moment. This issue is exclusively failing on J-5.15 s390x LPAR s2lp4. A manually provisioned system. The test will just hang: $ time sudo python3 ./test-apparmor.py -v ApparmorApport.test_apport_hooks Running test: './test-apparmor.py' distro: 'Ubuntu 22.04' kernel: '5.15.0-100.110 (Ubuntu 5.15.0-100.110-generic 5.15.143)' arch: 's390x' init: 'systemd' uid: 0/0 SUDO_USER: 'ubuntu') Skipping private tests WARN: kernel rate limiting in effect Disabling ratelimiting until the next reboot. To renable, run: # sysctl -w kernel.printk_ratelimit=5 test_apport_hooks (__main__.ApparmorApport) Test required apport hooks ... ps command shows: $ ps aux |grep apport root 5972 0.0 0.0 16872 5640 pts/1 S+ 03:03 0:00 sudo python3 ./test-apparmor.py -v ApparmorApport.test_apport_hooks root 5973 0.0 0.0 42360 28604 pts/1 S+ 03:03 0:00 python3 ./test-apparmor.py -v ApparmorApport.test_apport_hooks root 5992 0.0 0.0 2548 856 pts/1 S+ 03:03 0:00 /bin/sh -e /usr/bin/apport-bug apparmor --save /tmp/testlibzx48648b/testlib.apport root 5993 0.0 0.2 173608 90816 pts/1 Sl+ 03:03 0:01 /usr/bin/python3 /usr/bin/apport-cli apparmor --save /tmp/testlibzx48648b/testlib.apport ubuntu 23837 0.0 0.0 9072 1904 pts/2 S+ 05:43 0:00 grep --color=auto apport strace shows the command is trying to read something: $ sudo strace -p 5993 strace: Process 5993 attached read(0, ^Cstrace: Process 5993 detached  <detached ...> So if you run the command manually, you will see it's waiting user input # /usr/bin/python3 /usr/bin/apport-cli apparmor --save /tmp/test *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .. *** It seems you have modified the contents of "/etc/apparmor.d/abstractions/ubuntu-browsers.d/chromium-browser". Would you like to add the contents of it to your bug report? What would you like to do? Your options are:   Y: Yes   N: No   C: Cancel Please choose (Y/N/C): ^C Here is the content: $ cat /etc/apparmor.d/abstractions/ubuntu-browsers.d/chromium-browser # This file is updated currently not managed by the package but in the future # will be overwritten on upgrades. # # For site-specific adjustments, please see: # /etc/apparmor.d/local/usr.bin.chromium-browser #include <abstractions/ubuntu-browsers.d/plugins-common> #include <abstractions/ubuntu-browsers.d/mailto> #include <abstractions/ubuntu-browsers.d/multimedia> #include <abstractions/ubuntu-browsers.d/productivity> #include <abstractions/ubuntu-browsers.d/java> #include <abstractions/ubuntu-browsers.d/kde> #include <abstractions/ubuntu-browsers.d/text-editors> #include <abstractions/ubuntu-browsers.d/ubuntu-integration> #include <abstractions/ubuntu-browsers.d/user-files> This file belongs to apparmor. I am not sure how to correct this for the moment.