-
Bug
-
Resolution: Duplicate
-
P4
-
17
-
x86_64
-
linux, windows
The following test failed in the JDK17 CI:
vmTestbase/nsk/jvmti/AttachOnDemand/attach024/TestDescription.java
Here's a snippet from the log file:
#section:main
----------messages:(4/801)*----------
command: main nsk.share.aod.AODTestRunner -jdk c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+9-654\\windows-x64-debug.jdk\\jdk-17\\fastdebug -javaOpts="--add-reads java.base=ALL-UNNAMED -XX:+UsePerfData -XX:MaxRAMPercentage=4 -Djava.io.tmpdir=t:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\tmp -XX:StartFlightRecording=dumponexit=true" -target nsk.share.aod.TargetApplicationWaitingAgents -ja attach024Agent00.jar
reason: User specified action: run main/othervm nsk.share.aod.AODTestRunner -jdk ${test.jdk} -javaOpts="--add-reads java.base=ALL-UNNAMED -XX:+UsePerfData ${test.vm.opts} ${test.java.opts}" -target nsk.share.aod.TargetApplicationWaitingAgents -ja attach024Agent00.jar
Mode: othervm [/othervm specified]
elapsed time (seconds): 11.73
----------configuration:(0/0)----------
----------System.out:(25/1841)*----------
Started recording 1. No limit specified, using maxsize=250MB as default.
Use jcmd 22284 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
Starting target application: c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+9-654\\windows-x64-debug.jdk\\jdk-17\\fastdebug\\bin\\java -Dvmsqe.aod.AppId=22284 --add-reads java.base=ALL-UNNAMED -XX:+UsePerfData -XX:MaxRAMPercentage=4 -Djava.io.tmpdir=t:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\tmp -XX:StartFlightRecording=dumponexit=true -XX:+EnableDynamicAgentLoading nsk.share.aod.TargetApplicationWaitingAgents -agentsNumber 1 -port 1139
TargetApp (stdout): Started recording 1. No limit specified, using maxsize=250MB as default.
TargetApp (stdout):
TargetApp (stdout): Use jcmd 12072 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
TargetApp (stdout): Sending signal 'ready'
TargetApp (stdout): Waiting for agents connection
Signal received: 'ready'
Target VM id was identified: 12072
Trying to get VirtualMachine object
VirtualMachine was created: sun.tools.attach.AttachProviderImpl@30e1e79b: 12072
Trying to load jar agent: 'attach024Agent00.jar' (agent options: '-agentName=JarAgent-0')
TargetApp (stdout): Agent 'JarAgent-0' was loaded
TargetApp (stdout): All expected agents connected
TargetApp (stdout): Waiting for agents finishing
Agent was loaded
Detaching from the VM 'sun.tools.attach.AttachProviderImpl@30e1e79b: 12072'
Sending signal: 'finish'
TargetApp (stdout): JarAgent-0: TooManyListenersException.toString(): java.util.TooManyListenersException: Test
TargetApp (stdout): Agent 'JarAgent-0' finished execution (finishedSuccessfully: true)
TargetApp (stdout): All agents finished execution
TargetApp (stdout): Signal received: 'finish'
TargetApp (stdout): Test passed
----------System.err:(14/982)----------
nsk.share.Failure: Target application finished with non-zero code -1073741819
at nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:153)
at nsk.share.aod.AODTestRunner.main(AODTestRunner.java:184)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
JavaTest Message: Test threw exception: nsk.share.Failure: Target application finished with non-zero code -1073741819
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: nsk.share.Failure: Target application finished with non-zero code -1073741819
----------rerun:(39/7099)*----------
The test ended with "TargetApp (stdout): Test passed" so it looks like
the test passed, but then it exited with non-zero code -1073741819.
The test task has the following JVM args:
-XX:StartFlightRecording=dumponexit=true
so I'm wondering if something happened with JFR...
vmTestbase/nsk/jvmti/AttachOnDemand/attach024/TestDescription.java
Here's a snippet from the log file:
#section:main
----------messages:(4/801)*----------
command: main nsk.share.aod.AODTestRunner -jdk c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+9-654\\windows-x64-debug.jdk\\jdk-17\\fastdebug -javaOpts="--add-reads java.base=ALL-UNNAMED -XX:+UsePerfData -XX:MaxRAMPercentage=4 -Djava.io.tmpdir=t:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\tmp -XX:StartFlightRecording=dumponexit=true" -target nsk.share.aod.TargetApplicationWaitingAgents -ja attach024Agent00.jar
reason: User specified action: run main/othervm nsk.share.aod.AODTestRunner -jdk ${test.jdk} -javaOpts="--add-reads java.base=ALL-UNNAMED -XX:+UsePerfData ${test.vm.opts} ${test.java.opts}" -target nsk.share.aod.TargetApplicationWaitingAgents -ja attach024Agent00.jar
Mode: othervm [/othervm specified]
elapsed time (seconds): 11.73
----------configuration:(0/0)----------
----------System.out:(25/1841)*----------
Started recording 1. No limit specified, using maxsize=250MB as default.
Use jcmd 22284 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
Starting target application: c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+9-654\\windows-x64-debug.jdk\\jdk-17\\fastdebug\\bin\\java -Dvmsqe.aod.AppId=22284 --add-reads java.base=ALL-UNNAMED -XX:+UsePerfData -XX:MaxRAMPercentage=4 -Djava.io.tmpdir=t:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\tmp -XX:StartFlightRecording=dumponexit=true -XX:+EnableDynamicAgentLoading nsk.share.aod.TargetApplicationWaitingAgents -agentsNumber 1 -port 1139
TargetApp (stdout): Started recording 1. No limit specified, using maxsize=250MB as default.
TargetApp (stdout):
TargetApp (stdout): Use jcmd 12072 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
TargetApp (stdout): Sending signal 'ready'
TargetApp (stdout): Waiting for agents connection
Signal received: 'ready'
Target VM id was identified: 12072
Trying to get VirtualMachine object
VirtualMachine was created: sun.tools.attach.AttachProviderImpl@30e1e79b: 12072
Trying to load jar agent: 'attach024Agent00.jar' (agent options: '-agentName=JarAgent-0')
TargetApp (stdout): Agent 'JarAgent-0' was loaded
TargetApp (stdout): All expected agents connected
TargetApp (stdout): Waiting for agents finishing
Agent was loaded
Detaching from the VM 'sun.tools.attach.AttachProviderImpl@30e1e79b: 12072'
Sending signal: 'finish'
TargetApp (stdout): JarAgent-0: TooManyListenersException.toString(): java.util.TooManyListenersException: Test
TargetApp (stdout): Agent 'JarAgent-0' finished execution (finishedSuccessfully: true)
TargetApp (stdout): All agents finished execution
TargetApp (stdout): Signal received: 'finish'
TargetApp (stdout): Test passed
----------System.err:(14/982)----------
nsk.share.Failure: Target application finished with non-zero code -1073741819
at nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:153)
at nsk.share.aod.AODTestRunner.main(AODTestRunner.java:184)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
JavaTest Message: Test threw exception: nsk.share.Failure: Target application finished with non-zero code -1073741819
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: nsk.share.Failure: Target application finished with non-zero code -1073741819
----------rerun:(39/7099)*----------
The test ended with "TargetApp (stdout): Test passed" so it looks like
the test passed, but then it exited with non-zero code -1073741819.
The test task has the following JVM args:
-XX:StartFlightRecording=dumponexit=true
so I'm wondering if something happened with JFR...
- duplicates
-
JDK-8295223 JFR: At most one native periodic event thread at a time
-
- Resolved
-
- relates to
-
JDK-8251849 jdk/jfr/startupargs/TestDumpOnExit.java failed with "exitValue = -1073741819"
-
- Closed
-
-
JDK-8277812 vmTestbase/nsk/jvmti/AttachOnDemand/attach002a/TestDescription.java fails with "TestFailure: InterruptedException.getMessage() returns unexpected value (expected is 'attach002a: redefined version'), probably class wasn't redefined"
-
- Closed
-