MacOS X 10.7 Lion & Ubuntu 12.04 - JTReg tests failing!
Hi, I ran JTReg tests on my Ubuntu 12.04 and MacOS X 10.7 Lion systems, via the *~/sources/jdk8_tl/test* folder after installing *jtreg* and setting up the environment with paths settings for jt_home and product_home. I got the below results, although the issues were similar in both environments there are differences between the two across more than one test component. For completeness sake I have combined the results of the two into one email and not omitted any common bits. *MacOS X 10.7 Lion (System config: Intel Dual Core 2 Duo 2.53Ghz, 2GB, 250GB)* * * *jck7compiler (logs: http://bit.ly/13NkHTG)* *Error: Unable to access jarfile /java/re/jck/7/promoted/latest/binaries/JCK-compiler-7/lib/jtjck.jar* *Missing file: /Users/openjdk/sources/jdk8_tl/jdk/test/../build/macosx-i586/testoutput/jck7compiler/JTreport/text/summary.txt * *EXIT CODE: 1* *make[2]: *** [_generic_jck_tests] Error 1* *make[1]: *** [jck7compiler] Error 2* *make: *** [jck7compiler] Error 2* *jck7devtools **(logs: http://bit.ly/Y4P4zI)* *Error: Unable to access jarfile /java/re/jck/7/promoted/latest/binaries/JCK-devtools-7/lib/jtjck.jar* *Missing file: /Users/**openjdk** /sources/jdk8_tl/jdk/test/../build/macosx-i586/testoutput/jck7devtools/JTreport/text/summary.txt * *EXIT CODE: 1* *make[2]: *** [_generic_jck_tests] Error 1* *make[1]: *** [jck7devtools] Error 2* *make: *** [jck7devtools] Error 2* *jck7runtime (logs: http://bit.ly/WAFCa5)* *Error: Unable to access jarfile /java/re/jck/7/promoted/latest/binaries/JCK-runtime-7/lib/jtjck.jar* *Missing file: /Users/**openjdk** /sources/jdk8_tl/jdk/test/../build/macosx-i586/testoutput/jck7runtime/JTreport/text/summary.txt * *EXIT CODE: 1* *make[2]: *** [_generic_jck_tests] Error 1* *make[1]: *** [jck7runtime] Error 2* *make: *** [jck7runtime] Error 2* * * (Do the above require additional configuration settings (missing environment variable) to be applied to make them run?) *jdk_awt* *(logs: http://bit.ly/10mkVfq)* (TEST STATS: name=jdk_awt run=354 pass=313 fail=41 excluded=0) *Failure reasons: Various RuntimeExceptions - these could differ from machine-to-machine, how to determine if they are not false negatives?* *jdk_beans1* *(logs: http://bit.ly/Y27Aqu)* (TEST STATS: name=jdk_beans1 run=72 pass=70 fail=2 excluded=0) *Failure reasons: **Tests failed due to AssertionError and <xxxx>Type errors!* *Same reason as under Ubuntu - ** test is expected to fail as per * http://download.java.net/jdk8/testresults/archives/b80/jdk-b80-summary.txt? * * *jdk_jfr (logs: **http://bit.ly/Y0lHQb)* *Directory "/Users/**openjdk**/sources/jdk8_tl/jdk/test/../build/macosx-i586/testoutput/jdk_jfr/JTreport" not found: creating* *Directory "/Users/**openjdk**/sources/jdk8_tl/jdk/test/../build/macosx-i586/testoutput/jdk_jfr/JTwork" not found: creating* *Directory "/Users/**openjdk**/sources/jdk8_tl/jdk/test/../build/macosx-i586/testoutput/jdk_jfr/JTwork/scratch" not found: creating* *Missing file: /Users/**openjdk** /sources/jdk8_tl/jdk/test/../build/macosx-i586/testoutput/jdk_jfr/JTreport/text/summary.txt * *EXIT CODE: 0* *EXIT CODE: 0* *Failure reasons: (make file issues?)* *jdk_lang* *(logs: http://bit.ly/Z97COE)* (TEST STATS: name=jdk_lang run=426 pass=415 fail=11 excluded=5) *Failure reasons: Tests failed without specifying any reason, ??? returned!* FAILED: java/lang/invoke/AccessControlTest.java FAILED: java/lang/invoke/BigArityTest.java FAILED: java/lang/invoke/ClassValueTest.java FAILED: java/lang/invoke/InvokeGenericTest.java FAILED: java/lang/invoke/JavaDocExamplesTest.java FAILED: java/lang/invoke/MethodHandlesTest.java FAILED: java/lang/invoke/MethodTypeTest.java FAILED: java/lang/invoke/PermuteArgsTest.java FAILED: java/lang/invoke/PrivateInvokeTest.java FAILED: java/lang/invoke/RicochetTest.java FAILED: java/lang/invoke/ThrowExceptionsTest.java * These above tests should have passed as per the test results archive! * *jdk_management* *(logs: http://bit.ly/Yjn6gQ)* (Test results: passed: 45; failed: 1) *Failure reasons: ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Committed virtual memory size illegal value: 3272564736 bytes (MIN = 1; MAX = 2415919104) - is that normal?* * * *This test shouldn't have failed as per the test results archive!* *jdk_other (logs: **http://bit.ly/WcLYdi)* (TEST STATS: name=jdk_other run=88 pass=87 fail=1 excluded=2) *Failure reasons: ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus==1) REASON: User specified action: run main TraceJFrame JFrameCreateTime - this test is expected to fail as per the test results archive! * * * *jdk_swing* *(logs: http://bit.ly/WcM5FX)* (TEST STATS: name=jdk_swing run=289 pass=251 fail=38 excluded=0) *Failure reasons: various errors and warnings* *Same situation here, as per the test results archive, none of these failed tests were run - so shouldn't it have done the same here or did I have to run it with a parameter. * * * *jdk_time* *(logs: http://bit.ly/10mmN7Z)* (TEST STATS: name=jdk_time run=120 pass=118 fail=2 excluded=0) *Failure reasons: parse error and runtime error* *java/time/tck/java/time/format/TCKDateTimeFormatters.java failure - should haven't failed as per the test results archive but I have heard of date/time and formatter tests to fail, whats the real reason here?* * * *langtools_jtreg* *(logs: http://bit.ly/VTLASj)* *Failure reasons: **(fails to run, make issue ?)* I have compared them with the reference at http://download.java.net/jdk8/testresults/testresults.html?q=download/jdk8/t..., which expect a number of tests to fail or not run. ----------------------------- *Ubuntu 12.04 (System config: Intel i586 2.53Ghz, 6GB, 500GB)* *jck7compiler* *Error: Unable to access jarfile /java/re/jck/7/promoted/latest/binaries/JCK-compiler-7/lib/jtjck.jar* *Missing file: /home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/testoutput/jck7compiler/JTreport/text/summary.txt * *EXIT CODE: 1* *make[2]: *** [_generic_jck_tests] Error 1* *make[2]: Leaving directory `/home/openjdk/sources/jdk8_tl/jdk/test'* *make[1]: *** [jck7compiler] Error 2* *make[1]: Leaving directory `/home/openjdk/sources/jdk8_tl/jdk/test'* *make: *** [jck7compiler] Error 2* *jck7devtools* *Error: Unable to access jarfile /java/re/jck/7/promoted/latest/binaries/JCK-devtools-7/lib/jtjck.jar* *Missing file: /home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/testoutput/jck7devtools/JTreport/text/summary.txt * *EXIT CODE: 1* *make[2]: *** [_generic_jck_tests] Error 1* *make[2]: Leaving directory `/home/openjdk/sources/jdk8_tl/jdk/test'* *make[1]: *** [jck7devtools] Error 2* *make[1]: Leaving directory `/home/openjdk/sources/jdk8_tl/jdk/test'* *make: *** [jck7devtools] Error 2* *jck7runtime* Error: Unable to access jarfile /java/re/jck/7/promoted/latest/binaries/JCK-runtime-7/lib/jtjck.jar Missing file: /home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/testoutput/jck7runtime/JTreport/text/summary.txt EXIT CODE: 1 make[2]: *** [_generic_jck_tests] Error 1 make[2]: Leaving directory `/home/openjdk/sources/jdk8_tl/jdk/test' make[1]: *** [jck7runtime] Error 2 make[1]: Leaving directory `/home/openjdk/sources/jdk8_tl/jdk/test' make: *** [jck7runtime] Error 2 (Do the above require additional configuration settings (missing environment variable) to be applied to make them run?) *jdk_awt **(logs: **http://bit.ly/15EDdf4* <http://bit.ly/15EDdf4>*)* *STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed* * * *TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed* *--------------------------------------------------* *Missing file: /home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/testoutput/jdk_awt/JTreport/text/summary.txt * *EXIT CODE: 143* *EXIT CODE: 143* *make[2]: *** [jtreg_tests] Error 143* *make[2]: Leaving directory `/home/openjdk/sources/jdk8_tl/jdk/test'* *make[1]: *** [jdk_awt] Error 2* *make[1]: Leaving directory `/home/openjdk/sources/jdk8_tl/jdk/test'* *make: *** [jdk_awt] Error 2* *Failure reasons: One RuntimeExceptions and test execution exits out?* *jdk_beans1 **(logs: **http://bit.ly/WB2BBR** )* (TEST STATS: name=jdk_beans1 run=72 pass=71 fail=1 excluded=0) *Failure reasons: **Tests failed due to <xxxx>Type errors! - is it correct this rest is expected to fail as per * http://download.java.net/jdk8/testresults/archives/b80/jdk-b80-summary.txt? *jdk_jfr **(logs: **http://bit.ly/12Dwmoe**)* *Directory "/home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/testoutput/jdk_jfr/JTreport" not found: creating* *Directory "/home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/testoutput/jdk_jfr/JTwork" not found: creating* *Directory "/home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/testoutput/jdk_jfr/JTwork/scratch" not found: creating* *Missing file: /home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/testoutput/jdk_jfr/JTreport/text/summary.txt * *EXIT CODE: 0* *EXIT CODE: 0* *make[2]: Leaving directory `/home/openjdk/sources/jdk8_tl/jdk/test'* *make[1]: Leaving directory `/home/openjdk/sources/jdk8_tl/jdk/test'* * * *Failure reasons: (make file issues?)* *jdk_jmx **(logs: **http://bit.ly/X9FgHZ**)* (TEST STATS: name=jdk_jmx run=218 pass=217 fail=1 excluded=0) *Failure reasons: **TEST FAILS: addresses differ - is this a system specific issue?* *jdk_lang **(logs: **http://bit.ly/Y0PIPJ**)* (TEST STATS: name=jdk_lang run=427 pass=415 fail=12 excluded=5) *Failure reasons: Tests failed without specifying any reason, ??? returned!* * * * FAILED: java/lang/invoke/AccessControlTest.java FAILED: java/lang/invoke/BigArityTest.java FAILED: java/lang/invoke/ClassValueTest.java FAILED: java/lang/invoke/InvokeGenericTest.java FAILED: java/lang/invoke/JavaDocExamplesTest.java FAILED: java/lang/invoke/MethodHandlesTest.java FAILED: java/lang/invoke/MethodTypeTest.java FAILED: java/lang/invoke/PermuteArgsTest.java FAILED: java/lang/invoke/PrivateInvokeTest.java FAILED: java/lang/invoke/RicochetTest.java FAILED: java/lang/invoke/ThrowExceptionsTest.java These should have passed as per the test results archive! * * * *jdk_nio **(logs: **http://bit.ly/13MkyPU**)* (TEST STATS: name=jdk_nio run=320 pass=317 fail=3 excluded=0) *Failure reasons: java.nio.channels.ClosedByInterruptException, java.lang.InterruptedException exceptions & java.net.SocketTimeoutException* *(these tests should have passed, can't find any failures in the test results archive - possible unpredictable and different on different machines?)* *jdk_security3 **(logs: **http://bit.ly/ZsdFQq**)* (TEST STATS: name=jdk_security3 run=530 pass=528 fail=2 excluded=5) *Failure reasons: RuntimeExceptions on both instances* *jdk_swing **(logs: **http://bit.ly/10vVnjT**)* (TEST STATS: name=jdk_swing run=289 pass=226 fail=63 excluded=0) *Failure reasons: Mostly RuntimeExceptions* *As per the test results archive, none of these failed tests were run - so shouldn't it have done the same here or did I have to run it with a parameter. * *jdk_time **(logs: **http://bit.ly/10vVrAj**)* (TEST STATS: name=jdk_time run=120 pass=119 fail=1 excluded=0) *Failure reasons: RuntimeException due to format errors (possible unpredictable and different on different machines)* *java/time/test/java/util/TestFormatter.java - this test has know to fail according to the test results archive.* * * *jdk_tools **(logs: **http://bit.ly/10vVsUP**)* (TEST STATS: name=jdk_tools run=113 pass=112 fail=1 excluded=5) *Failure reasons: ###TestError###: string <.*Client VM.*> not found <<=== VM not loading in client mode* FAILED: tools/launcher/ExecutionEnvironment.java - *passed according to the test archive.* *langtools_jtreg* *(logs: **http://bit.ly/Y0PXKK**)* *Failure reasons: **(fails to run, make issue ?)* * * I have compared them with the reference at http://download.java.net/jdk8/testresults/testresults.html?q=download/jdk8/t..., which expect a number of tests to fail or not run and made notes above. ----------------------------- There are more packages failing tests on Ubuntu than MacOS, more tests in total have failed and under each component. Should I report these to other report mailing lists as well? Rory, Balchandra - am I running these tests differently than you are since your test results (test results archive) differs from mine. I run the tests using the below syntax: *$ make TEST=<test component name> * Just to isolate the test failures I ran each test component rather than what people usually do jdk_default, jdk_core and jdk_all. Could you also make the make command failure error messages a bit more verbose and human-friendly so we can figure out whats to start looking at. If I have missed out on config I would love to know. Thanks. Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
On 16/03/2013 01:50, Mani Sarkar wrote:
Hi,
I ran JTReg tests on my Ubuntu 12.04 and MacOS X 10.7 Lion systems, via the /~/sources/jdk8_tl/test/ folder after installing *jtreg* and setting up the environment with paths settings for jt_home and product_home. I got the below results, although the issues were similar in both environments there are differences between the two across more than one test component.
For completeness sake I have combined the results of the two into one email and not omitted any common bits.
/:/ / / I have compared them with the reference at http://download.java.net/jdk8/testresults/testresults.html?q=download/jdk8/t..., which expect a number of tests to fail or not run and made notes above.
I looked at a few of your logs. If I understand correctly, you are trying to run the JCK. The "Gaining Access to the JCK" page [1] describes the process to obtain this. For the jdk tests then it looks like you are running into several issues. I don't have time to look at all your logs but just to mention a few things: For the jdk_jmx make target (JMX tests) then I assume the issue is that your host name is resolving to 127.0.1.1. This causes a number of test failures, include the issue you are seeing. Eric Wang contributed a fix to the tests for this, see 7183800 [1] so if you sync up your clone of jdk8/tl (I assume jdk_tl is a clone of this forest) then you will get it. For the jdk_security3 make target the SecMod failures may be NSS version related, see 8009438 [3]. For the jdk_tools target then I think tools/launcher/ExecutionEnvironment.java is failing for you because you have only built the client VM. The test checks both -client and -server when on 32-bit Linux. The jdk_jfr target runs tests for Java Flight Recorder that are not in OpenJDK. I don't know what to say about this, there are a few Oracle specific configuration bits in the make tree. Finally, you mention about comparing the results against those on java.net. One difference is that you are running the jdk_awt and jdk_swing test targets. If I understand the results on java.net correctly then the tests covered by those make file targets are not run (for reliability or test reasons perhaps). -Alan [1] http://openjdk.java.net/groups/conformance/JckAccess/index.html [2] http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ca9469a15792 [3] http://bugs.sun.com/view_bug.do?bug_id=8009438
Thanks Balachandra for your response., hope you had a good time away. I'll get back to the list with a feedback once I have applied everyone's suggestions so far. Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
Hi Balchandra, Thanks for all the helpful tips. I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable. The link you posted [1] - isn't working for me, is it an internal one? [1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html [2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D Cheers, mani On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
Oops, these tests are still failing despite copying junit.jar into the lib folder.
FAILED: java/lang/invoke/AccessControlTest.java FAILED: java/lang/invoke/BigArityTest.java FAILED: java/lang/invoke/ClassValueTest.java FAILED: java/lang/invoke/InvokeGenericTest.java FAILED: java/lang/invoke/JavaDocExamplesTest.java FAILED: java/lang/invoke/MethodHandlesTest.java FAILED: java/lang/invoke/MethodTypeTest.java FAILED: java/lang/invoke/PermuteArgsTest.java FAILED: java/lang/invoke/PrivateInvokeTest.java FAILED: java/lang/invoke/RicochetTest.java FAILED: java/lang/invoke/ThrowExceptionsTest.java
They are still not finding junit.jar despite being placed next to jtreg.jar as you can see: $ tree -P *.jar . ├── lib │ ├── javatest.jar │ ├── jh.jar │ ├── jtreg.jar │ ├── junit.jar │ └── testng.jar java/lang/invoke/AccessControlTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/BigArityTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/ClassValueTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/InvokeGenericTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/JavaDocExamplesTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/MethodHandlesTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/MethodTypeTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/PermuteArgsTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/PrivateInvokeTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/RicochetTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/ThrowExceptionsTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) vm/verifier/TestStaticIF.java Failed. Unexpected exit from test [exit code: 134] Cheers, mani On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html [2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
Someone should convert these JUnit tests to use TestNG. -- Jon On 03/20/2013 05:41 AM, Mani Sarkar wrote:
Oops, these tests are still failing despite copying junit.jar into the lib folder.
FAILED: java/lang/invoke/AccessControlTest.java FAILED: java/lang/invoke/BigArityTest.java FAILED: java/lang/invoke/ClassValueTest.java FAILED: java/lang/invoke/InvokeGenericTest.java FAILED: java/lang/invoke/JavaDocExamplesTest.java FAILED: java/lang/invoke/MethodHandlesTest.java FAILED: java/lang/invoke/MethodTypeTest.java FAILED: java/lang/invoke/PermuteArgsTest.java FAILED: java/lang/invoke/PrivateInvokeTest.java FAILED: java/lang/invoke/RicochetTest.java FAILED: java/lang/invoke/ThrowExceptionsTest.java
They are still not finding junit.jar despite being placed next to jtreg.jar as you can see:
$ tree -P *.jar . ├── lib │ ├── javatest.jar │ ├── jh.jar │ ├── jtreg.jar │ ├── junit.jar │ └── testng.jar
java/lang/invoke/AccessControlTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/BigArityTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/ClassValueTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/InvokeGenericTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/JavaDocExamplesTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/MethodHandlesTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/MethodTypeTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/PermuteArgsTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/PrivateInvokeTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/RicochetTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/ThrowExceptionsTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) vm/verifier/TestStaticIF.java Failed. Unexpected exit from test [exit code: 134]
Cheers, mani
On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html [2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
Good call Jon - I'll ask someone from Adopt if they can lend a hand here. Thanks, Ben On Wed, Mar 20, 2013 at 2:54 PM, Jonathan Gibbons <jonathan.gibbons@oracle.com> wrote:
Someone should convert these JUnit tests to use TestNG.
-- Jon
On 03/20/2013 05:41 AM, Mani Sarkar wrote:
Oops, these tests are still failing despite copying junit.jar into the lib folder.
FAILED: java/lang/invoke/AccessControlTest.java FAILED: java/lang/invoke/BigArityTest.java FAILED: java/lang/invoke/ClassValueTest.java FAILED: java/lang/invoke/InvokeGenericTest.java FAILED: java/lang/invoke/JavaDocExamplesTest.java FAILED: java/lang/invoke/MethodHandlesTest.java FAILED: java/lang/invoke/MethodTypeTest.java FAILED: java/lang/invoke/PermuteArgsTest.java FAILED: java/lang/invoke/PrivateInvokeTest.java FAILED: java/lang/invoke/RicochetTest.java FAILED: java/lang/invoke/ThrowExceptionsTest.java
They are still not finding junit.jar despite being placed next to jtreg.jar as you can see:
$ tree -P *.jar . ├── lib │ ├── javatest.jar │ ├── jh.jar │ ├── jtreg.jar │ ├── junit.jar │ └── testng.jar
java/lang/invoke/AccessControlTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/BigArityTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/ClassValueTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/InvokeGenericTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/JavaDocExamplesTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/MethodHandlesTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/MethodTypeTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/PermuteArgsTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/PrivateInvokeTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/RicochetTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/ThrowExceptionsTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) vm/verifier/TestStaticIF.java Failed. Unexpected exit from test [exit code: 134]
Cheers, mani
On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html [2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- Twitter: @theNeomatrix369 Blog: http://neomatrix369.wordpress.com JUG activity: LJC Advocate (@adoptopenjdk & @adoptajsr programs) Meet-a-Project: https://github.com/MutabilityDetector Come to Devoxx UK 2013: http://www.devoxx.com/display/UK13/Home Don't chase success, rather aim for "Excellence", and success will come chasing after you!
-- Twitter: @theNeomatrix369 Blog: http://neomatrix369.wordpress.com JUG activity: LJC Advocate (@adoptopenjdk & @adoptajsr programs) Meet-a-Project: https://github.com/MutabilityDetector Come to Devoxx UK 2013: http://www.devoxx.com/display/UK13/Home Don't chase success, rather aim for "Excellence", and success will come chasing after you!
-- Twitter: @theNeomatrix369 Blog: http://neomatrix369.wordpress.com JUG activity: LJC Advocate (@adoptopenjdk & @adoptajsr programs) Meet-a-Project: https://github.com/MutabilityDetector Come to Devoxx UK 2013: http://www.devoxx.com/display/UK13/Home Don't chase success, rather aim for "Excellence", and success will come chasing after you!
These tests use "@run junit". jtreg supports an equivalent "@run testng" so it should be relatively easy to convert them. -- Jon On 03/20/2013 08:03 AM, Ben Evans wrote:
Good call Jon - I'll ask someone from Adopt if they can lend a hand here.
Thanks,
Ben
On Wed, Mar 20, 2013 at 2:54 PM, Jonathan Gibbons <jonathan.gibbons@oracle.com> wrote:
Someone should convert these JUnit tests to use TestNG.
-- Jon
On 03/20/2013 05:41 AM, Mani Sarkar wrote:
Oops, these tests are still failing despite copying junit.jar into the lib folder.
FAILED: java/lang/invoke/AccessControlTest.java FAILED: java/lang/invoke/BigArityTest.java FAILED: java/lang/invoke/ClassValueTest.java FAILED: java/lang/invoke/InvokeGenericTest.java FAILED: java/lang/invoke/JavaDocExamplesTest.java FAILED: java/lang/invoke/MethodHandlesTest.java FAILED: java/lang/invoke/MethodTypeTest.java FAILED: java/lang/invoke/PermuteArgsTest.java FAILED: java/lang/invoke/PrivateInvokeTest.java FAILED: java/lang/invoke/RicochetTest.java FAILED: java/lang/invoke/ThrowExceptionsTest.java They are still not finding junit.jar despite being placed next to jtreg.jar as you can see:
$ tree -P *.jar . ├── lib │ ├── javatest.jar │ ├── jh.jar │ ├── jtreg.jar │ ├── junit.jar │ └── testng.jar
java/lang/invoke/AccessControlTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/BigArityTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/ClassValueTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/InvokeGenericTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/JavaDocExamplesTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/MethodHandlesTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/MethodTypeTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/PermuteArgsTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/PrivateInvokeTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/RicochetTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/ThrowExceptionsTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) vm/verifier/TestStaticIF.java Failed. Unexpected exit from test [exit code: 134]
Cheers, mani
On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html [2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- Twitter: @theNeomatrix369 Blog: http://neomatrix369.wordpress.com JUG activity: LJC Advocate (@adoptopenjdk & @adoptajsr programs) Meet-a-Project: https://github.com/MutabilityDetector Come to Devoxx UK 2013: http://www.devoxx.com/display/UK13/Home Don't chase success, rather aim for "Excellence", and success will come chasing after you!
-- Twitter: @theNeomatrix369 Blog: http://neomatrix369.wordpress.com JUG activity: LJC Advocate (@adoptopenjdk & @adoptajsr programs) Meet-a-Project: https://github.com/MutabilityDetector Come to Devoxx UK 2013: http://www.devoxx.com/display/UK13/Home Don't chase success, rather aim for "Excellence", and success will come chasing after you!
-- Twitter: @theNeomatrix369 Blog: http://neomatrix369.wordpress.com JUG activity: LJC Advocate (@adoptopenjdk & @adoptajsr programs) Meet-a-Project: https://github.com/MutabilityDetector Come to Devoxx UK 2013: http://www.devoxx.com/display/UK13/Home Don't chase success, rather aim for "Excellence", and success will come chasing after you!
Hi, Jonathan. 20.03.2013 18:54, Jonathan Gibbons wrote
Someone should convert these JUnit tests to use TestNG. Just to clarify. Are junit should not be used in regression tests of jdk and TestNG can be used?
-- Jon
On 03/20/2013 05:41 AM, Mani Sarkar wrote:
Oops, these tests are still failing despite copying junit.jar into the lib folder.
FAILED: java/lang/invoke/AccessControlTest.java FAILED: java/lang/invoke/BigArityTest.java FAILED: java/lang/invoke/ClassValueTest.java FAILED: java/lang/invoke/InvokeGenericTest.java FAILED: java/lang/invoke/JavaDocExamplesTest.java FAILED: java/lang/invoke/MethodHandlesTest.java FAILED: java/lang/invoke/MethodTypeTest.java FAILED: java/lang/invoke/PermuteArgsTest.java FAILED: java/lang/invoke/PrivateInvokeTest.java FAILED: java/lang/invoke/RicochetTest.java FAILED: java/lang/invoke/ThrowExceptionsTest.java
They are still not finding junit.jar despite being placed next to jtreg.jar as you can see:
$ tree -P *.jar . ├── lib │ ├── javatest.jar │ ├── jh.jar │ ├── jtreg.jar │ ├── junit.jar │ └── testng.jar
java/lang/invoke/AccessControlTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/BigArityTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/ClassValueTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/InvokeGenericTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/JavaDocExamplesTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/MethodHandlesTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/MethodTypeTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/PermuteArgsTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/PrivateInvokeTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/RicochetTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) java/lang/invoke/ThrowExceptionsTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: No JUnit 4 driver (install junit.jar next to jtreg.jar) vm/verifier/TestStaticIF.java Failed. Unexpected exit from test [exit code: 134]
Cheers, mani
On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html [2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- Best regards, Sergey.
Hi Mani, On 03/20/13 12:33 PM, Mani Sarkar wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well
Good to know that it worked well...
- see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html
Sorry about that. Please use http://download.java.net/jdk8/testresults/docs/howtoruntests.html Thanks Balchandra
[2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
The issue with building langtools_jtreg is now resolved, thanks to the needed environment variables, they are not part of our documentation. I can say we are narrowing down towards zero failures, thats not far from now - thanks to you guys! Cheers, mani On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html [2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
When you get to zero failures, please let us know -- we haven't been able to get to zero failures ourselves!! :-) s'marks On 3/20/13 6:38 PM, Mani Sarkar wrote:
The issue with building langtools_jtreg is now resolved, thanks to the needed environment variables, they are not part of our documentation.
I can say we are narrowing down towards zero failures, thats not far from now - thanks to you guys!
Cheers, mani
On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html [2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
Yeah that would be an ideal scenario! Mathematically put, limit of a function (test failures) tending to zero but never zero! Sometime to keep us busy all the time! ;) On Thu, Mar 21, 2013 at 1:47 AM, Stuart Marks <stuart.marks@oracle.com>wrote:
When you get to zero failures, please let us know -- we haven't been able to get to zero failures ourselves!!
:-)
s'marks
On 3/20/13 6:38 PM, Mani Sarkar wrote:
The issue with building langtools_jtreg is now resolved, thanks to the needed environment variables, they are not part of our documentation.
I can say we are narrowing down towards zero failures, thats not far from now - thanks to you guys!
Cheers, mani
On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/**web/openjdk/results-large/** docs/howtoruntests.html<http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html> [2] http://java.net/projects/**adoptopenjdk/pages/** EclipseProjectForJTReg%5D<http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D>
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.**com<http://neomatrix369.wordpress.com> *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/**MutabilityDetector<https://github.com/MutabilityDetector> *Come to Devoxx UK 2013:* http://www.devoxx.com/display/** UK13/Home <http://www.devoxx.com/display/UK13/Home> */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.**com<http://neomatrix369.wordpress.com> *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/**MutabilityDetector<https://github.com/MutabilityDetector> *Come to Devoxx UK 2013:* http://www.devoxx.com/display/**UK13/Home<http://www.devoxx.com/display/UK13/Home> */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.**com<http://neomatrix369.wordpress.com> *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/**MutabilityDetector<https://github.com/MutabilityDetector> *Come to Devoxx UK 2013:* http://www.devoxx.com/display/**UK13/Home<http://www.devoxx.com/display/UK13/Home> */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
At least it is generally easier to get an int-valued function to converge to zero. -- Jon On 03/20/2013 07:10 PM, Mani Sarkar wrote:
Yeah that would be an ideal scenario! Mathematically put, limit of a function (test failures) tending to zero but never zero!
Sometime to keep us busy all the time! ;)
On Thu, Mar 21, 2013 at 1:47 AM, Stuart Marks <stuart.marks@oracle.com <mailto:stuart.marks@oracle.com>> wrote:
When you get to zero failures, please let us know -- we haven't been able to get to zero failures ourselves!!
:-)
s'marks
On 3/20/13 6:38 PM, Mani Sarkar wrote:
The issue with building langtools_jtreg is now resolved, thanks to the needed environment variables, they are not part of our documentation.
I can say we are narrowing down towards zero failures, thats not far from now - thanks to you guys!
Cheers, mani
On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com> <mailto:sadhak001@gmail.com <mailto:sadhak001@gmail.com>>> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html [2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com> <mailto:sadhak001@gmail.com <mailto:sadhak001@gmail.com>>> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
I was facing test failures due to configurations - so they have come down to zero, but not for all test components, I have still to understand for the other test components why they are failing, there could be genuine reasons or config. I ran a clean test and found the numbers to come down, I'll do a clean test run on another machine and compare. Cheers, mani On Thu, Mar 21, 2013 at 2:10 AM, Mani Sarkar <sadhak001@gmail.com> wrote:
Yeah that would be an ideal scenario! Mathematically put, limit of a function (test failures) tending to zero but never zero!
Sometime to keep us busy all the time! ;)
On Thu, Mar 21, 2013 at 1:47 AM, Stuart Marks <stuart.marks@oracle.com>wrote:
When you get to zero failures, please let us know -- we haven't been able to get to zero failures ourselves!!
:-)
s'marks
On 3/20/13 6:38 PM, Mani Sarkar wrote:
The issue with building langtools_jtreg is now resolved, thanks to the needed environment variables, they are not part of our documentation.
I can say we are narrowing down towards zero failures, thats not far from now - thanks to you guys!
Cheers, mani
On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/**web/openjdk/results-large/** docs/howtoruntests.html<http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html> [2] http://java.net/projects/**adoptopenjdk/pages/** EclipseProjectForJTReg%5D<http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D>
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.**com<http://neomatrix369.wordpress.com> *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/**MutabilityDetector<https://github.com/MutabilityDetector> *Come to Devoxx UK 2013:* http://www.devoxx.com/display/** UK13/Home <http://www.devoxx.com/display/UK13/Home> */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.**com<http://neomatrix369.wordpress.com> *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/**MutabilityDetector<https://github.com/MutabilityDetector> *Come to Devoxx UK 2013:* http://www.devoxx.com/display/**UK13/Home<http://www.devoxx.com/display/UK13/Home> */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.**com<http://neomatrix369.wordpress.com> *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/**MutabilityDetector<https://github.com/MutabilityDetector> *Come to Devoxx UK 2013:* http://www.devoxx.com/display/**UK13/Home<http://www.devoxx.com/display/UK13/Home> */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home *Don't chase success, rather aim for "Excellence", and success will come chasing after you!*
Mani, Don't believe him. Stuart, This is langtools that Mani is working on ;-) -- Jon On 03/20/2013 06:47 PM, Stuart Marks wrote:
When you get to zero failures, please let us know -- we haven't been able to get to zero failures ourselves!!
:-)
s'marks
On 3/20/13 6:38 PM, Mani Sarkar wrote:
The issue with building langtools_jtreg is now resolved, thanks to the needed environment variables, they are not part of our documentation.
I can say we are narrowing down towards zero failures, thats not far from now - thanks to you guys!
Cheers, mani
On Wed, Mar 20, 2013 at 12:33 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Hi Balchandra,
Thanks for all the helpful tips.
I fixed Junit and reran the tests, also played around with the jtreg commands, and they worked as well - see wiki instructions [2] - any feedback is welcome. There are a couple of TODO items but other than that its pretty usable.
The link you posted [1] - isn't working for me, is it an internal one?
[1] http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html [2] http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D
Cheers, mani
On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <sadhak001@gmail.com <mailto:sadhak001@gmail.com>> wrote:
Thanks Balachandra for your response., hope you had a good time away.
I'll get back to the list with a feedback once I have applied everyone's suggestions so far.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
-- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
Hi, Just back from a vacation and saw this question. My comments are below for jtreg tests: On 03/16/13 01:50 AM, Mani Sarkar wrote:
Hi,
I ran JTReg tests on my Ubuntu 12.04 and MacOS X 10.7 Lion systems, via the /~/sources/jdk8_tl/test/ folder after installing *jtreg* and setting up the environment with paths settings for jt_home and product_home. I got the below results, although the issues were similar in both environments there are differences between the two across more than one test component.
*jdk_lang* *(logs: http://bit.ly/Z97COE)* (TEST STATS: name=jdk_lang run=426 pass=415 fail=11 excluded=5) /Failure reasons: Tests failed without specifying any reason, ??? returned!/ FAILED: java/lang/invoke/AccessControlTest.java FAILED: java/lang/invoke/BigArityTest.java FAILED: java/lang/invoke/ClassValueTest.java FAILED: java/lang/invoke/InvokeGenericTest.java FAILED: java/lang/invoke/JavaDocExamplesTest.java FAILED: java/lang/invoke/MethodHandlesTest.java FAILED: java/lang/invoke/MethodTypeTest.java FAILED: java/lang/invoke/PermuteArgsTest.java FAILED: java/lang/invoke/PrivateInvokeTest.java FAILED: java/lang/invoke/RicochetTest.java FAILED: java/lang/invoke/ThrowExceptionsTest.java
/ These above tests should have passed as per the test results archive! /
Above tests require JUnit. Copy junit.jar into jtreg/lib directory and then check again.
-----------------------------
There are more packages failing tests on Ubuntu than MacOS, more tests in total have failed and under each component. Should I report these to other report mailing lists as well?
Rory, Balchandra - am I running these tests differently than you are since your test results (test results archive) differs from mine.
I run the tests using the below syntax:
/$ make TEST=<test component name> /
Just to isolate the test failures I ran each test component rather than what people usually do jdk_default, jdk_core and jdk_all. Could you also make the make command failure error messages a bit more verbose and human-friendly so we can figure out whats to start looking at. If I have missed out on config I would love to know.
If you see any test failures with the make target, I suggest, run the failed tests (group of tests) using jtreg directly. This will isolate Makefile related issues. Here is the instruction about how I run the tests: http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html You can also run an individual test, for example: $ jtreg -verbose:fail java/lang/invoke/AccessControlTest.java You can run all tests under particular sub-directory, for example: $ jtreg -verbose:fail java/lang/invoke Thanks Balchandra
Thanks.
Cheers, mani -- *Twitter:* @theNeomatrix369 *Blog:* http://neomatrix369.wordpress.com *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs) *Meet-a-Project:* https://github.com/MutabilityDetector *Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home */Don't chase success, rather aim for "Excellence", and success will come chasing after you!/*
On 03/16/13 01:50 AM, Mani Sarkar wrote:
Hi, // / / *langtools_jtreg* *(logs: http://bit.ly/VTLASj)* /Failure reasons: //(fails to run, make issue ?)/
/**/ If you want to use make, try again after exporting following variables:
$ export JT_HOME=<location of jtreg> $ export PRODUCT_HOME=<location of test jdk> $ export JPRT_JTREG_HOME=${JT_HOME} $ export JPRT_JAVA_HOME=${PRODUCT_HOME} $ export JTREG_TIMEOUT_FACTOR=5 $ export CONCURRENCY=auto $ cd <top>/langtools/test $ make jtreg Thanks Balchandra
participants (7)
-
Alan Bateman
-
Balchandra Vaidya
-
Ben Evans
-
Jonathan Gibbons
-
Mani Sarkar
-
Sergey Bylokhov
-
Stuart Marks