On Tue, Jun 25, 2013 at 3:25 PM, Sedat Dilek <[email protected]> wrote:
> On Tue, Jun 25, 2013 at 3:24 PM,  <[email protected]> wrote:
>> Hi!
>>> > >
>>> > > What was the error message, same as previous?
>>> > >
>>> >
>>> > Here we go.
>>> >
>>> > ...
>>> > mount: wrong fs type, bad option, bad superblock on /dev/loop1,
>>> >        missing codepage or helper program, or other error
>>> >        In some cases useful info is found in syslog - try
>>> >        dmesg | tail  or so
>>> >
>>> > FATAL: can't mount block device /dev/loop1.
>>> > mke2fs 1.42 (29-Nov-2011)
>>> > mkfs.ext4: Device size reported to be zero.  Invalid partition specified, 
>>> > or
>>> >         partition table wasn't reread after running fdisk, due to
>>> >         a modified partition being busy and in use.  You may need to 
>>> > reboot
>>> >         to re-read your partition table.
>>> >
>>> > 102400+0 records in
>>> > 102400+0 records out
>>> > 102400000 bytes (102 MB) copied, 0.542412 s, 189 MB/s
>>> > ...
>>> >
>>> > # dmesg | tail
>>> > ...
>>> > [ 1179.820940] EXT4-fs (loop1): VFS: Can't find ext4 filesystem
>>>
>>> Hmm, it seems like something went wrong with the loop device setup (as
>>> if no device was attached but the error was silently ignored).
>>>
>>> (And I wonder why the messages seems to be in reverse order, the
>>> messages from dd should have been first, then mkfs and then mount).
>>
>> Hmm, if I remeber correctly there dash that is used as /bin/sh on Debian
>> (and supposedly on Ubuntu) that does not understand the &> syntax so the
>> messages may be reversed because the commands are executed on background
>> (instead of the output redirected to /dev/null).
>>
>
> Yeah, dash is default.
> I try with using bash instead.
>

YUPP, that worked :-).

- Sedat -

> - Sedat -
>
>> Try to remove all '&> /dev/null' from the script and try again.
>>
>> --
>> Cyril Hrubis
>> [email protected]
INFO: creating /opt/ltp/results directory
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
NAME="Ubuntu"
VERSION="12.04.2 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.2 LTS)"
VERSION_ID="12.04"
Linux fambox 3.10.0-rc7-next20130624-2-iniza-small #1 SMP Tue Jun 25 14:23:41 
CEST 2013 x86_64 x86_64 x86_64 GNU/Linux
 
Gnu C                  gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Gnu make               3.81
util-linux             linux 2.20.1
mount                  linux 2.20.1 (with libblkid and selinux support)
modutils               6
e2fsprogs              1.42
PPP                    2.4.5
Linux C Library        > libc.2.15
Dynamic linker (ldd)   2.15
Procps                 3.2.8
Net-tools              1.60
iproute2              iproute2-ss121211
Kbd                    1.15.2
Sh-utils               8.13
Modules Loaded         parport_pc rfcomm bnep ppdev snd_hda_codec_hdmi arc4 
snd_hda_codec_realtek iwldvm mac80211 snd_hda_intel snd_hda_codec uvcvideo 
snd_hwdep snd_pcm joydev videobuf2_vmalloc videobuf2_memops snd_page_alloc 
videobuf2_core snd_seq_midi videodev snd_seq_midi_event i915 iwlwifi 
snd_rawmidi snd_seq snd_timer snd_seq_device psmouse btusb cfg80211 snd 
i2c_algo_bit bluetooth drm_kms_helper soundcore drm serio_raw samsung_laptop 
lpc_ich wmi video mac_hid lp parport hid_generic usbhid hid usb_storage r8169 
mii

free reports:
             total       used       free     shared    buffers     cached
Mem:       3945272    3782384     162888          0    1146880    1854712
-/+ buffers/cache:     780792    3164480
Swap:       262140        104     262036

/proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
stepping        : 7
microcode       : 0x28
cpu MHz         : 2064.000
cache size      : 3072 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf 
eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm 
pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida 
arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 3192.91
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
stepping        : 7
microcode       : 0x28
cpu MHz         : 2080.000
cache size      : 3072 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf 
eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm 
pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida 
arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 3192.91
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
stepping        : 7
microcode       : 0x28
cpu MHz         : 2000.000
cache size      : 3072 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 2
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf 
eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm 
pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida 
arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 3192.91
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
stepping        : 7
microcode       : 0x28
cpu MHz         : 2000.000
cache size      : 3072 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 2
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf 
eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm 
pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida 
arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 3192.91
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

