logrotate_sh in commands of ubuntu_ltp_stable failed with "grep -q forced from command line (5 rotations) tst_logrotate.out failed unexpectedly" on O

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

Bug Description

Issue found since Oracular 6.11.0-8.8, the LTP build successfully since this version.

Test log:
 startup='Tue Nov 26 15:25:19 2024'
 logrotate_tests 1 TINFO: Running: logrotate_tests.sh
 logrotate_tests 1 TINFO: Tested kernel: Linux ubuntu 6.11.0-1005-raspi #5-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 22 13:24:30 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
 logrotate_tests 1 TINFO: Using /tmp/ltp-zEHMABQtkJ/LTP_logrotate_tests.PRskJA6rot as tmpdir (tmpfs filesystem)
 logrotate_tests 1 TINFO: timeout per run is 0h 5m 0s
 logrotate_tests 1 TPASS: grep -q reading config file tst_logrotate.conf tst_logrotate.out passed as expected
 logrotate_tests 1 TFAIL: grep -q forced from command line (5 rotations) tst_logrotate.out failed unexpectedly
 logrotate_tests 1 TPASS: grep -E -q compressing new|log with tst_logrotate.out passed as expected
 logrotate_tests 1 TPASS: [ -f /var/log/tst_logfile.1.gz ] passed as expected
 logrotate_tests 2 TINFO: sleep 1 min to wait for rotating logs
 logrotate_tests 2 TPASS: [ -f /var/log/tst_largelogfile.1.gz ] passed as expected
 logrotate_tests 3 TINFO: AppArmor enabled, this may affect test results
 logrotate_tests 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root)
 logrotate_tests 3 TINFO: loaded AppArmor profiles: none

 Summary:
 passed 4
 failed 1
 broken 0
 skipped 0
 warnings 0

Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
status: New → In Progress
assignee: nobody → Po-Hsu Lin (cypressyew)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
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.