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 #611
Date Fri, 29 Dec 2017 19:34:52 GMT
See <https://builds.apache.org/job/Juneau-Java-1.8/611/display/redirect?page=changes>

Changes:

[JamesBognar] Fix broken source links to github in examples-rest.

------------------------------------------
[...truncated 334.48 KB...]
[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-examples ---
[INFO] Installing <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-examples/pom.xml>
to /home/jenkins/.m2/repository/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/juneau-examples-7.0.2-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ juneau-examples ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ juneau-examples
---
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ juneau-examples
---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ juneau-examples ---
[INFO] 53 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-examples ---
[INFO] Installing <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-examples/pom.xml>
to /home/jenkins/.m2/repository/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/juneau-examples-7.0.2-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ juneau-examples ---
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/maven-metadata.xml
611/611 B                 Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/maven-metadata.xml
(611 B at 1.3 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/juneau-examples-7.0.2-20171229.193431-22.pom
2/3 KB      3/3 KB            Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/juneau-examples-7.0.2-20171229.193431-22.pom
(3 KB at 3.0 KB/sec)
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/maven-metadata.xml
545/545 B               Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/maven-metadata.xml
(545 B at 1.1 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/maven-metadata.xml
611/611 B               Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/maven-metadata.xml
(611 B at 0.9 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/maven-metadata.xml
545/545 B               Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/maven-metadata.xml
(545 B at 0.7 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Juneau REST Examples 7.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ juneau-examples-rest ---
[INFO] Deleting <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-examples/juneau-examples-rest/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ juneau-examples-rest ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ juneau-examples-rest
---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ juneau-examples-rest
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ juneau-examples-rest ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 28 source files to <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-examples/juneau-examples-rest/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ juneau-examples-rest
---
[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-examples/juneau-examples-rest/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ juneau-examples-rest
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 10 source files to <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-examples/juneau-examples-rest/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ juneau-examples-rest ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.juneau.examples.rest._TestSuite
Running class 'RestMicroservice' using config file 'examples.cfg'.
Server started on port 10000

List of available commands:
	exit -- Shut down service
	restart -- Restarts service
	help -- Commands help
	echo -- Echo command

> log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit'
is not recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD'
is not recognized.'
<html><head><link rel='icon' href='/htdocs/juneau.png'/><style>@import
'/styles/devops.css';  .menu-item {
	position: relative;
	display: inline-block;
}
 .menu-item {
	position: relative;
	display: inline-block;
}
</style><script> var popupItem;

function closePopup() {
	if (popupItem != null) {
		popupItem.nextElementSibling.classList.remove('popup-show');
	}
}

function menuClick(item) {
	closePopup();
	item.nextElementSibling.classList.add('popup-show');
	popupItem = item;
}

window.onclick = function(event) {
	if (popupItem != null && popupItem != event.target && ! popupItem.nextElementSibling.contains(event.target))
{
		closePopup();
	}
}; var popupItem;

function closePopup() {
	if (popupItem != null) {
		popupItem.nextElementSibling.classList.remove('popup-show');
	}
}

function menuClick(item) {
	closePopup();
	item.nextElementSibling.classList.add('popup-show');
	popupItem = item;
}

window.onclick = function(event) {
	if (popupItem != null && popupItem != event.target && ! popupItem.nextElementSibling.contains(event.target))
{
		closePopup();
	}
};</script></head><body><header><h1>Root resources</h1>
<h2>Example of a router resource page.</h2> <a href='http://juneau.apache.org'><img
src='/htdocs/juneau.png' style='position:absolute;top:5;right:5;background-color:transparent;height:30px'/></a></header><nav><ol><li><a
href='/?method=OPTIONS'>options</a></li><li><div class='menu-item'>
	<a class='link' onclick='menuClick(this)'>content-type</a>
	<div class='popup-content'>
<div><a href='/?plainText=true&Accept=application%2Fjson'>application/json</a><br/><a
href='/?plainText=true&Accept=application%2Fjson%2Bschema'>application/json+schema</a><br/><a
href='/?plainText=true&Accept=application%2Fjson%2Bsimple'>application/json+simple</a><br/><a
href='/?plainText=true&Accept=application%2Fx-www-form-urlencoded'>application/x-www-form-urlencoded</a><br/><a
href='/?plainText=true&Accept=octal%2Fmsgpack'>octal/msgpack</a><br/><a
href='/?plainText=true&Accept=text%2Fhtml'>text/html</a><br/><a href='/?plainText=true&Accept=text%2Fhtml%2Bschema'>text/html+schema</a><br/><a
href='/?plainText=true&Accept=text%2Fhtml%2Bstripped'>text/html+stripped</a><br/><a
href='/?plainText=true&Accept=text%2Fn-triple'>text/n-triple</a><br/><a
href='/?plainText=true&Accept=text%2Fn3'>text/n3</a><br/><a href='/?plainText=true&Accept=text%2Fplain'>text/plain</a><br/><a
href='/?plainText=true&Accept=text%2Fturtle'>text/turtle</a><br/><a
href='/?plainText=true&Accept=text%2Fuon'>text/uon</a><br/><a href='/?plainText=true&Accept=text%2Fxml'>text/xml</a><br/><a
href='/?plainText=true&Accept=text%2Fxml%2Brdf'>text/xml+rdf</a><br/><a
href='/?plainText=true&Accept=text%2Fxml%2Brdf%2Babbrev'>text/xml+rdf+abbrev</a><br/><a
href='/?plainText=true&Accept=text%2Fxml%2Bschema'>text/xml+schema</a><br/><a
href='/?plainText=true&Accept=text%2Fxml%2Bsoap'>text/xml+soap</a><br/></div>
	</div>
</div></li><li><div class='menu-item'>
	<a class='link' onclick='menuClick(this)'>styles</a>
	<div class='popup-content'>
<div><a href='/?stylesheet=styles%2Fdevops.css'>devops</a><br/><a
href='/?stylesheet=styles%2Flight.css'>light</a><br/><a href='/?stylesheet=styles%2Foriginal.css'>original</a><br/><a
href='/?stylesheet=styles%2Fdark.css'>dark</a><br/></div>
	</div>
</div></li><li><a href='https://github.com/apache/juneau/blob/master/juneau-examples/juneau-examples-rest/src/main/java/org/apache/juneau/examples/rest/RootResources.java'>source</a></li></ol></nav><section><article><div
class='outerdata'><div class='data' id='data'><table _type='array'><tr><th>name</th><th>description</th></tr><tr><td><a
href='/helloWorld'>helloWorld</a></td><td>Hello World</td></tr><tr><td><a
href='/petstore'>petstore</a></td><td>Pet Store</td></tr><tr><td><a
href='/systemProperties'>systemProperties</a></td><td>System properties
resource</td></tr><tr><td><a href='/methodExample'>methodExample</a></td><td>A
simple REST method example resource</td></tr><tr><td><a href='/echo'>echo</a></td><td>Request
echo service</td></tr><tr><td><a href='/tempDir'>tempDir</a></td><td>Temp
Directory View Service</td></tr><tr><td><a href='/addressBook'>addressBook</a></td><td>AddressBook
sample resource</td></tr><tr><td><a href='/remoteable'>remoteable</a></td><td>Remoteable
Service Proxy API</td></tr><tr><td><a href='/photos'>photos</a></td><td>Photo
REST service</td></tr><tr><td><a href='/atom'>atom</a></td><td>Sample
ATOM feed resource</td></tr><tr><td><a href='/jsonSchema'>jsonSchema</a></td><td>Sample
JSON-Schema document</td></tr><tr><td><a href='/sqlQuery'>sqlQuery</a></td><td>SQL
query service</td></tr><tr><td><a href='/tumblrParser'>tumblrParser</a></td><td>Tumblr
parser service</td></tr><tr><td><a href='/codeFormatter'>codeFormatter</a></td><td>Code
Formatter</td></tr><tr><td><a href='/urlEncodedForm'>urlEncodedForm</a></td><td>URL-Encoded
form example</td></tr><tr><td><a href='/config'>config</a></td><td>Configuration</td></tr><tr><td><a
href='/logs'>logs</a></td><td>Log files</td></tr><tr><td><a
href='/docker'>docker</a></td><td>Sample Docker resource</td></tr><tr><td><a
href='/debug'>debug</a></td><td>Debug</td></tr><tr><td><a
href='/shutdown'>shutdown</a></td><td>Shut down this resource</td></tr></table></div></div></article><aside><div
style='max-width:400px' class='text'> 	<p>This is an example of a 'router' page that
serves as a jumping-off point to child resources.</p> 	<p>Resources can be nested
arbitrarily deep through router pages.</p> 	<p>Note the <span class='link'>options</span>
link provided that lets you see the generated swagger doc for this page.</p> 	<p>Also
note the <span class='link'>sources</span> link on these pages to view the source
code for the page.</p> 	<p>All content on pages in the UI are serialized POJOs.
 In this case, it's a serialized array of beans with 2 properties, 'name' and 'description'.</p>
	<p>Other features (such as this aside) are added through annotations.</p> </div></aside></section><footer><a
href='http://apache.org'><img style='float:right;padding-right:20px;height:32px' src='/htdocs/asf.png'></footer></body></html>
WARNING:  RestClient garbage collected before it was finalized.
Creation stack traces can be displayed by setting the system property 'org.apache.juneau.rest.client.RestClient.trackLifecycle'
to true.
Stopping server.
Server stopped.
Tests run: 31, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.338 sec <<< FAILURE!
- in org.apache.juneau.examples.rest._TestSuite
doTest[3](org.apache.juneau.examples.rest.RootContentTest)  Time elapsed: 0.067 sec  <<<
ERROR!
org.apache.juneau.FormattedRuntimeException: String '<a href='https://github.com/apache/juneau/blob/master/juneau-examples-rest/src/main/java/org/apache/juneau/examples/rest/RootResources.java'>source</a>'
not found at URL '/' for media type 'text/html'

[JsonSchemaSerializer] = [7,17,70%]
[PlainTextParser] = [3,22,88%]
[UrlEncodingSerializer] = [10,40,80%]
[SoapXmlSerializer] = [6,18,75%]
[JsonSerializer] = [13,24,64%]
[Simple] = [7,17,70%]
[HtmlDocSerializer] = [22,2,8%]
[UrlEncodingParser] = [4,20,83%]
[UonPartParser] = [1,3,75%]
[ImageParser] = [1,1,50%]
[HtmlStrippedDocSerializer] = [8,16,66%]
[MsgPackSerializer] = [7,19,73%]
[JsonParser] = [4,26,86%]
[UonSerializer] = [8,18,69%]
[XmlParser] = [4,23,85%]
[Turtle] = [8,4,33%]
[MsgPackParser] = [3,22,88%]
[N3] = [8,4,33%]
[PlainTextSerializer] = [7,19,73%]
[XmlDocSerializer] = [6,18,75%]
[UonParser] = [4,21,84%]
[ImageSerializer] = [1,0,0%]
[XmlSchemaDocSerializer] = [7,17,70%]
[HtmlSchemaDocSerializer] = [23,1,4%]
[RdfSerializer] = [4,0,0%]
[BeanContext] = [4,23,85%]
[HtmlParser] = [4,23,85%]
[HtmlSerializer] = [2,0,0%]
[Xml] = [8,4,33%]
[NTriple] = [8,4,33%]
[XmlAbbrev] = [5,1,16%]
[XmlSerializer] = [2,2,50%]
[RdfParser] = [4,0,0%]
[total] = [213,429,66%]

Results :

Tests in error: 
  RootContentTest>ContentComboTestcase.doTest:103 ยป FormattedRuntime String '<a ...

Tests run: 31, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Juneau ...................................... SUCCESS [ 13.555 s]
[INFO] Apache Juneau - Core APIs .......................... SUCCESS [  4.157 s]
[INFO] Apache Juneau Marshall ............................. SUCCESS [ 54.888 s]
[INFO] Apache Juneau Marshal RDF .......................... SUCCESS [ 14.179 s]
[INFO] Apache Juneau Data Transfer Objects ................ SUCCESS [ 16.298 s]
[INFO] Apache Juneau Core ................................. SUCCESS [ 10.397 s]
[INFO] Apache Juneau Config File API ...................... SUCCESS [ 11.123 s]
[INFO] Apache Juneau Core Tests ........................... SUCCESS [01:42 min]
[INFO] Apache Juneau - REST APIs .......................... SUCCESS [  3.351 s]
[INFO] Apache Juneau REST Servlet API ..................... SUCCESS [ 16.188 s]
[INFO] Apache Juneau REST JAX/RS API ...................... SUCCESS [ 10.512 s]
[INFO] Apache Juneau REST Client API ...................... SUCCESS [ 11.028 s]
[INFO] Apache Juneau - Microservice APIs .................. SUCCESS [  3.144 s]
[INFO] Apache Juneau Microservice Server .................. SUCCESS [ 13.040 s]
[INFO] Apache Juneau Microservice Template ................ SUCCESS [ 10.030 s]
[INFO] Apache Juneau - Examples ........................... SUCCESS [  3.214 s]
[INFO] Apache Juneau REST Examples ........................ FAILURE [ 14.048 s]
[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: 05:16 min
[INFO] Finished at: 2017-12-29T19:34:47+00:00
[INFO] Final Memory: 89M/3113M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
(default-test) on project juneau-examples-rest: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/Juneau-Java-1.8/ws/juneau-examples/juneau-examples-rest/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-examples-rest
Build step 'Invoke top-level Maven targets' marked build as failure

Mime
View raw message