Build failed in Jenkins: POI-DSL-OpenJDK #295

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: POI-DSL-OpenJDK #295

Apache Jenkins Server
See <https://builds.apache.org/job/POI-DSL-OpenJDK/295/display/redirect?page=changes>

Changes:

[onealj] replace "".equals(string) with string.isEmpty() to avoid null strings silently evaluating to false; most code should probably check string for null  if it is not already

[onealj] prefer literal.equals(variable) over variable.equals(literal)

[onealj] convert "".equals(string) to string.isEmpty()

[onealj] simplfy PackagingURIHelper#combine boolean logic using xor and replacing +FORWARD_SLASH_CHAR with FORWARD_SLASH_STRING

[onealj] fix typo

[onealj] string.equals("") -> string.isEmpty() or "".equals(string)

[onealj] for -> foreach
string.equals() -> string.isEmpty() or .equals(string)
ArrayList -> List

------------------------------------------
[...truncated 356.98 KB...]
AU        src/documentation/resources/images/POIFSWriteArchive.gif
AU        src/documentation/resources/images/logoRandyStanard04.png
AU        src/documentation/resources/images/logoRandyStanard05.png
AU        src/documentation/resources/images/logoRandyStanard06.png
AU        src/documentation/resources/images/POIFSWriteFilesystem.gif
AU        src/documentation/resources/images/logoRandyStanard07.png
AU        src/documentation/resources/images/logoRandyStanard08.png
AU        src/documentation/resources/images/built-with-forrest-button.png
AU        src/documentation/resources/images/timesheet.jpg
AU        src/documentation/resources/images/poi-logo.png
AU        src/documentation/resources/images/group-logo.jpg
AU        src/documentation/resources/images/unknown.jpg
AU        src/documentation/resources/images/logoKarmokar1s.png
AU        src/documentation/resources/images/POIFSRootPropertyPreWrite.gif
AU        src/documentation/resources/images/logoWendyWise.png
AU        src/documentation/resources/images/POIFSPropertyTablePreWrite.gif
AU        src/documentation/resources/images/logoKarmokar5s.png
AU        src/documentation/resources/images/project-logo.jpg
AU        src/documentation/resources/images/ss-features.png
AU        src/documentation/resources/images/businessplan.jpg
AU        src/documentation/resources/images/logoJanssen1.png
AU        src/documentation/resources/images/logoJanssen2.png
AU        src/documentation/resources/images/calendar.jpg
AU        src/documentation/resources/images/loancalc.jpg
AU        src/documentation/resources/images/logoLoicLefevre.png
AU        src/documentation/resources/images/usermodel.gif
AU        src/documentation/resources/images/simple-xls-with-function.jpg
AU        src/documentation/resources/images/asf_logo.png
AU        src/documentation/resources/images/logoRaPiGmbH1.png
AU        src/documentation/README.txt
At revision 1812509

At revision 1812509

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
[POI-DSL-OpenJDK] $ /bin/bash -xe /tmp/jenkins8840676100377047036.sh
+ svn status
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /usr/lib/jvm/java-8-openjdk-amd64/
Java-Home: /usr/lib/jvm/java-8-openjdk-amd64/
+ ls -al /usr/lib/jvm/java-8-openjdk-amd64//
total 20
drwxr-xr-x 5 root root 4096 Jul  6 02:59 .
drwxr-xr-x 4 root root 4096 Aug 10 12:14 ..
drwxr-xr-x 2 root root 4096 Aug  1 08:08 bin
lrwxrwxrwx 1 root root   41 May  6 03:55 docs -> ../../../share/doc/openjdk-8-jre-headless
drwxr-xr-x 5 root root 4096 Aug  1 08:08 jre
drwxr-xr-x 4 root root 4096 Jul  6 02:59 man
+ ls -al /usr/lib/jvm/java-8-openjdk-amd64//bin
total 12
drwxr-xr-x 2 root root 4096 Aug  1 08:08 .
drwxr-xr-x 5 root root 4096 Jul  6 02:59 ..
lrwxrwxrwx 1 root root   15 Jul 28 02:31 java -> ../jre/bin/java
-rwxr-xr-x 1 root root 2806 Jul 28 01:30 java-rmi.cgi
lrwxrwxrwx 1 root root   14 Jul 28 02:31 jjs -> ../jre/bin/jjs
lrwxrwxrwx 1 root root   18 Jul 28 02:31 keytool -> ../jre/bin/keytool
lrwxrwxrwx 1 root root   15 Jul 28 02:31 orbd -> ../jre/bin/orbd
lrwxrwxrwx 1 root root   18 Jul 28 02:31 pack200 -> ../jre/bin/pack200
lrwxrwxrwx 1 root root   15 Jul 28 02:31 rmid -> ../jre/bin/rmid
lrwxrwxrwx 1 root root   22 Jul 28 02:31 rmiregistry -> ../jre/bin/rmiregistry
lrwxrwxrwx 1 root root   21 Jul 28 02:31 servertool -> ../jre/bin/servertool
lrwxrwxrwx 1 root root   20 Jul 28 02:31 tnameserv -> ../jre/bin/tnameserv
lrwxrwxrwx 1 root root   20 Jul 28 02:31 unpack200 -> ../jre/bin/unpack200
+ /usr/lib/jvm/java-8-openjdk-amd64//bin/java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
+ echo which java
which java
+ which java
/usr/lib/jvm/java-8-openjdk-amd64//bin/java
+ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
+ echo which javac
which javac
+ which javac
/usr/bin/javac
+ javac -version
javac 9-internal
+ echo '<project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>'
+ ant -f build.javacheck.xml -v
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
Apache Ant(TM) version 1.9.6 compiled on July 8 2015
Buildfile: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build.javacheck.xml>
Detected Java version: 1.8 in: /usr/lib/jvm/java-8-openjdk-amd64/jre
Detected OS: Linux
parsing buildfile <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build.javacheck.xml> with URI = <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build.javacheck.xml>
Project base dir set to: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 1.8/1.8.0_131
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec]
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 9-internal

