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

JDK21 x86-64_alpine-linux testimage missing libTagMapTest #3623

Open
smlambert opened this issue Jan 29, 2024 · 0 comments
Open

JDK21 x86-64_alpine-linux testimage missing libTagMapTest #3623

smlambert opened this issue Jan 29, 2024 · 0 comments
Labels
alpine-linux Issues that affect or relate to the Alpine LINUX OS jenkins Issues that enhance or fix our jenkins server testing Issues that enhance or fix our test suites x-linux Issues that affect or relate to the x64/x32 LINUX OS

Comments

@smlambert
Copy link
Contributor

There are a couple of issues with the testimage produced for the JDK21 x86-64_alpine-linux

  • could not find agent library TagMapTest on the library path
  • java.lang.UnsatisfiedLinkError: no TestFloatJNIArgs

JDK21 x64 alpine-linux which has 3 native test cases that do not pass (details here) and copying some of the details below for convenience.

TEST: serviceability/jvmti/SetTag/TagMapTest.java
TEST: compiler/floatingpoint/TestFloatJNIArgs.java#id0
TEST: compiler/floatingpoint/TestFloatJNIArgs.java#id1

Failures indicate that the upstream build job did not produce all of the native test libs expected:

could not load native lib: java.lang.UnsatisfiedLinkError: no TestFloatJNIArgs in java.library.path: /home/jenkins/workspace/Grinder/jdkbinary/openjdk-test-image/jdk/jtreg/native
Error occurred during initialization of VM
Could not find agent library TagMapTest on the library path, with error: Error loading shared library libTagMapTest.so: No such file or directory

SL/Jan23 action: To look into testimage to see what it contains (to try and understand the native test failures above

/alpine/jdk-21.0.2+13-test-image/hotspot/jtreg/native # nm *.so | grep TestFloat
libTestFloatJNIArgs.so:
00000000000011f0 T Java_compiler_floatingpoint_TestFloatJNIArgs_add10floats
0000000000001280 T Java_compiler_floatingpoint_TestFloatJNIArgs_add15doubles
00000000000011a0 T Java_compiler_floatingpoint_TestFloatJNIArgs_add15floats
0000000000001220 T Java_compiler_floatingpoint_TestFloatJNIArgs_addFloatsInts
libTestFloatSyncJNIArgs.so:
0000000000001260 T Java_compiler_floatingpoint_TestFloatSyncJNIArgs_combine15doubles
00000000000011a0 T Java_compiler_floatingpoint_TestFloatSyncJNIArgs_combine15floats
/alpine/jdk-21.0.2+13-test-image/hotspot/jtreg/native # 
/alpine/jdk-21.0.2+13-test-image/hotspot/jtreg/native # ldd libTestFloatJNIArgs.so 
	/lib/ld-musl-x86_64.so.1 (0x7f4cca63c000)
/alpine/jdk-21.0.2+13-test-image/hotspot/jtreg/native # ldd libTestFloatSyncJNIArgs.so
	/lib/ld-musl-x86_64.so.1 (0x7f1ce9249000)

I believe that the shared libaries are not in the expected/right location for alpine-linux for some reason, which causes 3 testcases to fail. Recommending to not block the release with these 3 testcases and to exclude, but will raise a build issue with the goal to fix so we can reinclude these tests when ready.

@github-actions github-actions bot added alpine-linux Issues that affect or relate to the Alpine LINUX OS jenkins Issues that enhance or fix our jenkins server testing Issues that enhance or fix our test suites x-linux Issues that affect or relate to the x64/x32 LINUX OS labels Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpine-linux Issues that affect or relate to the Alpine LINUX OS jenkins Issues that enhance or fix our jenkins server testing Issues that enhance or fix our test suites x-linux Issues that affect or relate to the x64/x32 LINUX OS
Projects
Status: Todo
Status: Todo
Development

No branches or pull requests

1 participant