-
Bug
-
Resolution: Fixed
-
P4
-
20
-
b24
-
x86_64
-
windows
The following test failed in the JDK20 CI:
vmTestbase/nsk/stress/strace/strace013.java
Here's a snippet from the log file:
#section:main
----------messages:(6/266)----------
command: main nsk.stress.strace.strace013
reason: User specified action: run main/othervm nsk.stress.strace.strace013
started: Sat Oct 01 05:15:30 UTC 2022
Mode: othervm [/othervm specified]
finished: Sat Oct 01 05:15:32 UTC 2022
elapsed time (seconds): 1.69
----------configuration:(0/0)----------
----------System.out:(236/8255)----------
#>
#> WARNING: switching log to verbose mode,
#> because error is complained
#>
starting threads...
<snip>
strace013Thread94>waiting on a monitor
strace013Thread84>waiting on a monitor
strace013Thread90>waiting on a monitor
making all threads snapshots...
making snapshots of each thread...
notifying
checking lengths of stack traces...
strace013Thread0>notified
strace013Thread83>notified
strace013Thread97>notified
# ERROR: wrong lengths of stack traces:
# ERROR: strace013Thread0: 204 strace013Thread83: 201
The following stacktrace is for failure analysis.
nsk.share.TestFailure: wrong lengths of stack traces: strace013Thread0: 204 strace013Thread83: 201
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
at nsk.share.Log.complain(Log.java:403)
at nsk.stress.strace.strace013.complain(strace013.java:247)
at nsk.stress.strace.strace013.makeSnapshot(strace013.java:176)
at nsk.stress.strace.strace013.run(strace013.java:105)
at nsk.stress.strace.strace013.main(strace013.java:91)
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:1588)
waiting for finish strace013Thread1
strace013Thread72>notified
strace013Thread95>notified
strace013Thread78>notified
strace013Thread96>notified
<snip>
strace013Thread7>notified
strace013Thread2>notified
strace013Thread1>notified
# ERROR: ***>>>Test failed<<<***
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: wrong lengths of stack traces:
# ERROR: strace013Thread0: 204 strace013Thread83: 201
# ERROR: ***>>>Test failed<<<***
----------System.err:(0/0)----------
----------rerun:(38/6212)*----------
vmTestbase/nsk/stress/strace/strace013.java
Here's a snippet from the log file:
#section:main
----------messages:(6/266)----------
command: main nsk.stress.strace.strace013
reason: User specified action: run main/othervm nsk.stress.strace.strace013
started: Sat Oct 01 05:15:30 UTC 2022
Mode: othervm [/othervm specified]
finished: Sat Oct 01 05:15:32 UTC 2022
elapsed time (seconds): 1.69
----------configuration:(0/0)----------
----------System.out:(236/8255)----------
#>
#> WARNING: switching log to verbose mode,
#> because error is complained
#>
starting threads...
<snip>
strace013Thread94>waiting on a monitor
strace013Thread84>waiting on a monitor
strace013Thread90>waiting on a monitor
making all threads snapshots...
making snapshots of each thread...
notifying
checking lengths of stack traces...
strace013Thread0>notified
strace013Thread83>notified
strace013Thread97>notified
# ERROR: wrong lengths of stack traces:
# ERROR: strace013Thread0: 204 strace013Thread83: 201
The following stacktrace is for failure analysis.
nsk.share.TestFailure: wrong lengths of stack traces: strace013Thread0: 204 strace013Thread83: 201
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
at nsk.share.Log.complain(Log.java:403)
at nsk.stress.strace.strace013.complain(strace013.java:247)
at nsk.stress.strace.strace013.makeSnapshot(strace013.java:176)
at nsk.stress.strace.strace013.run(strace013.java:105)
at nsk.stress.strace.strace013.main(strace013.java:91)
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:1588)
waiting for finish strace013Thread1
strace013Thread72>notified
strace013Thread95>notified
strace013Thread78>notified
strace013Thread96>notified
<snip>
strace013Thread7>notified
strace013Thread2>notified
strace013Thread1>notified
# ERROR: ***>>>Test failed<<<***
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: wrong lengths of stack traces:
# ERROR: strace013Thread0: 204 strace013Thread83: 201
# ERROR: ***>>>Test failed<<<***
----------System.err:(0/0)----------
----------rerun:(38/6212)*----------
- relates to
-
JDK-8300317 vmTestbase/nsk/stress/strace/strace* tests fail with "ERROR: wrong lengths of stack traces"
-
- Resolved
-