On 07/31/2018 01:19 PM, André Draszik wrote:
> On Tue, 2018-07-31 at 11:00 +0200, Richard Leitner wrote:
>> Hi André,
>> thank you for your patches.
>>
>> Unfortunately I have checksum issues for aarch64's jdk, corba, jaxp,
>> jaxws, langtools & nashorn:
> 
> Hm, is that another instance of
> http://lists.openembedded.org/pipermail/openembedded-devel/2018-May/118358.html
> ?
> 
> I'll check...

Thanks!

> 
>> [...]
>>
>> With the checksums fixed the build works fine.
>> Also running a test.jar with -Xint works.
>> Nonetheless executing "java -version" fails:
>>

...

>>
>> So for me it seems the JIT/compiled-mode/mixed-mode doesn't work and
>> crashes the JVM.
>> Any ideas on how to fix this?
> 
> Works for me with the versions I posted, I'll have a look
> 

For qemuarm java runs (correctly) in interpreted mode.
The errors occur only on qemuarm64. 
I've attached the testimage logs. Hope that helps.

If you need anything else from me please just drop me a line!

regards;Richard.L
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/yocto/meta-java-test/poky/meta/recipes-extended/cpio/cpio_2.12.bb:do_populate_sysroot', 'virtual:native:/yocto/meta-java-test/poky/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb:do_populate_sysroot', '/yocto/meta-java-test/poky/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb:do_populate_sysroot', 'virtual:native:/yocto/meta-java-test/poky/meta/recipes-devtools/qemu/qemu_2.12.0.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['cpio-native', 'createrepo-c-native', 'qemu-helper-native', 'qemu-native', 'pkgconfig-native', 'expat-native', 'glib-2.0-native', 'xz-native', 'zlib-native', 'python3-native', 'curl-native', 'cmake-native', 'quilt-native', 'sqlite3-native', 'libxml2-native', 'ninja-native', 'openssl-native', 'rpm-native', 'file-native', 'gnu-config-native', 'gettext-minimal-native', 'automake-native', 'autoconf-native', 'texinfo-dummy-native', 'libtool-native', 'alsa-lib-native', 'pixman-native', 'libsdl2-native', 'dtc-native', 'libpcre-native', 'libffi-native', 'gtk-doc-native', 'util-linux-native', 'gdbm-native', 'bzip2-native', 'readline-native', 're2c-native', 'makedepend-native', 'cryptodev-linux-native', 'db-native', 'libarchive-native', 'dbus-native', 'elfutils-native', 'popt-native', 'nss-native', 'm4-native', 'libpng-native', 'util-macros-native', 'libxrandr-native', 'libxext-native', 'libx11-native', 'libxrender-native', 'flex-native', 'bison-native', 'ncurses-native', 'lzo-native', 'xorgproto-native', 'e2fsprogs-native', 'autoconf-archive-native', 'nspr-native', 'xtrans-native', 'libxcb-native', 'attr-native', 'libxau-native', 'libxdmcp-native', 'xcb-proto-native', 'libpthread-stubs-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_testimage
DEBUG: test suites:
	test_ping (ping.PingTest)
	test_ssh (ssh.SSHTest)
	test_java_exists (java.JavaTest)
	test_java_jar_comp_mode (java.JavaTest)
	test_java_jar_int_mode (java.JavaTest)
	test_java_jar_works (java.JavaTest)
	test_java_version (java.JavaTest)
	test_javac_exists (javac.JavacTest)
	test_javac_works (javac.JavacTest)
DEBUG: Not using kvm for runqemu
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:56350
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:59004
DEBUG: launchcmd=runqemu snapshot   nographic qemuarm /yocto/meta-java-test/build+qemuarm+1532950757/tmp/deploy/images/qemuarm/openjdk-8-test-image-qemuarm.ext4 tcpserial=59004 bootparams="console=tty1 console=ttyS0,115200n8 printk.time=1" qemuparams="-serial tcp:127.0.0.1:56350 -pidfile pidfile_19862"
DEBUG: runqemu started, pid is 19866
DEBUG: waiting at most 120 seconds for qemu pid (07/31/18 11:20:27)
DEBUG: qemu started in 0.5009100437164307 seconds - qemu procces pid is 19883 (07/31/18 11:20:27)
DEBUG: qemu cmdline used:
/yocto/meta-java-test/build+qemuarm+1532950757/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-arm -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive file=/yocto/meta-java-test/build+qemuarm+1532950757/tmp/deploy/images/qemuarm/openjdk-8-test-image-qemuarm.ext4,if=virtio,format=raw -show-cursor -usb -device usb-tablet -device virtio-rng-pci -nographic -serial tcp:127.0.0.1:56350 -pidfile pidfile_19862 -machine versatilepb -m 256 -serial tcp:127.0.0.1:59004 -snapshot -kernel /yocto/meta-java-test/build+qemuarm+1532950757/tmp/deploy/images/qemuarm/zImage--4.14.48+git0+d64aec9793_88755525ae-r0-qemuarm-20180730114000.bin -append root=/dev/vda rw highres=off  console=ttyS0 mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 console=ttyAMA0,115200 console=tty console=tty1 console=ttyS0,115200n8 printk.time=1 -dtb /yocto/meta-java-test/build+qemuarm+1532950757/tmp/deploy/images/qemuarm/versatile-pb.dtb 
DEBUG: Target IP: 192.168.7.2
DEBUG: Server IP: 192.168.7.1
DEBUG: Starting logging thread
DEBUG: Starting thread event loop
DEBUG: Connection request received
DEBUG: Setting connection established event
DEBUG: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:

runqemu - INFO - Using preconfigured tap device tap0
runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu skip tap0.
runqemu - INFO - Network configuration: 192.168.7.2::192.168.7.1:255.255.255.0
runqemu - INFO - Running /yocto/meta-java-test/build+qemuarm+1532950757/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-arm -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive file=/yocto/meta-java-test/build+qemuarm+1532950757/tmp/deploy/images/qemuarm/openjdk-8-test-image-qemuarm.ext4,if=virtio,format=raw -show-cursor -usb -device usb-tablet -device virtio-rng-pci  -nographic -serial tcp:127.0.0.1:56350 -pidfile pidfile_19862 -machine versatilepb  -m 256 -serial tcp:127.0.0.1:59004 -snapshot -kernel /yocto/meta-java-test/build+qemuarm+1532950757/tmp/deploy/images/qemuarm/zImage--4.14.48+git0+d64aec9793_88755525ae-r0-qemuarm-20180730114000.bin -append 'root=/dev/vda rw highres=off  console=ttyS0 mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 console=ttyAMA0,115200 console=tty console=tty1 console=ttyS0,115200n8 printk.time=1' -dtb /yocto/meta-java-test/build+qemuarm+1532950757/tmp/deploy/images/qemuarm/versatile-pb.dtb

QEMU 2.12.0 monitor - type 'help' for more information
(qemu) 
DEBUG: Waiting at most 1000 seconds for login banner (07/31/18 11:20:27)
DEBUG: Connection from 127.0.0.1:49987
DEBUG: Reached login banner in 29.23400902748108 seconds (07/31/18 11:20:57)
DEBUG: Logged as root in serial console
NOTE: test_ping (ping.PingTest)
DEBUG: Setting up a 30 second(s) timeout
DEBUG: Removed SIGALRM handler
NOTE:  ... ok
NOTE: test_ssh (ssh.SSHTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; uname -a
DEBUG: time: 1533036060.4162033, endtime: 1533036360.4121017
DEBUG: Partial data from SSH call: Linux qemuarm 4.14.48-yocto-standard #1 PREEMPT Mon Jul 30 12:18:31 UTC 2018 armv5tejl GNU/Linux

DEBUG: time: 1533036061.0061672, endtime: 1533036361.006164
DEBUG: [Command returned '0' after 0.59 seconds]
DEBUG: Command: uname -a
Output:  Linux qemuarm 4.14.48-yocto-standard #1 PREEMPT Mon Jul 30 12:18:31 UTC 2018 armv5tejl GNU/Linux

DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; cat /etc/masterimage
DEBUG: time: 1533036061.011072, endtime: 1533036361.0071867
DEBUG: Partial data from SSH call: cat: can't open '/etc/masterimage': No such file or directory

DEBUG: time: 1533036061.4425626, endtime: 1533036361.4425602
DEBUG: [Command returned '1' after 0.44 seconds]
DEBUG: Command: cat /etc/masterimage
Output:  cat: can't open '/etc/masterimage': No such file or directory

NOTE:  ... ok
DEBUG: [Running]$ scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR /yocto/meta-java-test/meta-java/lib/oeqa/runtime/cases/../../files/test.jar [email protected]:/tmp/test.jar
DEBUG: Data from SSH call: 
DEBUG: [Command returned '0' after 0.68 seconds]
NOTE: test_java_exists (java.JavaTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; which java
DEBUG: time: 1533036062.1231549, endtime: 1533036362.1199117
DEBUG: Partial data from SSH call: /usr/bin/java

DEBUG: time: 1533036062.6024432, endtime: 1533036362.6024406
DEBUG: [Command returned '0' after 0.48 seconds]
DEBUG: Command: which java
Output:  /usr/bin/java

NOTE:  ... ok
NOTE: test_java_jar_comp_mode (java.JavaTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; java -showversion -Xcomp -jar /tmp/test.jar
DEBUG: time: 1533036062.6071005, endtime: 1533036362.6037686
DEBUG: Partial data from SSH call: openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK Zero VM (build 25.172-b11, interpreted mode)

the answer is 42

DEBUG: time: 1533036066.637515, endtime: 1533036366.6375132
DEBUG: [Command returned '0' after 4.03 seconds]
DEBUG: Command: java -showversion -Xcomp -jar /tmp/test.jar
Output:  openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK Zero VM (build 25.172-b11, interpreted mode)

the answer is 42

NOTE:  ... FAIL
NOTE: test_java_jar_int_mode (java.JavaTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; java -showversion -Xint -jar /tmp/test.jar
DEBUG: time: 1533036066.6422915, endtime: 1533036366.6390631
DEBUG: Partial data from SSH call: openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK Zero VM (build 25.172-b11, interpreted mode)

the answer is 42

DEBUG: time: 1533036070.1276128, endtime: 1533036370.1276112
DEBUG: [Command returned '0' after 3.49 seconds]
DEBUG: Command: java -showversion -Xint -jar /tmp/test.jar
Output:  openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK Zero VM (build 25.172-b11, interpreted mode)

the answer is 42

NOTE:  ... ok
NOTE: test_java_jar_works (java.JavaTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; java -jar /tmp/test.jar
DEBUG: time: 1533036070.1319456, endtime: 1533036370.1287732
DEBUG: Partial data from SSH call: the answer is 42

DEBUG: time: 1533036073.5898802, endtime: 1533036373.589878
DEBUG: [Command returned '0' after 3.46 seconds]
DEBUG: Command: java -jar /tmp/test.jar
Output:  the answer is 42

NOTE:  ... ok
NOTE: test_java_version (java.JavaTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; java -version
DEBUG: time: 1533036073.5942557, endtime: 1533036373.5910232
DEBUG: Partial data from SSH call: openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK Zero VM (build 25.172-b11, interpreted mode)

DEBUG: time: 1533036075.9794135, endtime: 1533036375.9794114
DEBUG: [Command returned '0' after 2.39 seconds]
DEBUG: Command: java -version
Output:  openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK Zero VM (build 25.172-b11, interpreted mode)

NOTE:  ... ok
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; rm /tmp/test.jar
DEBUG: time: 1533036075.9835997, endtime: 1533036375.9803693
DEBUG: [Command returned '0' after 0.47 seconds]
DEBUG: Command: rm /tmp/test.jar
Output:  

DEBUG: [Running]$ scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR /yocto/meta-java-test/meta-java/lib/oeqa/runtime/cases/../../files/test.java [email protected]:/tmp/test.java
DEBUG: Data from SSH call: 
DEBUG: [Command returned '0' after 0.59 seconds]
NOTE: test_javac_exists (javac.JavacTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; which javac
DEBUG: time: 1533036077.043519, endtime: 1533036377.040272
DEBUG: Partial data from SSH call: /usr/bin/javac

DEBUG: time: 1533036077.4600222, endtime: 1533036377.4600198
DEBUG: [Command returned '0' after 0.42 seconds]
DEBUG: Command: which javac
Output:  /usr/bin/javac

NOTE:  ... ok
NOTE: test_javac_works (javac.JavacTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; javac /tmp/test.java
DEBUG: time: 1533036077.4645374, endtime: 1533036377.461277
DEBUG: time: 1533036082.4678366, endtime: 1533036377.461277
DEBUG: time: 1533036087.4684827, endtime: 1533036377.461277
DEBUG: time: 1533036092.4689295, endtime: 1533036377.461277
DEBUG: time: 1533036097.4742033, endtime: 1533036377.461277
DEBUG: time: 1533036102.479454, endtime: 1533036377.461277
DEBUG: time: 1533036107.4799457, endtime: 1533036377.461277
DEBUG: time: 1533036112.485225, endtime: 1533036377.461277
DEBUG: [Command returned '0' after 39.95 seconds]
DEBUG: Command: javac /tmp/test.java
Output:  

NOTE:  ... ok
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; rm /tmp/test.java /tmp/test.class
DEBUG: time: 1533036117.419691, endtime: 1533036417.416531
DEBUG: [Command returned '0' after 0.51 seconds]
DEBUG: Command: rm /tmp/test.java /tmp/test.class
Output:  

NOTE: ======================================================================
NOTE: FAIL: test_java_jar_comp_mode (java.JavaTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/yocto/meta-java-test/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/yocto/meta-java-test/meta-java/lib/oeqa/runtime/cases/java.py", line 60, in test_java_jar_comp_mode
    self.assertIn(', compiled mode)', output, msg=msg)
AssertionError: ', compiled mode)' not found in 'openjdk version "1.8.0_172-internal"\nOpenJDK Runtime Environment (build 1.8.0_172-internal-b11)\nOpenJDK Zero VM (build 25.172-b11, interpreted mode)\n\nthe answer is 42' : Incorrect mode: openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK Zero VM (build 25.172-b11, interpreted mode)

the answer is 42

NOTE: ----------------------------------------------------------------------
NOTE: Ran 9 tests in 57.539s
NOTE: FAILED
NOTE:  (failures=1)
DEBUG: Stopping logging thread
DEBUG: Stop event received
DEBUG: Tearing down logging thread
DEBUG: Sending SIGTERM to runqemu
RESULTS:
RESULTS - ping.PingTest.test_ping - Testcase 964: PASSED (0.03s)
RESULTS - ssh.SSHTest.test_ssh - Testcase 224: PASSED (1.03s)
RESULTS - java.JavaTest.test_java_exists - Testcase -1: PASSED (0.48s)
RESULTS - java.JavaTest.test_java_jar_comp_mode - Testcase -1: FAILED (4.04s)
RESULTS - java.JavaTest.test_java_jar_int_mode - Testcase -1: PASSED (3.49s)
RESULTS - java.JavaTest.test_java_jar_works - Testcase -1: PASSED (3.46s)
RESULTS - java.JavaTest.test_java_version - Testcase -1: PASSED (2.39s)
RESULTS - javac.JavacTest.test_javac_exists - Testcase -1: PASSED (0.42s)
RESULTS - javac.JavacTest.test_javac_works - Testcase -1: PASSED (39.96s)
SUMMARY:
openjdk-8-test-image () - Ran 9 tests in 57.540s
openjdk-8-test-image - FAIL - Required tests failed
ERROR: openjdk-8-test-image - FAILED - check the task log and the ssh log
DEBUG: Python function do_testimage finished
ERROR: Function failed: do_testimage
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/yocto/meta-java-test/poky/meta/recipes-extended/cpio/cpio_2.12.bb:do_populate_sysroot', 'virtual:native:/yocto/meta-java-test/poky/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb:do_populate_sysroot', '/yocto/meta-java-test/poky/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb:do_populate_sysroot', 'virtual:native:/yocto/meta-java-test/poky/meta/recipes-devtools/qemu/qemu_2.12.0.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['cpio-native', 'createrepo-c-native', 'qemu-helper-native', 'qemu-native', 'quilt-native', 'gettext-minimal-native', 'texinfo-dummy-native', 'automake-native', 'gnu-config-native', 'autoconf-native', 'libtool-native', 'pkgconfig-native', 'libsdl2-native', 'pixman-native', 'dtc-native', 'alsa-lib-native', 'glib-2.0-native', 'zlib-native', 'ninja-native', 'rpm-native', 'expat-native', 'openssl-native', 'curl-native', 'libxml2-native', 'file-native', 'cmake-native', 'sqlite3-native', 'xz-native', 'python3-native', 'm4-native', 'libxext-native', 'libx11-native', 'libxrandr-native', 'libxrender-native', 'libpng-native', 'util-macros-native', 'bison-native', 'flex-native', 'util-linux-native', 'libffi-native', 'libpcre-native', 'gtk-doc-native', 're2c-native', 'bzip2-native', 'popt-native', 'dbus-native', 'nss-native', 'db-native', 'libarchive-native', 'elfutils-native', 'makedepend-native', 'cryptodev-linux-native', 'gdbm-native', 'readline-native', 'xorgproto-native', 'xtrans-native', 'libxcb-native', 'lzo-native', 'ncurses-native', 'autoconf-archive-native', 'nspr-native', 'e2fsprogs-native', 'xcb-proto-native', 'libpthread-stubs-native', 'libxau-native', 'libxdmcp-native', 'attr-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_testimage
DEBUG: test suites:
	test_ping (ping.PingTest)
	test_ssh (ssh.SSHTest)
	test_java_exists (java.JavaTest)
	test_java_jar_comp_mode (java.JavaTest)
	test_java_jar_int_mode (java.JavaTest)
	test_java_jar_works (java.JavaTest)
	test_java_version (java.JavaTest)
	test_javac_exists (javac.JavacTest)
	test_javac_works (javac.JavacTest)
DEBUG: Not using kvm for runqemu
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:39755
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:36482
DEBUG: launchcmd=runqemu snapshot   nographic qemuarm64 /yocto/meta-java-test/build+qemuarm64+1532957466/tmp/deploy/images/qemuarm64/openjdk-8-test-image-qemuarm64.ext4 tcpserial=36482 bootparams="console=tty1 console=ttyS0,115200n8 printk.time=1" qemuparams="-serial tcp:127.0.0.1:39755 -pidfile pidfile_19358"
DEBUG: runqemu started, pid is 19362
DEBUG: waiting at most 120 seconds for qemu pid (07/31/18 08:52:18)
DEBUG: qemu started in 0.5009682178497314 seconds - qemu procces pid is 19379 (07/31/18 08:52:19)
DEBUG: qemu cmdline used:
/yocto/meta-java-test/build+qemuarm64+1532957466/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-aarch64 -device virtio-net-device,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive id=disk0,file=/yocto/meta-java-test/build+qemuarm64+1532957466/tmp/deploy/images/qemuarm64/openjdk-8-test-image-qemuarm64.ext4,if=none,format=raw -device virtio-blk-device,drive=disk0 -show-cursor -device virtio-rng-pci -monitor null -nographic -serial tcp:127.0.0.1:39755 -pidfile pidfile_19358 -machine virt -cpu cortex-a57 -m 512 -device virtio-serial-device -chardev socket,id=virtcon,port=36482,host=127.0.0.1 -device virtconsole,chardev=virtcon -snapshot -kernel /yocto/meta-java-test/build+qemuarm64+1532957466/tmp/deploy/images/qemuarm64/Image--4.14.48+git0+d64aec9793_ec98b274e0-r0-qemuarm64-20180731075603.bin -append root=/dev/vda rw highres=off  console=ttyS0 mem=512M ip=192.168.7.2::192.168.7.1:255.255.255.0 console=ttyAMA0,38400 console=tty1 console=ttyS0,115200n8 printk.time=1 
DEBUG: Target IP: 192.168.7.2
DEBUG: Server IP: 192.168.7.1
DEBUG: Starting logging thread
DEBUG: Starting thread event loop
DEBUG: Connection request received
DEBUG: Setting connection established event
DEBUG: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:

runqemu - INFO - Using preconfigured tap device tap0
runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu skip tap0.
runqemu - INFO - Network configuration: 192.168.7.2::192.168.7.1:255.255.255.0
runqemu - INFO - Running /yocto/meta-java-test/build+qemuarm64+1532957466/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-aarch64 -device virtio-net-device,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive id=disk0,file=/yocto/meta-java-test/build+qemuarm64+1532957466/tmp/deploy/images/qemuarm64/openjdk-8-test-image-qemuarm64.ext4,if=none,format=raw -device virtio-blk-device,drive=disk0 -show-cursor -device virtio-rng-pci -monitor null  -nographic -serial tcp:127.0.0.1:39755 -pidfile pidfile_19358 -machine virt -cpu cortex-a57 -m 512 -device virtio-serial-device -chardev socket,id=virtcon,port=36482,host=127.0.0.1 -device virtconsole,chardev=virtcon -snapshot -kernel /yocto/meta-java-test/build+qemuarm64+1532957466/tmp/deploy/images/qemuarm64/Image--4.14.48+git0+d64aec9793_ec98b274e0-r0-qemuarm64-20180731075603.bin -append 'root=/dev/vda rw highres=off  console=ttyS0 mem=512M ip=192.168.7.2::192.168.7.1:255.255.255.0 console=ttyAMA0,38400 console=tty1 console=ttyS0,115200n8 printk.time=1'


DEBUG: Waiting at most 1000 seconds for login banner (07/31/18 08:52:19)
DEBUG: Connection from 127.0.0.1:60926
DEBUG: Reached login banner in 20.21198320388794 seconds (07/31/18 08:52:39)
DEBUG: Logged as root in serial console
NOTE: test_ping (ping.PingTest)
DEBUG: Setting up a 30 second(s) timeout
DEBUG: Removed SIGALRM handler
NOTE:  ... ok
NOTE: test_ssh (ssh.SSHTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; uname -a
DEBUG: time: 1533027160.0969846, endtime: 1533027460.0776582
DEBUG: Partial data from SSH call: Linux qemuarm64 4.14.48-yocto-standard #1 SMP PREEMPT Tue Jul 31 08:02:10 UTC 2018 aarch64 GNU/Linux

DEBUG: time: 1533027161.1499255, endtime: 1533027461.1499236
DEBUG: [Command returned '0' after 1.07 seconds]
DEBUG: Command: uname -a
Output:  Linux qemuarm64 4.14.48-yocto-standard #1 SMP PREEMPT Tue Jul 31 08:02:10 UTC 2018 aarch64 GNU/Linux

DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; cat /etc/masterimage
DEBUG: time: 1533027161.1541684, endtime: 1533027461.1507025
DEBUG: Partial data from SSH call: cat: can't open '/etc/masterimage': No such file or directory

DEBUG: time: 1533027161.5948987, endtime: 1533027461.5948968
DEBUG: [Command returned '1' after 0.44 seconds]
DEBUG: Command: cat /etc/masterimage
Output:  cat: can't open '/etc/masterimage': No such file or directory

NOTE:  ... ok
DEBUG: [Running]$ scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR /yocto/meta-java-test/meta-java/lib/oeqa/runtime/cases/../../files/test.jar [email protected]:/tmp/test.jar
DEBUG: Data from SSH call: 
DEBUG: [Command returned '0' after 0.47 seconds]
NOTE: test_java_exists (java.JavaTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; which java
DEBUG: time: 1533027162.0758529, endtime: 1533027462.0722373
DEBUG: Partial data from SSH call: /usr/bin/java

DEBUG: time: 1533027162.5107858, endtime: 1533027462.5107825
DEBUG: [Command returned '0' after 0.44 seconds]
DEBUG: Command: which java
Output:  /usr/bin/java

NOTE:  ... ok
NOTE: test_java_jar_comp_mode (java.JavaTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; java -showversion -Xcomp -jar /tmp/test.jar
DEBUG: time: 1533027162.516053, endtime: 1533027462.5123806
DEBUG: Partial data from SSH call: #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007f87b24754, pid=476, tid=0x0000007f85b881f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 compiled mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid476.log
[thread 547702206960 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   476 Aborted                 java -showversion -Xcomp -jar /tmp/test.jar

DEBUG: time: 1533027164.8524902, endtime: 1533027464.8524885
DEBUG: [Command returned '134' after 2.34 seconds]
DEBUG: Command: java -showversion -Xcomp -jar /tmp/test.jar
Output:  #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007f87b24754, pid=476, tid=0x0000007f85b881f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 compiled mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid476.log
[thread 547702206960 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   476 Aborted                 java -showversion -Xcomp -jar /tmp/test.jar

NOTE:  ... FAIL
NOTE: test_java_jar_int_mode (java.JavaTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; java -showversion -Xint -jar /tmp/test.jar
DEBUG: time: 1533027164.8603966, endtime: 1533027464.8567646
DEBUG: Partial data from SSH call: openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK 64-Bit Server VM (build 25.172-b11, interpreted mode)

the answer is 42

DEBUG: time: 1533027167.1865768, endtime: 1533027467.1865742
DEBUG: [Command returned '0' after 2.33 seconds]
DEBUG: Command: java -showversion -Xint -jar /tmp/test.jar
Output:  openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK 64-Bit Server VM (build 25.172-b11, interpreted mode)

the answer is 42

NOTE:  ... ok
NOTE: test_java_jar_works (java.JavaTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; java -jar /tmp/test.jar
DEBUG: time: 1533027167.1916466, endtime: 1533027467.188039
DEBUG: Partial data from SSH call: #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007fb7cb3754, pid=498, tid=0x0000007fb5d171f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid498.log
[thread 548509147632 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   498 Aborted                 java -jar /tmp/test.jar

DEBUG: time: 1533027169.7053168, endtime: 1533027469.7053144
DEBUG: [Command returned '134' after 2.52 seconds]
DEBUG: Command: java -jar /tmp/test.jar
Output:  #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007fb7cb3754, pid=498, tid=0x0000007fb5d171f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid498.log
[thread 548509147632 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   498 Aborted                 java -jar /tmp/test.jar

NOTE:  ... FAIL
NOTE: test_java_version (java.JavaTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; java -version
DEBUG: time: 1533027169.7105303, endtime: 1533027469.706921
DEBUG: Partial data from SSH call: #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007f835d7754, pid=511, tid=0x0000007f816131f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid511.log
openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK 64-Bit Server VM (build 25.172-b11, mixed mode)
[thread 547629375984 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   511 Aborted                 java -version

DEBUG: time: 1533027171.8274782, endtime: 1533027471.8274758
DEBUG: [Command returned '134' after 2.12 seconds]
DEBUG: Command: java -version
Output:  #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007f835d7754, pid=511, tid=0x0000007f816131f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid511.log
openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK 64-Bit Server VM (build 25.172-b11, mixed mode)
[thread 547629375984 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   511 Aborted                 java -version

NOTE:  ... FAIL
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; rm /tmp/test.jar
DEBUG: time: 1533027171.83232, endtime: 1533027471.8286934
DEBUG: [Command returned '0' after 0.43 seconds]
DEBUG: Command: rm /tmp/test.jar
Output:  

DEBUG: [Running]$ scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR /yocto/meta-java-test/meta-java/lib/oeqa/runtime/cases/../../files/test.java [email protected]:/tmp/test.java
DEBUG: Data from SSH call: 
DEBUG: [Command returned '0' after 0.52 seconds]
NOTE: test_javac_exists (javac.JavacTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; which javac
DEBUG: time: 1533027172.782005, endtime: 1533027472.7784624
DEBUG: Partial data from SSH call: /usr/bin/javac

DEBUG: time: 1533027173.2737598, endtime: 1533027473.2737577
DEBUG: [Command returned '0' after 0.50 seconds]
DEBUG: Command: which javac
Output:  /usr/bin/javac

NOTE:  ... ok
NOTE: test_javac_works (javac.JavacTest)
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; javac /tmp/test.java
DEBUG: time: 1533027173.2790625, endtime: 1533027473.2754028
DEBUG: Partial data from SSH call: #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007fbc2d7754, pid=535, tid=0x0000007fba3131f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid535.log
[thread 548582531568 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   535 Aborted                 javac /tmp/test.java

DEBUG: time: 1533027175.6791768, endtime: 1533027475.6791742
DEBUG: [Command returned '134' after 2.40 seconds]
DEBUG: Command: javac /tmp/test.java
Output:  #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007fbc2d7754, pid=535, tid=0x0000007fba3131f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid535.log
[thread 548582531568 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   535 Aborted                 javac /tmp/test.java

NOTE:  ... FAIL
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.2 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; rm /tmp/test.java /tmp/test.class
DEBUG: time: 1533027175.6864057, endtime: 1533027475.6827955
DEBUG: Partial data from SSH call: rm: can't remove '/tmp/test.class': No such file or directory

DEBUG: time: 1533027176.1169627, endtime: 1533027476.1169608
DEBUG: [Command returned '1' after 0.43 seconds]
DEBUG: Command: rm /tmp/test.java /tmp/test.class
Output:  rm: can't remove '/tmp/test.class': No such file or directory

NOTE: ======================================================================
NOTE: FAIL: test_java_jar_comp_mode (java.JavaTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/yocto/meta-java-test/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/yocto/meta-java-test/meta-java/lib/oeqa/runtime/cases/java.py", line 57, in test_java_jar_comp_mode
    self.assertEqual(status, 0, msg=msg)
AssertionError: 134 != 0 : Exit status was not 0. Output: #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007f87b24754, pid=476, tid=0x0000007f85b881f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 compiled mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid476.log
[thread 547702206960 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   476 Aborted                 java -showversion -Xcomp -jar /tmp/test.jar

NOTE: ======================================================================
NOTE: FAIL: test_java_jar_works (java.JavaTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/yocto/meta-java-test/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/yocto/meta-java-test/meta-java/lib/oeqa/runtime/cases/java.py", line 39, in test_java_jar_works
    self.assertEqual(status, 0, msg=msg)
AssertionError: 134 != 0 : Exit status was not 0. Output: #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007fb7cb3754, pid=498, tid=0x0000007fb5d171f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid498.log
[thread 548509147632 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   498 Aborted                 java -jar /tmp/test.jar

NOTE: ======================================================================
NOTE: FAIL: test_java_version (java.JavaTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/yocto/meta-java-test/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/yocto/meta-java-test/meta-java/lib/oeqa/runtime/cases/java.py", line 32, in test_java_version
    self.assertEqual(status, 0, msg=msg)
AssertionError: 134 != 0 : Exit status was not 0. Output: #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007f835d7754, pid=511, tid=0x0000007f816131f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid511.log
openjdk version "1.8.0_172-internal"
OpenJDK Runtime Environment (build 1.8.0_172-internal-b11)
OpenJDK 64-Bit Server VM (build 25.172-b11, mixed mode)
[thread 547629375984 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   511 Aborted                 java -version

NOTE: ======================================================================
NOTE: FAIL: test_javac_works (javac.JavacTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/yocto/meta-java-test/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/yocto/meta-java-test/meta-java/lib/oeqa/runtime/cases/javac.py", line 32, in test_javac_works
    self.assertEqual(status, 0, msg=msg)
AssertionError: 134 != 0 : Exit status was not 0. Output: #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007fbc2d7754, pid=535, tid=0x0000007fba3131f0
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-internal-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d2754]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/root/hs_err_pid535.log
[thread 548582531568 also had an error]

[error occurred during error reporting , id 0xb]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
sh: line 1:   535 Aborted                 javac /tmp/test.java

NOTE: ----------------------------------------------------------------------
NOTE: Ran 9 tests in 16.206s
NOTE: FAILED
NOTE:  (failures=4)
DEBUG: Stopping logging thread
DEBUG: Stop event received
DEBUG: Tearing down logging thread
DEBUG: Sending SIGTERM to runqemu
RESULTS:
RESULTS - ping.PingTest.test_ping - Testcase 964: PASSED (0.16s)
RESULTS - ssh.SSHTest.test_ssh - Testcase 224: PASSED (1.52s)
RESULTS - java.JavaTest.test_java_exists - Testcase -1: PASSED (0.44s)
RESULTS - java.JavaTest.test_java_jar_comp_mode - Testcase -1: FAILED (2.34s)
RESULTS - java.JavaTest.test_java_jar_int_mode - Testcase -1: PASSED (2.33s)
RESULTS - java.JavaTest.test_java_jar_works - Testcase -1: FAILED (2.52s)
RESULTS - java.JavaTest.test_java_version - Testcase -1: FAILED (2.12s)
RESULTS - javac.JavacTest.test_javac_exists - Testcase -1: PASSED (0.50s)
RESULTS - javac.JavacTest.test_javac_works - Testcase -1: FAILED (2.41s)
SUMMARY:
openjdk-8-test-image () - Ran 9 tests in 16.208s
openjdk-8-test-image - FAIL - Required tests failed
ERROR: openjdk-8-test-image - FAILED - check the task log and the ssh log
DEBUG: Python function do_testimage finished
ERROR: Function failed: do_testimage
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to