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 2023/02/23 00:50:04 UTC

Build failed in Jenkins: POI » POI-XMLBeans-DSL-1.8 #189

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

Changes:

[PJ Fanning] gradle 8.0.1


------------------------------------------
[...truncated 5.10 KB...]
-rwxr-xr-x 1 root root   8840 Apr  7  2021 rmiregistry
-rwxr-xr-x 1 root root   8832 Apr  7  2021 schemagen
-rwxr-xr-x 1 root root   8832 Apr  7  2021 serialver
-rwxr-xr-x 1 root root   8840 Apr  7  2021 servertool
-rwxr-xr-x 1 root root   8904 Apr  7  2021 tnameserv
-rwxr-xr-x 1 root root 186960 Apr  7  2021 unpack200
-rwxr-xr-x 1 root root   8832 Apr  7  2021 wsgen
-rwxr-xr-x 1 root root   8832 Apr  7  2021 wsimport
-rwxr-xr-x 1 root root   8832 Apr  7  2021 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest1.8/bin/java
+ java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_291
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 396
drwxr-xr-x 12 jenkins jenkins   4096 Feb 23 00:43 .
drwxr-xr-x  4 jenkins jenkins   4096 Jan 22 20:21 ..
drwxr-xr-x  9 jenkins jenkins   4096 Feb 15 00:46 build
-rw-r--r--  1 jenkins jenkins  28367 Feb 23 00:43 build.gradle
-rw-r--r--  1 jenkins jenkins  53401 Feb 23 00:43 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Jan  5 00:43 CHANGES.txt
drwxr-xr-x  3 jenkins jenkins   4096 Jan  5 00:43 .github
-rw-r--r--  1 jenkins jenkins     14 Jan  5 00:43 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Jan  5 00:43 gradle
drwxr-xr-x  5 jenkins jenkins   4096 Jan  5 00:44 .gradle
-rw-r--r--  1 jenkins jenkins   1338 Jan  5 00:43 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8497 Feb 23 00:43 gradlew
-rw-r--r--  1 jenkins jenkins   2868 Feb 23 00:43 gradlew.bat
-rw-r--r--  1 jenkins jenkins 176157 Jan  5 00:43 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Jan  5 00:43 legal
-rwxr-xr-x  1 jenkins jenkins  11358 Jan  5 00:43 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   1273 Jan  5 00:43 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2227 Jan  5 00:43 README.txt
-rw-r--r--  1 jenkins jenkins  10908 Jan  5 00:43 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Jan  5 00:43 samples
-rw-r--r--  1 jenkins jenkins    238 Jan  5 00:43 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Jan  5 00:43 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Jan  5 00:43 src
-rw-r--r--  1 jenkins jenkins    369 Jan  5 00:43 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Feb 23 00:43 .svn
drwxr-xr-x  5 jenkins jenkins   4096 Jan  5 00:43 test
-rw-r--r--  1 jenkins jenkins     25 Jan  5 00:43 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Jan  5 00:43 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Jan  5 00:43 xkit
+ 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-XMLBeans-DSL-1.8/ws/build.javacheck.xml>
Detected Java version: 1.8 in: /usr/local/asfpackages/java/oraclejdk-1.8.0-291/jre
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/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_291
     [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_291

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-XMLBeans-DSL-1.8] $ <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/gradlew> clean jenkins jacocoTestReport
Downloading https://services.gradle.org/distributions/gradle-8.0.1-bin.zip
...........10%............20%............30%............40%............50%............60%...........70%............80%............90%............100%

Welcome to Gradle 8.0.1!

Here are the highlights of this release:
 - Improvements to the Kotlin DSL
 - Fine-grained parallelism from the first build with configuration cache
 - Configurable Gradle user home cache cleanup

For more details see https://docs.gradle.org/8.0.1/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/8.0.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
Configuration on demand is an incubating feature.
> Task :clean

> Task :cyclonedxBom
Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword

> Task :bootstrap_SchemaGen
XMLSchema.xsd:1318:111: warning: Schema <notation> is not yet supported for this release.

> Task :bootstrapMigrate
Note: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/src/main/java/org/apache/xmlbeans/impl/store/Xobj.java> uses or overrides 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 :base_SchemaGen FROM-CACHE

