> > > Is this is an expected behaviour ? i should not run two times, i also
> > > tried with different combination, individually also it is failing
now.
>
> It's not expected behavior. It should be able to run twice.

Matt, can you try to reproduce this if possible on your env ? I have also
provided the log with debug option so that you can analyze what all
happened because of that it is failing, remember now everytime this is
failing for me.
Just run:

[root@ ltp-full-20080731]# ./runltp -f fs_bind

It is not related to any kernel, because i tested with latest kernel i.e:
2.6.27-rc3 also and it fails.

>
> > > /mnt/ltp-full-20080731/testscripts/test_fs_bind.sh    1  BROK  :
> > > move/test18: stale catalog of "/tmp/ltp-6421/sandbox"
>
> This indicates there is a leftover file from a previous test. The best
> thing to do is to look at the mounted filesystems:
>
> $ mount

[EMAIL PROTECTED] ltp-full-20080731]# mount
/dev/sda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext2 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)


> $ cat /proc/mounts

[EMAIL PROTECTED] ltp-full-20080731]# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,data=ordered 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
none /selinux selinuxfs rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sda1 /boot ext2 rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/etc/auto.misc /misc autofs
rw,fd=6,pgrp=4772,timeout=300,minproto=5,maxproto=5,indirect 0 0
-hosts /net autofs
rw,fd=12,pgrp=4772,timeout=300,minproto=5,maxproto=5,indirect 0 0
[EMAIL PROTECTED] ltp-full-20080731]#
>
> And if a mount with "sandbox" in it still exists then one or more of the
> tests aren't able to clean up properly.
>
> Make sure /tmp (or whatever $TMPDIR is) is set up properly. If there are
> any mounts leftover then it should be part of the path too.

According to debug option:

+ TMPDIR=/tmp/ltp-8516
+ sandbox=/tmp/ltp-8516/sandbox

which is correct it seems. For more you can see attached detailed log.

> > > Remaining cases broken
> > > /mnt/ltp-full-20080731/testscripts/test_fs_bind.sh    1  BROK  :
> > > move/test18: failed to save pre-test state of "/tmp/ltp-6421/sandbox"
>
> The tests list the contents of the sandbox before running and save the
> results. When the tests are it lists the contents and compares.
> Differences indicate the test is broken because it failed to cleanup
> properly.

But there is no directory inside /tmp

[EMAIL PROTECTED] ltp-full-20080731]# ls -l /tmp
total 260
drwxrwxrwx 2 root root   4096 Aug 25 10:56 fs_di6658
drwxrwxrwx 2 root root   4096 Aug 25 10:56 fs_di6708
drwxrwxrwx 2 root root   4096 Aug 25 11:03 fs_di7603
drwx------ 2 root root   4096 Aug 22 10:52 gconfd-root
drwx------ 2 root root   4096 Aug 22 09:09 keyring-q6Bvjq
drwx------ 2 root root   4096 Aug 14 09:54 keyring-sSifSh
srwxr-xr-x 1 root root      0 Aug 22 10:50 mapping-root
-rw-r--r-- 1 root root      0 Aug 22 13:21 netperf.debug
-rw-r--r-- 1 root root   2605 Aug 22 14:30 result-failed.27225
-rw-r--r-- 1 root root  31486 Aug 22 14:33 result-log.27225
-rw-r--r-- 1 root root 144537 Aug 22 14:33 result-output.27225
drwx------ 2 root root   4096 Aug 22 09:09 virtual-root.RyKTrg


>
> This one couldn't even get past the point of saving the catalog.
>
> Note that it's using /tmp as a directory it can play in. If /tmp is not
> properly set up there could be problems. So you may also want to look at
> the permissions and mount options used for /tmp. Setting TMPDIR should
> allow you to run the tests from a different directory.
>
> > > /mnt/ltp-full-20080731/testscripts/test_fs_bind.sh    2  BROK  :
> > > duration=0 termination_type=exited termination_id=0 corefile=no
> > > cutime=2 cstime=3
> > > <<<test_end>>>
> > > INFO: pan reported all tests PASS
>
> Seems a little odd that if the tests BROK they all PASS. I suppose it
> means of the non-broken tests all passed... (that very 1st one).

- Rishi
>
> Cheers,
>    -Matt
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to