Date: Sun, 12 Oct 2014 23:01:35 -0700 From: "K. Macy" <kmacy@freebsd.org> To: java@freebsd.org Subject: How to run openjdk8 regression tests was Re: failures in executing tests Message-ID: <CAHM0Q_M1vspwb38L8oNhUwNZomaTpneD%2BY7rMbfcwg0DBQMugA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
TEST requires jtreg which can be obtained from: https://adopt-openjdk.ci.cloudbees.com/job/jtreg/lastSuccessfulBuild/artifact/ and make requires JPRT_JTREG_HOME to be set to wherever jtreg gets put. e.g. root@serenity:/usr/ports/java/openjdk8/work/openjdk # gmake test JPRT_JTREG_HOME=~kmacy/jtreg I apologize in advance for not patching the port, but one of the java tests appears to cause a deadlock between kqueue and zfs that I need to track down. Thanks. -K On Sun, Oct 12, 2014 at 3:43 PM, K. Macy <kmacy@freebsd.org> wrote: > 'setenv EXTRACT_SUFX "true"' works past the previous problem. However, > that just gets us to: > > ## Starting test > gmake[3]: Entering directory > `/usr/ports/java/openjdk8/work/openjdk/test' > /usr/local/bin/gmake -k -C ../jdk/test TEST=jdk_core jdk_core > gmake[4]: Entering directory > `/usr/ports/java/openjdk8/work/openjdk/jdk/test' > echo "Running tests: jdk_core" > Running tests: jdk_core > for each in jdk_core; do \ > /usr/local/bin/gmake -j 1 TEST_SELECTION=":$each" > UNIQUE_DIR=$each jtreg_tests; \ > done > gmake[5]: Entering directory > `/usr/ports/java/openjdk8/work/openjdk/jdk/test' > gmake[5]: *** 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'. > gmake[5]: Target `jtreg_tests' not remade because of errors. > gmake[5]: Leaving directory > `/usr/ports/java/openjdk8/work/openjdk/jdk/test' > gmake[4]: *** [jdk_core] Error 2 > gmake[4]: Leaving directory > `/usr/ports/java/openjdk8/work/openjdk/jdk/test' > gmake[3]: *** [jdk_core] Error 2 > /usr/local/bin/gmake -k -C ../langtools/test > JT_JAVA=/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/images/j2sdk-image > JTREG_HOME= TEST=jtreg jtreg > gmake[4]: Entering directory > `/usr/ports/java/openjdk8/work/openjdk/langtools/test' > if [ -r > /usr/ports/java/openjdk8/work/openjdk/langtools/build/bsd-amd64/test/langtools/jtreg/status.txt > ]; then \ > echo ; echo "Summary of jtreg test failures" ; \ > cat > /usr/ports/java/openjdk8/work/openjdk/langtools/build/bsd-amd64/test/langtools/jtreg/JTreport/text/summary.txt > | \ > grep -v 'Not run' | grep -v 'Passed' ; \ > echo ; \ > exit `cat > /usr/ports/java/openjdk8/work/openjdk/langtools/build/bsd-amd64/test/langtools/jtreg/status.txt` > ; \ > fi > gmake[4]: *** No rule to make target `/linux/bin/jtreg', needed by > `check-jtreg'. > gmake[4]: Target `jtreg' not remade because of errors. > gmake[4]: Leaving directory > `/usr/ports/java/openjdk8/work/openjdk/langtools/test' > gmake[3]: *** [langtools_jtreg] Error 2 > gmake[3]: Target `default' not remade because of errors. > gmake[3]: Leaving directory > `/usr/ports/java/openjdk8/work/openjdk/test' > ## Finished test (build time 00:00:00) > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHM0Q_M1vspwb38L8oNhUwNZomaTpneD%2BY7rMbfcwg0DBQMugA>