regression test failures

Lance Andersen Lance.Andersen at oracle.com
Sat Jan 11 19:15:50 UTC 2014


I was able to get a bit further by changing the test command line to:

make PRODUCT_HOME=/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/build/macosx-x86_64-normal-server-release/images/j2sdk-image all

I got further but fail when running the regression tests

---------------------
new-host-4:test lance$ make PRODUCT_HOME=/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/build/macosx-x86_64-normal-server-release/images/j2sdk-image all
make -k -C  ../jdk/test  TEST=jdk_all jdk_all
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
(                                                                    \
	  ( JT_HOME=/Users/lance/Dropbox/LancePTR/jtreg/;                   \
            export JT_HOME;                                                  \
            /Users/lance/Dropbox/LancePTR/jtreg//win32/bin/jtreg                              \
              -agentvm -a -ea -esa -v:fail,error,time -retain:fail,error -ignore:quiet -timeoutFactor:4 -J-Xmx512m                                          \
              -r:/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTreport  \
              -w:/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTwork    \
              -jdk:/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/build/macosx-x86_64-normal-server-release/images/j2sdk-image                \
              -exclude:ProblemList.txt                                            \
                -vmoption:-Xmx512m                                          \
              :jdk_all                                                    \
	  ) ;                                                                \
	  ( jtregExitCode=$? && _summary="/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTreport/text/summary.txt"; rm -f -f /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/passlist.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; echo "${jtregExitCode}" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; if [ -r "${_summary}" ] ; then echo "Summary: jdk_all" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; expand ${_summary} | egrep -v ' Not run\.' > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt; egrep ' Passed\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt | egrep -v ' Error\.' | egrep -v ' Failed\.' > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/passlist.txt; ( egrep ' Failed\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt; egrep ' Error\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt; egrep -v ' Passed\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt ) | sort | uniq > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt; if [ ${jtregExitCode} != 0 -o -s /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt ] ; then expand /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt | cut -d' ' -f1 | sed -e 's@^@FAILED: @' >> /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; if [ ${jtregExitCode} = 0 ] ; then jtregExitCode=1; fi; fi; runc="`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt      | wc -l | awk '{print $1;}'`"; passc="`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/passlist.txt    | wc -l | awk '{print $1;}'`"; failc="`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt    | wc -l | awk '{print $1;}'`"; exclc="FIXME CODETOOLS-7900176"; echo "TEST STATS: name=jdk_all  run=${runc}  pass=${passc}  fail=${failc}" >> /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; else echo "Missing file: ${_summary}" >> /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; fi; if [ -f /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt ] ; then cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; fi; ( mkdir -p `dirname /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/ARCHIVE_BUNDLE.zip` && cd /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all && chmod -R a+r . && zip -q -r /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/ARCHIVE_BUNDLE.zip . ) ; if [ ! -s /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt ] ; then echo "ERROR: EXITCODE file not filled in."; echo "1" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; fi ; testExitCode=`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt`; echo "EXIT CODE: ${testExitCode}"; exit ${testExitCode} )                                              \
	) 2>&1 | tee /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/output.txt ; if [ ! -s /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt ] ; then echo "ERROR: EXITCODE file not filled in."; echo "1" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; fi ; testExitCode=`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt`; echo "EXIT CODE: ${testExitCode}"; exit ${testExitCode}
Directory "/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTwork" not found: creating
Directory "/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTreport" not found: creating
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group jdk_util_other: file not found: :jdk_collections
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group jdk_util_other: file not found: :jdk_concurrent
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group jdk_util_other: file not found: :jdk_stream
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group jre: file not found: :needs_jdk
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1_minimal: file not found: :needs_full_vm_compact1
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1_minimal: file not found: :needs_full_vm_compact2
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1_minimal: file not found: :needs_compact2
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1_minimal: file not found: :needs_compact3
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1_minimal: file not found: :needs_jre
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1_minimal: file not found: :needs_jdk
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1: file not found: :needs_compact2
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1: file not found: :needs_full_vm_compact2
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1: file not found: :needs_compact3
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1: file not found: :needs_jre
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact1: file not found: :needs_jdk
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact2: file not found: :needs_compact3
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact2: file not found: :needs_jre
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact2: file not found: :needs_jdk
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact3: file not found: :needs_jre
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact3: file not found: :needs_jdk
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group needs_jre: file not found: java/text/Bidi/Bug6665028.java
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact2_minimal: file not found: :needs_compact3
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact2_minimal: file not found: :needs_jre
/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/test/TEST.groups: group compact2_minimal: file not found: :needs_jdk
Error: No tests selected
Missing file: /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTreport/text/summary.txt
EXIT CODE: 1
-------------------

