juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Juneau-Java-1.8 #790
Date Sat, 21 Apr 2018 16:21:30 GMT
See <https://builds.apache.org/job/Juneau-Java-1.8/790/display/redirect?page=changes>

Changes:

[JamesBognar] JUnit tests for BasicRestInfoProvider.

------------------------------------------
[...truncated 185.10 KB...]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-core/juneau-core-test/src/main/resources>
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ juneau-core-test ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ juneau-core-test
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-core/juneau-core-test/src/test/resources>
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ juneau-core-test
---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ juneau-core-test ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.2.201409121644:report (default-report) @ juneau-core-test
---
[INFO] Analyzed bundle 'Apache Juneau Core Tests' with 0 classes
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:bundle (default-bundle) @ juneau-core-test ---
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ juneau-core-test
---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ juneau-core-test ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: **/DEPENDENCIES
[INFO] Exclude: **/target/**
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/.project
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/*.launch
[INFO] Exclude: **/jetty.out.xml
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] 207 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 207 licence.
[INFO] 
[INFO] --- maven-source-plugin:3.0.0:jar-no-fork (attach-sources) @ juneau-core-test ---
[INFO] Building jar: <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-core/juneau-core-test/target/juneau-core-test-7.1.1-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ juneau-core-test ---
[INFO] Installing <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-core/juneau-core-test/target/juneau-core-test-7.1.1-SNAPSHOT.jar>
to /home/jenkins/.m2/repository/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-core/juneau-core-test/pom.xml>
to /home/jenkins/.m2/repository/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-core/juneau-core-test/target/juneau-core-test-7.1.1-SNAPSHOT-sources.jar>
to /home/jenkins/.m2/repository/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-SNAPSHOT-sources.jar
[INFO] Installing <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-core/juneau-core-test/target/juneau-core-test-7.1.1-SNAPSHOT-sources.jar>
to /home/jenkins/.m2/repository/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:install (default-install) @ juneau-core-test ---
[INFO] Installing org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ juneau-core-test ---
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/maven-metadata.xml
1001/1001 B                 Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/maven-metadata.xml
(1001 B at 2.2 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-20180421.162118-78.jar
2/8 KB        4/8 KB   6/8 KB   8/8 KB            Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-20180421.162118-78.jar
(8 KB at 11.6 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-20180421.162118-78.pom
2/5 KB   4/5 KB   5/5 KB            Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-20180421.162118-78.pom
(5 KB at 6.9 KB/sec)
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/maven-metadata.xml
648/648 B               Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/maven-metadata.xml
(648 B at 1.5 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/maven-metadata.xml
1001/1001 B                 Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/maven-metadata.xml
(1001 B at 1.5 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/maven-metadata.xml
648/648 B                 Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/maven-metadata.xml
(648 B at 1.0 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-20180421.162118-78-sources.jar
2/9 KB      4/9 KB   6/9 KB   8/9 KB   9/9 KB            Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-20180421.162118-78-sources.jar
(9 KB at 12.3 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/maven-metadata.xml
1001/1001 B                 Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/maven-metadata.xml
(1001 B at 1.5 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-20180421.162118-78-sources.jar
2/9 KB        4/9 KB   6/9 KB   8/9 KB   9/9 KB            Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/juneau-core-test-7.1.1-20180421.162118-78-sources.jar
(9 KB at 12.2 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/maven-metadata.xml
1001/1001 B                 Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/7.1.1-SNAPSHOT/maven-metadata.xml
(1001 B at 1.5 KB/sec)
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:deploy (default-deploy) @ juneau-core-test ---
[INFO] Remote OBR update disabled (enable with -DremoteOBR)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Juneau - REST APIs 7.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ juneau-rest ---
[INFO] Deleting <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ juneau-rest ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ juneau-rest
---
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ juneau-rest ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ juneau-rest ---
[INFO] 54 implicit excludes (use -debug for more details).
[INFO] Exclude: **/DEPENDENCIES
[INFO] Exclude: **/target/**
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/.project
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/*.launch
[INFO] Exclude: **/jetty.out.xml
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] 1 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 1 licence.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ juneau-rest ---
[INFO] Installing <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/pom.xml>
to /home/jenkins/.m2/repository/org/apache/juneau/juneau-rest/7.1.1-SNAPSHOT/juneau-rest-7.1.1-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ juneau-rest ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ juneau-rest
---
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ juneau-rest ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ juneau-rest ---
[INFO] 54 implicit excludes (use -debug for more details).
[INFO] Exclude: **/DEPENDENCIES
[INFO] Exclude: **/target/**
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/.project
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/*.launch
[INFO] Exclude: **/jetty.out.xml
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] 1 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 1 licence.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ juneau-rest ---
[INFO] Installing <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/pom.xml>
to /home/jenkins/.m2/repository/org/apache/juneau/juneau-rest/7.1.1-SNAPSHOT/juneau-rest-7.1.1-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ juneau-rest ---
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-rest/7.1.1-SNAPSHOT/maven-metadata.xml
607/607 B                 Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-rest/7.1.1-SNAPSHOT/maven-metadata.xml
(607 B at 1.3 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-rest/7.1.1-SNAPSHOT/juneau-rest-7.1.1-20180421.162124-78.pom
2/3 KB      3/3 KB            Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-rest/7.1.1-SNAPSHOT/juneau-rest-7.1.1-20180421.162124-78.pom
(3 KB at 3.2 KB/sec)
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-rest/maven-metadata.xml
643/643 B               Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-rest/maven-metadata.xml
(643 B at 1.4 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-rest/7.1.1-SNAPSHOT/maven-metadata.xml
607/607 B               Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-rest/7.1.1-SNAPSHOT/maven-metadata.xml
(607 B at 0.9 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-rest/maven-metadata.xml
643/643 B               Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-rest/maven-metadata.xml
(643 B at 0.9 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Juneau REST Servlet API 7.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ juneau-rest-server ---
[INFO] Deleting <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/juneau-rest-server/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ juneau-rest-server ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ juneau-rest-server
---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ juneau-rest-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ juneau-rest-server ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 156 source files to <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/juneau-rest-server/target/classes>
[INFO] <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/util/MockHttpServletResponse.java>:
Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/util/MockHttpServletResponse.java>:
Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/util/MockHttpServletResponse.java>:
<https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/util/MockHttpServletResponse.java>
uses unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/util/MockHttpServletResponse.java>:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ juneau-rest-server
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ juneau-rest-server
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/juneau-rest-server/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ juneau-rest-server ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.juneau.rest.BasicRestInfoProviderTest
Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.644 sec <<< FAILURE!
- in org.apache.juneau.rest.BasicRestInfoProviderTest
title_RestResource_title_localized(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time
elapsed: 0.507 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<{info:{title:'[s-title]'}}> but was:<{info:{title:'[l-foo]'}}>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.title_RestResource_title_localized(BasicRestInfoProviderTest.java:79)

title_RestResource_title(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed:
0.014 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<{info:{title:'[s]-title'}}> but was:<{info:{title:'[a]-title'}}>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.title_RestResource_title(BasicRestInfoProviderTest.java:69)

[BeanContext] = [2,14,87%]
[Config] = [14,0,0%]
[JsonSerializer] = [5,0,0%]
[total] = [21,14,40%]

Results :

Failed tests: 
  BasicRestInfoProviderTest.title_RestResource_title:69 expected:<{info:{title:'[s]-title'}}>
but was:<{info:{title:'[a]-title'}}>
  BasicRestInfoProviderTest.title_RestResource_title_localized:79 expected:<{info:{title:'[s-title]'}}>
but was:<{info:{title:'[l-foo]'}}>

Tests run: 7, Failures: 2, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Juneau ...................................... SUCCESS [  6.476 s]
[INFO] Apache Juneau - Core APIs .......................... SUCCESS [  3.510 s]
[INFO] Apache Juneau Marshall ............................. SUCCESS [ 31.603 s]
[INFO] Apache Juneau Marshal RDF .......................... SUCCESS [  9.889 s]
[INFO] Apache Juneau Data Transfer Objects ................ SUCCESS [ 12.743 s]
[INFO] Apache Juneau Core ................................. SUCCESS [  9.135 s]
[INFO] Apache Juneau Config File API ...................... SUCCESS [  9.108 s]
[INFO] Apache Juneau Core Tests ........................... SUCCESS [ 43.748 s]
[INFO] Apache Juneau - REST APIs .......................... SUCCESS [  3.062 s]
[INFO] Apache Juneau REST Servlet API ..................... FAILURE [  2.101 s]
[INFO] Apache Juneau REST JAX/RS API ...................... SKIPPED
[INFO] Apache Juneau REST Client API ...................... SKIPPED
[INFO] Apache Juneau - Microservice APIs .................. SKIPPED
[INFO] Apache Juneau Microservice Server .................. SKIPPED
[INFO] Apache Juneau Microservice Template ................ SKIPPED
[INFO] Apache Juneau - Examples ........................... SKIPPED
[INFO] Apache Juneau REST Examples ........................ SKIPPED
[INFO] Apache Juneau Microservice Tests ................... SKIPPED
[INFO] Apache Juneau Core Examples ........................ SKIPPED
[INFO] Apache Juneau Javadocs ............................. SKIPPED
[INFO] Apache Juneau - Release Engineering ................ SKIPPED
[INFO] Apache Juneau UberJar .............................. SKIPPED
[INFO] Apache Juneau Distribution ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:12 min
[INFO] Finished at: 2018-04-21T16:21:29+00:00
[INFO] Final Memory: 78M/2542M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
(default-test) on project juneau-rest-server: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-rest/juneau-rest-server/target/surefire-reports>
for the individual test results.
[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 :juneau-rest-server
Build step 'Invoke top-level Maven targets' marked build as failure

Mime
View raw message