/dev/loop0: [0802]:17982 (/host/ubuntu/disks/root.disk)
/dev/loop1: [0700]:918286 (/tmp/ltp-ZnUe28cO8S/test.img)
COMMAND:    /opt/ltp/bin/ltp-pan  -e -S   -a 26353     -n 26353  -p  -f 
/tmp/ltp-ZnUe28cO8S/alltests -l 
/opt/ltp/results/LTP_RUN_ON-2013_Jun_25-15h_25m_27s.log  -C 
/opt/ltp/output/LTP_RUN_ON-2013_Jun_25-15h_25m_27s.failed
LOG File: /opt/ltp/results/LTP_RUN_ON-2013_Jun_25-15h_25m_27s.log
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2013_Jun_25-15h_25m_27s.failed
Running tests.......
<<<test_start>>>
tag=pipeio_1 stime=1372166727
cmdline="pipeio -T pipeio_1 -c 5 -s 4090 -i 100 -b -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_1    1  TPASS  :  1 PASS 501 pipe reads complete, read size = 4090, 
named pipe, blking,
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=pipeio_3 stime=1372166727
cmdline="pipeio -T pipeio_3 -c 5 -s 4090 -i 100 -u -b -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_3    1  TPASS  :  1 PASS 501 pipe reads complete, read size = 4090, sys 
pipe, 
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=pipeio_4 stime=1372166727
cmdline="pipeio -T pipeio_4 -c 5 -s 4090 -i 100 -u -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_4    1  TPASS  :  1 PASS 501 pipe reads complete, read size = 4090, sys 
pipe, 
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=pipeio_5 stime=1372166727
cmdline="pipeio -T pipeio_5 -c 5 -s 5000 -i 10 -b -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    1  TPASS  :  1 PASS 66 pipe reads complete, read size = 4096, named 
pipe, blking,
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=pipeio_6 stime=1372166727
cmdline="pipeio -T pipeio_6 -c 5 -s 5000 -i 10 -b -u -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    1  TPASS  :  1 PASS 66 pipe reads complete, read size = 4096, sys 
pipe, 
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=pipeio_8 stime=1372166727
cmdline="pipeio -T pipeio_8 -c 5 -s 5000 -i 10 -u -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    1  TPASS  :  1 PASS 66 pipe reads complete, read size = 4096, sys 
pipe, 
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sem01 stime=1372166727
cmdline="sem01"
contacts=""
analysis=exit
<<<test_output>>>
PASS: error count is 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=sem02 stime=1372166727
cmdline="sem02"
contacts=""
analysis=exit
<<<test_output>>>
sem02       0  TINFO  :  Poster, pid = 26521, posting
sem02       0  TINFO  :  Waiter, pid = 26521
sem02       0  TINFO  :  Poster posted
sem02       0  TINFO  :  Poster exiting
sem02       0  TINFO  :  Waiter waiting, pid = 26521
sem02       0  TINFO  :  Waiter done waiting
sem02       1  TPASS  :  passed
<<<execution_status>>>
initiation_status="ok"
duration=20 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_01 stime=1372166747
cmdline="       message_queue_test_01"
contacts=""
analysis=exit
<<<test_output>>>
message_queue_test_01: IPC Message Queue TestSuite program

        Create message queue, id: 0x00010000

        Child:  received message queue id: 65536

        Child:  sending message:  "message queue transmission test...."

        Parent: received message: "message queue transmission test...."

        Remove the message queue

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_02_get stime=1372166747
cmdline="message_queue_test_02_get"
contacts=""
analysis=exit
<<<test_output>>>
98304
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_02_snd stime=1372166747
cmdline="message_queue_test_02_snd"
contacts=""
analysis=exit
<<<test_output>>>
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_02_rcv stime=1372166747
cmdline="message_queue_test_02_rcv"
contacts=""
analysis=exit
<<<test_output>>>
<< Message Queue test default message >>
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_02_ctl stime=1372166747
cmdline="message_queue_test_02_ctl -r"
contacts=""
analysis=exit
<<<test_output>>>
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_04 stime=1372166747
cmdline="       message_queue_test_04"
contacts=""
analysis=exit
<<<test_output>>>
message_queue_test_04: IPC Message Queue TestSuite program


successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_05 stime=1372166747
cmdline="       message_queue_test_05"
contacts=""
analysis=exit
<<<test_output>>>
message_queue_test_05: IPC Message Queue TestSuite program

        Creating 10 message queues ...

        All message queues created successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=pipe_test_01 stime=1372166747
cmdline="               pipe_test_01"
contacts=""
analysis=exit
<<<test_output>>>
cat: /etc/inittab: No such file or directory
0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=pipe_test_02 stime=1372166747
cmdline="               pipe_test_02"
contacts=""
analysis=exit
<<<test_output>>>
pipe_test_02: IPC Pipe TestSuite program

        Creating pipes...

        Spawning 1 child processes ... 
                Child:  pid [26536] received 1024 packets from parent

        Parent: sending 1024 packets (40960 bytes) to child processes ...

        Parent: done sending packets & waiting for children to complete!

        Parent: children received all packets & exited successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semaphore_test_01 stime=1372166748
cmdline="       run_semaphore_test_01.sh"
contacts=""
analysis=exit
<<<test_output>>>
semaphore_test_01    0  TINFO  :  Created semaphore ID: 294912
semaphore_test_01    1  TPASS  :  semaphore ID comparing passed.
semaphore_test_01    0  TINFO  :  CLOSE: exit.
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=semaphore_test_02 stime=1372166748
cmdline="       semaphore_test_02"
contacts=""
analysis=exit
<<<test_output>>>
semaphore_test_02: IPC Semaphore TestSuite program

        Testing semctl (IPC_SET) command operation

        Testing semctl (IPC_SET) command operation

        Testing semctl (IPC_STAT) command operation

        Testing semctl (SETVAL) command operation

        Testing semctl (GETVAL) command operation

        Testing semop (signal and wait) operations

        Testing semctl (GETPID) command operation

        Testing semctl (GETNCNT) command operation

        Testing semctl (GETZCNT) command operation

        Testing semctl (SETALL) command operation

        Testing semctl (GETALL) command operation

        Testing semctl (IPC_RMID) command operation

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semaphore_test_03 stime=1372166748
cmdline="       semaphore_test_03"
contacts=""
analysis=exit
<<<test_output>>>
semaphore_test_03: IPC Semaphore TestSuite program

        Creating 16 semaphores ...

        Setting semaphore uid, gid and mode ... semid = 360448

        Verifying semaphore info ...

        Testing semop() with all Semaphore values, options and flags

           Semval Semop  Semflag    Description
             2     -1    0          Obtain resource     
             1     -1    0          Obtain resource     
             0      0    0          Semop function returns immediately
             5      1    0          Return resource     
             6     -7    IPC_NOWAIT Semop function returns immediately
             6      0    IPC_NOWAIT Semop function returns immediately
             6      1    0          Return resource     
             7     -8    0          Sleep (until resource becomes available)

        Creating 16 semaphores ...

        Setting semaphore uid, gid and mode ... semid = 360448

        Verifying semaphore info ...

        Testing semop() with all Semaphore values, options and flags

           Semval Semop  Semflag    Description
             2     -1    0          Obtain resource     
             1     -1    0          Obtain resource     
             0      0    0          Semop function returns immediately
             5      1    0          Return resource     
             6     -7    IPC_NOWAIT Semop function returns immediately
             6      0    IPC_NOWAIT Semop function returns immediately
             6      1    0          Return resource     
             7     -8    0          Sleep (until resource becomes available)
             7     -8    0          Sleep (until signaled)

        Creating 16 semaphores ...

        Setting semaphore uid, gid and mode ... semid = 360448

        Verifying semaphore info ...

        Testing semop() with all Semaphore values, options and flags

           Semval Semop  Semflag    Description
             2     -1    0          Obtain resource     
             1     -1    0          Obtain resource     
             0      0    0          Semop function returns immediately
             5      1    0          Return resource     
             6     -7    IPC_NOWAIT Semop function returns immediately
             6      0    IPC_NOWAIT Semop function returns immediately
             6      1    0          Return resource     
             7     -8    0          Sleep (until resource becomes available)
             7     -8    0          Sleep (until signaled)
             1      5    SEM_UNDO   Sleep (until resource becomes available)

        Creating 16 semaphores ...

        Setting semaphore uid, gid and mode ... semid = 360448

        Verifying semaphore info ...

        Testing semop() with all Semaphore values, options and flags

           Semval Semop  Semflag    Description
             2     -1    0          Obtain resource     
             1     -1    0          Obtain resource     
             0      0    0          Semop function returns immediately
             5      1    0          Return resource     
             6     -7    IPC_NOWAIT Semop function returns immediately
             6      0    IPC_NOWAIT Semop function returns immediately
             6      1    0          Return resource     
             7     -8    0          Sleep (until resource becomes available)
             7     -8    0          Sleep (until signaled)
             1      5    SEM_UNDO   Sleep (until resource becomes available)
             7     -8    0          Sleep (until semaphores are removed)

        Creating 16 semaphores ...

        Setting semaphore uid, gid and mode ... semid = 360448

        Verifying semaphore info ...

        Testing semop() with all Semaphore values, options and flags

           Semval Semop  Semflag    Description
             2     -1    0          Obtain resource     
             1     -1    0          Obtain resource     
             0      0    0          Semop function returns immediately
             5      1    0          Return resource     
             6     -7    IPC_NOWAIT Semop function returns immediately
             6      0    IPC_NOWAIT Semop function returns immediately
             6      1    0          Return resource     
             7     -8    0          Sleep (until resource becomes available)
             7     -8    0          Sleep (until signaled)
             1      5    SEM_UNDO   Sleep (until resource becomes available)
             7     -8    0          Sleep (until semaphores are removed)
             9     -1    SEM_UNDO   Obtain resource     
             8     -8    SEM_UNDO   Obtain resource     
             9      0    0          Sleep (until signaled)

        Creating 16 semaphores ...

        Setting semaphore uid, gid and mode ... semid = 360448

        Verifying semaphore info ...

        Testing semop() with all Semaphore values, options and flags

           Semval Semop  Semflag    Description
             2     -1    0          Obtain resource     
             1     -1    0          Obtain resource     
             0      0    0          Semop function returns immediately
             5      1    0          Return resource     
             6     -7    IPC_NOWAIT Semop function returns immediately
             6      0    IPC_NOWAIT Semop function returns immediately
             6      1    0          Return resource     
             7     -8    0          Sleep (until resource becomes available)
             7     -8    0          Sleep (until signaled)
             1      5    SEM_UNDO   Sleep (until resource becomes available)
             7     -8    0          Sleep (until semaphores are removed)
             9     -1    SEM_UNDO   Obtain resource     
             8     -8    SEM_UNDO   Obtain resource     
             9      0    0          Sleep (until signaled)
             9      0    0          Sleep (until resource becomes available)

        Creating 16 semaphores ...

        Setting semaphore uid, gid and mode ... semid = 360448

        Verifying semaphore info ...

        Testing semop() with all Semaphore values, options and flags

           Semval Semop  Semflag    Description
             2     -1    0          Obtain resource     
             1     -1    0          Obtain resource     
             0      0    0          Semop function returns immediately
             5      1    0          Return resource     
             6     -7    IPC_NOWAIT Semop function returns immediately
             6      0    IPC_NOWAIT Semop function returns immediately
             6      1    0          Return resource     
             7     -8    0          Sleep (until resource becomes available)
             7     -8    0          Sleep (until signaled)
             1      5    SEM_UNDO   Sleep (until resource becomes available)
             7     -8    0          Sleep (until semaphores are removed)
             9     -1    SEM_UNDO   Obtain resource     
             8     -8    SEM_UNDO   Obtain resource     
             9      0    0          Sleep (until signaled)
             9      0    0          Sleep (until resource becomes available)
             4      0    0          Sleep (until semaphores are removed)

        Creating 16 semaphores ...

        Setting semaphore uid, gid and mode ... semid = 360448

        Verifying semaphore info ...

        Testing semop() with all Semaphore values, options and flags

           Semval Semop  Semflag    Description
             2     -1    0          Obtain resource     
             1     -1    0          Obtain resource     
             0      0    0          Semop function returns immediately
             5      1    0          Return resource     
             6     -7    IPC_NOWAIT Semop function returns immediately
             6      0    IPC_NOWAIT Semop function returns immediately
             6      1    0          Return resource     
             7     -8    0          Sleep (until resource becomes available)
             7     -8    0          Sleep (until signaled)
             1      5    SEM_UNDO   Sleep (until resource becomes available)
             7     -8    0          Sleep (until semaphores are removed)
             9     -1    SEM_UNDO   Obtain resource     
             8     -8    SEM_UNDO   Obtain resource     
             9      0    0          Sleep (until signaled)
             9      0    0          Sleep (until resource becomes available)
             4      0    0          Sleep (until semaphores are removed)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=7 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_01 stime=1372166755
