From enevill at arm.com Wed Sep 16 05:56:52 2009 From: enevill at arm.com (Edward Nevill) Date: Wed, 16 Sep 2009 13:56:52 +0100 Subject: Help! Running JCK, Harness and Agent modes Message-ID: <001c01ca36cd$29b258b0$7d170a10$@com> Hi all, Hope this is the right group and hope you can help. I am trying to run the JCK on the ARM Zero port of OpenJDK. Because of the tight memory constraints and the speed of the ARM board I am using for this I am trying to run the test harness on an X86 box and the test agent on the ARM board. I can successfully run the sample tests when I do not use a separate harness and agent. The problem is that all the tests fail with exit code 2. In the -trace output from the agent I see that it is correctly getting exit code 0. IE the log says RETURN Passed. Exit code 0 SEND STATUS But in the test harness it says Unexpected exit code: exit code 2. I have tried swapping the 2 around, ie running the harness on the ARM board and the agent on the X86 and this works successfully. Here is the command I am using to start the agent. /java/enevill/hg/b16_karmic_gcc4.4_jtreg/j2sdk-image/bin/java -cp 6b/sampleJCK-compiler-6b/lib/javatest.jar com.sun.javatest.AgentFrame -passive -trace -start Attached is the output of the trace and the configuration file (.jti). Thx in advance for your help, Ed. Note: X-Posted to zero-dev at openjdk.java.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/conformance-discuss/attachments/20090916/9cecdf74/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: jck_log Type: application/octet-stream Size: 6303 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/conformance-discuss/attachments/20090916/9cecdf74/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: sample.jti Type: application/octet-stream Size: 3661 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/conformance-discuss/attachments/20090916/9cecdf74/attachment-0001.obj