You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2021/01/01 16:36:52 UTC

Build failed in Jenkins: POI » POI-DSL-Maven #114

See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/114/display/redirect?page=changes>

Changes:

[Dominik Stadler] Apply some IDE suggestions and fix some JavaDoc

[Dominik Stadler] Bug 64750: Do not use CTDataValidations.getCount(), instead only rely on getDataValidationArray

Field "count" seems to be optional according
to the schema, so by using only the array
Apache POI can read data validations from
workbooks that do not populate the
"count" field properly.


------------------------------------------
[...truncated 8.08 KB...]
-rw-r--r--  1 jenkins jenkins    419 Dec  7 00:32 .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-Maven/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-Maven/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/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
[POI-DSL-Maven] $ /home/jenkins/tools/maven/latest3/bin/mvn -f sonar/pom.xml -Dmaven.repo.local=<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository> clean
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.poi:integration-test:jar:5.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 19, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache POI - the Java API for Microsoft Documents                  [pom]
[INFO] Apache POI Main package                                            [jar]
[INFO] Apache POI Scratchpad package                                      [jar]
[INFO] Apache POI - Openxmlformats Schema package                         [jar]
[INFO] Apache POI OOXML package                                           [jar]
[INFO] Apache POI ExcelAnt package                                        [jar]
[INFO] Apache POI Examples package                                        [jar]
[INFO] Apache POI integration test                                        [jar]
[INFO] 
[INFO] ---------------------< org.apache.poi:poi-parent >----------------------
[INFO] Building Apache POI - the Java API for Microsoft Documents 5.0.0-SNAPSHOT [1/8]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ poi-parent ---
[INFO] 
[INFO] ----------------------< org.apache.poi:poi-main >-----------------------
[INFO] Building Apache POI Main package 5.0.0-SNAPSHOT                    [2/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ poi-main ---
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/target>
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src> (includes = [], excludes = [])
[INFO] 
[INFO] -------------------< org.apache.poi:poi-scratchpad >--------------------
[INFO] Building Apache POI Scratchpad package 5.0.0-SNAPSHOT              [3/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ poi-scratchpad ---
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/scratchpad/target>
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/scratchpad/src> (includes = [], excludes = [])
[INFO] 
[INFO] -------------------< org.apache.poi:poi-ooxml-lite >--------------------
[INFO] Building Apache POI - Openxmlformats Schema package 5.0.0-SNAPSHOT [4/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ poi-ooxml-lite ---
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-full/target>
[INFO] 
[INFO] ----------------------< org.apache.poi:poi-ooxml >----------------------
[INFO] Building Apache POI OOXML package 5.0.0-SNAPSHOT                   [5/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ poi-ooxml ---
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/target>
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src> (includes = [], excludes = [])
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/build> (includes = [], excludes = [])
[INFO] 
[INFO] --------------------< org.apache.poi:poi-excelant >---------------------
[INFO] Building Apache POI ExcelAnt package 5.0.0-SNAPSHOT                [6/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ poi-excelant ---
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/excelant/target>
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/excelant/src> (includes = [], excludes = [])
[INFO] 
[INFO] --------------------< org.apache.poi:poi-examples >---------------------
[INFO] Building Apache POI Examples package 5.0.0-SNAPSHOT                [7/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ poi-examples ---
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/examples/target>
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/examples/src> (includes = [], excludes = [])
[INFO] 
[INFO] ------------------< org.apache.poi:integration-test >-------------------
[INFO] Building Apache POI integration test 5.0.0-SNAPSHOT                [8/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ integration-test ---
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/target>
[INFO] Deleting <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/integration-test/src> (includes = [], excludes = [])
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache POI - the Java API for Microsoft Documents 5.0.0-SNAPSHOT:
[INFO] 
[INFO] Apache POI - the Java API for Microsoft Documents .. SUCCESS [  0.223 s]
[INFO] Apache POI Main package ............................ SUCCESS [  0.368 s]
[INFO] Apache POI Scratchpad package ...................... SUCCESS [  0.084 s]
[INFO] Apache POI - Openxmlformats Schema package ......... SUCCESS [  0.131 s]
[INFO] Apache POI OOXML package ........................... SUCCESS [  0.116 s]
[INFO] Apache POI ExcelAnt package ........................ SUCCESS [  0.013 s]
[INFO] Apache POI Examples package ........................ SUCCESS [  0.020 s]
[INFO] Apache POI integration test ........................ SUCCESS [  0.012 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.192 s
[INFO] Finished at: 2021-01-01T16:32:41Z
[INFO] ------------------------------------------------------------------------
[POI-DSL-Maven] $ /home/jenkins/tools/maven/latest3/bin/mvn -f sonar/pom.xml -Dmaven.repo.local=<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository> package
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.poi:integration-test:jar:5.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 19, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache POI - the Java API for Microsoft Documents                  [pom]
[INFO] Apache POI Main package                                            [jar]
[INFO] Apache POI Scratchpad package                                      [jar]
[INFO] Apache POI - Openxmlformats Schema package                         [jar]
[INFO] Apache POI OOXML package                                           [jar]
[INFO] Apache POI ExcelAnt package                                        [jar]
[INFO] Apache POI Examples package                                        [jar]
[INFO] Apache POI integration test                                        [jar]
[INFO] 
[INFO] ---------------------< org.apache.poi:poi-parent >----------------------
[INFO] Building Apache POI - the Java API for Microsoft Documents 5.0.0-SNAPSHOT [1/8]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.6:prepare-agent (default) @ poi-parent ---
[INFO] argLine set to -javaagent:<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/org/jacoco/org.jacoco.agent/0.8.6/org.jacoco.agent-0.8.6-runtime.jar=destfile=/home/jenkins/workspace/POI/POI-DSL-Maven/sonar/target/jacoco.exec> -Xmx1024m
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.6:report (report) @ poi-parent ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO] 
[INFO] ----------------------< org.apache.poi:poi-main >-----------------------
[INFO] Building Apache POI Main package 5.0.0-SNAPSHOT                    [2/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.6:prepare-agent (default) @ poi-main ---
[INFO] argLine set to -javaagent:<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/org/jacoco/org.jacoco.agent/0.8.6/org.jacoco.agent-0.8.6-runtime.jar=destfile=/home/jenkins/workspace/POI/POI-DSL-Maven/sonar/main/target/jacoco.exec> -Xmx1024m
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-sources) @ poi-main ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1178 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-resources) @ poi-main ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 8 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ poi-main ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 8 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ poi-main ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1177 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/target/classes>
[INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>: Some input files use or override a deprecated API.
[INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src/main/java/org/apache/poi/util/GenericRecordUtil.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src/main/java/org/apache/poi/util/GenericRecordUtil.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-tests) @ poi-main ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 526 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ poi-main ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src/test/resources>
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ poi-main ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 523 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/target/test-classes>
[INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>: Some input files use or override a deprecated API.
[INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src/test/java/org/apache/poi/sl/usermodel/BaseTestSlideShow.java>: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src/test/java/org/apache/poi/sl/usermodel/BaseTestSlideShow.java> uses unchecked or unsafe operations.
[INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/src/test/java/org/apache/poi/sl/usermodel/BaseTestSlideShow.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ poi-main ---
'A,Sheet'!$A$1
[ERROR] Failures: 
[ERROR]   TestDateValue.testDateValue:60->confirmDateValue:92 expected: <43862.0> but was: <44228.0>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache POI - the Java API for Microsoft Documents 5.0.0-SNAPSHOT:
[INFO] 
[INFO] Apache POI - the Java API for Microsoft Documents .. SUCCESS [  0.768 s]
[INFO] Apache POI Main package ............................ FAILURE [04:01 min]
[INFO] Apache POI Scratchpad package ...................... SKIPPED
[INFO] Apache POI - Openxmlformats Schema package ......... SKIPPED
[INFO] Apache POI OOXML package ........................... SKIPPED
[INFO] Apache POI ExcelAnt package ........................ SKIPPED
[INFO] Apache POI Examples package ........................ SKIPPED
[INFO] Apache POI integration test ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:02 min
[INFO] Finished at: 2021-01-01T16:36:47Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project poi-main: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/main/target/surefire-reports> for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :poi-main
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Jenkins build is back to normal : POI » POI-DSL-Maven #115

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/115/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org