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 23:00:51 UTC

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

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

Changes:

[PJ Fanning] use NOTICE-binary.txt as the notice in bin distributions

[PJ Fanning] use LICENSE-BINARY.txt as the license in bin distributions


------------------------------------------
[...truncated 174.30 KB...]
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jjs
-rwxr-xr-x 1 root root   8824 Jan 18 16:29 jmap
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jps
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 jrunscript
-rwxr-xr-x 1 root root   8776 Jan 18 16:29 jsadebugd
-rwxr-xr-x 1 root root   8824 Jan 18 16:29 jstack
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jstat
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 jstatd
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 keytool
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 native2ascii
-rwxr-xr-x 1 root root   8832 Jan 18 16:29 orbd
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 pack200
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 policytool
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 rmic
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 rmid
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 rmiregistry
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 schemagen
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 serialver
-rwxr-xr-x 1 root root   8768 Jan 18 16:29 servertool
-rwxr-xr-x 1 root root   8832 Jan 18 16:29 tnameserv
-rwxr-xr-x 1 root root 186888 Jan 18 16:29 unpack200
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 wsgen
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 wsimport
-rwxr-xr-x 1 root root   8760 Jan 18 16:29 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-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_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b09, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_362
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 408
drwxr-xr-x 10 jenkins jenkins   4096 Feb 23 22:51 .
drwxr-xr-x  6 jenkins jenkins   4096 Feb 23 22:51 ..
-rw-r--r--  1 jenkins jenkins  28547 Feb 23 22:51 build.gradle
-rw-r--r--  1 jenkins jenkins  53429 Feb 23 22:51 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Feb 23 22:51 CHANGES.txt
drwxr-xr-x  3 jenkins jenkins   4096 Feb 23 22:51 .github
-rw-r--r--  1 jenkins jenkins     14 Feb 23 22:51 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 23 22:51 gradle
-rw-r--r--  1 jenkins jenkins   1338 Feb 23 22:51 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8497 Feb 23 22:51 gradlew
-rw-r--r--  1 jenkins jenkins   2868 Feb 23 22:51 gradlew.bat
-rw-r--r--  1 jenkins jenkins 176157 Feb 23 22:51 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 23 22:51 legal
-rwxr-xr-x  1 jenkins jenkins  12440 Feb 23 22:51 LICENSE-binary.txt
-rwxr-xr-x  1 jenkins jenkins  11358 Feb 23 22:51 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   2561 Feb 23 22:51 NOTICE-binary.txt
-rw-r--r--  1 jenkins jenkins   1273 Feb 23 22:51 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2227 Feb 23 22:51 README.txt
-rw-r--r--  1 jenkins jenkins  11087 Feb 23 22:51 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Feb 23 22:51 samples
-rw-r--r--  1 jenkins jenkins    238 Feb 23 22:51 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Feb 23 22:51 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Feb 23 22:51 src
-rw-r--r--  1 jenkins jenkins    369 Feb 23 22:51 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Feb 23 22:51 .svn
drwxr-xr-x  5 jenkins jenkins   4096 Feb 23 22:51 test
-rw-r--r--  1 jenkins jenkins     25 Feb 23 22:51 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Feb 23 22:51 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Feb 23 22:51 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/adoptium-jdk-8u362-b09/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_362
     [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_362

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%
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
Files with unapproved licenses:
 - <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/NOTICE-binary.txt>


> Task :rat FAILED
> Task :spotbugsMain
> Task :spotbugsTest
> Task :test

> Task :spotbugsMain
SpotBugs ended with exit code 1

> Task :spotbugsTest
SpotBugs ended with exit code 1

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat'.
> A failure occurred while executing org.nosphere.apache.rat.RatWork
   > Apache Rat audit failure - 1 unapproved license
     	See file://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/build/reports/rat/index.html>

* 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 8m 39s
42 actionable tasks: 41 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 55.00 MB of artifacts by 27.0% relative to #190
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 #192

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


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