aqa-tests icon indicating copy to clipboard operation
aqa-tests copied to clipboard

Exclude 2 testcases in jdk_jfr test target that FAILED in Test_openjdk8_hs_extended.openjdk_aarch64_linux

Open smlambert opened this issue 3 years ago • 5 comments

Test Info Test Name: jdk_jfr_0 Test Duration: 20 min 39 sec Machine: test-docker-ubuntu2004-armv8l-2 TRSS link for the test output: https://trss.adoptium.net/output/test?id=6161bdd4c6182d02176760b1

Build Info Build Name: Test_openjdk8_hs_extended.openjdk_aarch64_linux Jenkins Build start time: Oct 09 2021, 08:17 am Jenkins Build URL: https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_aarch64_linux/36/ TRSS link for the build: https://trss.adoptium.net/allTestsInfo?buildId=6161bca9c6182d0217675cee

Java Version openjdk version "1.8.0_312" OpenJDK Runtime Environment (Temurin)(build 1.8.0_312-b06) OpenJDK 64-Bit Server VM (Temurin)(build 25.312-b06, mixed mode)

This test has been failed 3 times since Jul 20 2021, 05:40 pm Java Version when the issue first seen openjdk version "1.8.0_302" OpenJDK Runtime Environment (Temurin)(build 1.8.0_302-b08) OpenJDK 64-Bit Server VM (Temurin)(build 25.302-b08, mixed mode) Jenkins Build URL: https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_aarch64_linux/31/

The test failed on machine test-docker-ubuntu2004-armv8l-2 1 times The test failed on machine test-alibaba-ubuntu1804-armv8-1 1 times The test failed on machine test-equinix-ubuntu2004-armv8-0 1 times

Rerun in Grinder


While it is not a 'fix' for this issue, the immediate action that needs to happen to address this issue is to exclude the failing test cases, jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java and jdk/jfr/event/runtime/TestShutdownEvent.java on the aarch64 platform. This can be done by adding an exclusion statement in https://github.com/adoptium/aqa-tests/blob/master/openjdk/excludes/ProblemList_openjdk8.txt (likely just after Line 433).

jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java https://github.com/adoptium/aqa-tests/issues/2985 linux-aarch64
jdk/jfr/event/runtime/TestShutdownEvent.java https://github.com/adoptium/aqa-tests/issues/2985 linux-aarch64

smlambert avatar Oct 13 '21 04:10 smlambert

Hi @smlambert I would like to work on this issue

sainamercy avatar Oct 13 '21 13:10 sainamercy

@smlambert test jdk_jfr_2 FAILED in Test_openjdk18_hs_extended.openjdk_arm_linux_testList_1 failed on arm_linux platform too. It is similar to this existing github issue but this issue is for openjdk8.

SehrishHussain avatar Oct 21 '21 06:10 SehrishHussain

jdk/jfr/event/io/TestInstrumentation.java is also unstable. Detail: https://bugs.openjdk.java.net/browse/JDK-8202142

D-D-H avatar Jan 28 '22 02:01 D-D-H

linux-x64 same https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/40/testReport/junit/jdk_jfr_event_runtime_TestShutdownEvent/java/TestShutdownEvent/

sophia-guo avatar May 20 '22 14:05 sophia-guo

I believe we should exclude this test for all platforms, also fails (and causes crash) on jdk8 sparcv9 solaris: https://ci.adoptopenjdk.net/job/Grinder/4849/testReport/junit/jdk_jfr_event_runtime_TestShutdownEvent/java/TestShutdownEvent/

Unable to issue rotation due to recursive calls.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xffffffff7d768dfc, pid=21449, tid=0x000000000000000b
#
# JRE version: OpenJDK Runtime Environment (8.0_332-b09) (build 1.8.0_332-b09)
# Java VM: OpenJDK 64-Bit Server VM (25.332-b09 mixed mode solaris-sparc compressed oops)
# Problematic frame:
# V  [libjvm.so+0x768dfc]  void JfrNetworkInterfaceName::serialize(JfrCheckpointWriter&)+0xf4
#
# Core dump written. Default location: /export/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_16536595352177/jdk_jfr_0/work/scratch/core or core.21449
#
# An error report file with more information is saved as:
# /export/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_16536595352177/jdk_jfr_0/work/scratch/hs_err_pid21449.log
#
java.io.IOException: Not a valid Flight Recorder file. File length is only 0 bytes.
	at jdk.jfr.internal.consumer.RecordingInput.<init>(RecordingInput.java:82)
	at jdk.jfr.internal.consumer.RecordingInput.<init>(RecordingInput.java:87)
	at jdk.jfr.consumer.RecordingFile.<init>(RecordingFile.java:107)
	at jdk.jfr.consumer.RecordingFile.readAllEvents(RecordingFile.java:240)
	at jdk.jfr.event.runtime.TestShutdownEvent.runSubtest(TestShutdownEvent.java:92)
	at jdk.jfr.event.runtime.TestShutdownEvent.main(TestShutdownEvent.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:750)

JavaTest Message: Test threw exception: java.io.IOException: Not a valid Flight Recorder file. File length is only 0 bytes.
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.io.IOException: Not a valid Flight Recorder file. File length is only 0 bytes.
    

TestShutdownEvent.zip

smlambert avatar May 27 '22 14:05 smlambert