Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #290

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

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #290

Apache Jenkins Server
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/290/display/redirect?page=changes>

Changes:

[Andreas Beeker] fix merge problem

[Andreas Beeker] 65206 - Migrate ant / maven to gradle build
compile / jar / test of mrJars
don't include ants build.xml anymore
rename directories to match project and maven artifact names
refactor artifacts - so each project has one artifact
replace static references in hssf/dev tests with junit5 constructs, which had problems in parallel tests
increase gradle heap to 4gb because of OOM - maybe less would also work


------------------------------------------
[...truncated 412.93 KB...]
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.9
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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 11/11.0.9
     [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 11.0.9

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/poi-ant-contrib>
    [javac] Compiling 3 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/poi-ant-contrib>

check-jars:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>

fetch-jars:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests>
      [get] Getting: https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/commons-logging-1.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/commons-codec/commons-codec/1.15/commons-codec-1.15.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-codec-1.15.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-api/5.7.1/junit-jupiter-api-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-api-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.7.1/junit-jupiter-engine-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-engine-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-params/5.7.1/junit-jupiter-params-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-params-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-launcher/1.7.1/junit-platform-launcher-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-launcher-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-engine/1.7.1/junit-platform-engine-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-engine-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-commons/1.7.1/junit-platform-commons-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-commons-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/opentest4j-1.2.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/apiguardian-api-1.1.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-core/1.27/jmh-core-1.27.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/jmh-core-1.27.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-generator-annprocess/1.27/jmh-generator-annprocess-1.27.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/jmh-generator-annprocess-1.27.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/hamcrest-2.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/xmlunit/xmlunit-core/2.8.2/xmlunit-core-2.8.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/xmlunit-core-2.8.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/mockito/mockito-core/3.6.28/mockito-core-3.6.28.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/mockito-core-3.6.28.jar>
      [get] Getting: https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.10.19/byte-buddy-1.10.19.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/byte-buddy-1.10.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-agent/1.10.19/byte-buddy-agent-1.10.19.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/byte-buddy-agent-1.10.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/objenesis/objenesis/3.1/objenesis-3.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/objenesis-3.1.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant/1.10.9/ant-1.10.9.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant/ant-1.10.9.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.10.9/ant-launcher-1.10.9.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant/ant-launcher-1.10.9.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.14.0/log4j-api-2.14.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/log4j-api-2.14.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.14.0/log4j-core-2.14.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/log4j-core-2.14.0.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm/9.0/asm-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/9.0/asm-commons-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-commons-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/9.0/asm-tree-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-tree-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/jacoco/jacoco/0.8.6/jacoco-0.8.6.zip
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/jacoco-0.8.6.zip>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-collections4-4.4.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://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-math3-3.6.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/com/zaxxer/SparseBitSet/1.2/SparseBitSet-1.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/SparseBitSet-1.2.jar>
    [unzip] Expanding: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/jacoco-0.8.6.zip> into <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.13/apache-rat-0.13.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/apache-rat-0.13.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/thetaphi/forbiddenapis/3.1/forbiddenapis-3.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/forbiddenapis-3.1.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/bcprov-jdk15on-1.68.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/bcpkix-jdk15on-1.68.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/santuario/xmlsec/2.2.1/xmlsec-2.2.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/xmlsec-2.2.1.jar>

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Getting: https://repo1.maven.org/maven2/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.20/commons-compress-1.20.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.20.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/reflections/reflections/0.9.12/reflections-0.9.12.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Getting: https://repo1.maven.org/maven2/com/google/guava/guava/30.1-jre/guava-30.1-jre.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/javassist/javassist/3.27.0-GA/javassist-3.27.0-GA.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.30.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-anim/1.14/batik-anim-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-awt-util/1.14/batik-awt-util-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-bridge/1.14/batik-bridge-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-codec/1.14/batik-codec-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-constants/1.14/batik-constants-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-css/1.14/batik-css-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-dom/1.14/batik-dom-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-ext/1.14/batik-ext-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-gvt/1.14/batik-gvt-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-i18n/1.14/batik-i18n-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-parser/1.14/batik-parser-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-shared-resources/1.14/batik-shared-resources-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svg-dom/1.14/batik-svg-dom-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svggen/1.14/batik-svggen-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svgrasterizer/1.14/batik-svgrasterizer-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-transcoder/1.14/batik-transcoder-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-util/1.14/batik-util-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-xml/1.14/batik-xml-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/xmlgraphics-commons/2.4/xmlgraphics-commons-2.4.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox/2.0.22/pdfbox-2.0.22.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.22.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/pdfbox/fontbox/2.0.22/fontbox-2.0.22.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.22.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/rototor/pdfbox/graphics2d/0.31/graphics2d-0.31.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.31.jar>

init:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/generated-sources>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/generated-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-examples/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/dist>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/site>
     [echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-66-generic
     [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

BUILD SUCCESSFUL
Total time: 6 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :rat
Files with unapproved licenses:
 - <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>


> Task :rat FAILED

> Task :poi:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat'.
> A failure occurred while executing org.nosphere.apache.rat.RatWork
   > Apache Rat audit failure - 1 unapproved license
      See file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/reports/rat/index.html>

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 3s
2 actionable tasks: 2 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

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

Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #291

Apache Jenkins Server
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/291/display/redirect?page=changes>

Changes:

[Andreas Beeker] fix paths to new gradle directories


------------------------------------------
[...truncated 1.52 KB...]


<-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/documentation'>
At revision 1888529

At revision 1888529

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
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins3768514757384131161.sh
+ svn status
?       build.javacheck.xml
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 22:54 .
drwxr-xr-x 43 root root 4096 Feb 16 14:45 ..
drwxr-xr-x  2 root root 4096 Dec  7 22:54 bin
drwxr-xr-x  4 root root 4096 Dec  7 22:54 conf
drwxr-xr-x  3 root root 4096 Dec  7 22:54 include
drwxr-xr-x  2 root root 4096 Dec  7 22:54 jmods
drwxr-xr-x 73 root root 4096 Dec  7 22:54 legal
drwxr-xr-x  6 root root 4096 Dec  7 22:54 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 22:54 .
drwxr-xr-x 8 root root   4096 Dec  7 22:54 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 512
drwxr-xr-x 24 jenkins jenkins   4096 Apr  7 22:55 .
drwxr-xr-x 10 jenkins jenkins   4096 Apr  7 22:54 ..
drwxr-xr-x  6 jenkins jenkins   4096 Apr  7 22:55 build
-rw-r--r--  1 jenkins jenkins  14031 Apr  8 18:22 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Apr  7 22:55 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 166536 Apr  7 22:54 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Apr  7 22:54 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Apr  7 22:54 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Apr  7 22:54 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Apr  7 22:54 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Apr  7 22:54 .github
-rw-r--r--  1 jenkins jenkins    523 Apr  7 22:54 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Apr  7 22:54 gradle
drwxr-xr-x  7 jenkins jenkins   4096 Apr  7 22:56 .gradle
-rw-r--r--  1 jenkins jenkins    154 Apr  7 22:54 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   5770 Apr  7 22:54 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Apr  7 22:54 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Apr  8 18:22 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Apr  7 22:54 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Apr  7 22:54 legal
drwxr-xr-x 10 jenkins jenkins   4096 Apr  7 22:55 lib
drwxr-xr-x  2 jenkins jenkins   4096 Apr  7 22:54 maven
drwxr-xr-x  3 jenkins jenkins   4096 Apr  7 22:54 osgi
-rw-r--r--  1 jenkins jenkins   4813 Apr  7 22:54 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Apr  7 22:55 poi
drwxr-xr-x  4 jenkins jenkins   4096 Apr  7 22:55 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Apr  7 22:55 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Apr  7 22:55 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Apr  7 22:55 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Apr  7 22:55 poi-ooxml-full
drwxr-xr-x  3 jenkins jenkins   4096 Apr  7 22:54 poi-ooxml-lite
drwxr-xr-x  3 jenkins jenkins   4096 Apr  7 22:54 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Apr  7 22:55 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4278 Apr  7 22:54 README.rst
-rw-r--r--  1 jenkins jenkins    197 Apr  7 22:54 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Apr  7 22:54 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Apr  7 22:54 src
drwxr-xr-x  4 jenkins jenkins   4096 Apr  8 18:22 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Apr  7 22:54 test-data
-rw-r--r--  1 jenkins jenkins    419 Apr  7 22:54 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ 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
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.9
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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 11/11.0.9
     [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 11.0.9

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.20.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.30.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.22.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.22.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.31.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-66-generic
     [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

BUILD SUCCESSFUL
Total time: 2 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :rat
Files with unapproved licenses:
 - <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>


> Task :rat FAILED

> Task :poi:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat'.
> A failure occurred while executing org.nosphere.apache.rat.RatWork
   > Apache Rat audit failure - 1 unapproved license
      See file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/reports/rat/index.html>

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 42s
2 actionable tasks: 2 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

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

Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #292

Apache Jenkins Server
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/292/display/redirect>

Changes:


------------------------------------------
[...truncated 413.48 KB...]
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.9
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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 11/11.0.9
     [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 11.0.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/poi-ant-contrib>
    [javac] Compiling 3 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/poi-ant-contrib>

check-jars:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>

fetch-jars:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests>
      [get] Getting: https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/commons-logging-1.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/commons-codec/commons-codec/1.15/commons-codec-1.15.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-codec-1.15.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-api/5.7.1/junit-jupiter-api-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-api-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.7.1/junit-jupiter-engine-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-engine-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-params/5.7.1/junit-jupiter-params-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-params-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-launcher/1.7.1/junit-platform-launcher-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-launcher-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-engine/1.7.1/junit-platform-engine-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-engine-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-commons/1.7.1/junit-platform-commons-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-commons-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/opentest4j-1.2.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/apiguardian-api-1.1.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-core/1.27/jmh-core-1.27.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/jmh-core-1.27.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-generator-annprocess/1.27/jmh-generator-annprocess-1.27.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/jmh-generator-annprocess-1.27.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/hamcrest-2.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/xmlunit/xmlunit-core/2.8.2/xmlunit-core-2.8.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/xmlunit-core-2.8.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/mockito/mockito-core/3.6.28/mockito-core-3.6.28.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/mockito-core-3.6.28.jar>
      [get] Getting: https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.10.19/byte-buddy-1.10.19.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/byte-buddy-1.10.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-agent/1.10.19/byte-buddy-agent-1.10.19.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/byte-buddy-agent-1.10.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/objenesis/objenesis/3.1/objenesis-3.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/objenesis-3.1.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant/1.10.9/ant-1.10.9.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant/ant-1.10.9.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.10.9/ant-launcher-1.10.9.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant/ant-launcher-1.10.9.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.14.0/log4j-api-2.14.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/log4j-api-2.14.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.14.0/log4j-core-2.14.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/log4j-core-2.14.0.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm/9.0/asm-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/9.0/asm-commons-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-commons-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/9.0/asm-tree-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-tree-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/jacoco/jacoco/0.8.6/jacoco-0.8.6.zip
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/jacoco-0.8.6.zip>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-collections4-4.4.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://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-math3-3.6.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/com/zaxxer/SparseBitSet/1.2/SparseBitSet-1.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/SparseBitSet-1.2.jar>
    [unzip] Expanding: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/jacoco-0.8.6.zip> into <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.13/apache-rat-0.13.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/apache-rat-0.13.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/thetaphi/forbiddenapis/3.1/forbiddenapis-3.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/forbiddenapis-3.1.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/bcprov-jdk15on-1.68.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/bcpkix-jdk15on-1.68.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/santuario/xmlsec/2.2.1/xmlsec-2.2.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/xmlsec-2.2.1.jar>

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Getting: https://repo1.maven.org/maven2/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.20/commons-compress-1.20.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.20.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/reflections/reflections/0.9.12/reflections-0.9.12.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Getting: https://repo1.maven.org/maven2/com/google/guava/guava/30.1-jre/guava-30.1-jre.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/javassist/javassist/3.27.0-GA/javassist-3.27.0-GA.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.30.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-anim/1.14/batik-anim-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-awt-util/1.14/batik-awt-util-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-bridge/1.14/batik-bridge-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-codec/1.14/batik-codec-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-constants/1.14/batik-constants-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-css/1.14/batik-css-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-dom/1.14/batik-dom-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-ext/1.14/batik-ext-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-gvt/1.14/batik-gvt-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-i18n/1.14/batik-i18n-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-parser/1.14/batik-parser-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-shared-resources/1.14/batik-shared-resources-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svg-dom/1.14/batik-svg-dom-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svggen/1.14/batik-svggen-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svgrasterizer/1.14/batik-svgrasterizer-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-transcoder/1.14/batik-transcoder-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-util/1.14/batik-util-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-xml/1.14/batik-xml-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/xmlgraphics-commons/2.4/xmlgraphics-commons-2.4.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox/2.0.22/pdfbox-2.0.22.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.22.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/pdfbox/fontbox/2.0.22/fontbox-2.0.22.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.22.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/rototor/pdfbox/graphics2d/0.31/graphics2d-0.31.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.31.jar>

init:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/generated-sources>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/generated-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-examples/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/dist>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/site>
     [echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-76-generic
     [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

BUILD SUCCESSFUL
Total time: 4 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
Downloading https://services.gradle.org/distributions/gradle-6.8-bin.zip
..........10%..........20%..........30%...........40%..........50%..........60%..........70%...........80%..........90%..........100%
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :rat
Files with unapproved licenses:
 - <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>


> Task :rat FAILED

> Task :poi:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat'.
> A failure occurred while executing org.nosphere.apache.rat.RatWork
   > Apache Rat audit failure - 1 unapproved license
      See file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/reports/rat/index.html>

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 38s
2 actionable tasks: 2 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

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

Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #293

Apache Jenkins Server
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/293/display/redirect?page=changes>

Changes:

[Dominik Stadler] Adjust for the new source-directories in some more places

[Dominik Stadler] Ensure the cache-directory for ImageIO is set to a valid directory

Introduce a helper method to set ImageIO.setCacheDir() to the default temporary directory


------------------------------------------
[...truncated 413.13 KB...]
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.9
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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 11/11.0.9
     [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 11.0.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/poi-ant-contrib>
    [javac] Compiling 3 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/poi-ant-contrib>

check-jars:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>

fetch-jars:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests>
      [get] Getting: https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/commons-logging-1.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/commons-codec/commons-codec/1.15/commons-codec-1.15.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-codec-1.15.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-api/5.7.1/junit-jupiter-api-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-api-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.7.1/junit-jupiter-engine-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-engine-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-params/5.7.1/junit-jupiter-params-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-params-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-launcher/1.7.1/junit-platform-launcher-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-launcher-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-engine/1.7.1/junit-platform-engine-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-engine-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-commons/1.7.1/junit-platform-commons-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-commons-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/opentest4j-1.2.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/apiguardian-api-1.1.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-core/1.27/jmh-core-1.27.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/jmh-core-1.27.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-generator-annprocess/1.27/jmh-generator-annprocess-1.27.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/jmh-generator-annprocess-1.27.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/hamcrest-2.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/xmlunit/xmlunit-core/2.8.2/xmlunit-core-2.8.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/xmlunit-core-2.8.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/mockito/mockito-core/3.6.28/mockito-core-3.6.28.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/mockito-core-3.6.28.jar>
      [get] Getting: https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.10.19/byte-buddy-1.10.19.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/byte-buddy-1.10.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-agent/1.10.19/byte-buddy-agent-1.10.19.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/byte-buddy-agent-1.10.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/objenesis/objenesis/3.1/objenesis-3.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/objenesis-3.1.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant/1.10.9/ant-1.10.9.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant/ant-1.10.9.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.10.9/ant-launcher-1.10.9.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant/ant-launcher-1.10.9.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.14.0/log4j-api-2.14.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/log4j-api-2.14.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.14.0/log4j-core-2.14.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/log4j-core-2.14.0.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm/9.0/asm-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/9.0/asm-commons-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-commons-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/9.0/asm-tree-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-tree-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/jacoco/jacoco/0.8.6/jacoco-0.8.6.zip
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/jacoco-0.8.6.zip>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-collections4-4.4.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://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-math3-3.6.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/com/zaxxer/SparseBitSet/1.2/SparseBitSet-1.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/SparseBitSet-1.2.jar>
    [unzip] Expanding: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/jacoco-0.8.6.zip> into <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.13/apache-rat-0.13.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/apache-rat-0.13.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/thetaphi/forbiddenapis/3.1/forbiddenapis-3.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/forbiddenapis-3.1.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/bcprov-jdk15on-1.68.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/bcpkix-jdk15on-1.68.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/santuario/xmlsec/2.2.1/xmlsec-2.2.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/xmlsec-2.2.1.jar>

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Getting: https://repo1.maven.org/maven2/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.20/commons-compress-1.20.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.20.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/reflections/reflections/0.9.12/reflections-0.9.12.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Getting: https://repo1.maven.org/maven2/com/google/guava/guava/30.1-jre/guava-30.1-jre.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/javassist/javassist/3.27.0-GA/javassist-3.27.0-GA.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.30.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-anim/1.14/batik-anim-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-awt-util/1.14/batik-awt-util-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-bridge/1.14/batik-bridge-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-codec/1.14/batik-codec-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-constants/1.14/batik-constants-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-css/1.14/batik-css-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-dom/1.14/batik-dom-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-ext/1.14/batik-ext-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-gvt/1.14/batik-gvt-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-i18n/1.14/batik-i18n-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-parser/1.14/batik-parser-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-shared-resources/1.14/batik-shared-resources-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svg-dom/1.14/batik-svg-dom-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svggen/1.14/batik-svggen-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svgrasterizer/1.14/batik-svgrasterizer-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-transcoder/1.14/batik-transcoder-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-util/1.14/batik-util-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-xml/1.14/batik-xml-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/xmlgraphics-commons/2.4/xmlgraphics-commons-2.4.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox/2.0.22/pdfbox-2.0.22.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.22.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/pdfbox/fontbox/2.0.22/fontbox-2.0.22.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.22.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/rototor/pdfbox/graphics2d/0.31/graphics2d-0.31.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.31.jar>

init:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/generated-sources>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/generated-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-examples/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/dist>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/site>
     [echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-136-generic
     [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

BUILD SUCCESSFUL
Total time: 4 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
Downloading https://services.gradle.org/distributions/gradle-6.8-bin.zip
..........10%..........20%..........30%...........40%..........50%..........60%..........70%...........80%..........90%..........100%
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :rat
Files with unapproved licenses:
 - <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>


> Task :rat FAILED

> Task :poi:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat'.
> A failure occurred while executing org.nosphere.apache.rat.RatWork
   > Apache Rat audit failure - 1 unapproved license
      See file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/reports/rat/index.html>

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 40s
2 actionable tasks: 2 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

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

Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #294

Apache Jenkins Server
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/294/display/redirect?page=changes>

Changes:

[PJ Fanning] [bug-65227] add NPE guard in SheetUtil. Thanks to Petr Blaha


------------------------------------------
[...truncated 329.04 KB...]
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.9
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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 11/11.0.9
     [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 11.0.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/poi-ant-contrib>
    [javac] Compiling 3 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/poi-ant-contrib>

check-jars:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>

fetch-jars:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests>
      [get] Getting: https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/commons-logging-1.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/commons-codec/commons-codec/1.15/commons-codec-1.15.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-codec-1.15.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-api/5.7.1/junit-jupiter-api-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-api-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.7.1/junit-jupiter-engine-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-engine-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-params/5.7.1/junit-jupiter-params-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-params-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-launcher/1.7.1/junit-platform-launcher-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-launcher-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-engine/1.7.1/junit-platform-engine-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-engine-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-commons/1.7.1/junit-platform-commons-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-commons-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/opentest4j-1.2.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/apiguardian-api-1.1.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-core/1.27/jmh-core-1.27.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/jmh-core-1.27.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-generator-annprocess/1.27/jmh-generator-annprocess-1.27.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/jmh-generator-annprocess-1.27.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/hamcrest-2.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/xmlunit/xmlunit-core/2.8.2/xmlunit-core-2.8.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/xmlunit-core-2.8.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/mockito/mockito-core/3.6.28/mockito-core-3.6.28.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/mockito-core-3.6.28.jar>
      [get] Getting: https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.10.19/byte-buddy-1.10.19.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/byte-buddy-1.10.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-agent/1.10.19/byte-buddy-agent-1.10.19.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/byte-buddy-agent-1.10.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/objenesis/objenesis/3.1/objenesis-3.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/objenesis-3.1.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant/1.10.9/ant-1.10.9.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant/ant-1.10.9.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.10.9/ant-launcher-1.10.9.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant/ant-launcher-1.10.9.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.14.0/log4j-api-2.14.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/log4j-api-2.14.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.14.0/log4j-core-2.14.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/log4j-core-2.14.0.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm/9.0/asm-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/9.0/asm-commons-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-commons-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/9.0/asm-tree-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-tree-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/jacoco/jacoco/0.8.6/jacoco-0.8.6.zip
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/jacoco-0.8.6.zip>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-collections4-4.4.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://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-math3-3.6.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/com/zaxxer/SparseBitSet/1.2/SparseBitSet-1.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/SparseBitSet-1.2.jar>
    [unzip] Expanding: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/jacoco-0.8.6.zip> into <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.13/apache-rat-0.13.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/apache-rat-0.13.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/thetaphi/forbiddenapis/3.1/forbiddenapis-3.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/forbiddenapis-3.1.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/bcprov-jdk15on-1.68.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/bcpkix-jdk15on-1.68.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/santuario/xmlsec/2.2.1/xmlsec-2.2.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/xmlsec-2.2.1.jar>

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Getting: https://repo1.maven.org/maven2/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.20/commons-compress-1.20.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.20.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/reflections/reflections/0.9.12/reflections-0.9.12.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Getting: https://repo1.maven.org/maven2/com/google/guava/guava/30.1-jre/guava-30.1-jre.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/javassist/javassist/3.27.0-GA/javassist-3.27.0-GA.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.30.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-anim/1.14/batik-anim-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-awt-util/1.14/batik-awt-util-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-bridge/1.14/batik-bridge-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-codec/1.14/batik-codec-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-constants/1.14/batik-constants-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-css/1.14/batik-css-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-dom/1.14/batik-dom-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-ext/1.14/batik-ext-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-gvt/1.14/batik-gvt-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-i18n/1.14/batik-i18n-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-parser/1.14/batik-parser-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-shared-resources/1.14/batik-shared-resources-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svg-dom/1.14/batik-svg-dom-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svggen/1.14/batik-svggen-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svgrasterizer/1.14/batik-svgrasterizer-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-transcoder/1.14/batik-transcoder-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-util/1.14/batik-util-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-xml/1.14/batik-xml-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/xmlgraphics-commons/2.4/xmlgraphics-commons-2.4.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox/2.0.22/pdfbox-2.0.22.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.22.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/pdfbox/fontbox/2.0.22/fontbox-2.0.22.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.22.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/rototor/pdfbox/graphics2d/0.31/graphics2d-0.31.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.31.jar>

init:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/generated-sources>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/generated-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-examples/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/dist>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/site>
     [echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
     [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

BUILD SUCCESSFUL
Total time: 4 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
Downloading https://services.gradle.org/distributions/gradle-6.8-bin.zip
..........10%..........20%..........30%...........40%..........50%..........60%..........70%...........80%..........90%..........100%
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :rat
Files with unapproved licenses:
 - <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>


> Task :rat FAILED

> Task :poi:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat'.
> A failure occurred while executing org.nosphere.apache.rat.RatWork
   > Apache Rat audit failure - 1 unapproved license
      See file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/reports/rat/index.html>

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 37s
2 actionable tasks: 2 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

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

Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #295

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

Changes:

[Dominik Stadler] Store jars for svnant locally

Downloading them becomes nearly impossible now that bintray.dl closes down,
so let's rather persist the jars as part of the source distribution for now.


------------------------------------------
[...truncated 413.18 KB...]
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.9
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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 11/11.0.9
     [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 11.0.9

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/poi-ant-contrib>
    [javac] Compiling 3 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/poi-ant-contrib>

check-jars:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
   [delete] Directory does not exist: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>

fetch-jars:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests>
      [get] Getting: https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/commons-logging-1.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/commons-codec/commons-codec/1.15/commons-codec-1.15.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-codec-1.15.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-api/5.7.1/junit-jupiter-api-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-api-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.7.1/junit-jupiter-engine-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-engine-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-params/5.7.1/junit-jupiter-params-5.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-jupiter-params-5.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-launcher/1.7.1/junit-platform-launcher-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-launcher-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-engine/1.7.1/junit-platform-engine-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-engine-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-commons/1.7.1/junit-platform-commons-1.7.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/junit-platform-commons-1.7.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/opentest4j-1.2.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/apiguardian-api-1.1.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-core/1.27/jmh-core-1.27.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/jmh-core-1.27.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-generator-annprocess/1.27/jmh-generator-annprocess-1.27.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/jmh-generator-annprocess-1.27.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/hamcrest-2.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/xmlunit/xmlunit-core/2.8.2/xmlunit-core-2.8.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/xmlunit-core-2.8.2.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/mockito/mockito-core/3.6.28/mockito-core-3.6.28.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/mockito-core-3.6.28.jar>
      [get] Getting: https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.10.19/byte-buddy-1.10.19.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/byte-buddy-1.10.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-agent/1.10.19/byte-buddy-agent-1.10.19.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/byte-buddy-agent-1.10.19.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/objenesis/objenesis/3.1/objenesis-3.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/objenesis-3.1.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant/1.10.9/ant-1.10.9.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant/ant-1.10.9.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.10.9/ant-launcher-1.10.9.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/excelant/ant-launcher-1.10.9.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.14.0/log4j-api-2.14.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/log4j-api-2.14.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.14.0/log4j-core-2.14.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main-tests/log4j-core-2.14.0.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm/9.0/asm-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/9.0/asm-commons-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-commons-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/9.0/asm-tree-9.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/asm-tree-9.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/jacoco/jacoco/0.8.6/jacoco-0.8.6.zip
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/jacoco-0.8.6.zip>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-collections4-4.4.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://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/commons-math3-3.6.1.jar>
      [get] Getting: https://repo1.maven.org/maven2/com/zaxxer/SparseBitSet/1.2/SparseBitSet-1.2.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/main/SparseBitSet-1.2.jar>
    [unzip] Expanding: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/jacoco-0.8.6.zip> into <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.13/apache-rat-0.13.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/apache-rat-0.13.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/thetaphi/forbiddenapis/3.1/forbiddenapis-3.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/util/forbiddenapis-3.1.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/bcprov-jdk15on-1.68.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/bcpkix-jdk15on-1.68.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/santuario/xmlsec/2.2.1/xmlsec-2.2.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/xmlsec-2.2.1.jar>

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Getting: https://repo1.maven.org/maven2/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.20/commons-compress-1.20.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.20.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/reflections/reflections/0.9.12/reflections-0.9.12.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Getting: https://repo1.maven.org/maven2/com/google/guava/guava/30.1-jre/guava-30.1-jre.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/javassist/javassist/3.27.0-GA/javassist-3.27.0-GA.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.30.jar>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-anim/1.14/batik-anim-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-awt-util/1.14/batik-awt-util-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-bridge/1.14/batik-bridge-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-codec/1.14/batik-codec-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-constants/1.14/batik-constants-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-css/1.14/batik-css-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-dom/1.14/batik-dom-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-ext/1.14/batik-ext-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-gvt/1.14/batik-gvt-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-i18n/1.14/batik-i18n-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-parser/1.14/batik-parser-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-shared-resources/1.14/batik-shared-resources-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svg-dom/1.14/batik-svg-dom-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svggen/1.14/batik-svggen-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-svgrasterizer/1.14/batik-svgrasterizer-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-transcoder/1.14/batik-transcoder-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-util/1.14/batik-util-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-xml/1.14/batik-xml-1.14.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Getting: https://repo1.maven.org/maven2/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlgraphics/xmlgraphics-commons/2.4/xmlgraphics-commons-2.4.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox/2.0.22/pdfbox-2.0.22.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.22.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/pdfbox/fontbox/2.0.22/fontbox-2.0.22.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.22.jar>
      [get] Getting: https://repo1.maven.org/maven2/de/rototor/pdfbox/graphics2d/0.31/graphics2d-0.31.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.31.jar>

init:
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/generated-sources>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml-full/build/generated-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-examples/build/classes/ant/java>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/test-classes>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/test-results>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/dist>
    [mkdir] Created dir: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/site>
     [echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-66-generic
     [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

BUILD SUCCESSFUL
Total time: 6 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :rat
Files with unapproved licenses:
 - <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>


> Task :rat FAILED

> Task :poi:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat'.
> A failure occurred while executing org.nosphere.apache.rat.RatWork
   > Apache Rat audit failure - 1 unapproved license
      See file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/reports/rat/index.html>

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 45s
2 actionable tasks: 2 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

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

Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #296

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

Changes:

[PJ Fanning] try to fix build issue


------------------------------------------
[...truncated 1.85 KB...]
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins6415848377091825113.sh
+ svn status
?       build.javacheck.xml
?       excelant
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 43 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 26 jenkins jenkins   4096 Apr 10 10:09 .
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 19:26 ..
drwxr-xr-x  6 jenkins jenkins   4096 Apr  9 08:25 build
-rw-r--r--  1 jenkins jenkins  14183 Apr  9 08:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Apr  9 08:25 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 166738 Apr 10 10:09 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Mar 27 14:09 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 08:24 excelant
-rw-r--r--  1 jenkins jenkins   2934 Mar 27 14:09 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Mar 27 14:09 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Mar 27 14:09 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 .github
-rw-r--r--  1 jenkins jenkins    523 Apr  9 08:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 gradle
drwxr-xr-x  7 jenkins jenkins   4096 Apr  9 08:25 .gradle
-rw-r--r--  1 jenkins jenkins    154 Apr  9 08:24 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   5770 Mar 27 14:09 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Mar 27 14:09 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Apr  9 08:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Mar 27 14:09 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Apr  9 08:24 legal
drwxr-xr-x 10 jenkins jenkins   4096 Apr  9 08:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Apr 10 10:09 lib.stored
drwxr-xr-x  2 jenkins jenkins   4096 Mar 27 14:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 osgi
-rw-r--r--  1 jenkins jenkins   4813 Mar 27 14:09 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Apr  9 08:25 poi
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Apr 10 10:09 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-ooxml-full
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 08:24 poi-ooxml-lite
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 08:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Apr  9 08:25 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4328 Apr  9 08:24 README.rst
-rw-r--r--  1 jenkins jenkins    197 Apr  9 08:24 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Apr  9 08:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 14:09 src
drwxr-xr-x  4 jenkins jenkins   4096 Apr 10 10:09 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Mar 27 14:09 test-data
-rw-r--r--  1 jenkins jenkins    419 Mar 27 14:09 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ 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
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.9
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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 11/11.0.9
     [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 11.0.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.20.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.30.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.22.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.22.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.31.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
     [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

BUILD SUCCESSFUL
Total time: 1 second
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava UP-TO-DATE
> Task :poi:compileJava9
> Task :poi:cacheJava9
> Task :poi:processResources
> Task :poi:classes

> Task :rat FAILED
Files with unapproved licenses:
 - <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>


> Task :poi:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/sl/usermodel/BaseTestSlideShow.java> uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat'.
> A failure occurred while executing org.nosphere.apache.rat.RatWork
   > Apache Rat audit failure - 1 unapproved license
      See file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/reports/rat/index.html>

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 35s
6 actionable tasks: 5 executed, 1 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

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

Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #297

Apache Jenkins Server
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/297/display/redirect?page=changes>

Changes:

[Andreas Beeker] fix paths for integration build, docs, add site task to main build.gradle


------------------------------------------
[...truncated 2.42 KB...]
U         src/documentation/content/xdocs/components/index.xml
U         src/documentation/content/xdocs/components/poifs/how-to.xml
U         src/documentation/content/xdocs/components/slideshow/index.xml
U         src/documentation/content/xdocs/components/slideshow/ppt-wmf-emf-renderer.xml
U         src/documentation/content/xdocs/components/slideshow/xslf-cookbook.xml
U         src/documentation/content/xdocs/components/spreadsheet/examples.xml
U         src/documentation/content/xdocs/components/spreadsheet/excelant.xml
U         src/documentation/content/xdocs/components/spreadsheet/how-to.xml
U         src/documentation/content/xdocs/encryption.xml
U         src/documentation/content/xdocs/help/faq.xml
U         src/documentation/content/xdocs/site.xml
U         src/documentation/resources/stylesheets/snipplets2document.xsl
At revision 1888581

At revision 1888581

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins3475001373663248424.sh
+ svn status
?       build.javacheck.xml
?       excelant
    X   forrest.properties
M       poi/src/main/java9/module-info.class
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 43 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 26 jenkins jenkins   4096 Apr 10 10:09 .
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 19:26 ..
drwxr-xr-x  6 jenkins jenkins   4096 Apr  9 08:25 build
-rw-r--r--  1 jenkins jenkins  16242 Apr 10 11:54 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Apr 10 10:09 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 166738 Apr 10 10:09 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Mar 27 14:09 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 08:24 excelant
-rw-r--r--  1 jenkins jenkins   2934 Mar 27 14:09 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Mar 27 14:09 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Mar 27 14:09 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 .github
-rw-r--r--  1 jenkins jenkins    523 Apr  9 08:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 gradle
drwxr-xr-x  7 jenkins jenkins   4096 Apr  9 08:25 .gradle
-rw-r--r--  1 jenkins jenkins    154 Apr  9 08:24 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   5770 Mar 27 14:09 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Mar 27 14:09 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Apr  9 08:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Mar 27 14:09 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Apr  9 08:24 legal
drwxr-xr-x 10 jenkins jenkins   4096 Apr  9 08:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Apr 10 10:09 lib.stored
drwxr-xr-x  2 jenkins jenkins   4096 Mar 27 14:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 osgi
-rw-r--r--  1 jenkins jenkins   4813 Mar 27 14:09 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Apr  9 08:25 poi
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Apr 10 11:54 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-ooxml-full
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 08:24 poi-ooxml-lite
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 08:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Apr  9 08:25 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4328 Apr  9 08:24 README.rst
-rw-r--r--  1 jenkins jenkins    197 Apr  9 08:24 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Apr  9 08:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 14:09 src
drwxr-xr-x  4 jenkins jenkins   4096 Apr 10 11:54 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Mar 27 14:09 test-data
-rw-r--r--  1 jenkins jenkins    419 Mar 27 14:09 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ 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
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.9
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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 11/11.0.9
     [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 11.0.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.20.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.30.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.22.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.22.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.31.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
     [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

BUILD SUCCESSFUL
Total time: 1 second
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

FAILURE: Build failed with an exception.

* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.gradle'> line: 396

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Could not find matching constructor for: org.gradle.api.GradleScriptException(String)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 9s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

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

Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #298

Apache Jenkins Server
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/298/display/redirect?page=changes>

Changes:

[Andreas Beeker] move jdk check into doFirst


------------------------------------------
[...truncated 1.90 KB...]
+ svn status
?       build.javacheck.xml
?       excelant
    X   forrest.properties
M       poi/src/main/java9/module-info.class
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 43 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15  2020 README.html
-rw-r--r--  1 root root 1278 Sep 15  2020 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15  2020 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jar
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15  2020 java
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javac
-rwxr-xr-x 1 root root  12896 Sep 15  2020 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15  2020 javap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15  2020 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jfr
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jimage
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jjs
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jlink
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jmap
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jmod
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jps
-rwxr-xr-x 1 root root  12904 Sep 15  2020 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jshell
-rwxr-xr-x 1 root root  12896 Sep 15  2020 jstack
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstat
-rwxr-xr-x 1 root root  12864 Sep 15  2020 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15  2020 keytool
-rwxr-xr-x 1 root root  12864 Sep 15  2020 pack200
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmic
-rwxr-xr-x 1 root root  12864 Sep 15  2020 rmid
-rwxr-xr-x 1 root root  12872 Sep 15  2020 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15  2020 serialver
-rwxr-xr-x 1 root root 121568 Sep 15  2020 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 26 jenkins jenkins   4096 Apr 10 10:09 .
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 19:26 ..
drwxr-xr-x  6 jenkins jenkins   4096 Apr  9 08:25 build
-rw-r--r--  1 jenkins jenkins  16304 Apr 10 12:09 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Apr 10 11:54 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 166738 Apr 10 10:09 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Mar 27 14:09 doap_POI.rdf
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 08:24 excelant
-rw-r--r--  1 jenkins jenkins   2934 Mar 27 14:09 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Mar 27 14:09 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Mar 27 14:09 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 .github
-rw-r--r--  1 jenkins jenkins    523 Apr  9 08:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 gradle
drwxr-xr-x  7 jenkins jenkins   4096 Apr  9 08:25 .gradle
-rw-r--r--  1 jenkins jenkins    154 Apr  9 08:24 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   5770 Mar 27 14:09 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Mar 27 14:09 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Apr  9 08:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Mar 27 14:09 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Apr  9 08:24 legal
drwxr-xr-x 10 jenkins jenkins   4096 Apr  9 08:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Apr 10 10:09 lib.stored
drwxr-xr-x  2 jenkins jenkins   4096 Mar 27 14:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Mar 27 14:09 osgi
-rw-r--r--  1 jenkins jenkins   4813 Mar 27 14:09 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Apr  9 08:25 poi
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Apr 10 11:54 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Apr  9 08:25 poi-ooxml-full
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 08:24 poi-ooxml-lite
drwxr-xr-x  3 jenkins jenkins   4096 Apr  9 08:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Apr  9 08:25 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4328 Apr  9 08:24 README.rst
-rw-r--r--  1 jenkins jenkins    197 Apr  9 08:24 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Apr  9 08:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Mar 27 14:09 src
drwxr-xr-x  4 jenkins jenkins   4096 Apr 10 12:09 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Mar 27 14:09 test-data
-rw-r--r--  1 jenkins jenkins    419 Mar 27 14:09 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ 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
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.9
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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 11/11.0.9
     [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 11.0.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.20.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.30.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.22.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.22.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.31.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
     [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

BUILD SUCCESSFUL
Total time: 1 second
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava
> Task :poi:compileJava9 UP-TO-DATE
> Task :poi:cacheJava9 UP-TO-DATE
> Task :poi:processResources UP-TO-DATE
> Task :poi:classes
> Task :poi:compileTestJava UP-TO-DATE
> Task :poi:compileTest9
> Task :poi:cacheTest9
> Task :poi:processTestResources
> Task :poi:testClasses

> Task :rat
Files with unapproved licenses:
 - <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>


> Task :rat FAILED
> Task :poi:testJar

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat'.
> A failure occurred while executing org.nosphere.apache.rat.RatWork
   > Apache Rat audit failure - 1 unapproved license
      See file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/reports/rat/index.html>

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 16s
10 actionable tasks: 6 executed, 4 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

---------------------------------------------------------------------
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 » POI-DSL-SonarQube-Gradle #299

Apache Jenkins Server
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/299/display/redirect?page=changes>


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