This test is failing on both of my aarch64 and x86_64 linux headless systems.
$ make test TEST="compiler/gallery/TestNormalMapping.java"
STDOUT:
Running JTREG test in mode: visual
Testing with 2d Graphics (visual)...
Welcome to the Normal Mapping Demo!
Loading file: normal_map.png
System Property test.src: /home/fyang/jdk/test/hotspot/jtreg/compiler/gallery
Setting up Window...
STDERR:
java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleepNanos0(Native Method)
at java.base/java.lang.Thread.sleepNanos(Thread.java:509)
at java.base/java.lang.Thread.sleep(Thread.java:540)
at compiler.gallery.TestNormalMapping.runVisual(TestNormalMapping.java:86)
at compiler.gallery.TestNormalMapping.main(TestNormalMapping.java:60)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)
JavaTest Message: Test threw exception: java.lang.InterruptedException
JavaTest Message: shutting down test
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.InterruptedException: sleep interrupted
--------------------------------------------------
Passed: compiler/gallery/TestNormalMapping.java#ir
Test results: passed: 1; failed: 1
Report written to /home/fyang/jdk/build/linux-aarch64-server-release/test-results/jtreg_test_hotspot_jtreg_compiler_gallery_TestNormalMapping_java/html/report.html
Results written to /home/fyang/jdk/build/linux-aarch64-server-release/test-support/jtreg_test_hotspot_jtreg_compiler_gallery_TestNormalMapping_java
Error: Some tests failed or other problems occurred.
Finished running test 'jtreg:test/hotspot/jtreg/compiler/gallery/TestNormalMapping.java'
Test report is stored in build/linux-aarch64-server-release/test-results/jtreg_test_hotspot_jtreg_compiler_gallery_TestNormalMapping_java
==============================
Test summary
==============================
TEST TOTAL PASS FAIL ERROR SKIP
jtreg:test/hotspot/jtreg/compiler/gallery/TestNormalMapping.java
>> 2 1 1 0 0 <<
==============================
TEST FAILURE
$ make test TEST="compiler/gallery/TestNormalMapping.java"
STDOUT:
Running JTREG test in mode: visual
Testing with 2d Graphics (visual)...
Welcome to the Normal Mapping Demo!
Loading file: normal_map.png
System Property test.src: /home/fyang/jdk/test/hotspot/jtreg/compiler/gallery
Setting up Window...
STDERR:
java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleepNanos0(Native Method)
at java.base/java.lang.Thread.sleepNanos(Thread.java:509)
at java.base/java.lang.Thread.sleep(Thread.java:540)
at compiler.gallery.TestNormalMapping.runVisual(TestNormalMapping.java:86)
at compiler.gallery.TestNormalMapping.main(TestNormalMapping.java:60)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)
JavaTest Message: Test threw exception: java.lang.InterruptedException
JavaTest Message: shutting down test
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.InterruptedException: sleep interrupted
--------------------------------------------------
Passed: compiler/gallery/TestNormalMapping.java#ir
Test results: passed: 1; failed: 1
Report written to /home/fyang/jdk/build/linux-aarch64-server-release/test-results/jtreg_test_hotspot_jtreg_compiler_gallery_TestNormalMapping_java/html/report.html
Results written to /home/fyang/jdk/build/linux-aarch64-server-release/test-support/jtreg_test_hotspot_jtreg_compiler_gallery_TestNormalMapping_java
Error: Some tests failed or other problems occurred.
Finished running test 'jtreg:test/hotspot/jtreg/compiler/gallery/TestNormalMapping.java'
Test report is stored in build/linux-aarch64-server-release/test-results/jtreg_test_hotspot_jtreg_compiler_gallery_TestNormalMapping_java
==============================
Test summary
==============================
TEST TOTAL PASS FAIL ERROR SKIP
jtreg:test/hotspot/jtreg/compiler/gallery/TestNormalMapping.java
>> 2 1 1 0 0 <<
==============================
TEST FAILURE
- relates to
-
JDK-8367657 C2 SuperWord: NormalMapping demo from JVMLS 2025
-
- Resolved
-