cmdline="               shmem_test_01"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_01: IPC Shared Memory TestSuite program

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Index through shared memory segment ...

        Release shared memory

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_02 stime=1372166755
cmdline="               shmem_test_02"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_02: IPC Shared Memory TestSuite program

        Get shared memory segment (100000 bytes)

        Parent: calculate shared memory segment checksum
                shared memory checksum 00c26eb0

        Spawning 2 child processes ... 
                child (00): checksum 00c26eb0
shmem_test_02: IPC Shared Memory TestSuite program

        Get shared memory segment (100000 bytes)

        Parent: calculate shared memory segment checksum
                shared memory checksum 00c26eb0

        Spawning 2 child processes ... 
                child (01): checksum 00c26eb0
shmem_test_02: IPC Shared Memory TestSuite program

        Get shared memory segment (100000 bytes)

        Parent: calculate shared memory segment checksum
                shared memory checksum 00c26eb0

        Spawning 2 child processes ... 

        Parent: children calculated segment successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_03 stime=1372166755
cmdline="               shmem_test_03"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_03: IPC Shared Memory TestSuite program

        Get shared memory segment (100000 bytes)

        Spawning 2 child processes ... 
                child (00): checksum 00c26eb0
shmem_test_03: IPC Shared Memory TestSuite program

        Get shared memory segment (100000 bytes)

        Spawning 2 child processes ... 
                child (01): checksum 00c26eb0
