openJDK8 jtreg test failure

Mike Duigou mike.duigou at oracle.com
Thu Feb 27 19:26:39 PST 2014


Hi Medi;

I appreciate your persistence and patience in resolving these issues.

On Feb 27 2014, at 16:13 , Medi Montaseri <medi.montaseri at hds.com> wrote:

> JT_HOME and JT_JAVA setting could be an action item for dev folks. I have an old jtreg that is probably picked up during probing. Although I do set it at configure time....but when it comes to running the test, it has forgotten about it. 

what does grep "^JT" build/linux-x86_64-normal-server-release/spec.gmk return?

 The value in the spec.gmk should be the *only* value that matters.


> I run the "make test TEST=xxx" from topdir. topdir is where I run "bash ./configure" . topdir is the top of the forest. perhaps this helps

OK, understood now.

> I think "make test TEST=jdk_all" is broken. I try to demonstrate that here 


> 
> mmontaseri at griffin:~/work/bug-91383/jdk8> env |grep JT
> JT_HOME=/opt/jtreg/jtreg-4.2
> JT_JAVA=/usr/lib/jvm/java-7-openjdk-amd64/bin/java
> mmontaseri at griffin:~/work/bug-91383/jdk8> pwd
> /home/mmontaseri/work/bug-91383/jdk8
> mmontaseri at griffin:~/work/bug-91383/jdk8> echo "I am about to run make test from topdir"
> I am about to run make test from topdir
> mmontaseri at griffin:~/work/bug-91383/jdk8> pwd
> /home/mmontaseri/work/bug-91383/jdk8
> mmontaseri at griffin:~/work/bug-91383/jdk8> make test TEST=jdk_all
> Building OpenJDK for target 'test' in configuration 'linux-x86_64-normal-server-release'
> 
> ## Starting langtools
> ## Finished langtools (build time 00:00:00)
> 
> ## Starting hotspot
> ## Finished hotspot (build time 00:00:00)
> 
> ## Starting corba
> ## Finished corba (build time 00:00:00)
> 
> ## Starting jaxp
> ## Finished jaxp (build time 00:00:01)
> 
> ## Starting jaxws
> ## Finished jaxws (build time 00:00:00)
> 
> ## Starting jdk
> ## Finished jdk (build time 00:00:01)
> 
> ## Starting demos
> ## Finished demos (build time 00:00:01)
> 
> ## Starting nashorn
> ## Finished nashorn (build time 00:00:00)
> 
> ## Starting images
> ## Finished images (build time 00:00:01)
> 
> ## Starting test
> /usr/bin/make -k -C  ../jdk/test  TEST=jdk_all jdk_all
> make[2]: 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 \
>                 /usr/bin/make -j 1 TEST_SELECTION=":$each" UNIQUE_DIR=$each jtreg_tests; \
>         done
> make[3]: Entering directory `/home/mmontaseri/work/bug-91383/jdk8/jdk/test'
> (                                                                    \
>           ( JT_HOME=/opt/jtreg/jtreg-4.2;                   \
>             export JT_HOME;                                                  \
>             /opt/jtreg/jtreg-4.2/win32/bin/jtreg                              \
>               -agentvm -a -ea -esa -v:fail,error,time -retain:fail,error -ignore:quiet -timeoutFactor:4 -J-Xmx512m -concurrency:7                                         \
>               -r:/home/mmontaseri/work/bug-91383/jdk8/build/linux-x86_64-normal-server-release/testoutput/jdk_all/JTreport  \
>               -w:/home/mmontaseri/work/bug-91383/jdk8/build/linux-x86_64-normal-server-release/testoutput/jdk_all/JTwork    \
>               -jdk:/home/mmontaseri/work/bug-91383/jdk8/build/linux-x86_64-normal-server-release/images/j2sdk-image                \
>               -exclude:ProblemList.txt                                            \
>                 -vmoption:-Xmx512m                                          \
>               :jdk_all                                                    \
>           ) ;                  

This looks correct except that there is not "jdk_all" test group in jdk/test/TEST.groups I think you want to use "jdk_core" instead. For additional tests you could try "jdk_stable" which includes some additional tets.

> 
> I am going to run them one by one for now. 

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20140227/c77d809e/attachment.html 


More information about the jtreg-use mailing list