[mmots][next-20130725] "ipc,shm: dont leave do_shmat with rcu lockheld" needs a refresh

From: Sedat Dilek
Date: Thu Jul 25 2013 - 06:54:06 EST


Hi,

I have tested the IPC patches in mmots which are not in current mmotm
against next-20130725.

Unfortunately, the 1st one needs a refresh (see attached patch).

As a bonbon, I have tested with LTP (see attached results file). It looks good.

Regards,
- Sedat -

P.S.: Diff of series mmotm VS. mmots (IPC patches)

$ diff -uprN ~/src/linux-kernel/series.mmotm
~/src/linux-kernel/series.mmots | grep ^+ | grep ipc
+ipcshm-shorten-critical-region-in-shmctl_down-fix.patch
+ipc-shm-guard-against-non-existant-vma-in-shmdt2.patch
+ipc-drop-ipc_lock_by_ptr.patch
+ipc-shm-drop-shm_lock_check.patch
+ipc-drop-ipc_lock_check.patch
INFO: creating /opt/ltp/results directory
Checking for required user/group ids

'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
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.11.0-rc2-next20130725-4-iniza-small #1 SMP Thu Jul 25 12:31:29 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 snd_hda_codec_hdmi snd_hda_codec_realtek arc4 snd_hda_intel snd_hda_codec iwldvm snd_hwdep i915 snd_pcm mac80211 snd_page_alloc joydev uvcvideo snd_seq_midi snd_seq_midi_event i2c_algo_bit snd_rawmidi parport_pc videobuf2_vmalloc snd_seq drm_kms_helper rfcomm bnep ppdev videobuf2_memops drm snd_timer iwlwifi btusb psmouse videobuf2_core snd_seq_device bluetooth videodev snd samsung_laptop serio_raw cfg80211 wmi soundcore lp video lpc_ich mac_hid parport hid_generic usbhid hid usb_storage r8169 mii

free reports:
total used free shared buffers cached
Mem: 3945196 3092780 852416 0 1170716 1292444
-/+ buffers/cache: 629620 3315576
Swap: 262140 0 262140

/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 : 1792.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.65
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 : 1664.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.65
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 : 1904.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.65
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 : 1872.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.65
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

10240+0 records in
10240+0 records out
10240000 bytes (10 MB) copied, 0.057265 s, 179 MB/s
mke2fs 1.42 (29-Nov-2011)
Discarding device blocks: 1024/10000 done
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
2512 inodes, 10000 blocks
500 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=10485760
2 block groups
8192 blocks per group, 8192 fragments per group
1256 inodes per group
Superblock backups stored on blocks:
8193

Allocating group tables: 0/21/2 done
Writing inode tables: 0/21/2 done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: 0/21/2 done

COMMAND: /opt/ltp/bin/ltp-pan -e -S -a 2776 -n 2776 -p -f /tmp/ltp-xVG5FWTSC9/alltests -l /opt/ltp/results/LTP_RUN_ON-2013_Jul_25-12h_47m_36s.log -C /opt/ltp/output/LTP_RUN_ON-2013_Jul_25-12h_47m_36s.failed
-e LOG File: /opt/ltp/results/LTP_RUN_ON-2013_Jul_25-12h_47m_36s.log
-e FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2013_Jul_25-12h_47m_36s.failed
Running tests.......
<<<test_start>>>
tag=pipeio_1 stime=1374749257
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=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=pipeio_3 stime=1374749258
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=1374749258
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=1374749258
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=0
<<<test_end>>>
<<<test_start>>>
tag=pipeio_6 stime=1374749258
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=1374749258
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=1
<<<test_end>>>
<<<test_start>>>
tag=sem01 stime=1374749258
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=0
<<<test_end>>>
<<<test_start>>>
tag=sem02 stime=1374749258
cmdline="sem02"
contacts=""
analysis=exit
<<<test_output>>>
sem02 0 TINFO : Poster, pid = 2954, posting
sem02 0 TINFO : Waiter, pid = 2954
sem02 0 TINFO : Poster posted
sem02 0 TINFO : Poster exiting
sem02 0 TINFO : Waiter waiting, pid = 2954
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=1374749278
cmdline=" message_queue_test_01"
contacts=""
analysis=exit
<<<test_output>>>
message_queue_test_01: IPC Message Queue TestSuite program

Create message queue, id: 0x00000000

