Build failed in Jenkins: POI » POI-DSL-API-Check #22

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

Build failed in Jenkins: POI » POI-DSL-API-Check #22

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

Changes:

[Dominik Stadler] Avoid dependency on ooxml-test in integration-test


------------------------------------------
[...truncated 2.13 KB...]

At revision 1882049

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
[POI-DSL-API-Check] $ /bin/sh -xe /tmp/jenkins8009055673691323200.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/latest1.8
Java-Home: /home/jenkins/tools/java/latest1.8
+ ls -al /home/jenkins/tools/java/latest1.8/
total 51232
drwxrwxr-x  9 root root     4096 Jul  2 22:38 .
drwxr-xr-x 30 root root     4096 Sep 18 14:31 ..
-r--r--r--  1 root root     1522 Apr  6 16:27 ASSEMBLY_EXCEPTION
drwxrwxr-x  2 root root     4096 Jul  2 22:38 bin
drwxrwxr-x 10 root root     4096 Jul  2 22:38 demo
drwxrwxr-x  3 root root     4096 Jul  2 22:38 include
drwxrwxr-x  4 root root     4096 Jul  2 22:38 jre
drwxrwxr-x  3 root root     4096 Jul  2 22:38 lib
-r--r--r--  1 root root    19274 Apr  6 16:27 LICENSE
drwxrwxr-x  4 root root     4096 Jul  2 22:38 man
-rw-rw-r--  1 root root      238 Apr  6 16:27 release
drwxrwxr-x 10 root root     4096 Jul  2 22:38 sample
-rw-rw-r--  1 root root 52236869 Apr  6 16:41 src.zip
-r--r--r--  1 root root   153250 Apr  6 16:27 THIRD_PARTY_README
+ ls -al /home/jenkins/tools/java/latest1.8/bin
total 748
drwxrwxr-x 2 root root   4096 Jul  2 22:38 .
drwxrwxr-x 9 root root   4096 Jul  2 22:38 ..
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 appletviewer
-rwxr-xr-x 1 root root   9073 Apr  6 16:27 clhsdb
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 extcheck
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 hsdb
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 idlj
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 jar
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 jarsigner
-rwxr-xr-x 1 root root   8930 Apr  6 16:27 java
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 javac
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 javadoc
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 javah
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 javap
-rwxrwxr-x 1 root root   2806 Apr  6 16:27 java-rmi.cgi
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 jcmd
-rwxr-xr-x 1 root root   9089 Apr  6 16:27 jconsole
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 jdb
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 jdeps
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 jhat
-rwxr-xr-x 1 root root   9097 Apr  6 16:27 jinfo
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 jjs
-rwxr-xr-x 1 root root   9097 Apr  6 16:27 jmap
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 jps
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 jrunscript
-rwxr-xr-x 1 root root   9073 Apr  6 16:27 jsadebugd
-rwxr-xr-x 1 root root   9105 Apr  6 16:27 jstack
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 jstat
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 jstatd
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 keytool
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 native2ascii
-rwxr-xr-x 1 root root   9105 Apr  6 16:27 orbd
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 pack200
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 policytool
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 rmic
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 rmid
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 rmiregistry
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 schemagen
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 serialver
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 servertool
-rwxr-xr-x 1 root root   9113 Apr  6 16:27 tnameserv
-rwxr-xr-x 1 root root 245802 Apr  6 16:27 unpack200
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 wsgen
-rwxr-xr-x 1 root root   9065 Apr  6 16:27 wsimport
-rwxr-xr-x 1 root root   9057 Apr  6 16:27 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest1.8/bin/java
+ java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_252
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 464
drwxr-xr-x 15 jenkins jenkins   4096 Aug 31 01:31 .
drwxr-xr-x  4 jenkins jenkins   4096 Sep 23 00:26 ..
drwxr-xr-x 30 jenkins jenkins   4096 Sep 24 01:13 build
-rw-r--r--  1 jenkins jenkins  14131 Sep 27 01:12 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Sep 24 01:12 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 149016 Sep 27 01:12 build.xml
-rw-r--r--  1 jenkins jenkins   3341 Aug 31 01:14 .classpath
-rw-r--r--  1 jenkins jenkins   6160 Aug 31 01:14 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2847 Aug 31 01:14 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Aug 31 01:14 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Aug 31 01:14 .gitattributes
-rw-r--r--  1 jenkins jenkins    493 Aug 31 01:14 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug 31 01:14 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Aug 31 01:31 .gradle
-rwxr-xr-x  1 jenkins jenkins   5917 Aug 31 01:14 gradlew
-rw-r--r--  1 jenkins jenkins   2842 Aug 31 01:14 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Aug 31 01:14 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Aug 31 01:14 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug 31 01:14 legal
drwxr-xr-x  9 jenkins jenkins   4096 Aug 31 01:31 lib
drwxr-xr-x  2 jenkins jenkins   4096 Sep 17 01:12 maven
drwxr-xr-x  3 jenkins jenkins   4096 Sep 24 01:12 osgi
-rw-r--r--  1 jenkins jenkins   4813 Aug 31 01:14 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Aug 31 01:14 .project
-rw-r--r--  1 jenkins jenkins   4266 Aug 31 01:14 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Aug 31 01:14 .settings
-rw-r--r--  1 jenkins jenkins    556 Aug 31 01:14 settings.gradle
drwxr-xr-x 11 jenkins jenkins   4096 Sep 27 01:12 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Aug 31 01:14 src
drwxr-xr-x  4 jenkins jenkins   4096 Sep 27 01:12 .svn
drwxr-xr-x 14 jenkins jenkins   4096 Aug 31 01:14 test-data
-rw-r--r--  1 jenkins jenkins    136 Aug 31 01:14 .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-API-Check/ws/build.javacheck.xml>
Detected Java version: 1.8 in: /usr/local/asfpackages/java/openjdk-8u252-b09/jre
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 1.8/1.8.0_252
     [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 1.8.0_252

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-API-Check] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/gradlew> japicmp
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.5/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Configure project :
Trying to override old definition of datatype junit
[ant:javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

> Task :main: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.

> Task :main:processResources UP-TO-DATE
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 1.8 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 1.8.0_252/1.8.0_252-b09/25.252-b09/OpenJDK 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-58-generic
[ant:echo] Building Apache POI version 5.0.0-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds
> Task :scratchpad:compileJava
> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes
> Task :scratchpad:jar UP-TO-DATE

> Task :ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java>:180: error: cannot access XMLInputStream
            DocumentDocument doc = DocumentDocument.Factory.parse(getPackagePart().getInputStream(), DEFAULT_XML_OPTIONS);
                                                           ^
  class file for org.apache.xmlbeans.xml.stream.XMLInputStream not found
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java>:569: error: reference to parse is ambiguous
        StylesDocument sd = StylesDocument.Factory.parse(parts[0].getInputStream(), DEFAULT_XML_OPTIONS);
                                                  ^
  both method parse(InputStream,XmlOptions) in Factory and method parse(XMLInputStream,XmlOptions) in Factory match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:476: error: cannot find symbol
            hexColor.setEnumValue(STHexColorAuto.Enum.forString(color));
                    ^
  symbol:   method setEnumValue(Enum)
  location: variable hexColor of type STHexColorAuto
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:1516: error: cannot find symbol
            color.setEnumValue(STHighlightColor.NONE);
                 ^
  symbol:   method setEnumValue(Enum)
  location: variable color of type STHighlightColor
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:1518: error: cannot find symbol
        return (STHighlightColor.Enum)(color.getEnumValue());
                                            ^
  symbol:   method getEnumValue()
  location: variable color of type STHighlightColor
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-API-Check/ws/src/ooxml/java/org/apache/poi/xslf/draw/SVGImageRenderer.java> uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors

> Task :ooxml:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileJava'.
> Compilation failed; see the compiler error output for details.

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 42s
14 actionable tasks: 11 executed, 3 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts

---------------------------------------------------------------------
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-API-Check #23

Apache Jenkins Server
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/23/display/redirect>


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