openJDK8 jtreg test failure
Medi Montaseri
medi.montaseri at hds.com
Tue Feb 25 11:20:17 PST 2014
thanks Mike,
I am not finding any 4.1b8 version at https://adopt-openjdk.ci.cloudbees.com/job/jtreg/
I downloaded build #55 ( 1 day 16 hours ago ) and it is version 4.0 dev b00
mmontaseri at griffin:~/tmp/downloads/jtreg/linux/bin> ls
jtdiff* jtreg*
mmontaseri at griffin:~/tmp/downloads/jtreg/linux/bin> echo $JT_HOME # nothing set here
mmontaseri at griffin:~/tmp/downloads/jtreg/linux/bin> echo $JAVA_HOME # nothing set
mmontaseri at griffin:~/tmp/downloads/jtreg/linux/bin> javac -version
javac 1.6.0_26
mmontaseri at griffin:~/tmp/downloads/jtreg/linux/bin> ./jtreg -version
jtreg, version 4.0 dev b00
Installed in /home/mmontaseri/tmp/downloads/jtreg/lib/jtreg.jar
Running on platform version 1.6.0_26 from /usr/lib/jvm/java-6-sun-1.6.0.26/jre.
Built with 1.7.0_25 on 02/23/2014 09:12 PM.
Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.
TestNG: version 6.8-201210030754
________________________________
From: Mike Duigou [mike.duigou at oracle.com]
Sent: Monday, February 24, 2014 10:10 PM
To: Medi Montaseri
Cc: jtreg-use at openjdk.java.net
Subject: Re: openJDK8 jtreg test failure
Hi Medi;
You will need to upgrade to a newer version of JTReg. The current version is 4.1b8. I put in a request to the debian maintainers several months ago. The 4.1b2 version is several years old. You can get current builds of JTReg produced by the AdoptOpenJDK group here:
https://adopt-openjdk.ci.cloudbees.com/job/jtreg/
When you have installed jtreg into a local directory you provide that location as a parameter to --with-jtreg ie. --with-jtreg=/path/to/jtreg.
HTH,
Mike
On Feb 24 2014, at 19:21 , Medi Montaseri <medi.montaseri at hds.com<mailto:medi.montaseri at hds.com>> wrote:
Hi,
I have successfully build openJDK8 on Debian 7.3 but failing on "regression test" as follows
- I am getting the src via 'hg from clone http://hg.openjdk.java.net/jdk8/jdk8"
- Before I run "bash configure" I export PATH=/usr/lib/jvm/java-7-openjdk-amd64/bin:$PATH
- I confirm that my 1.7 javac is the first to be found
- I confirm to have jtreg
ii jtreg 4.1-2 all Regression Test Harness for the OpenJDK platform
- no JT_HOME, no JAVA_HOME is set. They are null
- After running "bash configure --with-jtreg --prefix=/some/dir"
I see the following in my build/linux-x86_64-normal-server-release/config.log
config.log:configure:16652: checking for jtreg
config.log:configure:16670: found /usr/bin/jtreg
Anyways...the make continues and finishes with some happy messages...
----- Build times -------
Start 2014-02-24 19:12:15
End 2014-02-24 19:12:20
00:00:00 corba
00:00:00 demos
00:00:01 hotspot
00:00:02 images
00:00:00 install
00:00:00 jaxp
00:00:00 jaxws
00:00:02 jdk
00:00:00 langtools
00:00:00 nashorn
00:00:05 TOTAL
-------------------------
Finished building OpenJDK for target 'install'
then I try to run the suggested regression test and it fails....
cd test && make PRODUCT_HOME=`pwd`/../build/*/images/j2sdk-image all
make -k -C ../jdk/test TEST=jdk_all jdk_all
make[1]: Entering directory `/home/mmontaseri/work/bug-91383/jdk8/jdk/test'
echo "Running tests: jdk_all"
Running tests: jdk_all
for each in jdk_all; do \
make -j 1 TEST_SELECTION=":$each" UNIQUE_DIR=$each jtreg_tests; \
done
make[2]: Entering directory `/home/mmontaseri/work/bug-91383/jdk8/jdk/test'
make[2]: *** No rule to make target `/java/re/jtreg/4.1/promoted/latest/binaries/jtreg', needed by `/java/re/jtreg/4.1/promoted/latest/binaries/jtreg/win32/bin/jtreg'.
make[2]: Target `jtreg_tests' not remade because of errors.
make[2]: Leaving directory `/home/mmontaseri/work/bug-91383/jdk8/jdk/test'
make[1]: *** [jdk_all] Error 2
make[1]: Leaving directory `/home/mmontaseri/work/bug-91383/jdk8/jdk/test'
make: *** [jdk_all] Error 2
I googled around, there are some other hits on this, but I could not find any resolution. Any clue is appreciated.
Thanks
Medi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20140225/9c9e2671/attachment-0001.html
More information about the jtreg-use
mailing list