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 #791
Date Sat, 21 Apr 2018 18:16:33 GMT
See <https://builds.apache.org/job/Juneau-Java-1.8/791/display/redirect?page=changes>

Changes:

[JamesBognar] JUnits for BasicRestInfoProvider

------------------------------------------
[...truncated 193.04 KB...]
648/648 B                 Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-core-test/maven-metadata.xml
(648 B at 0.9 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.181620-79-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.181620-79-sources.jar
(9 KB at 12.4 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.181620-79-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.181620-79-sources.jar
(9 KB at 12.4 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.4 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.181626-79.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.181626-79.pom
(3 KB at 3.3 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: 52, Failures: 15, Errors: 0, Skipped: 0, Time elapsed: 1.672 sec <<< FAILURE!
- in org.apache.juneau.rest.BasicRestInfoProviderTest
f01_contact_default(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed: 0.027
sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[{name:'s-name',url:'s-url',email:'s-email'}]>
but was:<[null]>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.f01_contact_default(BasicRestInfoProviderTest.java:331)

b01_title_RestResource_title(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed:
0.01 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[s]-title> but was:<[a]-title>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.b01_title_RestResource_title(BasicRestInfoProviderTest.java:91)

j01_tags_default(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed: 0.009 sec
 <<< FAILURE!
org.junit.ComparisonFailure: expected:<[[{name:'s-name',description:'s-description',externalDocs:{description:'s-description',url:'s-url'}}]]>
but was:<[null]>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.j01_tags_default(BasicRestInfoProviderTest.java:499)

g01_license_default(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed: 0.009
sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[{name:'s-name',url:'s-url'}]> but was:<[null]>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.g01_license_default(BasicRestInfoProviderTest.java:387)

h01_host_default(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed: 0.009 sec
 <<< FAILURE!
java.lang.AssertionError: expected:<s-host> but was:<null>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.h01_host_default(BasicRestInfoProviderTest.java:440)

i01_basePath_default(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed: 0.008
sec  <<< FAILURE!
java.lang.AssertionError: expected:<s-basePath> but was:<null>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.i01_basePath_default(BasicRestInfoProviderTest.java:465)

c02_description_RestResource_description_localized(org.apache.juneau.rest.BasicRestInfoProviderTest)
 Time elapsed: 0.008 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[s-description]> but was:<[l-foo]>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.c02_description_RestResource_description_localized(BasicRestInfoProviderTest.java:176)

c01_description_RestResource_description(org.apache.juneau.rest.BasicRestInfoProviderTest)
 Time elapsed: 0.012 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[s]-description> but was:<[a]-description>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.c01_description_RestResource_description(BasicRestInfoProviderTest.java:166)

k01_schemes_default(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed: 0.012
sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[['s-scheme']]> but was:<[null]>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.k01_schemes_default(BasicRestInfoProviderTest.java:576)

e01_termsOfService_default(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed:
0.01 sec  <<< FAILURE!
java.lang.AssertionError: expected:<s-termsOfService> but was:<null>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.e01_termsOfService_default(BasicRestInfoProviderTest.java:285)

a01_swagger_default(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed: 0.008
sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[0].0> but was:<[2].0>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.a01_swagger_default(BasicRestInfoProviderTest.java:66)

j05_tags_ResourceSwagger_tags_only(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time
elapsed: 0.014 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[{name:'[s-name',description:'s-description',externalDocs:{description:'s-description',url:'s-url'}},{name:']b-name',description:...>
but was:<[{name:'[]b-name',description:...>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.j05_tags_ResourceSwagger_tags_only(BasicRestInfoProviderTest.java:539)

d01_version_default(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed: 0.009
sec  <<< FAILURE!
java.lang.AssertionError: expected:<0.0.0> but was:<null>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.d01_version_default(BasicRestInfoProviderTest.java:241)

l01_externalDocs_default(org.apache.juneau.rest.BasicRestInfoProviderTest)  Time elapsed:
0.006 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[{description:'s-description',url:'s-url'}]>
but was:<[null]>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.l01_externalDocs_default(BasicRestInfoProviderTest.java:604)

b02_title_RestResource_title_localized(org.apache.juneau.rest.BasicRestInfoProviderTest) 
Time elapsed: 0.008 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[s-title]> but was:<[l-foo]>
	at org.apache.juneau.rest.BasicRestInfoProviderTest.b02_title_RestResource_title_localized(BasicRestInfoProviderTest.java:101)

[BeanContext] = [2,104,98%]
[Config] = [104,0,0%]
[JsonSerializer] = [5,0,0%]
[total] = [111,104,48%]

Results :

Failed tests: 
  BasicRestInfoProviderTest.a01_swagger_default:66 expected:<[0].0> but was:<[2].0>
  BasicRestInfoProviderTest.b01_title_RestResource_title:91 expected:<[s]-title> but
was:<[a]-title>
  BasicRestInfoProviderTest.b02_title_RestResource_title_localized:101 expected:<[s-title]>
but was:<[l-foo]>
  BasicRestInfoProviderTest.c01_description_RestResource_description:166 expected:<[s]-description>
but was:<[a]-description>
  BasicRestInfoProviderTest.c02_description_RestResource_description_localized:176 expected:<[s-description]>
but was:<[l-foo]>
  BasicRestInfoProviderTest.d01_version_default:241 expected:<0.0.0> but was:<null>
  BasicRestInfoProviderTest.e01_termsOfService_default:285 expected:<s-termsOfService>
but was:<null>
  BasicRestInfoProviderTest.f01_contact_default:331 expected:<[{name:'s-name',url:'s-url',email:'s-email'}]>
but was:<[null]>
  BasicRestInfoProviderTest.g01_license_default:387 expected:<[{name:'s-name',url:'s-url'}]>
but was:<[null]>
  BasicRestInfoProviderTest.h01_host_default:440 expected:<s-host> but was:<null>
  BasicRestInfoProviderTest.i01_basePath_default:465 expected:<s-basePath> but was:<null>
  BasicRestInfoProviderTest.j01_tags_default:499 expected:<[[{name:'s-name',description:'s-description',externalDocs:{description:'s-description',url:'s-url'}}]]>
but was:<[null]>
  BasicRestInfoProviderTest.j05_tags_ResourceSwagger_tags_only:539 expected:<[{name:'[s-name',description:'s-description',externalDocs:{description:'s-description',url:'s-url'}},{name:']b-name',description:...>
but was:<[{name:'[]b-name',description:...>
  BasicRestInfoProviderTest.k01_schemes_default:576 expected:<[['s-scheme']]> but was:<[null]>
  BasicRestInfoProviderTest.l01_externalDocs_default:604 expected:<[{description:'s-description',url:'s-url'}]>
but was:<[null]>

Tests run: 52, Failures: 15, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Juneau ...................................... SUCCESS [  6.849 s]
[INFO] Apache Juneau - Core APIs .......................... SUCCESS [  3.313 s]
[INFO] Apache Juneau Marshall ............................. SUCCESS [ 32.323 s]
[INFO] Apache Juneau Marshal RDF .......................... SUCCESS [  9.624 s]
[INFO] Apache Juneau Data Transfer Objects ................ SUCCESS [ 13.583 s]
[INFO] Apache Juneau Core ................................. SUCCESS [  8.740 s]
[INFO] Apache Juneau Config File API ...................... SUCCESS [  9.695 s]
[INFO] Apache Juneau Core Tests ........................... SUCCESS [ 43.567 s]
[INFO] Apache Juneau - REST APIs .......................... SUCCESS [  2.990 s]
[INFO] Apache Juneau REST Servlet API ..................... FAILURE [  3.128 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:15 min
[INFO] Finished at: 2018-04-21T18:16:32+00:00
[INFO] Final Memory: 103M/4315M
[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