testing a openjdk8u212-b03 on Solaris SPARC 10
Matthias Apitz
guru at unixarea.de
Fri May 24 09:55:09 UTC 2019
After the hints from David (thanks!) we restarted the building of openjdk8u212-b03 the
correct way with
Get the latest required software:
1. latest OpenJDK release source (aktually openjdk8u212-b03.tar.gz)
2. Solaris' Studio version 12.3 (note 12.6 will not work)
3. the JT regression test tool jtreg-4.2-b14.tar.gz
$ uname -a
SunOS srap06dsR1 5.10 Generic_150400-35 sun4u sparc SUNW,SPARC-Enterprise
$ cd jdk8u212-b03
$ LDFLAGS='-L/usr/sfw/lib/sparcv9' \
FREETYPE_LIBS='-L/usr/sfw/lib/sparcv9' \
bash ./configure --prefix=/usr/local/sisis-pap/openjdk8 \
--with-cups-include=/export/home/guru/v50/CUPS2/cups-2.0.3
$ /usr/sfw/bin/gmake all
I tried to use the JT regression test tool jtreg-4.2-b14.tar.gz the
following way (as explained in its docs:
http://openjdk.java.net/jtreg/runtests.html
$ export JT_HOME=/export/home/sisis/guru/jtreg
$ export JT_JAVA=/usr/local/sisis-pap/jdk1.8.0_31/bin/java
$ export PRODUCT_HOME=/export/home/sisis/guru/jdk8u212-b03/build/solaris-sparcv9-normal-server-release/images/j2sdk-image
(btw: The script has a bug: the shebang must be modified to '/usr/bin/bash')
$ cd test
$ nohup /usr/sfw/bin/gmake all
But nearly all tests are failing:
TEST RESULT: Error. Agent error: java.lang.Exception: Agent 0 timed out with a timeout of 10 seconds; check console log for any additional details
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: 5 errors occurred.
TEST RESULT: Error. Program `/export/home/sisis/guru/jdk8u212-b03/build/solaris-sparcv9-normal-server-release/images/j2sdk-image/bin/java' timed out (timeout set to 120000ms, elapsed time including timeout handling was 123313ms).
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Compiler exit result should be 3
TEST RESULT: Error. Program `/export/home/sisis/guru/jdk8u212-b03/build/solaris-sparcv9-normal-server-release/images/j2sdk-image/bin/java' timed out (timeout set to 600000ms, elapsed time including timeout handling was 603259ms).
TEST RESULT: Error. Program `/export/home/sisis/guru/jdk8u212-b03/build/solaris-sparcv9-normal-server-release/images/j2sdk-image/bin/java' timed out (timeout set to 120000ms, elapsed time including timeout handling was 122450ms).
...
What are the time outs? What do I wrong?
The full nuhup.out log is here:
http://www.unixarea.de/openjdk-test-nohup.txt
The built JDK itself works fine with our software.
Any ideas why the test suite is failing?
Thanks
matthias
--
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
More information about the build-dev
mailing list