> Task :compileJava
Note: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/src/main/java/org/apache/xmlbeans/impl/store/Xobj.java> uses or overrides 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 :compileJava9 SKIPPED
> Task :cacheJava9 SKIPPED
> Task :processResources
> Task :classes
> Task :jar
> Task :export4anttest

> Task :javadoc
javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/
1 warning

> Task :javadocJar
> Task :sourcesJar
> Task :binDistTar
> Task :binDistZip
> Task :animalsnifferMain
> Task :sDOM_SchemaGen
> Task :sEXT0_SchemaGen
> Task :sEXT1_SchemaGen
> Task :sEXT2_SchemaGen
> Task :sEXT3_SchemaGen
> Task :sEXT4_SchemaGen
> Task :sEXT5_SchemaGen

> Task :sJIRA_SchemaGen
warning: SchemaType Enumeration found with too many enumeration values to create a Java enumeration. The base SchemaType "T=MoreThanAllowedEnumType@http://XMLBEANS-307" will be used instead

> Task :sLAX_SchemaGen
> Task :sSCOMP_SchemaGen
> Task :sSIMPLE_SchemaGen
> Task :sTOKENSOURCE_SchemaGen
> Task :sTOOLS_SchemaGen
> Task :unpackTranXml
> Task :sTRANXML_SchemaGen
> Task :sUSERTYPE_SchemaGen
> Task :sVALIDATE_SchemaGen

> Task :sXMLCURSOR_SchemaGen
xstypes/person.xsd:23:43: warning: Schema <notation> is not yet supported for this release.
xstypes/person.xsd:98:33: warning: notation-facets: The use of length on datatypes derived from NOTATION ('NOTATION@http://www.w3.org/2001/XMLSchema') is deprecated.
xstypes/person.xsd:93:37: warning: notation-targetns-attr: For compatibility, NOTATION should only be used in schemas with no target namespace (attribute 'notationAtt').
xstypes/person.xsd:46:34: warning: notation-targetns-elem: For compatibility, NOTATION should only be used in schemas with no target namespace (element 'notation@http://openuri.org/xstypes/test').
warning: id-idref-idrefs-entity-entities-notation: For compatibility, type 'NOTATION' should only be used for attributes (used for element 'notation@http://openuri.org/xstypes/test').
warning: id-idref-idrefs-entity-entities-notation: For compatibility, type 'IDREF' should only be used for attributes (used for element 'input-file').
xstypes/person.xsd:93:37: warning: notation-targetns-attr: For compatibility, NOTATION should only be used in schemas with no target namespace (attribute 'notationAtt').
xstypes/person.xsd:46:34: warning: notation-targetns-elem: For compatibility, NOTATION should only be used in schemas with no target namespace (element 'notation@http://openuri.org/xstypes/test').
warning: id-idref-idrefs-entity-entities-notation: For compatibility, type 'NOTATION' should only be used for attributes (used for element 'notation@http://openuri.org/xstypes/test').

> Task :sXMLOBJECT_SchemaGen

> Task :compileTestJava
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 :processTestResources
> Task :testClasses
> Task :animalsnifferTest
> Task :forbiddenApisMain
> Task :forbiddenApisTest SKIPPED
> Task :forbiddenApis
> Task :rat
> Task :spotbugsMain
> Task :spotbugsTest
> Task :test

> Task :spotbugsMain
SpotBugs ended with exit code 1

> Task :spotbugsTest
SpotBugs ended with exit code 1

> Task :check
> Task :jacocoTestReport
> Task :srcDistTar FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':srcDistTar' (type 'Tar').
  - Gradle detected a problem with the following location: '<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/build/docs/javadoc'.>
    
    Reason: Task ':srcDistTar' uses this output of task ':javadoc' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
    
    Possible solutions:
      1. Declare task ':javadoc' as an input of ':srcDistTar'.
      2. Declare an explicit dependency on ':javadoc' from ':srcDistTar' using Task#dependsOn.
      3. Declare an explicit dependency on ':javadoc' from ':srcDistTar' using Task#mustRunAfter.
    
    Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

* 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 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 6m 24s
44 actionable tasks: 43 executed, 1 from cache
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Archiving artifacts
[Fast Archiver] Compressed 54.98 MB of artifacts by 27.1% relative to #188
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Recording test results
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[Checks API] No suitable checks publisher found.
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.

---------------------------------------------------------------------
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-XMLBeans-DSL-1.8 #190

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


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