Child: received message queue id: 0

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=1374749278
cmdline="message_queue_test_02_get"
contacts=""
analysis=exit
<<<test_output>>>
32768
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_02_snd stime=1374749278
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=1374749278
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=1374749278
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=1374749278
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=1374749278
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=1374749278
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=0
<<<test_end>>>
<<<test_start>>>
tag=pipe_test_02 stime=1374749278
cmdline=" pipe_test_02"
contacts=""
analysis=exit
<<<test_output>>>
pipe_test_02: IPC Pipe TestSuite program

Creating pipes...

Spawning 1 child processes ...
Child: pid [2969] 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=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=semaphore_test_01 stime=1374749278
cmdline=" run_semaphore_test_01.sh"
contacts=""
analysis=exit
<<<test_output>>>
semaphore_test_01 0 TINFO : Created semaphore ID: 262144
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=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=semaphore_test_02 stime=1374749278
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=1
<<<test_end>>>
<<<test_start>>>
tag=semaphore_test_03 stime=1374749278
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 = 327680

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 = 327680

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 = 327680

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 = 327680

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 = 327680

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 = 327680

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 = 327680

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 = 327680

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=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_01 stime=1374749285
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=1374749285
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=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_03 stime=1374749285
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=0
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_04 stime=1374749285
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=1374749285
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=1374749285
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 : 0x7f799ca64000

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 : 0x7f799c283000

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 : 0x7f799c183000

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 : 0x7f799c083000

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 : 0x7f799bf83000

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 : 0x7f799be83000

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 : 0x7f799bd83000

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 : 0x7f799bc83000

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 : 0x7f799bb83000

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 : 0x7f799ba83000

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 : 0x7f799b983000

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=2 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_07 stime=1374749285
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 (001) of writer (001): checksum 018501a0
reader (000) 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=1374749285
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=1374749287
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=1374749289
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=1374749290
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=1374749294
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=1374749294
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=40 cstime=37
<<<test_end>>>
<<<test_start>>>
tag=signal_test_07 stime=1374749297
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!
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=103 cstime=198
<<<test_end>>>
<<<test_start>>>
tag=msgctl01 stime=1374749300
cmdline="msgctl01"
contacts=""
analysis=exit
<<<test_output>>>
msgctl01 1 TPASS : qs_buf.msg_qbytes is a positive value
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgctl02 stime=1374749300
cmdline="msgctl02"
contacts=""
analysis=exit
<<<test_output>>>
msgctl02 1 TPASS : qs_buf.msg_qbytes is the new value - 16383
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgctl03 stime=1374749300
cmdline="msgctl03"
contacts=""
analysis=exit
<<<test_output>>>
msgctl03 1 TPASS : The queue is gone
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgctl04 stime=1374749300
cmdline="msgctl04"
contacts=""
analysis=exit
<<<test_output>>>
msgctl04 1 TPASS : expected failure: TEST_ERRNO=EACCES(13): Permission denied
msgctl04 2 TPASS : expected failure: TEST_ERRNO=EFAULT(14): Bad address
msgctl04 3 TPASS : expected failure: TEST_ERRNO=EFAULT(14): Bad address
msgctl04 4 TPASS : expected failure: TEST_ERRNO=EINVAL(22): Invalid argument
msgctl04 5 TPASS : expected failure: TEST_ERRNO=EINVAL(22): Invalid argument
msgctl04 6 TPASS : expected failure: TEST_ERRNO=EINVAL(22): Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=msgctl05 stime=1374749300
cmdline="msgctl05"
contacts=""
analysis=exit
<<<test_output>>>
msgctl05 1 TPASS : expected error = 1 : Operation not permitted
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgctl06 stime=1374749300
cmdline="msgctl06"
contacts=""
analysis=exit
<<<test_output>>>
msgctl06 1 TPASS : msgctl06 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgctl07 stime=1374749300
cmdline="msgctl07"
contacts=""
analysis=exit
<<<test_output>>>
msgctl07 1 TPASS : msgctl07 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=20 termination_type=exited termination_id=0 corefile=no
cutime=1997 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=msgctl08 stime=1374749320
cmdline="msgctl08"
contacts=""
analysis=exit
<<<test_output>>>
msgctl08 1 TPASS : msgctl08 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=278 cstime=641
<<<test_end>>>
<<<test_start>>>
tag=msgctl09 stime=1374749323
cmdline="msgctl09"
contacts=""
analysis=exit
<<<test_output>>>
msgctl09 1 TPASS : msgctl09 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=24 cstime=74
<<<test_end>>>
<<<test_start>>>
tag=msgctl10 stime=1374749323
cmdline="msgctl10"
contacts=""
analysis=exit
<<<test_output>>>
msgctl10 1 TPASS : msgctl10 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=85 termination_type=exited termination_id=0 corefile=no
cutime=11021 cstime=21904
<<<test_end>>>
<<<test_start>>>
tag=msgctl11 stime=1374749408
cmdline="msgctl11"
contacts=""
analysis=exit
<<<test_output>>>
msgctl11 0 TINFO : Using upto 16186 pids
msgctl11 1 TPASS : msgctl11 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=10 termination_type=exited termination_id=0 corefile=no
cutime=1184 cstime=2529
<<<test_end>>>
<<<test_start>>>
tag=msgget01 stime=1374749418
cmdline="msgget01"
contacts=""
analysis=exit
<<<test_output>>>
msgget01 1 TPASS : message received = message sent
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=msgget02 stime=1374749418
cmdline="msgget02"
contacts=""
analysis=exit
<<<test_output>>>
msgget02 1 TPASS : expected failure - errno = 17 : File exists
msgget02 2 TPASS : expected failure - errno = 2 : No such file or directory
msgget02 3 TPASS : expected failure - errno = 2 : No such file or directory
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgget03 stime=1374749418
cmdline="msgget03"
contacts=""
analysis=exit
<<<test_output>>>
msgget03 1 TPASS : expected failure - errno = 0 : Success
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=42
<<<test_end>>>
<<<test_start>>>
tag=msgget04 stime=1374749419
cmdline="msgget04"
contacts=""
analysis=exit
<<<test_output>>>
msgget04 1 TPASS : expected failure - errno = 13 : Permission denied
msgget04 2 TPASS : expected failure - errno = 13 : Permission denied
msgget04 3 TPASS : expected failure - errno = 13 : Permission denied
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgrcv01 stime=1374749419
cmdline="msgrcv01"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv01 1 TPASS : message received = message sent
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgrcv02 stime=1374749419
cmdline="msgrcv02"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv02 1 TPASS : expected failure - errno = 13 : Permission denied
msgrcv02 2 TPASS : expected failure - errno = 14 : Bad address
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgrcv03 stime=1374749419
cmdline="msgrcv03"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv03 1 TPASS : expected failure - errno = 22 : Invalid argument
msgrcv03 2 TPASS : expected failure - errno = 22 : Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=msgrcv04 stime=1374749419
cmdline="msgrcv04"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv04 1 TPASS : expected failure - errno = 7 : Argument list too long
msgrcv04 2 TPASS : expected failure - errno = 42 : No message of desired type
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgrcv05 stime=1374749419
cmdline="msgrcv05"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv05 1 TPASS : got EINTR as expected
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgrcv06 stime=1374749420
cmdline="msgrcv06"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv06 1 TPASS : expected failure - errno = 43 : Identifier removed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgsnd01 stime=1374749421
cmdline="msgsnd01"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd01 1 TPASS : queue bytes = MSGSIZE and queue messages = 1
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgsnd02 stime=1374749421
cmdline="msgsnd02"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd02 1 TPASS : expected failure - errno = 13 : Permission denied
msgsnd02 2 TPASS : expected failure - errno = 14 : Bad address
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgsnd03 stime=1374749421
cmdline="msgsnd03"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd03 1 TPASS : expected failure - errno = 22 : Invalid argument
msgsnd03 2 TPASS : expected failure - errno = 22 : Invalid argument
msgsnd03 3 TPASS : expected failure - errno = 22 : Invalid argument
msgsnd03 4 TPASS : expected failure - errno = 22 : Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgsnd04 stime=1374749421
cmdline="msgsnd04"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd04 1 TPASS : expected failure - errno = 11 : Resource temporarily unavailable
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=msgsnd05 stime=1374749421
cmdline="msgsnd05"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd05 1 TPASS : expected failure - errno = 4 : Interrupted system call
<<<execution_status>>>
initiation_status="ok"
duration=2 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgsnd06 stime=1374749423
cmdline="msgsnd06"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd06 1 TPASS : expected failure - errno = 43 : Identifier removed
<<<execution_status>>>
initiation_status="ok"
duration=2 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semctl01 stime=1374749425
cmdline="semctl01"
contacts=""
analysis=exit
<<<test_output>>>
semctl01 1 TPASS : buf.sem_nsems and buf.sem_perm.mode are correct
semctl01 2 TPASS : buf.sem_perm.mode is correct
semctl01 3 TPASS : semaphores have expected values
semctl01 4 TPASS : number of sleeping processes is correct
semctl01 1 TPASS : buf.sem_nsems and buf.sem_perm.mode are correct
semctl01 2 TPASS : buf.sem_perm.mode is correct
semctl01 3 TPASS : semaphores have expected values
semctl01 4 TPASS : number of sleeping processes is correct
semctl01 5 TPASS : last pid value is correct
semctl01 6 TPASS : semaphore value is correct
semctl01 7 TPASS : number of sleeping processes is correct
semctl01 8 TPASS : semaphore values are correct
semctl01 9 TPASS : semaphore value is correct
semctl01 10 TPASS : semaphore appears to be removed
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semctl02 stime=1374749428
cmdline="semctl02"
contacts=""
analysis=exit
<<<test_output>>>
semctl02 1 TPASS : expected failure - errno = 13 : Permission denied
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=semctl03 stime=1374749428
cmdline="semctl03"
contacts=""
analysis=exit
<<<test_output>>>
semctl03 1 TPASS : expected failure - errno = 22 : Invalid argument
semctl03 2 TPASS : expected failure - errno = 22 : Invalid argument
semctl03 3 TPASS : expected failure - errno = 14 : Bad address
semctl03 4 TPASS : expected failure - errno = 14 : Bad address
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semctl04 stime=1374749428
cmdline="semctl04"
contacts=""
analysis=exit
<<<test_output>>>
semctl04 1 TPASS : expected failure - errno = 1 : Operation not permitted
semctl04 2 TPASS : expected failure - errno = 1 : Operation not permitted
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semctl05 stime=1374749428
cmdline="semctl05"
contacts=""
analysis=exit
<<<test_output>>>
semctl05 1 TPASS : expected failure - errno = 34 : Numerical result out of range
semctl05 2 TPASS : expected failure - errno = 34 : Numerical result out of range
semctl05 3 TPASS : expected failure - errno = 34 : Numerical result out of range
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semctl06 stime=1374749428
cmdline="semctl06"
contacts=""
analysis=exit
<<<test_output>>>
semctl06 1 TPASS : semctl06 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=3
<<<test_end>>>
<<<test_start>>>
tag=semctl07 stime=1374749428
cmdline="semctl07"
contacts=""
analysis=exit
<<<test_output>>>
semctl07 1 TPASS : semctl07 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semget01 stime=1374749428
cmdline="semget01"
contacts=""
analysis=exit
<<<test_output>>>
semget01 1 TPASS : basic semaphore values are okay
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semget02 stime=1374749428
cmdline="semget02"
contacts=""
analysis=exit
<<<test_output>>>
semget02 1 TPASS : expected failure - errno = 13 : Permission denied
semget02 2 TPASS : expected failure - errno = 17 : File exists
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semget03 stime=1374749428
cmdline="semget03"
contacts=""
analysis=exit
<<<test_output>>>
semget03 1 TPASS : expected failure - errno = 2 : No such file or directory
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semget05 stime=1374749428
cmdline="semget05"
contacts=""
analysis=exit
<<<test_output>>>
semget05 1 TPASS : expected failure - errno = 28 : No space left on device
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=semget06 stime=1374749428
cmdline="semget06"
contacts=""
analysis=exit
<<<test_output>>>
semget06 1 TPASS : expected failure - errno = 22 : Invalid argument
semget06 2 TPASS : expected failure - errno = 22 : Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semop01 stime=1374749428
cmdline="semop01"
contacts=""
analysis=exit
<<<test_output>>>
semop01 1 TPASS : semaphore values are correct
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semop02 stime=1374749428
cmdline="semop02"
contacts=""
analysis=exit
<<<test_output>>>
semop02 1 TPASS : expected failure - errno = 7 : Argument list too long
semop02 2 TPASS : expected failure - errno = 13 : Permission denied
semop02 3 TPASS : expected failure - errno = 14 : Bad address
semop02 4 TPASS : expected failure - errno = 22 : Invalid argument
semop02 5 TPASS : expected failure - errno = 22 : Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semop03 stime=1374749428
cmdline="semop03"
contacts=""
analysis=exit
<<<test_output>>>
semop03 1 TPASS : expected failure - errno = 27 : File too large
semop03 2 TPASS : expected failure - errno = 27 : File too large
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semop04 stime=1374749428
cmdline="semop04"
contacts=""
analysis=exit
<<<test_output>>>
semop04 1 TPASS : expected failure - errno = 11 : Resource temporarily unavailable
semop04 2 TPASS : expected failure - errno = 11 : Resource temporarily unavailable
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semop05 stime=1374749428
cmdline="semop05"
contacts=""
analysis=exit
<<<test_output>>>
semop05 1 TPASS : expected failure - errno = 43 : Identifier removed
semop05 1 TPASS : expected failure - errno = 43 : Identifier removed
semop05 1 TPASS : expected failure - errno = 4 : Interrupted system call
semop05 1 TPASS : expected failure - errno = 4 : Interrupted system call
<<<execution_status>>>
initiation_status="ok"
duration=4 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmat01 stime=1374749432
cmdline="shmat01"
contacts=""
analysis=exit
<<<test_output>>>
shmat01 1 TPASS : conditions and functionality are correct
shmat01 2 TPASS : conditions and functionality are correct
shmat01 3 TPASS : conditions and functionality are correct
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmat02 stime=1374749432
cmdline="shmat02"
contacts=""
analysis=exit
<<<test_output>>>
shmat02 1 TPASS : shmat failed as expected: errno=EINVAL(22): Invalid argument
shmat02 2 TPASS : shmat failed as expected: errno=EINVAL(22): Invalid argument
shmat02 3 TPASS : shmat failed as expected: errno=EACCES(13): Permission denied
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmat03 stime=1374749432
cmdline="shmat03"
contacts=""
analysis=exit
<<<test_output>>>
shmat03 1 TPASS : expected failure: TEST_ERRNO=EACCES(13): Permission denied
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmctl01 stime=1374749432
cmdline="shmctl01"
contacts=""
analysis=exit
<<<test_output>>>
shmctl01 1 TPASS : pid, size, # of attaches and mode are correct - pass #1
shmctl01 2 TPASS : pid, size, # of attaches and mode are correct - pass #2
shmctl01 3 TPASS : new mode and change time are correct
shmctl01 4 TPASS : shared memory appears to be removed
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmctl02 stime=1374749435
cmdline="shmctl02"
contacts=""
analysis=exit
<<<test_output>>>
shmctl02 1 TPASS : expected failure - errno = 13 : Permission denied
shmctl02 2 TPASS : expected failure - errno = 14 : Bad address
shmctl02 3 TPASS : expected failure - errno = 14 : Bad address
shmctl02 4 TPASS : expected failure - errno = 22 : Invalid argument
shmctl02 5 TPASS : expected failure - errno = 22 : Invalid argument
shmctl02 6 TCONF : shmctl() did not fail for non-root user.This may be okay for your distribution.
shmctl02 7 TPASS : expected failure - errno = 1 : Operation not permitted
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmctl03 stime=1374749435
cmdline="shmctl03"
contacts=""
analysis=exit
<<<test_output>>>
shmctl03 1 TPASS : expected failure - errno = 13 : Permission denied
shmctl03 2 TPASS : expected failure - errno = 1 : Operation not permitted
shmctl03 3 TPASS : expected failure - errno = 1 : Operation not permitted
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmctl04 stime=1374749435
cmdline="shmctl04"
contacts=""
analysis=exit
<<<test_output>>>
shmctl04 1 TPASS : SHM_INFO call succeeded
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmdt01 stime=1374749435
cmdline="shmdt01"
contacts=""
analysis=exit
<<<test_output>>>
shmdt01 1 TPASS : shared memory detached correctly
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmdt02 stime=1374749435
cmdline="shmdt02"
contacts=""
analysis=exit
<<<test_output>>>
shmdt02 1 TPASS : expected failure - errno = 22 : Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmget01 stime=1374749435
cmdline="shmget01"
contacts=""
analysis=exit
<<<test_output>>>
shmget01 1 TPASS : size, pid & mode are correct
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmget02 stime=1374749435
cmdline="shmget02"
contacts=""
analysis=exit
<<<test_output>>>
shmget02 1 TPASS : expected failure - errno = 22 : Invalid argument
shmget02 2 TPASS : expected failure - errno = 22 : Invalid argument
shmget02 3 TPASS : expected failure - errno = 17 : File exists
shmget02 4 TPASS : expected failure - errno = 2 : No such file or directory
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmget03 stime=1374749435
cmdline="shmget03"
contacts=""
analysis=exit
<<<test_output>>>
shmget03 1 TPASS : expected failure - errno = 28 : No space left on device
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=4
<<<test_end>>>
<<<test_start>>>
tag=shmget04 stime=1374749435
cmdline="shmget04"
contacts=""
analysis=exit
<<<test_output>>>
shmget04 1 TPASS : expected failure - errno = 13 : Permission denied
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmget05 stime=1374749435
cmdline="shmget05"
contacts=""
analysis=exit
<<<test_output>>>
shmget05 1 TPASS : expected failure - errno = 13 : Permission denied
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: 20130503

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

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

Attachment: 1-ipcshm-shorten-critical-region-in-shmctl_down-fix-v2.patch
Description: Binary data

Attachment: 3.11.0-rc2-next20130725-4-iniza-small.patch
Description: Binary data

Attachment: LTP_RUN_ON-2013_Jul_25-12h_47m_36s.log
Description: Binary data