* [LTP] I met "You can specify it with option -b" error message
@ 2009-06-12 8:47 GeunSik Lim
2009-06-18 17:31 ` Subrata Modak
0 siblings, 1 reply; 6+ messages in thread
From: GeunSik Lim @ 2009-06-12 8:47 UTC (permalink / raw)
To: ltp-list
Um..
I met "You can specify it with option -b" error message when i tested
my fedora system with
LTP-20090531 version.
Belows is screnshot..
Anyone Help me about this problems?
Linux fedora9 2.6.29-3.fc10.i686 #1 SMP Tue Mar 24 01:56:24 EDT 2009
i686 i686 i386 GNU/Linux
Gnu C gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
Gnu make 3.81
util-linux ng 2.13.1)
mount ng 2.13.1)
modutils 3.4
e2fsprogs 1.41.3
PPP 2.4.4
isdn4k-utils 3.9
Linux C Library > libc.2.8
Dynamic linker (ldd) 2.8
Procps 3.2.7
Net-tools 1.60
Kbd 1.12
Sh-utils 6.10
Modules Loaded vboxnetflt vboxdrv tun ipt_MASQUERADE
iptable_nat nf_nat bridge stp nfsd lockd nfs_acl auth_rpcgss exportfs
ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp
libiscsi_tcp libiscsi scsi_transport_iscsi fuse sunrpc ipv6
dm_multipath snd_hda_codec_realtek snd_hda_intel snd_hda_codec
snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq nvidia
snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm tpm_infineon tpm e100
ppdev snd_timer mii e1000e pcspkr snd i2c_i801 tpm_bios iTCO_wdt
parport_pc soundcore iTCO_vendor_support parport i2c_core
snd_page_alloc pata_acpi ata_generic
free reports:
total used free shared buffers cached
Mem: 3080732 2567692 513040 0 610456 777264
-/+ buffers/cache: 1179972 1900760
Swap: 0 0 0
/proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
stepping : 7
cpu MHz : 2493.591
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc
arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
bogomips : 4987.18
clflush size : 64
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
stepping : 7
cpu MHz : 2493.591
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc
arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
bogomips : 4987.48
clflush size : 64
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
stepping : 7
cpu MHz : 2493.591
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 2
initial apicid : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc
arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
bogomips : 4987.49
clflush size : 64
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
stepping : 7
cpu MHz : 2493.591
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc
arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
bogomips : 4987.49
clflush size : 64
power management:
remove test cases which require the block device.
You can specify it with option -b
LOG File: /opt/ltp-full-20090531/results/LTP_RUN_ON-2009_ 6월_12-16h_17m_34s.log
FAILED COMMAND File: /opt/ltp-full-20090531/output/LTP_RUN_ON-2009_.failed
Running tests.......
--
Regards,
GeunSik Lim ( Samsung Electronics )
Blog : http://blog.naver.com/invain/
e-Mail: geunsik.lim@samsung.com
leemgs@gmail.com , leemgs1@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LTP] I met "You can specify it with option -b" error message
2009-06-12 8:47 [LTP] I met "You can specify it with option -b" error message GeunSik Lim
@ 2009-06-18 17:31 ` Subrata Modak
2009-06-19 5:11 ` GeunSik Lim
0 siblings, 1 reply; 6+ messages in thread
From: Subrata Modak @ 2009-06-18 17:31 UTC (permalink / raw)
To: GeunSik Lim, Andrew Vagin, Andrew Vagin; +Cc: ltp-list
On Fri, 2009-06-12 at 17:47 +0900, GeunSik Lim wrote:
> Um..
>
> I met "You can specify it with option -b" error message when i tested
> my fedora system with
> LTP-20090531 version.
>
>
> Belows is screnshot..
> Anyone Help me about this problems?
>
>
>
> Linux fedora9 2.6.29-3.fc10.i686 #1 SMP Tue Mar 24 01:56:24 EDT 2009
> i686 i686 i386 GNU/Linux
>
> Gnu C gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
> Gnu make 3.81
> util-linux ng 2.13.1)
> mount ng 2.13.1)
> modutils 3.4
> e2fsprogs 1.41.3
> PPP 2.4.4
> isdn4k-utils 3.9
> Linux C Library > libc.2.8
> Dynamic linker (ldd) 2.8
> Procps 3.2.7
> Net-tools 1.60
> Kbd 1.12
> Sh-utils 6.10
> Modules Loaded vboxnetflt vboxdrv tun ipt_MASQUERADE
> iptable_nat nf_nat bridge stp nfsd lockd nfs_acl auth_rpcgss exportfs
> ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp
> libiscsi_tcp libiscsi scsi_transport_iscsi fuse sunrpc ipv6
> dm_multipath snd_hda_codec_realtek snd_hda_intel snd_hda_codec
> snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq nvidia
> snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm tpm_infineon tpm e100
> ppdev snd_timer mii e1000e pcspkr snd i2c_i801 tpm_bios iTCO_wdt
> parport_pc soundcore iTCO_vendor_support parport i2c_core
> snd_page_alloc pata_acpi ata_generic
>
> free reports:
> total used free shared buffers cached
> Mem: 3080732 2567692 513040 0 610456 777264
> -/+ buffers/cache: 1179972 1900760
> Swap: 0 0 0
>
> /proc/cpuinfo
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 6
> model : 23
> model name : Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
> stepping : 7
> cpu MHz : 2493.591
> cache size : 3072 KB
> physical id : 0
> siblings : 4
> core id : 0
> cpu cores : 4
> apicid : 0
> initial apicid : 0
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 10
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
> pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc
> arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
> bogomips : 4987.18
> clflush size : 64
> power management:
>
> processor : 1
> vendor_id : GenuineIntel
> cpu family : 6
> model : 23
> model name : Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
> stepping : 7
> cpu MHz : 2493.591
> cache size : 3072 KB
> physical id : 0
> siblings : 4
> core id : 1
> cpu cores : 4
> apicid : 1
> initial apicid : 1
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 10
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
> pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc
> arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
> bogomips : 4987.48
> clflush size : 64
> power management:
>
> processor : 2
> vendor_id : GenuineIntel
> cpu family : 6
> model : 23
> model name : Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
> stepping : 7
> cpu MHz : 2493.591
> cache size : 3072 KB
> physical id : 0
> siblings : 4
> core id : 2
> cpu cores : 4
> apicid : 2
> initial apicid : 2
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 10
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
> pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc
> arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
> bogomips : 4987.49
> clflush size : 64
> power management:
>
> processor : 3
> vendor_id : GenuineIntel
> cpu family : 6
> model : 23
> model name : Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
> stepping : 7
> cpu MHz : 2493.591
> cache size : 3072 KB
> physical id : 0
> siblings : 4
> core id : 3
> cpu cores : 4
> apicid : 3
> initial apicid : 3
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 10
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
> pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc
> arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
> bogomips : 4987.49
> clflush size : 64
> power management:
>
> remove test cases which require the block device.
> You can specify it with option -b
This is not an error message at all. See this:
http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/runltp?r1=1.40&r2=1.41
Andrew would also explain you a bit.
Regards--
Subrata
> LOG File: /opt/ltp-full-20090531/results/LTP_RUN_ON-2009_ 6월_12-16h_17m_34s.log
> FAILED COMMAND File: /opt/ltp-full-20090531/output/LTP_RUN_ON-2009_.failed
> Running tests.......
>
>
>
>
> --
> Regards,
> GeunSik Lim ( Samsung Electronics )
> Blog : http://blog.naver.com/invain/
> e-Mail: geunsik.lim@samsung.com
> leemgs@gmail.com , leemgs1@gmail.com
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LTP] I met "You can specify it with option -b" error message
2009-06-18 17:31 ` Subrata Modak
@ 2009-06-19 5:11 ` GeunSik Lim
2009-06-19 5:29 ` Subrata Modak
0 siblings, 1 reply; 6+ messages in thread
From: GeunSik Lim @ 2009-06-19 5:11 UTC (permalink / raw)
To: subrata; +Cc: ltp-list, Andrew Vagin
On Fri, Jun 19, 2009 at 2:31 AM, Subrata
Modak<subrata@linux.vnet.ibm.com> wrote:
>> remove test cases which require the block device.
>> You can specify it with option -b
>
> This is not an error message at all. See this:
> http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/runltp?r1=1.40&r2=1.41
I checked above site that you said. Thank you for sharing.
I summarized result of benchmark using ltp-full-20090531.
----------------------------------------------------------------------------------------------------
Linux RootFS Linux Kernel LTP Result(Log)
Result(HTML)
----------------------------------------------------------------------------------------------------
CentOS 5.3 2.6.24 20090531 Success
Success
Fedora 11 2.6.29 20090531
Success(with+ctrl C) Failed
#> cd ltp-full-20090531
#> ./configure
#> make
#> make install
#> time ./runalltests.sh OR
time ./runltp -v -l alltest.log -o alltest.out -g alltest.html -x 4
.... No response ......
I still can't view "#>" prompt in my Fedora 11 distribution after 24hours.
I don't know what is reason of this problem in Fedora 11.
>
> Andrew would also explain you a bit.
>
> Regards--
> Subrata
>
--
Regards,
GeunSik Lim ( Samsung Electronics )
Blog : http://blog.naver.com/invain/
e-Mail: geunsik.lim@samsung.com
leemgs@gmail.com , leemgs1@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LTP] I met "You can specify it with option -b" error message
2009-06-19 5:11 ` GeunSik Lim
@ 2009-06-19 5:29 ` Subrata Modak
2009-06-19 7:40 ` GeunSik Lim
0 siblings, 1 reply; 6+ messages in thread
From: Subrata Modak @ 2009-06-19 5:29 UTC (permalink / raw)
To: GeunSik Lim; +Cc: ltp-list, Andrew Vagin
On Fri, 2009-06-19 at 14:11 +0900, GeunSik Lim wrote:
> On Fri, Jun 19, 2009 at 2:31 AM, Subrata
> Modak<subrata@linux.vnet.ibm.com> wrote:
> >> remove test cases which require the block device.
> >> You can specify it with option -b
> >
> > This is not an error message at all. See this:
> > http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/runltp?r1=1.40&r2=1.41
>
> I checked above site that you said. Thank you for sharing.
> I summarized result of benchmark using ltp-full-20090531.
> ----------------------------------------------------------------------------------------------------
> Linux RootFS Linux Kernel LTP Result(Log)
> Result(HTML)
> ----------------------------------------------------------------------------------------------------
> CentOS 5.3 2.6.24 20090531 Success
> Success
> Fedora 11 2.6.29 20090531
> Success(with+ctrl C) Failed
>
> #> cd ltp-full-20090531
> #> ./configure
> #> make
> #> make install
> #> time ./runalltests.sh OR
> time ./runltp -v -l alltest.log -o alltest.out -g alltest.html
> -x 4
Because, when you use the option -o, ltp-pan will redirect all your test
output to ltp/output/alltest.out. Do tail -f ltp/output/alltest.out, you
will see output scrolling out. Given the size of default ltp run, you
can expect somewhere from 1.5 to 2.5 hours before your command prompt
returns from:
time ./runltp -v -l alltest.log -o alltest.out -g alltest.html
Regards--
Subrata
>
> .... No response ......
>
> I still can't view "#>" prompt in my Fedora 11 distribution after 24hours.
> I don't know what is reason of this problem in Fedora 11.
>
>
> >
> > Andrew would also explain you a bit.
> >
> > Regards--
> > Subrata
> >
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LTP] I met "You can specify it with option -b" error message
2009-06-19 5:29 ` Subrata Modak
@ 2009-06-19 7:40 ` GeunSik Lim
2009-06-23 14:50 ` Subrata Modak
0 siblings, 1 reply; 6+ messages in thread
From: GeunSik Lim @ 2009-06-19 7:40 UTC (permalink / raw)
To: subrata; +Cc: ltp-list, Andrew Vagin
On Fri, Jun 19, 2009 at 2:29 PM, Subrata
Modak<subrata@linux.vnet.ibm.com> wrote:
>
> Because, when you use the option -o, ltp-pan will redirect all your test
> output to ltp/output/alltest.out. Do tail -f ltp/output/alltest.out, you
> will see output scrolling out. Given the size of default ltp run, you
> can expect somewhere from 1.5 to 2.5 hours before your command prompt
> returns from:
>
> time ./runltp -v -l alltest.log -o alltest.out -g alltest.html
>
> Regards--
> Subrata
Subrata,
Thanks, I got some data like belows thanks to you.
paused location is mq_timedreceive01(tag) when I used "#> tail -f
./output/alltest.out" command .
As I report, I can not finshed ltp test in Fedora 11 rootFS.
Fedora 11 rootFS + Same Kernel + ltp-full-20090531 --> Fail
Centos 5.3rootFS + Same Kernel + ltp-full-20090531 --> Success
/opt/ltp-full-20090531/testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01.c
#> man mq_receive, mq_timedreceive - receive a message from a message queue
[root@fedora11 mq_timedreceive]# strace ./mq_timedreceive01
execve("./mq_timedreceive01", ["./mq_timedreceive01"], [/* 29 vars */]) = 0
brk(0) = 0x9564000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=125568, ...}) = 0
mmap2(NULL, 125568, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f30000
close(3) = 0
open("/lib/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300h\322\0004\0\0\0T"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=43924, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f2f000
mmap2(0xd25000, 33332, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xd25000
mmap2(0xd2c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xd2c000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300K\264\0004\0\0\0\304"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1803388, ...}) = 0
mmap2(0xb2e000, 1513768, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x110000
mprotect(0x27b000, 4096, PROT_NONE) = 0
mmap2(0x27c000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16b) = 0x27c000
mmap2(0x27f000, 10536, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x27f000
close(3) = 0
open("/lib/i686/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0Py\315\0004\0\0\0\350"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=140408, ...}) = 0
mmap2(0xcd3000, 106976, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xcd3000
mprotect(0xce9000, 4096, PROT_NONE) = 0
mmap2(0xcea000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16) = 0xcea000
mmap2(0xcec000, 4576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xcec000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f2e000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f2e6c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xcea000, 4096, PROT_READ) = 0
mprotect(0x27c000, 8192, PROT_READ) = 0
mprotect(0xd2c000, 4096, PROT_READ) = 0
mprotect(0xb26000, 4096, PROT_READ) = 0
munmap(0xb7f30000, 125568) = 0
set_tid_address(0xb7f2e728) = 6446
set_robust_list(0xb7f2e730, 0xc) = 0
futex(0xbfa4e030, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbfa4e030, 0x189 /* FUTEX_??? */, 1, NULL, bfa4e040) = -1
EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0xcd7340, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xcd7840, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="fedora11", ...}) = 0
brk(0) = 0x9564000
brk(0x9585000) = 0x9585000
gettimeofday({1245397037, 261081}, NULL) = 0
mkdir("/tmp/mq_wHG2nE", 0700) = 0
getgid32() = 0
chown32("/tmp/mq_wHG2nE", -1, 0) = 0
chmod("/tmp/mq_wHG2nE", 0777) = 0
chdir("/tmp/mq_wHG2nE") = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f4e000
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case00) START
) = 48
mq_unlink("test_mqueue") = 0
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
mq_timedsend(3, ""..., 0, 0, NULL) = 0
mq_timedreceive(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
8192, -1079713876, NULL) = 0
write(2, "EXPECT: return value(ret)=0"..., 27EXPECT: return value(ret)=0) = 27
write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=0"..., 27RESULT: return value(ret)=0) = 27
write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = 0
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case00) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case01) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
mq_timedsend(3, "\0"..., 1, 0, NULL) = 0
mq_timedreceive(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
8192, -1079713876, NULL) = 1
write(2, "EXPECT: return value(ret)=1"..., 27EXPECT: return value(ret)=1) = 27
write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=1"..., 27RESULT: return value(ret)=1) = 27
write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = 0
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case01) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case02) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
mq_timedsend(3,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, 0, NULL) = 0
mq_timedreceive(3,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, -1079713876, NULL) = 8192
write(2, "EXPECT: return value(ret)=8192"..., 30EXPECT: return
value(ret)=8192) = 30
write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=8192"..., 30RESULT: return
value(ret)=8192) = 30
write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = 0
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case02) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case03) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
mq_timedsend(3, "\0"..., 1, 32767, NULL) = 0
mq_timedreceive(3,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, -1079713876, NULL) = 1
write(2, "EXPECT: return value(ret)=1"..., 27EXPECT: return value(ret)=1) = 27
write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=1"..., 27RESULT: return value(ret)=1) = 27
write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = 0
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case03) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case04) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
mq_timedsend(3, ""..., 0, 0, NULL) = 0
mq_timedreceive(3,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8191, -1079713876, NULL) = -1 EMSGSIZE (Message too long)
write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
write(2, " errno=90 (Message too long)"..., 28 errno=90 (Message too long)) = 28
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
write(2, " errno=90 (Message too long)"..., 28 errno=90 (Message too long)) = 28
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = 0
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case04) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case05) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_timedreceive(-1,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, -1079713876, NULL) = -1 EBADF (Bad file descriptor)
write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
descriptor)) = 30
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
descriptor)) = 30
write(2, "\n"..., 1
) = 1
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case05) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case06) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_timedreceive(2147483646,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, -1079713876, NULL) = -1 EBADF (Bad file descriptor)
write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
descriptor)) = 30
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
descriptor)) = 30
write(2, "\n"..., 1
) = 1
close(2147483646) = -1 EBADF (Bad file descriptor)
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case06) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case07) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
open("/", O_RDONLY) = 3
mq_timedreceive(3,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, -1079713876, NULL) = -1 EBADF (Bad file descriptor)
write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
descriptor)) = 30
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
descriptor)) = 30
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case07) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case08) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, 0700, { ??? }) = 3
mq_timedreceive(3,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, -1079713876, NULL) = -1 EAGAIN (Resource temporarily
unavailable)
write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
write(2, " errno=11 (Resource temporarily u"..., 44 errno=11 (Resource
temporarily unavailable)) = 44
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
write(2, " errno=11 (Resource temporarily u"..., 44 errno=11 (Resource
temporarily unavailable)) = 44
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = 0
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case08) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case09) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
mq_timedreceive(3,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, -1079713876, {4294967295, 0}) = -1 EINVAL (Invalid
argument)
write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = 0
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case09) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case10) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
mq_timedreceive(3,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, -1079713876, {0, 4294967295}) = -1 EINVAL (Invalid
argument)
write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = 0
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case10) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case11) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
mq_timedreceive(3,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, -1079713876, {0, 1000000000}) = -1 EINVAL (Invalid
argument)
write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = 0
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case11) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case12) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
mq_timedreceive(3,
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
"..., 8192, -1079713876, {0, 999999999}) = -1 ETIMEDOUT (Connection
timed out)
write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
write(2, " errno=110 (Connection timed out)"..., 33 errno=110
(Connection timed out)) = 33
write(2, "\n"..., 1
) = 1
write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
write(2, " errno=110 (Connection timed out)"..., 33 errno=110
(Connection timed out)) = 33
write(2, "\n"..., 1
) = 1
close(3) = 0
mq_unlink("test_mqueue") = 0
write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
0 INFO : (case12) END => OK
) = 52
write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
0 INFO : (case13) START
) = 48
mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
rt_sigaction(SIGUSR2, {0x80493c0, [],
SA_INTERRUPT|SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f2e728) = 6447
kill(6447, SIGUSR2) = 0
mq_timedreceive(3,
# screenshot of "#> tail -f ./output/alltest.out"
/******************************************************************************/
/* */
/* File: mq_timedreceive01.c */
/* */
/* Description: This tests the mq_timedreceive() syscall */
/* */
/* */
/* */
/* */
/* */
/* */
/* Usage: <for command-line> */
/* mq_timedreceive01 [-c n] [-e][-i n] [-I x] [-p x] [-t] */
/* where, -c n : Run n copies concurrently. */
/* -e : Turn on errno logging. */
/* -i n : Execute test n times. */
/* -I x : Execute test for x seconds. */
/* -P x : Pause for x seconds between iterations. */
/* -t : Turn on syscall timing. */
/* */
/* Total Tests: 1 */
/* */
/* Test Name: mq_timedreceive01 */
/* History: Porting from Crackerjack to LTP is done by */
/* Manas Kumar Nayak maknayak@in.ibm.com> */
/******************************************************************************/
<<<test_start>>>
tag=mq_open01 stime=1245392211
cmdline="mq_open01"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
EXPECT: return value(ret)=(N >= 0) errno=0 (Success), r/w check=OK
RESULT: return value(ret)= 6 errno=0 (Success), r/w check=NG
mq_open01 0 INFO : (case00) START
mq_open01 0 INFO : (case00) END => NG
mq_open01 1 FAIL : mq_open01 failed - errno = 0 : Success
mq_open01 0 INFO : NG
<<<execution_status>>>
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=mq_timedreceive01 stime=1245392211
cmdline="mq_timedreceive01"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
EXPECT: return value(ret)=0 errno=0 (Success)
RESULT: return value(ret)=0 errno=0 (Success)
EXPECT: return value(ret)=1 errno=0 (Success)
RESULT: return value(ret)=1 errno=0 (Success)
EXPECT: return value(ret)=8192 errno=0 (Success)
RESULT: return value(ret)=8192 errno=0 (Success)
EXPECT: return value(ret)=1 errno=0 (Success)
RESULT: return value(ret)=1 errno=0 (Success)
EXPECT: return value(ret)=-1 errno=90 (Message too long)
RESULT: return value(ret)=-1 errno=90 (Message too long)
EXPECT: return value(ret)=-1 errno=9 (Bad file descriptor)
RESULT: return value(ret)=-1 errno=9 (Bad file descriptor)
EXPECT: return value(ret)=-1 errno=9 (Bad file descriptor)
RESULT: return value(ret)=-1 errno=9 (Bad file descriptor)
EXPECT: return value(ret)=-1 errno=9 (Bad file descriptor)
RESULT: return value(ret)=-1 errno=9 (Bad file descriptor)
EXPECT: return value(ret)=-1 errno=11 (Resource temporarily unavailable)
RESULT: return value(ret)=-1 errno=11 (Resource temporarily unavailable)
EXPECT: return value(ret)=-1 errno=22 (Invalid argument)
RESULT: return value(ret)=-1 errno=22 (Invalid argument)
EXPECT: return value(ret)=-1 errno=22 (Invalid argument)
RESULT: return value(ret)=-1 errno=22 (Invalid argument)
EXPECT: return value(ret)=-1 errno=22 (Invalid argument)
RESULT: return value(ret)=-1 errno=22 (Invalid argument)
EXPECT: return value(ret)=-1 errno=110 (Connection timed out)
RESULT: return value(ret)=-1 errno=110 (Connection timed out)
--
Regards,
GeunSik Lim ( Samsung Electronics )
Blog : http://blog.naver.com/invain/
e-Mail: geunsik.lim@samsung.com
leemgs@gmail.com , leemgs1@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LTP] I met "You can specify it with option -b" error message
2009-06-19 7:40 ` GeunSik Lim
@ 2009-06-23 14:50 ` Subrata Modak
0 siblings, 0 replies; 6+ messages in thread
From: Subrata Modak @ 2009-06-23 14:50 UTC (permalink / raw)
To: GeunSik Lim; +Cc: ltp-list, Andrew Vagin
On Fri, 2009-06-19 at 16:40 +0900, GeunSik Lim wrote:
> On Fri, Jun 19, 2009 at 2:29 PM, Subrata
> Modak<subrata@linux.vnet.ibm.com> wrote:
>
> >
> > Because, when you use the option -o, ltp-pan will redirect all your test
> > output to ltp/output/alltest.out. Do tail -f ltp/output/alltest.out, you
> > will see output scrolling out. Given the size of default ltp run, you
> > can expect somewhere from 1.5 to 2.5 hours before your command prompt
> > returns from:
> >
> > time ./runltp -v -l alltest.log -o alltest.out -g alltest.html
> >
> > Regards--
> > Subrata
>
> Subrata,
> Thanks, I got some data like belows thanks to you.
> paused location is mq_timedreceive01(tag) when I used "#> tail -f
> ./output/alltest.out" command .
>
> As I report, I can not finshed ltp test in Fedora 11 rootFS.
> Fedora 11 rootFS + Same Kernel + ltp-full-20090531 --> Fail
> Centos 5.3rootFS + Same Kernel + ltp-full-20090531 --> Success
>
>
> /opt/ltp-full-20090531/testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01.c
> #> man mq_receive, mq_timedreceive - receive a message from a message queue
>
>
>
> [root@fedora11 mq_timedreceive]# strace ./mq_timedreceive01
> execve("./mq_timedreceive01", ["./mq_timedreceive01"], [/* 29 vars */]) = 0
> brk(0) = 0x9564000
> access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
> open("/etc/ld.so.cache", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=125568, ...}) = 0
> mmap2(NULL, 125568, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f30000
> close(3) = 0
> open("/lib/librt.so.1", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300h\322\0004\0\0\0T"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=43924, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb7f2f000
> mmap2(0xd25000, 33332, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
> 3, 0) = 0xd25000
> mmap2(0xd2c000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xd2c000
> close(3) = 0
> open("/lib/libc.so.6", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300K\264\0004\0\0\0\304"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1803388, ...}) = 0
> mmap2(0xb2e000, 1513768, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x110000
> mprotect(0x27b000, 4096, PROT_NONE) = 0
> mmap2(0x27c000, 12288, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16b) = 0x27c000
> mmap2(0x27f000, 10536, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x27f000
> close(3) = 0
> open("/lib/i686/libpthread.so.0", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0Py\315\0004\0\0\0\350"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=140408, ...}) = 0
> mmap2(0xcd3000, 106976, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xcd3000
> mprotect(0xce9000, 4096, PROT_NONE) = 0
> mmap2(0xcea000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16) = 0xcea000
> mmap2(0xcec000, 4576, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xcec000
> close(3) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb7f2e000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f2e6c0,
> limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
> limit_in_pages:1, seg_not_present:0, useable:1}) = 0
> mprotect(0xcea000, 4096, PROT_READ) = 0
> mprotect(0x27c000, 8192, PROT_READ) = 0
> mprotect(0xd2c000, 4096, PROT_READ) = 0
> mprotect(0xb26000, 4096, PROT_READ) = 0
> munmap(0xb7f30000, 125568) = 0
> set_tid_address(0xb7f2e728) = 6446
> set_robust_list(0xb7f2e730, 0xc) = 0
> futex(0xbfa4e030, FUTEX_WAKE_PRIVATE, 1) = 0
> futex(0xbfa4e030, 0x189 /* FUTEX_??? */, 1, NULL, bfa4e040) = -1
> EAGAIN (Resource temporarily unavailable)
> rt_sigaction(SIGRTMIN, {0xcd7340, [], SA_SIGINFO}, NULL, 8) = 0
> rt_sigaction(SIGRT_1, {0xcd7840, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
> rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
> getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
> uname({sys="Linux", node="fedora11", ...}) = 0
> brk(0) = 0x9564000
> brk(0x9585000) = 0x9585000
> gettimeofday({1245397037, 261081}, NULL) = 0
> mkdir("/tmp/mq_wHG2nE", 0700) = 0
> getgid32() = 0
> chown32("/tmp/mq_wHG2nE", -1, 0) = 0
> chmod("/tmp/mq_wHG2nE", 0777) = 0
> chdir("/tmp/mq_wHG2nE") = 0
> fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb7f4e000
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case00) START
> ) = 48
> mq_unlink("test_mqueue") = 0
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
> mq_timedsend(3, ""..., 0, 0, NULL) = 0
> mq_timedreceive(3,
> "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 8192, -1079713876, NULL) = 0
> write(2, "EXPECT: return value(ret)=0"..., 27EXPECT: return value(ret)=0) = 27
> write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=0"..., 27RESULT: return value(ret)=0) = 27
> write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = 0
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case00) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case01) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
> mq_timedsend(3, "\0"..., 1, 0, NULL) = 0
> mq_timedreceive(3,
> "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 8192, -1079713876, NULL) = 1
> write(2, "EXPECT: return value(ret)=1"..., 27EXPECT: return value(ret)=1) = 27
> write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=1"..., 27RESULT: return value(ret)=1) = 27
> write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = 0
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case01) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case02) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
> mq_timedsend(3,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, 0, NULL) = 0
> mq_timedreceive(3,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, -1079713876, NULL) = 8192
> write(2, "EXPECT: return value(ret)=8192"..., 30EXPECT: return
> value(ret)=8192) = 30
> write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=8192"..., 30RESULT: return
> value(ret)=8192) = 30
> write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = 0
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case02) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case03) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
> mq_timedsend(3, "\0"..., 1, 32767, NULL) = 0
> mq_timedreceive(3,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, -1079713876, NULL) = 1
> write(2, "EXPECT: return value(ret)=1"..., 27EXPECT: return value(ret)=1) = 27
> write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=1"..., 27RESULT: return value(ret)=1) = 27
> write(2, " errno=0 (Success)"..., 18 errno=0 (Success)) = 18
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = 0
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case03) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case04) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
> mq_timedsend(3, ""..., 0, 0, NULL) = 0
> mq_timedreceive(3,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8191, -1079713876, NULL) = -1 EMSGSIZE (Message too long)
> write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
> write(2, " errno=90 (Message too long)"..., 28 errno=90 (Message too long)) = 28
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
> write(2, " errno=90 (Message too long)"..., 28 errno=90 (Message too long)) = 28
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = 0
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case04) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case05) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_timedreceive(-1,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, -1079713876, NULL) = -1 EBADF (Bad file descriptor)
> write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
> write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
> descriptor)) = 30
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
> write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
> descriptor)) = 30
> write(2, "\n"..., 1
> ) = 1
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case05) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case06) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_timedreceive(2147483646,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, -1079713876, NULL) = -1 EBADF (Bad file descriptor)
> write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
> write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
> descriptor)) = 30
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
> write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
> descriptor)) = 30
> write(2, "\n"..., 1
> ) = 1
> close(2147483646) = -1 EBADF (Bad file descriptor)
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case06) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case07) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> open("/", O_RDONLY) = 3
> mq_timedreceive(3,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, -1079713876, NULL) = -1 EBADF (Bad file descriptor)
> write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
> write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
> descriptor)) = 30
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
> write(2, " errno=9 (Bad file descriptor)"..., 30 errno=9 (Bad file
> descriptor)) = 30
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case07) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case08) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, 0700, { ??? }) = 3
> mq_timedreceive(3,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, -1079713876, NULL) = -1 EAGAIN (Resource temporarily
> unavailable)
> write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
> write(2, " errno=11 (Resource temporarily u"..., 44 errno=11 (Resource
> temporarily unavailable)) = 44
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
> write(2, " errno=11 (Resource temporarily u"..., 44 errno=11 (Resource
> temporarily unavailable)) = 44
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = 0
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case08) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case09) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
> mq_timedreceive(3,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, -1079713876, {4294967295, 0}) = -1 EINVAL (Invalid
> argument)
> write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
> write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
> write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = 0
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case09) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case10) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
> mq_timedreceive(3,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, -1079713876, {0, 4294967295}) = -1 EINVAL (Invalid
> argument)
> write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
> write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
> write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = 0
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case10) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case11) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
> mq_timedreceive(3,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, -1079713876, {0, 1000000000}) = -1 EINVAL (Invalid
> argument)
> write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
> write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
> write(2, " errno=22 (Invalid argument)"..., 28 errno=22 (Invalid argument)) = 28
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = 0
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case11) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case12) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
> mq_timedreceive(3,
> "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
> "..., 8192, -1079713876, {0, 999999999}) = -1 ETIMEDOUT (Connection
> timed out)
> write(2, "EXPECT: return value(ret)=-1"..., 28EXPECT: return value(ret)=-1) = 28
> write(2, " errno=110 (Connection timed out)"..., 33 errno=110
> (Connection timed out)) = 33
> write(2, "\n"..., 1
> ) = 1
> write(2, "RESULT: return value(ret)=-1"..., 28RESULT: return value(ret)=-1) = 28
> write(2, " errno=110 (Connection timed out)"..., 33 errno=110
> (Connection timed out)) = 33
> write(2, "\n"..., 1
> ) = 1
> close(3) = 0
> mq_unlink("test_mqueue") = 0
> write(1, "mq_timedreceive01 0 INFO : "..., 52mq_timedreceive01
> 0 INFO : (case12) END => OK
> ) = 52
> write(1, "mq_timedreceive01 0 INFO : "..., 48mq_timedreceive01
> 0 INFO : (case13) START
> ) = 48
> mq_unlink("test_mqueue") = -1 ENOENT (No such file or directory)
> mq_open("test_mqueue", O_RDWR|O_CREAT|O_EXCL, 0700, { ??? }) = 3
> rt_sigaction(SIGUSR2, {0x80493c0, [],
> SA_INTERRUPT|SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0
> clone(child_stack=0,
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0xb7f2e728) = 6447
> kill(6447, SIGUSR2) = 0
> mq_timedreceive(3,
>
>
>
> # screenshot of "#> tail -f ./output/alltest.out"
>
> /******************************************************************************/
> /* */
> /* File: mq_timedreceive01.c */
> /* */
> /* Description: This tests the mq_timedreceive() syscall */
> /* */
> /* */
> /* */
> /* */
> /* */
> /* */
> /* Usage: <for command-line> */
> /* mq_timedreceive01 [-c n] [-e][-i n] [-I x] [-p x] [-t] */
> /* where, -c n : Run n copies concurrently. */
> /* -e : Turn on errno logging. */
> /* -i n : Execute test n times. */
> /* -I x : Execute test for x seconds. */
> /* -P x : Pause for x seconds between iterations. */
> /* -t : Turn on syscall timing. */
> /* */
> /* Total Tests: 1 */
> /* */
> /* Test Name: mq_timedreceive01 */
> /* History: Porting from Crackerjack to LTP is done by */
> /* Manas Kumar Nayak maknayak@in.ibm.com> */
> /******************************************************************************/
>
>
>
>
> <<<test_start>>>
> tag=mq_open01 stime=1245392211
> cmdline="mq_open01"
> contacts=""
> analysis=exit
> initiation_status="ok"
> <<<test_output>>>
> EXPECT: return value(ret)=(N >= 0) errno=0 (Success), r/w check=OK
> RESULT: return value(ret)= 6 errno=0 (Success), r/w check=NG
> mq_open01 0 INFO : (case00) START
> mq_open01 0 INFO : (case00) END => NG
> mq_open01 1 FAIL : mq_open01 failed - errno = 0 : Success
> mq_open01 0 INFO : NG
> <<<execution_status>>>
> duration=0 termination_type=exited termination_id=1 corefile=no
> cutime=0 cstime=0
> <<<test_end>>>
>
>
> <<<test_start>>>
> tag=mq_timedreceive01 stime=1245392211
> cmdline="mq_timedreceive01"
> contacts=""
> analysis=exit
> initiation_status="ok"
> <<<test_output>>>
> EXPECT: return value(ret)=0 errno=0 (Success)
> RESULT: return value(ret)=0 errno=0 (Success)
> EXPECT: return value(ret)=1 errno=0 (Success)
> RESULT: return value(ret)=1 errno=0 (Success)
> EXPECT: return value(ret)=8192 errno=0 (Success)
> RESULT: return value(ret)=8192 errno=0 (Success)
> EXPECT: return value(ret)=1 errno=0 (Success)
> RESULT: return value(ret)=1 errno=0 (Success)
> EXPECT: return value(ret)=-1 errno=90 (Message too long)
> RESULT: return value(ret)=-1 errno=90 (Message too long)
> EXPECT: return value(ret)=-1 errno=9 (Bad file descriptor)
> RESULT: return value(ret)=-1 errno=9 (Bad file descriptor)
> EXPECT: return value(ret)=-1 errno=9 (Bad file descriptor)
> RESULT: return value(ret)=-1 errno=9 (Bad file descriptor)
> EXPECT: return value(ret)=-1 errno=9 (Bad file descriptor)
> RESULT: return value(ret)=-1 errno=9 (Bad file descriptor)
> EXPECT: return value(ret)=-1 errno=11 (Resource temporarily unavailable)
> RESULT: return value(ret)=-1 errno=11 (Resource temporarily unavailable)
> EXPECT: return value(ret)=-1 errno=22 (Invalid argument)
> RESULT: return value(ret)=-1 errno=22 (Invalid argument)
> EXPECT: return value(ret)=-1 errno=22 (Invalid argument)
> RESULT: return value(ret)=-1 errno=22 (Invalid argument)
> EXPECT: return value(ret)=-1 errno=22 (Invalid argument)
> RESULT: return value(ret)=-1 errno=22 (Invalid argument)
> EXPECT: return value(ret)=-1 errno=110 (Connection timed out)
> RESULT: return value(ret)=-1 errno=110 (Connection timed out)
>
Ok. It is one of the new tests just added, and, i think community would
be fixing that soon.
Regards--
Subrata
>
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-06-23 15:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-12 8:47 [LTP] I met "You can specify it with option -b" error message GeunSik Lim
2009-06-18 17:31 ` Subrata Modak
2009-06-19 5:11 ` GeunSik Lim
2009-06-19 5:29 ` Subrata Modak
2009-06-19 7:40 ` GeunSik Lim
2009-06-23 14:50 ` Subrata Modak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox