JDK-6835233 : Fedora 9 jdk regression test failed: java/lang/instrument/ParallelTransformerLoader.sh
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.instrument
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-04-28
  • Updated: 2014-03-11
  • Resolved: 2014-02-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b04Fixed
Related Reports
Relates :  
Relates :  
Description
TESTFAIL:java/lang/instrument/ParallelTransformerLoader.sh
The jdk regression test java/lang/instrument/ParallelTransformerLoader.sh seems to fail with Fedora 9 JPRT systems.

Unsure of the frequency or repeatibility of this.

--------------------------------------------------
TEST: java/lang/instrument/ParallelTransformerLoader.sh
JDK under test: (/tmp/jprt/P1/T/191657.ohair/testproduct/linux_i586_2.6-product)
openjdk version "1.7.0-2009-04-28-191657.ohair.jdk"
OpenJDK Runtime Environment (build 1.7.0-2009-04-28-191657.ohair.jdk-jprtadm_2009_04_28_12_23-b00)
Java HotSpot(TM) Server VM (build 16.0-b01, mixed mode)
Timeout signalled after 240 seconds

ACTION: shell -- Passed. Execution successful
REASON: User specified action: run shell MakeJAR3.sh ParallelTransformerLoaderAgent 
TIME:   0.778 seconds
messages:
command: shell MakeJAR3.sh [ParallelTransformerLoaderAgent]
reason: User specified action: run shell MakeJAR3.sh ParallelTransformerLoaderAgent 
elapsed time (seconds): 0.778
STDOUT:
TESTSRC=/tmp/jprt/P1/T/191657.ohair/source/test/java/lang/instrument
TESTJAVA=/tmp/jprt/P1/T/191657.ohair/testproduct/linux_i586_2.6-product
added manifest
adding: ParallelTransformerLoaderAgent$1.class(in = 241) (out= 164)(deflated 31%)
adding: ParallelTransformerLoaderAgent$TestTransformer.class(in = 2578) (out= 1240)(deflated 51%)
adding: ParallelTransformerLoaderAgent.class(in = 1909) (out= 952)(deflated 50%)
STDERR:
Note: ParallelTransformerLoaderAgent.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

ACTION: build -- Passed. Build successful
REASON: User specified action: run build ParallelTransformerLoaderApp 
TIME:   0.703 seconds
messages:
command: build ParallelTransformerLoaderApp
reason: User specified action: run build ParallelTransformerLoaderApp 
elapsed time (seconds): 0.703

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   0.702 seconds
messages:
command: compile /tmp/jprt/P1/T/191657.ohair/source/test/java/lang/instrument/ParallelTransformerLoaderApp.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.702
STDOUT:
STDERR:
Note: ParallelTransformerLoaderAgent.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

ACTION: shell -- Error. Execution failed
REASON: User specified action: run shell/timeout=240 ParallelTransformerLoader.sh 
TIME:   240.004 seconds
messages:
command: shell ParallelTransformerLoader.sh []
reason: User specified action: run shell/timeout=240 ParallelTransformerLoader.sh 
elapsed time (seconds): 240.004
STDOUT:
added manifest
adding: TestClass1.class(in = 198) (out= 163)(deflated 17%)
adding: TestClass2.class(in = 198) (out= 163)(deflated 17%)
adding: TestClass3.class(in = 198) (out= 163)(deflated 17%)
Using jar file: file:/tmp/jprt/P1/T/191657.ohair/source/build/linux-i686/testoutput/JTwork/scratch/Test.jar

Starting test with 1000 iterations......................................Thread 'Reference Handler' has called transform()
STDERR:

TEST RESULT: Error. Execution failed
--------------------------------------------------

Comments
Update: Test still fails with 7 (7u60b07 after 62 iterations). Also still unable to reproduce with 8b129 or 9b02 (1000 iterations).
26-02-2014

I can reproduce this timeout on my linux machine with 6u3 (every run) and have seen it with 7u45 (after 145 iterations). I've been unable to reproduce the timeout on jdk8b115 (1000 iterations).
22-11-2013

As described in JDK-7071060, JDK-5088398 added this test case, which should no longer deadlock following JDK-4997893. The test timing out could indicate a deadlock, or some other problem.
19-11-2013