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_management_0 tests pass only on test-alibaba-ubuntu1804-armv8-1 #2359

Closed
Haroon-Khel opened this issue Oct 18, 2021 · 2 comments
Closed
Labels

Comments

@Haroon-Khel
Copy link
Contributor

jdk_management_0 tests from the jdk11 hotspot extended openjdk suite seem to pass only on test-alibaba-ubuntu1804-armv8-1, https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/1774/console

It fails on other aarch64 machines, such as test-docker-fedora33-armv8l-2
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/1773/console

16:23:20          TestTotalSwap
16:23:20  STDOUT:
16:23:20  Command line: [free -b]
16:23:20                total        used        free      shared  buff/cache   available
16:23:20  Mem:    538554327040 17127518208 341319680000  4265807872 180107128832 514385141760
16:23:20  Swap:    9601966080  1672900608  7929065472
16:23:20  
16:23:20  Total swap space size in bytes: 0
16:23:20  STDERR:
16:23:20  java.lang.RuntimeException: Expected total swap size      : 9601966080 but getTotalSwapSpaceSize returned: 0
16:23:20  	at TestTotalSwap.main(TestTotalSwap.java:93)
16:23:20  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16:23:20  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
16:23:20  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
16:23:20  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
16:23:20  	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
16:23:20  	at java.base/java.lang.Thread.run(Thread.java:829)
16:23:20  
16:23:20  JavaTest Message: Test threw exception: java.lang.RuntimeException
16:23:20  JavaTest Message: shutting down test
16:23:20  
16:23:20  
16:23:20  TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected total swap size : 9601966080 but getTotalSwapSpaceSize returned: 0

Rerun in grinder
https://ci.adoptopenjdk.net/job/Grinder/parambuild/?JDK_VERSION=11&JDK_IMPL=hotspot&JDK_VENDOR=eclipse&BUILD_LIST=openjdk&PLATFORM=aarch64_linux&TARGET=jdk_management_0

The specific failing test is
com/sun/management/OperatingSystemMXBean/TestTotalSwap.java.TestTotalSwap

@sxa
Copy link
Member

sxa commented Oct 19, 2021

Hmmm could that be related to running in a docker containers? It isn't one that had been reported in adoptium/aqa-tests#2138. Does the same problem occur with the test on Linux/x64 in on test-docker systems?

@sophia-guo
Copy link

yes, this is a known issue for docker specific. https://bugs.openjdk.java.net/browse/JDK-8255263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants