The following test failed in the JDK21 CI:
vmTestbase/nsk/stress/strace/strace015.java
Here's a snippet from the log file:
#section:main
----------messages:(6/273)----------
command: main nsk.stress.strace.strace015
reason: User specified action: run main/othervm/native nsk.stress.strace.strace015
started: Tue Jan 17 04:23:37 UTC 2023
Mode: othervm [/othervm specified]
finished: Tue Jan 17 04:23:38 UTC 2023
elapsed time (seconds): 1.14
----------configuration:(0/0)----------
----------System.out:(235/8218)----------
#>
#> WARNING: switching log to verbose mode,
#> because error is complained
#>
starting threads...
strace015Thread4>waiting on a monitor
strace015Thread0>waiting on a monitor
strace015Thread1>waiting on a monitor
<snip>
strace015Thread60>waiting on a monitor
strace015Thread46>waiting on a monitor
strace015Thread47>waiting on a monitor
waiting for the defined recursion depth ...
strace015Thread96>waiting on a monitor
strace015Thread68>waiting on a monitor
strace015Thread92>waiting on a monitor
<snip>
strace015Thread82>waiting on a monitor
strace015Thread89>waiting on a monitor
strace015Thread95>waiting on a monitor
making all threads snapshots...
making snapshots of each thread...
notifying
checking lengths of stack traces...
strace015Thread4>notified
strace015Thread89>notified
strace015Thread82>notified
<snip>
strace015Thread5>notified
strace015Thread1>notified
strace015Thread0>notified
# ERROR: wrong lengths of stack traces:
# ERROR: strace015Thread0: 203 strace015Thread89: 200
The following stacktrace is for failure analysis.
nsk.share.TestFailure: wrong lengths of stack traces: strace015Thread0: 203 strace015Thread89: 200
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
at nsk.share.Log.complain(Log.java:403)
at nsk.stress.strace.strace015.complain(strace015.java:251)
at nsk.stress.strace.strace015.makeSnapshot(strace015.java:180)
at nsk.stress.strace.strace015.run(strace015.java:109)
at nsk.stress.strace.strace015.main(strace015.java:95)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
# ERROR: ***>>>Test failed<<<***
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: wrong lengths of stack traces:
# ERROR: strace015Thread0: 203 strace015Thread89: 200
# ERROR: ***>>>Test failed<<<***
----------System.err:(0/0)----------
----------rerun:(39/6715)*----------
<snip>
result: Failed. Execution failed: Execution failed
vmTestbase/nsk/stress/strace/strace015.java
Here's a snippet from the log file:
#section:main
----------messages:(6/273)----------
command: main nsk.stress.strace.strace015
reason: User specified action: run main/othervm/native nsk.stress.strace.strace015
started: Tue Jan 17 04:23:37 UTC 2023
Mode: othervm [/othervm specified]
finished: Tue Jan 17 04:23:38 UTC 2023
elapsed time (seconds): 1.14
----------configuration:(0/0)----------
----------System.out:(235/8218)----------
#>
#> WARNING: switching log to verbose mode,
#> because error is complained
#>
starting threads...
strace015Thread4>waiting on a monitor
strace015Thread0>waiting on a monitor
strace015Thread1>waiting on a monitor
<snip>
strace015Thread60>waiting on a monitor
strace015Thread46>waiting on a monitor
strace015Thread47>waiting on a monitor
waiting for the defined recursion depth ...
strace015Thread96>waiting on a monitor
strace015Thread68>waiting on a monitor
strace015Thread92>waiting on a monitor
<snip>
strace015Thread82>waiting on a monitor
strace015Thread89>waiting on a monitor
strace015Thread95>waiting on a monitor
making all threads snapshots...
making snapshots of each thread...
notifying
checking lengths of stack traces...
strace015Thread4>notified
strace015Thread89>notified
strace015Thread82>notified
<snip>
strace015Thread5>notified
strace015Thread1>notified
strace015Thread0>notified
# ERROR: wrong lengths of stack traces:
# ERROR: strace015Thread0: 203 strace015Thread89: 200
The following stacktrace is for failure analysis.
nsk.share.TestFailure: wrong lengths of stack traces: strace015Thread0: 203 strace015Thread89: 200
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
at nsk.share.Log.complain(Log.java:403)
at nsk.stress.strace.strace015.complain(strace015.java:251)
at nsk.stress.strace.strace015.makeSnapshot(strace015.java:180)
at nsk.stress.strace.strace015.run(strace015.java:109)
at nsk.stress.strace.strace015.main(strace015.java:95)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
# ERROR: ***>>>Test failed<<<***
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: wrong lengths of stack traces:
# ERROR: strace015Thread0: 203 strace015Thread89: 200
# ERROR: ***>>>Test failed<<<***
----------System.err:(0/0)----------
----------rerun:(39/6715)*----------
<snip>
result: Failed. Execution failed: Execution failed
- relates to
-
JDK-8295099 vmTestbase/nsk/stress/strace/strace013.java failed with "TestFailure: wrong lengths of stack traces: strace013Thread0: NNN strace013Thread83: MMM"
-
- Resolved
-