https://beaker.engineering.redhat.com/tasks/executed?recipe_task_id=169869172&recipe_task_id=169869167&recipe_task_id=169824131&recipe_task_id=169869177&recipe_task_id=169869182&recipe_task_id=169824141&recipe_task_id=169824146&recipe_task_id=169824136&old_pkg_tasks=169869177,169869182,169869172,169869167&new_pkg_tasks=169824131,169824146,169824141,169824136 NEW PASS: version: cronie-1.5.7-10.el9 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ======= /var/spool/cron/root ======= MAILTO=root * * * * * wrong_command * * * * * -n /usr/bin/echo "good command" >> ~/echo.cron.log * * * * * -n /usr/bin/wrongecho "wrong command" >> ~/echo.cron.wrong.log ==================== :: [ 10:03:16 ] :: [ BEGIN ] :: Running 'systemctl restart crond' :: [ 10:03:16 ] :: [ PASS ] :: Command 'systemctl restart crond' (Expected 0, got 0) :: [ 10:03:16 ] :: [ BEGIN ] :: Running 'systemctl status crond' ● crond.service - Command Scheduler Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; preset: enabled) Active: active (running) since Wed 2023-11-29 10:03:16 EST; 27ms ago Main PID: 32741 (crond) Tasks: 2 (limit: 48565) Memory: 4.1M CPU: 6ms CGroup: /system.slice/crond.service ├─27886 /usr/sbin/anacron -s └─32741 /usr/sbin/crond -n Nov 29 10:03:16 rdma-cert-03-lp8.rdma.lab.eng.rdu2.redhat.com systemd[1]: Started Command Scheduler. Nov 29 10:03:16 rdma-cert-03-lp8.rdma.lab.eng.rdu2.redhat.com crond[32741]: (CRON) STARTUP (1.5.7) Nov 29 10:03:16 rdma-cert-03-lp8.rdma.lab.eng.rdu2.redhat.com crond[32741]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 58% if used.) Nov 29 10:03:16 rdma-cert-03-lp8.rdma.lab.eng.rdu2.redhat.com crond[32741]: (CRON) INFO (running with inotify support) Nov 29 10:03:16 rdma-cert-03-lp8.rdma.lab.eng.rdu2.redhat.com crond[32741]: (CRON) INFO (@reboot jobs will be run at computer's startup.) :: [ 10:03:16 ] :: [ PASS ] :: Command 'systemctl status crond' (Expected 0, got 0) :: [ 10:04:46 ] :: [ PASS ] :: File '/root/echo.cron.log' should contain 'good command' :: [ 10:04:46 ] :: [ PASS ] :: File /root/echo.cron.wrong.log should exist :: [ 10:04:46 ] :: [ PASS ] :: File '/var/spool/mail/root' should contain 'line 1: wrong_command: command not found' :: [ 10:04:46 ] :: [ PASS ] :: File '/var/spool/mail/root' should contain 'line 1: /usr/bin/wrongecho: No such file or directory' :: [ 10:04:46 ] :: [ PASS ] :: File '/var/spool/mail/root' should not contain '-n /usr/bin/echo "good command"' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 90s :: Assertions: 7 good, 0 bad :: RESULT: PASS OLD FAIL: version: cronie-1.5.7-8.el9. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ======= /var/spool/cron/root ======= MAILTO=root * * * * * wrong_command * * * * * -n /usr/bin/echo "good command" >> ~/echo.cron.log * * * * * -n /usr/bin/wrongecho "wrong command" >> ~/echo.cron.wrong.log ==================== :: [ 05:14:00 ] :: [ BEGIN ] :: Running 'systemctl restart crond' :: [ 05:14:00 ] :: [ PASS ] :: Command 'systemctl restart crond' (Expected 0, got 0) :: [ 05:14:00 ] :: [ BEGIN ] :: Running 'systemctl status crond' ● crond.service - Command Scheduler Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; preset: enabled) Active: active (running) since Thu 2023-11-30 05:14:00 EST; 18ms ago Main PID: 31348 (crond) Tasks: 1 (limit: 49524) Memory: 512.0K CPU: 3ms CGroup: /system.slice/crond.service └─31348 /usr/sbin/crond -n Nov 30 05:14:00 s390x-kvm-068.lab.eng.rdu2.redhat.com systemd[1]: Started Command Scheduler. Nov 30 05:14:00 s390x-kvm-068.lab.eng.rdu2.redhat.com crond[31348]: (CRON) STARTUP (1.5.7) Nov 30 05:14:00 s390x-kvm-068.lab.eng.rdu2.redhat.com crond[31348]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 3% if used.) Nov 30 05:14:00 s390x-kvm-068.lab.eng.rdu2.redhat.com crond[31348]: (CRON) INFO (running with inotify support) Nov 30 05:14:00 s390x-kvm-068.lab.eng.rdu2.redhat.com crond[31348]: (CRON) INFO (@reboot jobs will be run at computer's startup.) :: [ 05:14:00 ] :: [ PASS ] :: Command 'systemctl status crond' (Expected 0, got 0) :: [ 05:15:30 ] :: [ FAIL ] :: rlAssertGrep: failed to find file /root/echo.cron.log :: [ 05:15:30 ] :: [ FAIL ] :: File /root/echo.cron.wrong.log should exist :: [ 05:15:30 ] :: [ PASS ] :: File '/var/spool/mail/root' should contain 'line 1: wrong_command: command not found' :: [ 05:15:30 ] :: [ FAIL ] :: File '/var/spool/mail/root' should contain 'line 1: /usr/bin/wrongecho: No such file or directory' :: [ 05:15:30 ] :: [ FAIL ] :: File '/var/spool/mail/root' should not contain '-n /usr/bin/echo "good command"' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 90s :: Assertions: 3 good, 4 bad :: RESULT: FAIL ** Test FAIL Score:4 Uploading resultoutputfile.log .done