BUILD SUCCESSFUL
Total time: 2 seconds
+ exit 0
[POI-DSL-OpenJDK] $ /home/jenkins/tools/ant/apache-ant-1.9.9/bin/ant -Dcoverage.enabled=true clean jenkins
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
Buildfile: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build.xml>

clean:

check-jars:

fetch-jars:
      [get] Getting: https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/commons-logging-1.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/commons-codec-1.10.jar>
      [get] Getting: https://repo1.maven.org/maven2/log4j/log4j/1.2.17/log4j-1.2.17.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/log4j-1.2.17.jar>
      [get] Getting: https://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/junit-4.12.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-core/1.19/jmh-core-1.19.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/jmh-core-1.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-generator-annprocess/1.19/jmh-generator-annprocess-1.19.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/jmh-generator-annprocess-1.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/hamcrest-core-1.3.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant/1.10.1/ant-1.10.1.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/ant-1.10.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.10.1/ant-launcher-1.10.1.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/ant-launcher-1.10.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-all/5.2/asm-all-5.2.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/asm-all-5.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/jacoco/jacoco/0.7.9/jacoco-0.7.9.zip
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/jacoco-0.7.9.zip>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/commons-collections4-4.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/commons-math3-3.6.1.jar>
    [unzip] Expanding: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/jacoco-0.7.9.zip> into <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.12/apache-rat-0.12.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/apache-rat-0.12.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/thetaphi/forbiddenapis/2.3/forbiddenapis-2.3.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/lib/forbiddenapis-2.3.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcprov-ext-jdk15on/1.58/bcprov-ext-jdk15on-1.58.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/compile-lib/bcprov-ext-jdk15on-1.58.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.58/bcpkix-jdk15on-1.58.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/compile-lib/bcpkix-jdk15on-1.58.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/santuario/xmlsec/2.1.0/xmlsec-2.1.0.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/compile-lib/xmlsec-2.1.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/compile-lib/slf4j-api-1.7.25.jar>

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Getting: https://repo1.maven.org/maven2/com/github/virtuald/curvesapi/1.05/curvesapi-1.05.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/295/artifact/ooxml-lib/curvesapi-1.05.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/295/artifact/ooxml-lib/xmlbeans-2.3.0.jar.orig>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/2.6.0/xmlbeans-2.6.0.jar
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/295/artifact/ooxml-lib/xmlbeans-2.6.0.jar.orig>
      [zip] Building zip: <https://builds.apache.org/job/POI-DSL-OpenJDK/295/artifact/ooxml-lib/xmlbeans-2.3.0.jar>
      [zip] Building zip: <https://builds.apache.org/job/POI-DSL-OpenJDK/295/artifact/ooxml-lib/xmlbeans-2.6.0.jar>

init:
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/classes>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/test-classes>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/test-results>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/scratchpad-classes>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/scratchpad-test-classes>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/scratchpad-test-results>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/geometry-java>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/ooxml-classes>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/ooxml-test-classes>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/ooxml-test-results>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/excelant-classes>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/excelant-test-classes>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/excelant-test-results>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/examples-classes>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/integration-test-classes>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/295/artifact/build/integration-test-results>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/dist>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/tmp/site/build/site>
     [echo] Using Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017 from /home/jenkins/tools/ant/apache-ant-1.9.9, Ant detected Java 1.8 (may be different than actual Java sometimes...)
     [echo] Using Java: 1.8.0_131/1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11/25.131-b11/OpenJDK 64-Bit Server VM from Oracle Corporation on Linux: 4.4.0-43-generic

compile-main:
    [javac] Compiling 1200 source files to <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.8
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
    [javac] Compiling 537 source files to <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/test-classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.8
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 warning
     [copy] Copying 4 files to <https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/classes>

check-ooxml-xsds:

fetch-ooxml-xsds:
      [get] Getting: http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip
      [get] To: <https://builds.apache.org/job/POI-DSL-OpenJDK/295/artifact/ooxml-lib/OfficeOpenXML-Part4.zip>
      [get] Error getting http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip to <https://builds.apache.org/job/POI-DSL-OpenJDK/295/artifact/ooxml-lib/OfficeOpenXML-Part4.zip>

BUILD FAILED
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build.xml>:755: java.net.ConnectException: Connection refused (Connection refused)
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at java.net.Socket.connect(Socket.java:538)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
        at sun.net.www.http.HttpClient.New(HttpClient.java:339)
        at sun.net.www.http.HttpClient.New(HttpClient.java:357)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
        at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:737)
        at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:650)
        at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:640)

Total time: 24 seconds
Build step 'Invoke Ant' marked build as failure
Skipping publisher since build result is FAILURE
Archiving artifacts
[Fast Archiver] Compressed 10.24 MB of artifacts by 99.5% relative to #294
Skipping publisher since build result is FAILURE
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Jenkins build is back to normal : POI-DSL-OpenJDK #296

Apache Jenkins Server
See <https://builds.apache.org/job/POI-DSL-OpenJDK/296/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]