Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdk_jfr_2 fail on jdk8 arm32 linux #3301

Open
Haroon-Khel opened this issue Jan 28, 2022 · 11 comments
Open

jdk_jfr_2 fail on jdk8 arm32 linux #3301

Haroon-Khel opened this issue Jan 28, 2022 · 11 comments

Comments

@Haroon-Khel
Copy link
Contributor

Initial failure link
https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_arm_linux_testList_2/27/testReport/

Trss link
https://trss.adoptium.net/output/test?id=61f04ecaa7df1a292406cf24

Grinder Rerun on test-sxa-armv7l-ubuntu2004-odroid-2
https://ci.adoptopenjdk.net/job/Grinder/3328/testReport/

Though the rerun was aborted, all of the jdk_jfr_2 tests ran.

The following test failures are from the grinder rerun:

Failures
jdk/jfr/event/compiler/TestCompilerPhase.java.TestCompilerPhase
jdk/jfr/event/gc/collection/TestGCCauseWithG1ConcurrentMark.java.TestGCCauseWithG1ConcurrentMark
jdk/jfr/event/gc/collection/TestGCCauseWithG1FullCollection.java.TestGCCauseWithG1FullCollection jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java.TestEvacuationFailedEvent
jdk/jfr/event/gc/detailed/TestEvacuationInfoEvent.java.TestEvacuationInfoEvent
jdk/jfr/event/gc/detailed/TestG1HeapRegionTypeChangeEvent.java.TestG1HeapRegionTypeChangeEvent
jdk/jfr/event/gc/detailed/TestG1MMUEvent.java.TestG1MMUEvent
jdk/jfr/event/gc/detailed/TestPromotionEventWithG1.java.TestPromotionEventWithG1
jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventG1.java.TestHeapSummaryEventG1
jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1ConcurrentMark.java.TestObjectCountAfterGCEventWithG1ConcurrentMark
jdk/jfr/event/gc/stacktrace/TestG1HumongousAllocationPendingStackTrace.java.TestG1HumongousAllocationPendingStackTrace
jdk/jfr/event/gc/stacktrace/TestG1OldAllocationPendingStackTrace.java.TestG1OldAllocationPendingStackTrace
jdk/jfr/event/gc/stacktrace/TestG1YoungAllocationPendingStackTrace.java.TestG1YoungAllocationPendingStackTrace
jdk/jfr/event/gc/stacktrace/TestMetaspaceG1GCAllocationPendingStackTrace.java.TestMetaspaceG1GCAllocationPendingStackTrace
jdk/jfr/event/oldobject/TestObjectDescription.java.TestObjectDescription
jdk/jfr/event/os/TestCPUInformation.java.TestCPUInformation
jdk/jfr/event/runtime/TestShutdownEvent.java.TestShutdownEvent
jdk/jfr/event/runtime/TestSizeTFlags.java.TestSizeTFlags

Intermittent
jdk/jfr/event/gc/stacktrace/TestParallelMarkSweepAllocationPendingStackTrace.java.TestParallelMarkSweepAllocationPendingStackTrace (failed 2/5)
jdk/jfr/jvm/TestLargeJavaEvent512k.java.TestLargeJavaEvent512k (failed 2/5)

@Haroon-Khel
Copy link
Contributor Author

Haroon-Khel commented Jan 28, 2022

Out of the non intermittent tests:

jdk/jfr/event/compiler/TestCompilerPhase.java.TestCompilerPhase
jdk/jfr/event/gc/collection/TestGCCauseWithG1ConcurrentMark.java.TestGCCauseWithG1ConcurrentMark
jdk/jfr/event/gc/collection/TestGCCauseWithG1FullCollection.java.TestGCCauseWithG1FullCollection
Related upstream issue https://bugs.openjdk.java.net/browse/JDK-8230707

jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java.TestEvacuationFailedEvent
Known upstream issue https://bugs.openjdk.java.net/browse/JDK-8270443

jdk/jfr/event/gc/detailed/TestEvacuationInfoEvent.java.TestEvacuationInfoEvent
jdk/jfr/event/gc/detailed/TestG1HeapRegionTypeChangeEvent.java.TestG1HeapRegionTypeChangeEvent
jdk/jfr/event/gc/detailed/TestG1MMUEvent.java.TestG1MMUEvent
Error log:

OpenJDK Client VM warning: G1 GC is disabled in this release.
java.lang.RuntimeException: No events found: expected false, was true
	at jdk.test.lib.Asserts.fail(Asserts.java:594)

jdk/jfr/event/gc/detailed/TestPromotionEventWithG1.java.TestPromotionEventWithG1
Error log:

OpenJDK Client VM warning: G1 GC is disabled in this release.
java.lang.RuntimeException: Test failed since the MXBean for the Young Collector could not be found.: expected null to not equal null
	at jdk.test.lib.Asserts.fail(Asserts.java:594)
	at jdk.test.lib.Asserts.assertNotEquals(Asserts.java:394)

jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventG1.java.TestHeapSummaryEventG1
Error log:

OpenJDK Client VM warning: G1 GC is disabled in this release.
java.lang.RuntimeException: Wrong collector types: got('DefNew','SerialOld'), expected('G1New','G1Old')
	at jdk.test.lib.Asserts.fail(Asserts.java:594)

jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1ConcurrentMark.java.TestObjectCountAfterGCEventWithG1ConcurrentMark
Error log:

Execution failed: `main' threw exception: java.lang.RuntimeException: No event System.gc event of type jdk.GarbageCollection: expected true, was false    

jdk/jfr/event/gc/stacktrace/TestG1HumongousAllocationPendingStackTrace.java.TestG1HumongousAllocationPendingStackTrace
jdk/jfr/event/gc/stacktrace/TestG1OldAllocationPendingStackTrace.java.TestG1OldAllocationPendingStackTrace
jdk/jfr/event/gc/stacktrace/TestG1YoungAllocationPendingStackTrace.java.TestG1YoungAllocationPendingStackTrace
jdk/jfr/event/gc/stacktrace/TestMetaspaceG1GCAllocationPendingStackTrace.java.TestMetaspaceG1GCAllocationPendingStackTrace
Error log:

OpenJDK Client VM warning: G1 GC is disabled in this release.
java.lang.IllegalArgumentException: javax.management.InstanceNotFoundException: java.lang:type=GarbageCollector,name=G1 Young Generation
	at java.lang.management.ManagementFactory.newPlatformMXBeanProxy(ManagementFactory.java:630)

The above error suggests that these tests should be excluded. G1 GC is disable while these tests are failing because they cannot find G1 GC

jdk/jfr/event/oldobject/TestObjectDescription.java.TestObjectDescription
jdk/jfr/event/runtime/TestShutdownEvent.java.TestShutdownEvent
Error log:

Program `/ssd/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java' timed out (timeout set to 960000ms, elapsed time including timeout handling was 960718ms).

jdk/jfr/event/os/TestCPUInformation.java.TestCPUInformation
Error log:

java.lang.RuntimeException: Value not in (Intel, AMD, Unknown x86, SPARC, ARM, PPC, PowerPC, AArch64, s390), field='description', value='0x41:0x2:0xc0f:3'
	at jdk.test.lib.Asserts.fail(Asserts.java:594)
	at jdk.test.lib.jfr.EventField.lambda$containsAny$10(EventField.java:133)

Known upstream issue https://bugs.openjdk.java.net/browse/JDK-821596 Fails on aarch64, so it is perhaps expected to fail in the arm32 docker containers, but not on test-sxa-armv7l-ubuntu2004-odroid-2 Come back to this

jdk/jfr/event/runtime/TestSizeTFlags.java.TestSizeTFlags
Error log:

OpenJDK Client VM warning: G1 GC is disabled in this release.
java.lang.RuntimeException: Flag not found or value error!: expected true, was false
	at jdk.test.lib.Asserts.fail(Asserts.java:594)

@sxa
Copy link
Member

sxa commented Jan 31, 2022

@Haroon-Khel Can you confirm whether these also fail against the last GA release?

@Haroon-Khel
Copy link
Contributor Author

@sxa
Copy link
Member

sxa commented Jan 31, 2022

@smlambert These seem to be failing in the above re-run too (Still going so not conclusive that it's the same failure) On the basis that it's not a regression I suspect we should not consider this a stop-ship and possibly get the failures investigated post-release the failures later.

@sxa
Copy link
Member

sxa commented Feb 1, 2022

@smlambert On the basis of your comment in #3297 (comment) would you agree that the same applies here and since it's not a regression we should not block this release?

@smlambert
Copy link
Contributor

re: #3301 (comment) - agree, non-blocking for the release, but want to have a post-release sweep of these remaining failures to properly raise issues in the repos where the (hopefully soon to be determined) core problem needs to be fixed.

@Haroon-Khel
Copy link
Contributor Author

@Haroon-Khel
Copy link
Contributor Author

The same tests failed. The tests

jdk/jfr/event/gc/stacktrace/TestG1HumongousAllocationPendingStackTrace.java.TestG1HumongousAllocationPendingStackTrace
jdk/jfr/event/gc/stacktrace/TestG1OldAllocationPendingStackTrace.java.TestG1OldAllocationPendingStackTrace
jdk/jfr/event/gc/stacktrace/TestG1YoungAllocationPendingStackTrace.java.TestG1YoungAllocationPendingStackTrace
jdk/jfr/event/gc/stacktrace/TestMetaspaceG1GCAllocationPendingStackTrace.java.TestMetaspaceG1GCAllocationPendingStackTrace

still failed because they could not find G1GC

OpenJDK Client VM warning: G1 GC is disabled in this release.
java.lang.IllegalArgumentException: javax.management.InstanceNotFoundException: java.lang:type=GarbageCollector,name=G1 Young Generation
	at java.lang.management.ManagementFactory.newPlatformMXBeanProxy(ManagementFactory.java:630)

Much like #3297 (comment), I wouldn't expect these tests to hit this error when supplied with https://github.com/adoptium/aarch32-jdk8u as the JDK_REPO

@sophia-guo
Copy link
Contributor

Some are infra issue adoptium/infrastructure#2684

@smlambert
Copy link
Contributor

Still hitting many issues as part of the July 2023 runs (resulting in crashes, see #4679 (comment)). We should do another sweep of excludes and chase this upstream for jfr investigation and fixes if it is not specific to infrastructure limitations.

@roberttoyonaga
Copy link
Contributor

Please see my comment here (#3115 (comment)) that explains why many of the issues are happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

5 participants