is there another setting I need?

Best
Lance
> 
> 
> When I tried to run the tests, I received the following error from jtreg:
> 
> 
> --------------------------------------------------
> new-host-4:test lance$ make PRODUCT_HOME=`pwd`/../build/*/images/j2sdk-image all
> make -k -C  ../jdk/test  TEST=jdk_all jdk_all
> 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
> (                                                                    \
> 	  ( JT_HOME=/Users/lance/Dropbox/LancePTR/jtreg/;                   \
>             export JT_HOME;                                                  \
>             /Users/lance/Dropbox/LancePTR/jtreg//win32/bin/jtreg                              \
>               -agentvm -a -ea -esa -v:fail,error,time -retain:fail,error -ignore:quiet -timeoutFactor:4 -J-Xmx512m                                          \
>               -r:/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTreport  \
>               -w:/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTwork    \
>               -jdk:/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/test/../build/*/images/j2sdk-image                \
>               -exclude:ProblemList.txt                                            \
>                 -vmoption:-Xmx512m                                          \
>               :jdk_all                                                    \
> 	  ) ;                                                                \
> 	  ( jtregExitCode=$? && _summary="/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTreport/text/summary.txt"; rm -f -f /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/passlist.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; echo "${jtregExitCode}" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; if [ -r "${_summary}" ] ; then echo "Summary: jdk_all" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; expand ${_summary} | egrep -v ' Not run\.' > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt; egrep ' Passed\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt | egrep -v ' Error\.' | egrep -v ' Failed\.' > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/passlist.txt; ( egrep ' Failed\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt; egrep ' Error\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt; egrep -v ' Passed\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt ) | sort | uniq > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt; if [ ${jtregExitCode} != 0 -o -s /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt ] ; then expand /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt | cut -d' ' -f1 | sed -e 's@^@FAILED: @' >> /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; if [ ${jtregExitCode} = 0 ] ; then jtregExitCode=1; fi; fi; runc="`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt      | wc -l | awk '{print $1;}'`"; passc="`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/passlist.txt    | wc -l | awk '{print $1;}'`"; failc="`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt    | wc -l | awk '{print $1;}'`"; exclc="FIXME CODETOOLS-7900176"; echo "TEST STATS: name=jdk_all  run=${runc}  pass=${passc}  fail=${failc}" >> /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; else echo "Missing file: ${_summary}" >> /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; fi; if [ -f /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt ] ; then cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; fi; ( mkdir -p `dirname /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/ARCHIVE_BUNDLE.zip` && cd /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all && chmod -R a+r . && zip -q -r /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/ARCHIVE_BUNDLE.zip . ) ; if [ ! -s /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt ] ; then echo "ERROR: EXITCODE file not filled in."; echo "1" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; fi ; testExitCode=`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt`; echo "EXIT CODE: ${testExitCode}"; exit ${testExitCode} )                                              \
> 	) 2>&1 | tee /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/output.txt ; if [ ! -s /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt ] ; then echo "ERROR: EXITCODE file not filled in."; echo "1" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; fi ; testExitCode=`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt`; echo "EXIT CODE: ${testExitCode}"; exit ${testExitCode}
> Cannot determine version of java to run jtreg
> Missing file: /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTreport/text/summary.txt
> EXIT CODE: 1
> EXIT CODE: 1
> make[2]: *** [jtreg_tests] Error 1
> make[1]: *** [jdk_all] Error 2
> make: *** [jdk_all] Error 2
> 
> -------------------------




Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com







More information about the build-dev mailing list