See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/68/display/redirect?page=changes>
Changes:
[Andreas Beeker] #65026 - Migrate tests to Junit 5
------------------------------------------
[...truncated 81.94 KB...]
-rw-rw-r-- 1 root root 238 Apr 6 2020 release
drwxrwxr-x 10 root root 4096 Jul 2 22:38 sample
-rw-rw-r-- 1 root root 52236869 Apr 6 2020 src.zip
-r--r--r-- 1 root root 153250 Apr 6 2020 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 2020 appletviewer
-rwxr-xr-x 1 root root 9073 Apr 6 2020 clhsdb
-rwxr-xr-x 1 root root 9065 Apr 6 2020 extcheck
-rwxr-xr-x 1 root root 9065 Apr 6 2020 hsdb
-rwxr-xr-x 1 root root 9057 Apr 6 2020 idlj
-rwxr-xr-x 1 root root 9057 Apr 6 2020 jar
-rwxr-xr-x 1 root root 9065 Apr 6 2020 jarsigner
-rwxr-xr-x 1 root root 8930 Apr 6 2020 java
-rwxr-xr-x 1 root root 9057 Apr 6 2020 javac
-rwxr-xr-x 1 root root 9065 Apr 6 2020 javadoc
-rwxr-xr-x 1 root root 9057 Apr 6 2020 javah
-rwxr-xr-x 1 root root 9057 Apr 6 2020 javap
-rwxrwxr-x 1 root root 2806 Apr 6 2020 java-rmi.cgi
-rwxr-xr-x 1 root root 9057 Apr 6 2020 jcmd
-rwxr-xr-x 1 root root 9089 Apr 6 2020 jconsole
-rwxr-xr-x 1 root root 9065 Apr 6 2020 jdb
-rwxr-xr-x 1 root root 9057 Apr 6 2020 jdeps
-rwxr-xr-x 1 root root 9057 Apr 6 2020 jhat
-rwxr-xr-x 1 root root 9097 Apr 6 2020 jinfo
-rwxr-xr-x 1 root root 9057 Apr 6 2020 jjs
-rwxr-xr-x 1 root root 9097 Apr 6 2020 jmap
-rwxr-xr-x 1 root root 9057 Apr 6 2020 jps
-rwxr-xr-x 1 root root 9065 Apr 6 2020 jrunscript
-rwxr-xr-x 1 root root 9073 Apr 6 2020 jsadebugd
-rwxr-xr-x 1 root root 9105 Apr 6 2020 jstack
-rwxr-xr-x 1 root root 9057 Apr 6 2020 jstat
-rwxr-xr-x 1 root root 9065 Apr 6 2020 jstatd
-rwxr-xr-x 1 root root 9065 Apr 6 2020 keytool
-rwxr-xr-x 1 root root 9065 Apr 6 2020 native2ascii
-rwxr-xr-x 1 root root 9105 Apr 6 2020 orbd
-rwxr-xr-x 1 root root 9065 Apr 6 2020 pack200
-rwxr-xr-x 1 root root 9065 Apr 6 2020 policytool
-rwxr-xr-x 1 root root 9057 Apr 6 2020 rmic
-rwxr-xr-x 1 root root 9057 Apr 6 2020 rmid
-rwxr-xr-x 1 root root 9065 Apr 6 2020 rmiregistry
-rwxr-xr-x 1 root root 9065 Apr 6 2020 schemagen
-rwxr-xr-x 1 root root 9065 Apr 6 2020 serialver
-rwxr-xr-x 1 root root 9065 Apr 6 2020 servertool
-rwxr-xr-x 1 root root 9113 Apr 6 2020 tnameserv
-rwxr-xr-x 1 root root 245802 Apr 6 2020 unpack200
-rwxr-xr-x 1 root root 9057 Apr 6 2020 wsgen
-rwxr-xr-x 1 root root 9065 Apr 6 2020 wsimport
-rwxr-xr-x 1 root root 9057 Apr 6 2020 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 476
drwxr-xr-x 16 jenkins jenkins 4096 Dec 21 01:12 .
drwxr-xr-x 5 jenkins jenkins 4096 Dec 17 00:43 ..
drwxr-xr-x 30 jenkins jenkins 4096 Nov 12 01:14 build
-rw-r--r-- 1 jenkins jenkins 14594 Dec 18 01:12 build.gradle
-rw-r--r-- 1 jenkins jenkins 172 Dec 21 01:12 build.javacheck.xml
-rw-r--r-- 1 jenkins jenkins 158011 Dec 25 01:12 build.xml
-rw-r--r-- 1 jenkins jenkins 3345 Dec 18 01:12 .classpath
-rw-r--r-- 1 jenkins jenkins 6160 Nov 12 01:13 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 2847 Nov 12 01:13 file-leak-detector.exclude
-rw-r--r-- 1 jenkins jenkins 6229 Nov 12 01:13 forrest.properties
-rw-r--r-- 1 jenkins jenkins 53 Nov 12 01:13 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 Dec 21 01:12 .github
-rw-r--r-- 1 jenkins jenkins 482 Dec 13 19:13 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Nov 12 01:13 gradle
drwxr-xr-x 6 jenkins jenkins 4096 Nov 12 01:14 .gradle
-rwxr-xr-x 1 jenkins jenkins 5917 Nov 12 01:13 gradlew
-rw-r--r-- 1 jenkins jenkins 2842 Nov 12 01:13 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Dec 18 01:12 jenkins
-rw-r--r-- 1 jenkins jenkins 167284 Nov 12 01:13 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Nov 12 01:13 legal
drwxr-xr-x 9 jenkins jenkins 4096 Nov 12 01:14 lib
drwxr-xr-x 2 jenkins jenkins 4096 Dec 18 01:12 maven
drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 01:12 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Nov 12 01:13 patch.xml
-rw-r--r-- 1 jenkins jenkins 426 Nov 12 01:13 .project
-rw-r--r-- 1 jenkins jenkins 4278 Dec 13 19:13 README.rst
drwxr-xr-x 2 jenkins jenkins 4096 Nov 12 01:13 .settings
-rw-r--r-- 1 jenkins jenkins 556 Nov 12 01:13 settings.gradle
drwxr-xr-x 9 jenkins jenkins 4096 Dec 25 01:12 sonar
drwxr-xr-x 16 jenkins jenkins 4096 Nov 12 01:14 src
drwxr-xr-x 4 jenkins jenkins 4096 Dec 25 01:12 .svn
drwxr-xr-x 14 jenkins jenkins 4096 Nov 12 01:13 test-data
-rw-r--r-- 1 jenkins jenkins 419 Dec 8 01:12 .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
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:25:
error: package org.junit.platform.engine.TestDescriptor does not exist
[ant:javac] import org.junit.platform.engine.TestDescriptor.Type;
[ant:javac] ^
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:26:
error: package org.junit.platform.engine does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult;
[ant:javac] ^
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:27:
error: package org.junit.platform.engine.TestExecutionResult does not exist
[ant:javac] import org.junit.platform.engine.TestExecutionResult.Status;
[ant:javac] ^
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:28:
error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestExecutionListener;
[ant:javac] ^
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:29:
error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestIdentifier;
[ant:javac] ^
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:30:
error: package org.junit.platform.launcher does not exist
[ant:javac] import org.junit.platform.launcher.TestPlan;
[ant:javac] ^
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:37:
error: cannot find symbol
[ant:javac] public class Junit5Progress implements TestExecutionListener {
[ant:javac] ^
[ant:javac] symbol: class TestExecutionListener
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:56:
error: cannot find symbol
[ant:javac] public void executionStarted(TestIdentifier testIdentifier) {
[ant:javac] ^
[ant:javac] symbol: class TestIdentifier
[ant:javac] location: class Junit5Progress
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:64:
error: cannot find symbol
[ant:javac] public void executionSkipped(TestIdentifier testIdentifier,
String reason) {
[ant:javac] ^
[ant:javac] symbol: class TestIdentifier
[ant:javac] location: class Junit5Progress
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69:
error: cannot find symbol
[ant:javac] public void executionFinished(TestIdentifier testIdentifier,
TestExecutionResult testExecutionResult) {
[ant:javac] ^
[ant:javac] symbol: class TestIdentifier
[ant:javac] location: class Junit5Progress
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:69:
error: cannot find symbol
[ant:javac] public void executionFinished(TestIdentifier testIdentifier,
TestExecutionResult testExecutionResult) {
[ant:javac] ^
[ant:javac] symbol: class TestExecutionResult
[ant:javac] location: class Junit5Progress
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:111:
error: cannot find symbol
[ant:javac] public void testPlanExecutionFinished(TestPlan testPlan) {
[ant:javac] ^
[ant:javac] symbol: class TestPlan
[ant:javac] location: class Junit5Progress
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:55:
error: method does not override or implement a method from a supertype
[ant:javac] @Override
[ant:javac] ^
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:63:
error: method does not override or implement a method from a supertype
[ant:javac] @Override
[ant:javac] ^
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:68:
error: method does not override or implement a method from a supertype
[ant:javac] @Override
[ant:javac] ^
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:82:
error: cannot find symbol
[ant:javac] if (testIdentifier.getType() == Type.TEST) {
[ant:javac] ^
[ant:javac] symbol: variable Type
[ant:javac] location: class Junit5Progress
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:83:
error: cannot find symbol
[ant:javac] if (testExecutionResult.getStatus() ==
Status.SUCCESSFUL) {
[ant:javac] ^
[ant:javac] symbol: variable Status
[ant:javac] location: class Junit5Progress
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:85:
error: cannot find symbol
[ant:javac] } else if (testExecutionResult.getStatus() ==
Status.ABORTED) {
[ant:javac] ^
[ant:javac] symbol: variable Status
[ant:javac] location: class Junit5Progress
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:88:
error: cannot find symbol
[ant:javac] } else if (testExecutionResult.getStatus() ==
Status.FAILED) {
[ant:javac] ^
[ant:javac] symbol: variable Status
[ant:javac] location: class Junit5Progress
[ant:javac]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/src/excelant/poi-ant-contrib/Junit5Progress.java>:110:
error: method does not override or implement a method from a supertype
[ant:javac] @Override
[ant:javac] ^
[ant:javac] 20 errors
FAILURE: Build failed with an exception.
* Where:
Build file
'<https://ci-builds.apache.org/job/POI/job/POI-DSL-API-Check/ws/build.gradle'>
line: 274
* What went wrong:
A problem occurred evaluating root project 'poi'.
> Compile 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 12s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
[Fast Archiver] Compressed 29.34 MB of artifacts by 100.0% relative to #67
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]