-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
20
-
x86_64
-
linux
The following test failured in the JDK20 CI:
tools/javac/T8181464/LambdaInAnnotationsCausesNPETest3.java
Here's a snippet from the log file:
#section:compile
----------messages:(9/812)----------
command: compile -XDrawDiagnostics -processor AnnoProcessor -proc:only /opt/mach5/mesos/work_dir/jib-master/install/jdk-20+28-2222/src.full/open/test/langtools/tools/javac/T8181464/LambdaInAnnotationsCausesNPETest3.java
reason: User specified action: run compile/fail/ref=LambdaInAnnotationsCausesNPETest3.out -XDrawDiagnostics -processor AnnoProcessor -proc:only LambdaInAnnotationsCausesNPETest3.java
started: Mon Dec 12 16:16:56 UTC 2022
Additional options from @modules: --add-modules java.compiler,jdk.compiler
Additional options from @modules: --add-modules java.compiler,jdk.compiler
Mode: othervm [additional runtime exports needed for annotation processing]
Additional options from @modules: --add-modules java.compiler,jdk.compiler
finished: Mon Dec 12 16:16:57 UTC 2022
elapsed time (seconds): 0.715
----------configuration:(9/762)----------
Boot Layer (javac runtime environment)
add modules: java.compiler jdk.compiler
javac compilation environment
add modules: java.compiler jdk.compiler
source path: /opt/mach5/mesos/work_dir/jib-master/install/jdk-20+28-2222/src.full/open/test/langtools/tools/javac/T8181464
class path: /opt/mach5/mesos/work_dir/jib-master/install/jdk-20+28-2222/src.full/open/test/langtools/tools/javac/T8181464
/opt/mach5/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S17382/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4fb4508-047b-4b05-bc1b-a74e735ca7bd/runs/f19cbe6a-2bb2-4fad-a53b-b9f0b9f7e8fe/testoutput/test-support/jtreg_open_test_langtools_tier1/classes/0/tools/javac/T8181464/LambdaInAnnotationsCausesNPETest3.d
----------rerun:(36/5213)*----------
<snip>
----------System.out:(1/134)----------
[0.002s][warning][perf,memops] Cannot use file /tmp/hsperfdata_mach5-one/2375028 because it is locked by another process (errno = 11)
----------System.err:(2/112)----------
LambdaInAnnotationsCausesNPETest3.java:10:51: compiler.err.expression.not.allowable.as.annotation.value
1 error
result: Failed. Output does not match reference file: LambdaInAnnotationsCausesNPETest3.out, line 1
test result: Failed. Output does not match reference file: LambdaInAnnotationsCausesNPETest3.out, line 1
Please note that this failure happened in the compile phase, but
that makes sense since this is a 'java' test. Starting this bug as
a P2 since this is a Tier1 test failure.
tools/javac/T8181464/LambdaInAnnotationsCausesNPETest3.java
Here's a snippet from the log file:
#section:compile
----------messages:(9/812)----------
command: compile -XDrawDiagnostics -processor AnnoProcessor -proc:only /opt/mach5/mesos/work_dir/jib-master/install/jdk-20+28-2222/src.full/open/test/langtools/tools/javac/T8181464/LambdaInAnnotationsCausesNPETest3.java
reason: User specified action: run compile/fail/ref=LambdaInAnnotationsCausesNPETest3.out -XDrawDiagnostics -processor AnnoProcessor -proc:only LambdaInAnnotationsCausesNPETest3.java
started: Mon Dec 12 16:16:56 UTC 2022
Additional options from @modules: --add-modules java.compiler,jdk.compiler
Additional options from @modules: --add-modules java.compiler,jdk.compiler
Mode: othervm [additional runtime exports needed for annotation processing]
Additional options from @modules: --add-modules java.compiler,jdk.compiler
finished: Mon Dec 12 16:16:57 UTC 2022
elapsed time (seconds): 0.715
----------configuration:(9/762)----------
Boot Layer (javac runtime environment)
add modules: java.compiler jdk.compiler
javac compilation environment
add modules: java.compiler jdk.compiler
source path: /opt/mach5/mesos/work_dir/jib-master/install/jdk-20+28-2222/src.full/open/test/langtools/tools/javac/T8181464
class path: /opt/mach5/mesos/work_dir/jib-master/install/jdk-20+28-2222/src.full/open/test/langtools/tools/javac/T8181464
/opt/mach5/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S17382/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4fb4508-047b-4b05-bc1b-a74e735ca7bd/runs/f19cbe6a-2bb2-4fad-a53b-b9f0b9f7e8fe/testoutput/test-support/jtreg_open_test_langtools_tier1/classes/0/tools/javac/T8181464/LambdaInAnnotationsCausesNPETest3.d
----------rerun:(36/5213)*----------
<snip>
----------System.out:(1/134)----------
[0.002s][warning][perf,memops] Cannot use file /tmp/hsperfdata_mach5-one/2375028 because it is locked by another process (errno = 11)
----------System.err:(2/112)----------
LambdaInAnnotationsCausesNPETest3.java:10:51: compiler.err.expression.not.allowable.as.annotation.value
1 error
result: Failed. Output does not match reference file: LambdaInAnnotationsCausesNPETest3.out, line 1
test result: Failed. Output does not match reference file: LambdaInAnnotationsCausesNPETest3.out, line 1
Please note that this failure happened in the compile phase, but
that makes sense since this is a 'java' test. Starting this bug as
a P2 since this is a Tier1 test failure.