Public bug reported:

Recently noticed this on armhf (resolute, noble, jammy, focal)

$ cat 
jtreg-test-output/hotspot/JTwork/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.jtr
#Test Results (version 2)
#Thu Jul 23 16:16:12 UTC 2026
#-----testdescription-----
$file=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java
$root=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg
keywords=bug8304042 driver
library=/test/lib /
modules=java.base/jdk.internal.misc
run=USER_SPECIFIED driver 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency\n
source=TestIndependentPacksWithCyclicDependency.java
title=Test some examples with independent packs with cyclic dependency between 
the packs.

#-----environment-----

#-----testresult-----
description=file\:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java
elapsed=2151 0\:00\:02.151
end=Thu Jul 23 16\:16\:12 UTC 2026
environment=regtest
execStatus=Failed. Execution failed\: `main' threw exception\: 
compiler.lib.ir_framework.driver.TestVMException\: There were one or multiple 
errors. Please check stderr for more information.
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
hostname=bos03-arm64-007.buildd
javatestOS=Linux 6.8.0-136-generic (arm)
javatestVersion=6.0-ea+b22-1970-01-03-${BUILT_FROM_COMMIT}
jtregVersion=jtreg 7.5.2 src 1
modules=java.base/jdk.internal.misc
script=com.sun.javatest.regtest.exec.RegressionScript
sections=script_messages build driver
start=Thu Jul 23 16\:16\:10 UTC 2026
test=compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java
testJDK=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
testJDK_OS=[name\:Linux,arch\:arm,version\:6.8.0-136-generic,family\:linux,simple_arch\:arm,simple_version\:6.8,processors\:8,maxMemory\:33581830144,maxSwap\:8589930496]
testJDK_os.arch=arm
testJDK_os.name=Linux
testJDK_os.version=6.8.0-136-generic
totalTime=2154
user.name=buildd
work=/tmp/hotspot/JTwork/compiler/loopopts/superword

#section:script_messages
----------messages:(10/596)----------
JDK under test: 
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
openjdk version "21.0.12" 2026-07-21
OpenJDK Runtime Environment (build 21.0.12+8-1-22.04-Ubuntu)
OpenJDK Server VM (build 21.0.12+8-1-22.04-Ubuntu, mixed mode, sharing)
Library /test/lib; kind: packages
   source directory: /build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib
   class directory: /tmp/hotspot/JTwork/classes/2/test/lib
Library /; kind: packages
   source directory: 
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg
   class directory: /tmp/hotspot/JTwork/classes/2

#section:build
----------messages:(5/228)----------
command: build 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency
reason: Named class compiled on demand
started: Thu Jul 23 16:16:10 UTC 2026
finished: Thu Jul 23 16:16:10 UTC 2026
elapsed time (seconds): 0.0
result: Passed. All files up to date

#section:driver
----------messages:(9/431)----------
command: driver 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency
reason: User specified action: run driver 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency
started: Thu Jul 23 16:16:10 UTC 2026
Mode: agentvm
Agent id: 2
Process id: 1395144
Additional exports to unnamed modules from @modules: java.base/jdk.internal.misc
finished: Thu Jul 23 16:16:12 UTC 2026
elapsed time (seconds): 2.148
----------configuration:(20/1036)----------
Boot Layer
  class path: /usr/share/jtreg/lib/javatest.jar
              /usr/share/jtreg/lib/jtreg.jar
              /usr/share/jtreg/lib/junit-platform-console-standalone.jar
              /usr/share/jtreg/lib/testng.jar
              /usr/share/jtreg/lib/guice.jar
              /usr/share/jtreg/lib/jcommander.jar
              /usr/share/jtreg/lib/slf4j-simple.jar
              /usr/share/jtreg/lib/slf4j-api.jar
  patch:      java.base /tmp/hotspot/JTwork/patches/java.base

Test Layer
  add exports: java.base/jdk.internal.misc ALL-UNNAMED
  class path:  
/tmp/hotspot/JTwork/classes/2/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.d
               
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/compiler/loopopts/superword
               /tmp/hotspot/JTwork/classes/2/test/lib
               /build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib
               /tmp/hotspot/JTwork/classes/2
               /build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg

----------rerun:(27/3066)*----------
cd /tmp/hotspot/JTwork/scratch/2 && \\
HOME=/sbuild-nonexistent \\
JTREG_OPTIONS= \\
NSS_DEFAULT_DB_TYPE=sql \\
PATH=/bin:/usr/bin:/usr/sbin \\
    
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk/bin/java
 \\
        -Dtest.vm.opts='-Dtest.boot.jdk=/usr/lib/jvm/java-21-openjdk-armhf 
-XX:MaxRAMPercentage=25 -Duser.home=/tmp/ -Djava.io.tmpdir=/tmp/' \\
        
-Dtest.tool.vm.opts='-J-Dtest.boot.jdk=/usr/lib/jvm/java-21-openjdk-armhf 
-J-XX:MaxRAMPercentage=25 -J-Duser.home=/tmp/ -J-Djava.io.tmpdir=/tmp/' \\
        -Dtest.compiler.opts= \\
        -Dtest.java.opts= \\
        
-Dtest.jdk=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
 \\
        
-Dcompile.jdk=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
 \\
        -Dtest.timeout.factor=10.0 \\
        
-Dtest.nativepath=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/images/test/hotspot/jtreg/native
 \\
        
-Dtest.root=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg \\
        
-Dtest.name=compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java
 \\
        -Dtest.verbose=Verbose[p=SUMMARY,f=SUMMARY,e=SUMMARY,t=false,m=false] \\
        
-Dtest.file=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java
 \\
        
-Dtest.main.class=compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency
 \\
        
-Dtest.src=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/compiler/loopopts/superword
 \\
        
-Dtest.src.path=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/compiler/loopopts/superword:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg
 \\
        
-Dtest.classes=/tmp/hotspot/JTwork/classes/2/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.d
 \\
        
-Dtest.class.path=/tmp/hotspot/JTwork/classes/2/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.d:/tmp/hotspot/JTwork/classes/2/test/lib:/tmp/hotspot/JTwork/classes/2
 \\
        
-Dtest.class.path.prefix=/tmp/hotspot/JTwork/classes/2/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.d:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/compiler/loopopts/superword:/tmp/hotspot/JTwork/classes/2/test/lib:/tmp/hotspot/JTwork/classes/2
 \\
        -Dtest.modules=java.base/jdk.internal.misc \\
        -classpath 
/tmp/hotspot/JTwork/classes/2/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.d:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/compiler/loopopts/superword:/tmp/hotspot/JTwork/classes/2/test/lib:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib:/tmp/hotspot/JTwork/classes/2:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg:/usr/share/jtreg/lib/javatest.jar:/usr/share/jtreg/lib/jtreg.jar
 \\
        compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency
----------stdout:(0/0)----------
----------stderr:(0/0)----------
----------System.out:(9/2622)----------
IR verification disabled due to not running a debug build (required for 
PrintIdealand PrintOptoAssembly), running with -Xint, or -Xcomp (use warm-up of 
0 instead)
Skip Flag VM due to not performing IR verification.
Run Test VM - [--add-modules, java.base, --add-exports, 
java.base/jdk.internal.misc=ALL-UNNAMED, 
-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::test*,
 
-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::verify,
 
-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::init,
 -XX:+IgnoreUnrecognizedVMOptions, -XX:LoopUnrollLimit=1000]:
Command line: 
[/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk/bin/java
 -cp 
/tmp/hotspot/JTwork/classes/2/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.d:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/compiler/loopopts/superword:/tmp/hotspot/JTwork/classes/2/test/lib:/tmp/hotspot/JTwork/classes/2:/usr/share/jtreg/lib/javatest.jar:/usr/share/jtreg/lib/jtreg.jar:/usr/share/jtreg/lib/junit-platform-console-standalone.jar:/usr/share/jtreg/lib/testng.jar:/usr/share/jtreg/lib/guice.jar:/usr/share/jtreg/lib/jcommander.jar:/usr/share/jtreg/lib/slf4j-simple.jar:/usr/share/jtreg/lib/slf4j-api.jar
 
-Djava.library.path=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/images/test/hotspot/jtreg/native
 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI 
-Dtest.boot.jdk=/usr/lib/jvm/java-21-openjdk-armhf -XX:MaxRAMPercentage=25 
-Duser.home=/tmp/ -Djava.io.tmpdir=/tmp/ -Dir.framework.server.port=44847 
--add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED 
-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::test*
 
-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::verify
 
-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::init
 -XX:+IgnoreUnrecognizedVMOptions -XX:LoopUnrollLimit=1000 
-XX:-BackgroundCompilation -XX:CompileCommand=quiet 
compiler.lib.ir_framework.test.TestVM 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency ]
[2026-07-23T16:16:11.113642899Z] Gathering output for process 1395211
[2026-07-23T16:16:11.137490370Z] Waiting for completion for process 1395211
[2026-07-23T16:16:12.412423291Z] Waiting for completion finished for process 
1395211
Output and diagnostic info for process 1395211 was saved into 
'pid-1395211-output.log'

----------System.err:(85/6571)----------

TestFramework test VM exited with code 1

Command Line:
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk/bin/java
 -DReproduce=true -cp 
/tmp/hotspot/JTwork/classes/2/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.d:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/compiler/loopopts/superword:/tmp/hotspot/JTwork/classes/2/test/lib:/tmp/hotspot/JTwork/classes/2:/usr/share/jtreg/lib/javatest.jar:/usr/share/jtreg/lib/jtreg.jar:/usr/share/jtreg/lib/junit-platform-console-standalone.jar:/usr/share/jtreg/lib/testng.jar:/usr/share/jtreg/lib/guice.jar:/usr/share/jtreg/lib/jcommander.jar:/usr/share/jtreg/lib/slf4j-simple.jar:/usr/share/jtreg/lib/slf4j-api.jar
 
-Djava.library.path=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/images/test/hotspot/jtreg/native
 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI 
-Dtest.boot.jdk=/usr/lib/jvm/java-21-openjdk-armhf -XX:MaxRAMPercentage=25 
-Duser.home=/tmp/ -Djava.io.tmpdir=/tmp/ -Dir.framework.server.port=44847 
--add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED 
-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::test*
 
-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::verify
 
-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::init
 -XX:+IgnoreUnrecognizedVMOptions -XX:LoopUnrollLimit=1000 
-XX:-BackgroundCompilation -XX:CompileCommand=quiet 
compiler.lib.ir_framework.test.TestVM 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency


Error Output
------------
Exception in thread "main" compiler.lib.ir_framework.shared.TestRunException:

Test Failures (2)
-----------------
Custom Run Test: @Run: runTest0 - @Test: test0:
compiler.lib.ir_framework.shared.TestRunException: There was an error while 
invoking @Run method public void 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency.runTest0()
        at 
compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
        at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:98)
        at 
compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
        at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:861)
        at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:252)
        at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)
Caused by: java.lang.reflect.InvocationTargetException
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:159)
        ... 5 more
Caused by: java.lang.RuntimeException:  Invalid test0 result: dataI[3]: 
1116942242 != 7
        at 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency.verify(TestIndependentPacksWithCyclicDependency.java:459)
        at 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency.runTest0(TestIndependentPacksWithCyclicDependency.java:115)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        ... 7 more


Custom Run Test: @Run: runTest3 - @Test: test3:
compiler.lib.ir_framework.shared.TestRunException: There was an error while 
invoking @Run method public void 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency.runTest3()
        at 
compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
        at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:98)
        at 
compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
        at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:861)
        at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:252)
        at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)
Caused by: java.lang.reflect.InvocationTargetException
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:159)
        ... 5 more
Caused by: java.lang.RuntimeException:  Invalid test3 result: dataI[3]: 
1116942242 != 7
        at 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency.verify(TestIndependentPacksWithCyclicDependency.java:459)
        at 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency.runTest3(TestIndependentPacksWithCyclicDependency.java:189)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        ... 7 more


        at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:896)
        at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:252)
        at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)


  #############################################################
   - To only run the failed tests use -DTest, -DExclude,
     and/or -DScenarios.
   - To also get the standard output of the test VM run with
     -DReportStdout=true or for even more fine-grained logging
     use -DVerbose=true.
  #############################################################


compiler.lib.ir_framework.driver.TestVMException: There were one or multiple 
errors. Please check stderr for more information.
        at 
compiler.lib.ir_framework.driver.TestVMProcess.throwTestVMException(TestVMProcess.java:245)
        at 
compiler.lib.ir_framework.driver.TestVMProcess.checkTestVMExitCode(TestVMProcess.java:226)
        at 
compiler.lib.ir_framework.driver.TestVMProcess.<init>(TestVMProcess.java:76)
        at 
compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:756)
        at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:728)
        at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:348)
        at 
compiler.lib.ir_framework.TestFramework.runWithFlags(TestFramework.java:245)
        at 
compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency.main(TestIndependentPacksWithCyclicDependency.java:75)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
        at java.base/java.lang.Thread.run(Thread.java:1583)

JavaTest Message: Test threw exception: 
compiler.lib.ir_framework.driver.TestVMException
JavaTest Message: shutting down test

result: Failed. Execution failed: `main' threw exception:
compiler.lib.ir_framework.driver.TestVMException: There were one or
multiple errors. Please check stderr for more information.


test result: Failed. Execution failed: `main' threw exception: 
compiler.lib.ir_framework.driver.TestVMException: There were one or multiple 
errors. Please check stderr for more information.

** Affects: openjdk-21 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161991

Title:
  JTREG/armhf:
  compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-21/+bug/2161991/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to