Fwd: LTP cron test fails

Levi Wang wangli5665 at gmail.com
Wed Feb 19 02:35:56 UTC 2014


Hi all,

I met the cron fails problem when running LTP test on RHEL-7.0

------------+------------------+------------------+-----------------------

<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=3 cstime=9
<<<test_end>>>
<<<test_start>>>
tag=cron stime=1392701532
cmdline="export TCdat=$LTPROOT/testcases/bin; cron_tests.sh"
contacts=""
analysis=exit
<<<test_output>>>
cron01      0  TINFO  :  Test #1: crontab <filename> installs the crontab file
cron01      0  TINFO  :  Test #1: cron schedules the job listed in crontab file.
cron01      0  TINFO  :  Test #1: Installing cron job ...
cron01      0  TINFO  :  Test #1: Cronjob installed successfully
cron01      0  TINFO  :  Test #1: /var/log/cron: Trying altenate log...
cron01      1  TFAIL  :  Test #1: crontab activity not recorded in
/var/log/messages.
cron01      0  TINFO  :  Test #1: Values are good:
    Expected 35;     Received 35
cron01      0  TINFO  :  Test #1: Values are good:
    Expected 36;     Received 36
cron01      0  TINFO  :  Test #1: Values are good:
    Expected 37;     Received 37
cron01      0  TINFO  :  Test #1: Values are good:
    Expected 38;     Received 38
cron01      0  TINFO  :  Test #1: Values are good:
    Expected 39;     Received 39
cron01      0  TINFO  :  Test #1: /var/log/cron: alternate...
cron01      1  TPASS  :  Test #1: installed cronjob, and cron executed
the cronjob.
cron02      0  TINFO  :  Test #2: crontab -r removes the crontab file.
cron02      0  TINFO  :  Test #2: installing crontab file.
cron02      0  TINFO  :  Test #1: /var/log/cron: alternate...
cron02      2  TFAIL  :  Test #2: crontab activity not recorded in
var/log/messages.
cron02      0  TINFO  :  Test #2: uninstalling crontab file.
cron02      0  TINFO  :  Test #1: /var/log/cron: alternate...
cron02      2  TFAIL  :  Test #2: crontab activity not recorded in
var/log/messages.
cron03      0  TINFO  :  Test #3: crontab -l lists the cronjobs installed
cron03      0  TINFO  :  Test #3: installing crontab file ...
cron03      0  TINFO  :  Test #3: Cron job installed.
cron03      0  TINFO  :  Test #3: crontab -l listed cronjob tst2_cronprg.sh
cron03      0  TINFO  :  Test #3: uninstalling crontab file.
cron03      0  TINFO  :  crontab uninstalled all jobs for user
cron03      3  TPASS  :  crontab did not list any cronjobs

-------------------------+----------------------+-----------------+------------

Hope to know that the issue is belong to LTP case or RHEL7.0.


--------------------+--------------------+------------------+-------------

commands Failed:
Test Start Time: Tue Feb 18 00:32:01 2014
-----------------------------------------
Testcase                       Result     Exit Value
--------                       ------     ----------
ar                             PASS       0
ld                             PASS       0
ldd                            PASS       0
nm                             PASS       0
objdump                        PASS       0
file                           PASS       0
tar                            PASS       0
cron                           FAIL       3
logrotate                      PASS       0
mail                           PASS       0
cpio                           PASS       0
unzip01                        PASS       0
gzip01                         PASS       0
cp_tests01                     PASS       0
ln_tests01                     PASS       0
mkdir_tests01                  PASS       0
mv_tests01                     PASS       0
size01                         PASS       0
sssd01                         PASS       0
sssd02                         PASS       0
sssd03                         PASS       0

-----------------------------------------------
Total Tests: 21
Total Failures: 1



-- 
我总是放不下那彩虹边上的瀑布,像极了年少飞走的时光...



More information about the redhat-list mailing list