shmem_test_03: IPC Shared Memory TestSuite program

        Get shared memory segment (100000 bytes)

        Spawning 2 child processes ... 

        Parent: calculate shared memory segment checksum
                shared memory checksum 00c26eb0

        Parent: children calculated segment successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_04 stime=1372166755
cmdline="               shmem_test_04"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_04: IPC Shared Memory TestSuite program

        Object type to map = Anonymous memory
        Number of loops    = 1
        Number of procs    = 1
        Bytes per process  = 16777216 (16MB)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=2 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_05 stime=1372166755
cmdline="               shmem_test_05"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_05: IPC Shared Memory TestSuite program

        mykey to uniquely identify the shared memory segment 0x33050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x30000000

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x34050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x30200000

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x35050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x30400000

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x36050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x30600000

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x37050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x30800000

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x38050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x30a00000

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x39050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x30c00000

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x41050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x30d00000

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x42050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x30f00000

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x43050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x31000000

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x45050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        offset of the shared memory segment 0x32000000

        Index through shared memory segment ...

        Detach from the segment using the shmdt subroutine

        Release shared memory

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_06 stime=1372166755
cmdline="               shmem_test_06"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_06: IPC Shared Memory TestSuite program

        mykey to uniquely identify the shared memory segment 0x33050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63fb5d8000 

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x34050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63fadf7000 

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x35050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63facf7000 

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x36050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63fabf7000 

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x37050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63faaf7000 

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x38050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63fa9f7000 

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x39050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63fa8f7000 

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x41050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63fa7f7000 

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x42050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63fa6f7000 

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x43050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63fa5f7000 

        Index through shared memory segment ...

        mykey to uniquely identify the shared memory segment 0x45050405

        Get shared memory segment (1048576 bytes)

        Attach shared memory segment to process

        Shared memory segment address : 0x7f63fa4f7000 

        Index through shared memory segment ...

        Detach from the segment using the shmdt subroutine

        Release shared memory

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_07 stime=1372166755
cmdline="               shmem_test_07"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_07: IPC Shared Memory TestSuite program
        Number of writers    = 2
        Number of readers    = 2
        Bytes per writer        = 200000
                writer (000): shared memory checksum 01850160
                reader (000) of writer (000): checksum 01850160
                reader (001) of writer (000): checksum 01850160
                writer (001): shared memory checksum 018501a0
                reader (000) of writer (001): checksum 018501a0
                reader (001) of writer (001): checksum 018501a0

        Main: readers calculated segment successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=signal_test_01 stime=1372166755
