Closed GoogleCodeExporter closed 8 years ago
all testcases failed with information "mmap failed" is caused by
bad_addr = mmap(0, 1, PROT_NONE,
MAP_PRIVATE_EXCEPT_UCLINUX|MAP_ANONYMOUS, 0, 0);
if (bad_addr == MAP_FAILED) {
tst_brkm(TBROK, cleanup, "mmap failed");
}
Test_cases[3].pathname = bad_addr;
Original comment by camelguo@gmail.com
on 6 Apr 2009 at 2:36
system() of uclibc cause the other testcases failed
Original comment by camelguo@gmail.com
on 6 Apr 2009 at 2:36
# ./runltpmsh.sh
<<<test_start>>>
tag=lchown02 stime=943920013
cmdline="cp -p $LTPROOT/testcases/bin/create_link $TMP; lchown02"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
//create_link: not found
lchown02 1 BROK : Fail to modify tfile_1 ownership(s)!
lchown02 2 BROK : Remaining cases broken
lchown02 3 BROK : Remaining cases broken
lchown02 4 BROK : Remaining cases broken
lchown02 5 BROK : Remaining cases broken
lchown02 6 BROK : Remaining cases broken
lchown02 7 BROK : Remaining cases broken
<<<execution_status>>>
duration=1 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=22
<<<test_end>>>
<<<test_start>>>
tag=lchown02_16 stime=943920015
cmdline="cp -p $LTPROOT/testcases/bin/create_link $TMP; lchown02_16"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
//create_link: not found
lchown02 1 BROK : Fail to modify tfile_1 ownership(s)!
lchown02 2 BROK : Remaining cases broken
lchown02 3 BROK : Remaining cases broken
lchown02 4 BROK : Remaining cases broken
lchown02 5 BROK : Remaining cases broken
lchown02 6 BROK : Remaining cases broken
lchown02 7 BROK : Remaining cases broken
<<<execution_status>>>
duration=1 termination_type=exited termination_id=2 corefile=no
cutime=1 cstime=20
<<<test_end>>>
<<<test_start>>>
tag=chmod06 stime=943920016
cmdline="cp -p $LTPROOT/testcases/bin/change_owner $TMP;chmod06"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
//change_owner: not found
chmod06 1 BROK : Fail to modify tfile_1 ownership(s)!
chmod06 2 BROK : Remaining cases broken
chmod06 3 BROK : Remaining cases broken
chmod06 4 BROK : Remaining cases broken
chmod06 5 BROK : Remaining cases broken
chmod06 6 BROK : Remaining cases broken
chmod06 7 BROK : Remaining cases broken
chmod06 8 BROK : chmod(2) of testdir_1 failed
<<<execution_status>>>
duration=1 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=20
<<<test_end>>>
<<<test_start>>>
tag=chown04 stime=943920017
cmdline="cp -p $LTPROOT/testcases/bin/change_owner $TMP;chown04"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
//change_owner: not found
chown04 1 BROK : Fail to modify tfile_1 ownership(s)!
chown04 2 BROK : Remaining cases broken
chown04 3 BROK : Remaining cases broken
chown04 4 BROK : Remaining cases broken
chown04 5 BROK : Remaining cases broken
chown04 6 BROK : Remaining cases broken
chown04 7 BROK : Remaining cases broken
chown04 8 BROK : chmod(2) of testdir_1 failed
<<<execution_status>>>
duration=1 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=20
<<<test_end>>>
<<<test_start>>>
tag=chown04_16 stime=943920018
cmdline="cp -p $LTPROOT/testcases/bin/change_owner $TMP;chown04_16"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
incrementing stop
//change_owner: not found
chown04 1 BROK : Fail to modify tfile_1 ownership(s)!
chown04 2 BROK : Remaining cases broken
chown04 3 BROK : Remaining cases broken
chown04 4 BROK : Remaining cases broken
chown04 5 BROK : Remaining cases broken
chown04 6 BROK : Remaining cases broken
chown04 7 BROK : Remaining cases broken
chown04 8 BROK : chmod(2) of testdir_1 failed
<<<execution_status>>>
duration=2 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=23
<<<test_end>>>
all testcases failed due to system() of uclibc
Original comment by camelguo@gmail.com
on 6 Apr 2009 at 3:29
Original comment by camelguo@gmail.com
on 6 Apr 2009 at 3:41
after changing runltpmsh.sh to cd $TMP, every testcases passed when
root=/dev/nfs,
but sometimes, them cause system crash.
Original comment by camelguo@gmail.com
on 13 Apr 2009 at 9:15
Original comment by camelguo@gmail.com
on 13 Apr 2009 at 9:23
Original issue reported on code.google.com by
camelguo@gmail.com
on 6 Apr 2009 at 12:47