Test "mcexec_destroy_per_process_data: System calls delegation can not be terminated in error when the last process that closed /dev/mcos0 is a child process." on arm64

Change-Id: I6bc3023c1fa6089bc2ca6365b59bbab384b3e1d7
Refs: #882
This commit is contained in:
Shiratori, Takehiro
2018-11-30 11:51:14 +09:00
committed by Masamichi Takagi
parent 0ee446923a
commit a11d4d7a9d
12 changed files with 724 additions and 514 deletions

View File

@@ -0,0 +1,116 @@
mcstop+release.sh ... done
mcreboot.sh -c 4-15 -m 4G@0,4G@1,4G@2,4G@3 -O ... done
SUCCESS kmsg
SUCCESS clear_kmsg
timeout -s 9 60 /opt/stress_test/src/killit -np 16 -t 4000 /opt/ppos//bin/mcexec /opt/stress_test/src/signalonfork -nosignal 1> /tmp/dtest.log 2>&1
SUCCESS mcexec
SUCCESS /opt/stress_test/src/killit -np 16 -t 4000 mcexec /opt/stress_test/src/signalonfork -nosignal
SUCCESS kmsg
mck-mcexec.sh: WARNING: kmsg isn't empty
=== kmsg begins ====
[ 6]: ERROR: forking host process
[ 3]: ERROR: forking host process
[ 11]: ERROR: forking host process
[ 10]: ERROR: forking host process
[ 2]: ERROR: forking host process
[ 0]: ERROR: forking host process
=== kmsg ends ====
SUCCESS ioctl 40000000 1
SUCCESS kmsg
SUCCESS 0 processes found
SUCCESS ioctl 40000000 2
SUCCESS kmsg
SUCCESS 0 threads found
SUCCESS mcexec not found
SUCCESS kmsg
SUCCESS clear_kmsg
timeout -s 9 60 /opt/stress_test/src/killit -np 16 -t 4000 /opt/ppos//bin/mcexec /opt/stress_test/src/signalonfork -nosignal 1> /tmp/dtest.log 2>&1
SUCCESS mcexec
SUCCESS /opt/stress_test/src/killit -np 16 -t 4000 mcexec /opt/stress_test/src/signalonfork -nosignal
SUCCESS kmsg
mck-mcexec.sh: WARNING: kmsg isn't empty
=== kmsg begins ====
[ 9]: ERROR: forking host process
[ 1]: fileobj_free(ffff800044330020 ffff8001c15d0900): free failed. -32
[ 3]: ERROR: forking host process
[ 11]: ERROR: forking host process
=== kmsg ends ====
SUCCESS ioctl 40000000 1
SUCCESS kmsg
SUCCESS 0 processes found
SUCCESS ioctl 40000000 2
SUCCESS kmsg
SUCCESS 0 threads found
SUCCESS mcexec not found
SUCCESS kmsg
SUCCESS clear_kmsg
timeout -s 9 60 /opt/stress_test/src/killit -np 16 -t 4000 /opt/ppos//bin/mcexec /opt/stress_test/src/signalonfork -nosignal 1> /tmp/dtest.log 2>&1
SUCCESS mcexec
SUCCESS /opt/stress_test/src/killit -np 16 -t 4000 mcexec /opt/stress_test/src/signalonfork -nosignal
SUCCESS kmsg
mck-mcexec.sh: WARNING: kmsg isn't empty
=== kmsg begins ====
[ 5]: ERROR: forking host process
[ 2]: ERROR: forking host process
[ 0]: set_host_vma(1000000b0000,190000,5) failed. -32
[ 0]: do_mmap:set_host_vma failed. -32
[ 8]: fileobj_free(ffff800642572960 ffff8001c15d0900): free failed. -32
=== kmsg ends ====
SUCCESS ioctl 40000000 1
SUCCESS kmsg
SUCCESS 0 processes found
SUCCESS ioctl 40000000 2
SUCCESS kmsg
SUCCESS 0 threads found
SUCCESS mcexec not found
SUCCESS kmsg
SUCCESS clear_kmsg
timeout -s 9 60 /opt/stress_test/src/killit -np 16 -t 4000 /opt/ppos//bin/mcexec /opt/stress_test/src/signalonfork -nosignal 1> /tmp/dtest.log 2>&1
SUCCESS mcexec
SUCCESS /opt/stress_test/src/killit -np 16 -t 4000 mcexec /opt/stress_test/src/signalonfork -nosignal
SUCCESS kmsg
mck-mcexec.sh: WARNING: kmsg isn't empty
=== kmsg begins ====
[ 11]: ERROR: forking host process
[ 7]: ERROR: forking host process
[ 4]: ERROR: forking host process
[ 1]: ERROR: forking host process
=== kmsg ends ====
SUCCESS ioctl 40000000 1
SUCCESS kmsg
SUCCESS 0 processes found
SUCCESS ioctl 40000000 2
SUCCESS kmsg
SUCCESS 0 threads found
SUCCESS mcexec not found
SUCCESS kmsg
SUCCESS clear_kmsg
timeout -s 9 60 /opt/stress_test/src/killit -np 16 -t 4000 /opt/ppos//bin/mcexec /opt/stress_test/src/signalonfork -nosignal 1> /tmp/dtest.log 2>&1
SUCCESS mcexec
SUCCESS /opt/stress_test/src/killit -np 16 -t 4000 mcexec /opt/stress_test/src/signalonfork -nosignal
SUCCESS kmsg
mck-mcexec.sh: WARNING: kmsg isn't empty
=== kmsg begins ====
[ 5]: ERROR: forking host process
[ 3]: ERROR: forking host process
[ 1]: ERROR: forking host process
=== kmsg ends ====
SUCCESS ioctl 40000000 1
SUCCESS kmsg
SUCCESS 0 processes found
SUCCESS ioctl 40000000 2
SUCCESS kmsg
SUCCESS 0 threads found
SUCCESS mcexec not found
CT1001-3: OK
fork01: OK
fork02: OK
fork03: OK
fork04: OK
fork07: OK
fork08: OK