cmdline="               signal_test_01"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_01: IPC Signals TestSuite program

        Send SIGILL, SIGALRM, SIGIOT signals to process
        received signal: (SIGILL)
        received signal: (SIGALRM)
        received signal: (SIGIOT/SIGABRT)

        Block SIGILL, SIGALRM, SIGIOT signals, and resend signals + others
        received signal: (SIGFPE)
        received signal: (SIGTERM)
        received signal: (SIGINT)

        Block rest of signals

        Change signal mask & wait until signal interrupts process
        received signal: (SIGINT)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=2 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=signal_test_02 stime=1372166757
cmdline="               signal_test_02"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_02: IPC TestSuite program

        Send SIGILL, SIGALRM, SIGIOT signals to process
        received signal: (SIGILL)
        received signal: (SIGALRM)
        received signal: (SIGIOT/SIGABRT)

        Block SIGILL, SIGALRM, SIGIOT signals, and resend signals + others
        received signal: (SIGFPE)
        received signal: (SIGTERM)
        received signal: (SIGINT)

        Block rest of signals

        Change signal mask & wait until signal interrupts process
        received signal: (SIGINT)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=2 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=signal_test_03 stime=1372166759
cmdline="               signal_test_03"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_03: IPC Signals TestSuite program

        (BEGIN) Critial section

        (END) Critial section
        received signal: (SIGILL)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=signal_test_04 stime=1372166760
cmdline="               signal_test_04"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_04: IPC TestSuite program

        Wait for SIGUSR1 signal from child process
        Received SIGUSR1 (30)

        Stop the child process

        Wait for SIGCHLD signal from stopped child process
        Received SIGCHLD (20)

        Resume child process & wait for it to send SIGUSR1 signal
        Received SIGUSR1 (20)

        Now kill the child process with SIGUSR2 signal

        Wait for SIGCHLD signal from killed child process
        Received SIGCHLD (30)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=4 termination_type=exited termination_id=0 corefile=no
cutime=399 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=signal_test_05 stime=1372166764
cmdline="               signal_test_05"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_05: IPC TestSuite program


        Spawning child process

        Child: sending ALL signals to parent!
        Sending (1)
        Sending (2)
        Sending (3)
        Sending (4)
        Sending (5)
        Sending (6)
        Sending (7)
        Sending (8)
        Sending (10)
        Sending (11)
        Sending (12)
        Sending (13)
        Sending (14)
        Sending (15)
        Sending (16)
        Sending (18)
        Sending (20)
        Sending (21)
        Sending (22)
        Sending (23)
        Sending (24)
        Sending (25)
        Sending (26)
        Sending (27)
        Sending (28)
        Sending (29)
        Sending (30)
        Sending (31)
        Sending (35)
        Sending (36)
        Sending (37)
        Sending (38)
        Sending (39)
        Sending (40)
        Sending (41)
        Sending (42)
        Sending (43)
        Sending (44)
        Sending (45)
        Sending (46)
        Sending (47)
        Sending (48)
        Sending (49)
        Sending (50)
        Sending (51)
        Sending (52)
        Sending (53)
        Sending (54)
        Sending (55)
        Sending (56)
        Sending (57)
        Sending (58)
        Sending (59)
        Sending (60)
        Sending (61)
        Sending (62)
        Sending (63)
        Sending (64)
signal_test_05: IPC TestSuite program


        Spawning child process
        caught SIGCHLD(17) signal

        Child process exited successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=signal_test_06 stime=1372166764
cmdline="               signal_test_06"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_06: IPC TestSuite program

        Block all signals from interrupting the process

        Send MAX (1048576) SIGUSR1 signals to the process...

        Ensure at least one SIGUSR1 signal is pending

        Change signal mask & wait for SIGUSR1 signal
        caught SIGUSR1 (10) signal

successful!
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=39 cstime=37
<<<test_end>>>
<<<test_start>>>
tag=signal_test_07 stime=1372166767
cmdline="               signal_test_07"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_07: IPC TestSuite program

        Send MAX (1048576) signals to the process...

        Received EVERY signal!

successful!
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=100 cstime=198
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: 20130503

       ###############################################################

            Done executing testcases.
            LTP Version:  20130503
       ###############################################################

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to