Build failed in Jenkins: POI-DSL-SonarQube #178

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

Build failed in Jenkins: POI-DSL-SonarQube #178

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

Changes:

[centic] Tried to enable this test, but it is broken since a long time and I am not sure how this is expected to behave...

[centic] Apply patch to add endSheet() to the XSSFEventBasedExcelExtractor, fixes bug 60737, thanks to user zakim for the patch

[centic] More IntelliJ warnings fixes

[centic] The Gradle-based Sonarqube job does not actually, it completes with success, but the data never appears on Sonarqube itself, we need to investigate this some more later, for now I enabled the Maven based job again.

------------------------------------------
[...truncated 18.52 KB...]
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 489 source files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/scratchpad/target/classes>
[INFO] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Table.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Table.java>: Recompile with -Xlint:deprecation for details.
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI - Openxmlformats Schema package 4.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-download-plugin:1.1.0:wget (download-xsds) @ poi-ooxml-schema ---
[INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/.repository/.cache/maven-download-plugin/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip>
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (copy-xmltype-and-xsdconfig) @ poi-ooxml-schema ---
[INFO] Executing tasks

main:
     [copy] Copying 9 files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/generated-sources/xmlbeans>
     [copy] Copying 1 file to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/schemas>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (unzip-schema) @ poi-ooxml-schema ---
[INFO] Executing tasks

main:
     [echo] unzip schemas
    [unzip] Expanding: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/OfficeOpenXML-XMLSchema.zip> into <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/schemas>
     [copy] Copying 1 file to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/schemas>
[INFO] Executed tasks
[INFO]
[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @ poi-ooxml-schema ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (replace-xmltypeloader) @ poi-ooxml-schema ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ poi-ooxml-schema ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/src/main/resources>
[INFO] Copying 7418 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ poi-ooxml-schema ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4577 source files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/classes>
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI - Openxmlformats Encryption Schema package 4.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (copy-xmltype-and-xsdconfig) @ poi-ooxml-schema-encryption ---
[INFO] Executing tasks

main:
     [copy] Copying 9 files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-encryption/target/generated-sources/xmlbeans>
     [copy] Copying 1 file to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-encryption/target/schemas>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (unzip-schema) @ poi-ooxml-schema-encryption ---
[INFO] Executing tasks

main:
     [copy] Copying 6 files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-encryption/target/schemas>
[INFO] Executed tasks
[INFO]
[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @ poi-ooxml-schema-encryption ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (replace-xmltypeloader) @ poi-ooxml-schema-encryption ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ poi-ooxml-schema-encryption ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-encryption/src/main/resources>
[INFO] Copying 73 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ poi-ooxml-schema-encryption ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 49 source files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-encryption/target/classes>
[INFO] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-encryption/target/generated-sources/xmlbeans/org/apache/poi/POIXMLTypeLoader.java>: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-encryption/target/generated-sources/xmlbeans/org/apache/poi/POIXMLTypeLoader.java> uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-encryption/target/generated-sources/xmlbeans/org/apache/poi/POIXMLTypeLoader.java>: Recompile with -Xlint:deprecation for details.
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI - Openxmlformats Security-Schema package 4.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-1) @ poi-ooxml-schema-security ---
[INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/.repository/.cache/maven-download-plugin/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip>
[INFO]
[INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-2) @ poi-ooxml-schema-security ---
[INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/.repository/.cache/maven-download-plugin/dc.xsd>
[INFO]
[INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-3) @ poi-ooxml-schema-security ---
[INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/.repository/.cache/maven-download-plugin/dcterms.xsd>
[INFO]
[INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-4) @ poi-ooxml-schema-security ---
[INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/.repository/.cache/maven-download-plugin/dcmitype.xsd>
[INFO]
[INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-5) @ poi-ooxml-schema-security ---
[INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/.repository/.cache/maven-download-plugin/xmldsig-core-schema.xsd>
[INFO]
[INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-6) @ poi-ooxml-schema-security ---
[INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/.repository/.cache/maven-download-plugin/XAdES.xsd>
[INFO]
[INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-7) @ poi-ooxml-schema-security ---
[INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/.repository/.cache/maven-download-plugin/XAdESv141.xsd>
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (copy-xmltype-and-xsdconfig) @ poi-ooxml-schema-security ---
[INFO] Executing tasks

main:
     [copy] Copying 9 files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-security/target/generated-sources/xmlbeans>
     [copy] Copying 1 file to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-security/target/schemas>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (unzip-schema) @ poi-ooxml-schema-security ---
[INFO] Executing tasks

main:
     [echo] unzip schemas
    [unzip] Expanding: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-security/target/OpenPackagingConventions-XMLSchema.zip> into <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-security/target/schemas>
     [copy] Copying 1 file to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-security/target/schemas>
[INFO] Executed tasks
[INFO]
[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @ poi-ooxml-schema-security ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (replace-xmltypeloader) @ poi-ooxml-schema-security ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ poi-ooxml-schema-security ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-security/src/main/resources>
[INFO] Copying 916 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ poi-ooxml-schema-security ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 501 source files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-security/target/classes>
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI OOXML package 4.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-sources) @ poi-ooxml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 435 resources
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-resources) @ poi-ooxml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ poi-ooxml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ poi-ooxml ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 433 source files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml/target/classes>
[INFO] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml/src/main/java/org/apache/poi/POIXMLTypeLoader.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml/src/main/java/org/apache/poi/POIXMLTypeLoader.java>: Recompile with -Xlint:deprecation for details.
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI ExcelAnt package 4.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-sources) @ poi-excelant ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 14 resources
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-resources) @ poi-excelant ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ poi-excelant ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ poi-excelant ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/excelant/target/classes>
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI Examples package 4.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-sources) @ poi-examples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 157 resources
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ poi-examples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/resources>
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ poi-examples ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 149 source files to <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/target/classes>
[INFO] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/java/org/apache/poi/ss/examples/ExcelComparator.java>: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/java/org/apache/poi/ss/examples/ExcelComparator.java> uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/java/org/apache/poi/ss/examples/ExcelComparator.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/java/org/apache/poi/hssf/view/SVRowHeader.java>: <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/java/org/apache/poi/hssf/view/SVRowHeader.java> uses unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/java/org/apache/poi/hssf/view/SVRowHeader.java>: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/java/org/apache/poi/xssf/streaming/examples/HybridStreaming.java>:[61,43] <anonymous org.apache.poi.xssf.streaming.examples.HybridStreaming$2> is not abstract and does not override abstract method endSheet() in org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler.SheetContentsHandler
[ERROR] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/java/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java>:[72,13] org.apache.poi.xssf.eventusermodel.XLSX2CSV.SheetToCSV is not abstract and does not override abstract method endSheet() in org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler.SheetContentsHandler
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache POI - the Java API for Microsoft Documents
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache POI - the Java API for Microsoft Documents . SUCCESS [  0.006 s]
[INFO] Apache POI Main package ........................... SUCCESS [ 15.237 s]
[INFO] Apache POI Scratchpad package ..................... SUCCESS [  4.243 s]
[INFO] Apache POI - Openxmlformats Schema package ........ SUCCESS [01:23 min]
[INFO] Apache POI - Openxmlformats Encryption Schema package  SUCCESS [  0.969 s]
[INFO] Apache POI - Openxmlformats Security-Schema package  SUCCESS [ 11.016 s]
[INFO] Apache POI OOXML package .......................... SUCCESS [  4.763 s]
[INFO] Apache POI ExcelAnt package ....................... SUCCESS [  0.433 s]
[INFO] Apache POI Examples package ....................... FAILURE [  1.601 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:03 min
[INFO] Finished at: 2017-09-23T09:29:08+00:00
[INFO] Final Memory: 45M/781M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project poi-examples: Compilation failure: Compilation failure:
[ERROR] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/java/org/apache/poi/xssf/streaming/examples/HybridStreaming.java>:[61,43] <anonymous org.apache.poi.xssf.streaming.examples.HybridStreaming$2> is not abstract and does not override abstract method endSheet() in org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler.SheetContentsHandler
[ERROR] <https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src/main/java/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java>:[72,13] org.apache.poi.xssf.eventusermodel.XLSX2CSV.SheetToCSV is not abstract and does not override abstract method endSheet() in org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler.SheetContentsHandler
[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 <goals> -rf :poi-examples
Build step 'Invoke top-level Maven targets' marked build as failure

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

Reply | Threaded
Open this post in threaded view
|

Jenkins build is back to normal : POI-DSL-SonarQube #179

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


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