See <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/21/display/redirect?page=changes>
Changes: [onealj] improve unit test error messages [onealj] change from hamcrest-core-1.3 to hamcrest-all-1.3 [onealj] use hamcrest matchers to reduce custom code [onealj] use assertStartsWith and assertEndsWith for better unit test error messages ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. [EnvInject] - Preparing an environment for the build. [EnvInject] - Keeping Jenkins system variables. [EnvInject] - Keeping Jenkins build variables. [EnvInject] - Injecting as environment variables the properties content LANG=en_US.UTF-8 [EnvInject] - Variables injected successfully. [EnvInject] - Injecting contributions. Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/> Updating https://svn.apache.org/repos/asf/poi/trunk at revision '2017-04-15T09:43:11.085 +0000' U src/ooxml/testcases/org/apache/poi/xssf/extractor/TestXSSFExcelExtractor.java U src/testcases/org/apache/poi/POITestCase.java U src/testcases/org/apache/poi/TestPOITestCase.java U build.xml Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into '<https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/forrest.properties'> At revision 1791482 Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/documentation'> At revision 1791482 At revision 1791482 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: ASF Sonar Analysis [POI-DSL-SonarQube-Gradle] $ /bin/bash -xe /tmp/hudson2958248093229041856.sh + svn status 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 25932 drwxr-xr-x 8 root root 4096 Feb 12 07:22 . drwxr-xr-x 25 root root 4096 Feb 12 07:24 .. drwxr-xr-x 2 root root 4096 Feb 12 07:22 bin -r--r--r-- 1 root root 3244 Dec 13 00:46 COPYRIGHT drwxr-xr-x 4 root root 4096 Feb 12 07:22 db drwxr-xr-x 3 root root 4096 Feb 12 07:22 include -rwxr-xr-x 1 root root 5094116 Dec 12 20:10 javafx-src.zip drwxr-xr-x 5 root root 4096 Feb 12 07:22 jre drwxr-xr-x 5 root root 4096 Feb 12 07:22 lib -r--r--r-- 1 root root 40 Dec 13 00:46 LICENSE drwxr-xr-x 4 root root 4096 Feb 12 07:22 man -r--r--r-- 1 root root 159 Dec 13 00:46 README.html -rw-r--r-- 1 root root 526 Dec 13 00:46 release -rw-r--r-- 1 root root 21116095 Dec 13 00:46 src.zip -rwxr-xr-x 1 root root 110114 Dec 12 20:10 THIRDPARTYLICENSEREADME-JAVAFX.txt -r--r--r-- 1 root root 177094 Dec 13 00:46 THIRDPARTYLICENSEREADME.txt + exit 0 [Gradle] - Launching build. [POI-DSL-SonarQube-Gradle] $ gradle -PenableSonar -Dsonar.host.url=https://builds.apache.org/analysis sonarqube Enabling Sonar support :main:compileJava UP-TO-DATE :main:processResources UP-TO-DATE :main:classes UP-TO-DATE :main:jar UP-TO-DATE :ooxml:ant-check-jars :ooxml:ant-fetch-jars :ooxml:ant-check-ooxml-jars :ooxml:ant-fetch-ooxml-jars :ooxml:ant-init [ant:echo] Using Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 from ${ant.home}, Ant detected Java 1.8 (may be different than actual Java sometimes...) [ant:echo] Using Java: 1.8.0_121/1.8.0_121-b13/25.121-b13/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 3.19.0-25-generic [ant:echo] Using Findbugs: 3.0.1 for Java 1.8.0_121 :ooxml:ant-check-ooxml-xsds :ooxml:ant-fetch-ooxml-xsds :ooxml:ant-check-compiled-ooxml-xsds :ooxml:ant-compile-ooxml-xsds :scratchpad:compileJava UP-TO-DATE :scratchpad:processResources UP-TO-DATE :scratchpad:classes UP-TO-DATE :scratchpad:jar UP-TO-DATE :ooxml:compileJava UP-TO-DATE :ooxml:processResources UP-TO-DATE :ooxml:classes UP-TO-DATE :ooxml:jar UP-TO-DATE :examples:compileJava UP-TO-DATE :examples:processResources UP-TO-DATE :examples:classes UP-TO-DATE :examples:compileTestJava UP-TO-DATE :examples:processTestResources UP-TO-DATE :examples:testClasses UP-TO-DATE :examples:test UP-TO-DATE :excelant:compileJava UP-TO-DATE :excelant:processResources UP-TO-DATE :excelant:classes UP-TO-DATE :main:compileTestJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6 <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:33: error: cannot find symbol import static org.hamcrest.Matchers.lessThan; ^ symbol: class Matchers location: package org.hamcrest <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:33: error: static import only from classes and interfaces import static org.hamcrest.Matchers.lessThan; ^ <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:34: error: cannot find symbol import static org.hamcrest.Matchers.lessThanOrEqualTo; ^ symbol: class Matchers location: package org.hamcrest <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:34: error: static import only from classes and interfaces import static org.hamcrest.Matchers.lessThanOrEqualTo; ^ <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:35: error: cannot find symbol import static org.hamcrest.Matchers.greaterThan; ^ symbol: class Matchers location: package org.hamcrest <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:35: error: static import only from classes and interfaces import static org.hamcrest.Matchers.greaterThan; ^ <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:36: error: cannot find symbol import static org.hamcrest.Matchers.greaterThanOrEqualTo; ^ symbol: class Matchers location: package org.hamcrest <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:36: error: static import only from classes and interfaces import static org.hamcrest.Matchers.greaterThanOrEqualTo; ^ <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:269: error: cannot find symbol assertThat(message, value, greaterThanOrEqualTo(min)); ^ symbol: method greaterThanOrEqualTo(int) location: class POITestCase <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:270: error: cannot find symbol assertThat(message, value, lessThanOrEqualTo(max)); ^ symbol: method lessThanOrEqualTo(int) location: class POITestCase <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:273: error: cannot find symbol assertThat(message, value, greaterThan(min)); ^ symbol: method greaterThan(int) location: class POITestCase <https://builds.apache.org/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/POITestCase.java>:274: error: cannot find symbol assertThat(message, value, lessThan(max)); ^ symbol: method lessThan(int) location: class POITestCase Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 12 errors 1 warning FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':main:compileTestJava'. > 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. BUILD FAILED Total time: 19.086 secs Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
