* [LTP] LTP cron test fails
@ 2014-02-18 9:53 Levi Wang
2014-02-20 16:57 ` chrubis
0 siblings, 1 reply; 2+ messages in thread
From: Levi Wang @ 2014-02-18 9:53 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 3974 bytes --]
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
--
我总是放不下那彩虹边上的瀑布,像极了年少飞走的时光...
[-- Attachment #1.2: Type: text/html, Size: 4327 bytes --]
[-- Attachment #2: Type: text/plain, Size: 300 bytes --]
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LTP] LTP cron test fails
2014-02-18 9:53 [LTP] LTP cron test fails Levi Wang
@ 2014-02-20 16:57 ` chrubis
0 siblings, 0 replies; 2+ messages in thread
From: chrubis @ 2014-02-20 16:57 UTC (permalink / raw)
To: Levi Wang; +Cc: ltp-list
Hi!
> 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.
The testcase checks if crontab activity was logged into /varlog/messages
or /var/log/cron. Probably the system logs are stored in different place
in RHEL7.0 check where they ended up.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-20 16:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18 9:53 [LTP] LTP cron test fails Levi Wang
2014-02-20 16:57 ` chrubis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.