See
<https://builds.apache.org/job/sling-org-apache-sling-karaf-launchpad-oak-tar-integration-tests-1.8/190/display/redirect?page=changes>
Changes:
[radu] SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module
[radu] SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module
------------------------------------------
[...truncated 570.66 KB...]
at
org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:215)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
at
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317)
at
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at
org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:531)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)
at java.lang.Thread.run(Thread.java:748)
</pre>
<h3>Request Progress:</h3>
<pre>
0 TIMER_START{Request Processing}
5 COMMENT timer_end format is {<elapsed microseconds>,<timer
name>} <optional message>
18 LOG Method=GET, PathInfo=null
25 TIMER_START{handleSecurity}
7959 TIMER_END{7930,handleSecurity} authenticator
org.apache.sling.auth.core.impl.SlingAuthenticator@6e0ee8e3 returns true
18751 TIMER_START{ResourceResolution}
21939 TIMER_END{3185,ResourceResolution} URI=/planets.tidy.-1.json resolves
to Resource=SyntheticResource, type=sling/test-services/planet, path=/planets
21963 LOG Resource Path Info: SlingRequestPathInfo:
path='/planets', selectorString='tidy.-1',
extension='json', suffix='null'
21963 TIMER_START{ServletResolution}
21969 TIMER_START{resolveServlet(/planets)}
38411 TIMER_END{16438,resolveServlet(/planets)} Using servlet
org.apache.sling.servlets.get.DefaultGetServlet
38574 TIMER_END{16609,ServletResolution} URI=/planets.tidy.-1.json handled by
Servlet=org.apache.sling.servlets.get.DefaultGetServlet
38587 LOG Applying Requestfilters
39064 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
39573 LOG Calling filter:
org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
40037 LOG Calling filter:
org.apache.sling.launchpad.testservices.filters.SlingFilter
40549 LOG Calling filter:
org.apache.sling.launchpad.testservices.filters.NoPropertyFilter
41069 LOG Applying Componentfilters
41266 TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}
41288 LOG Using org.apache.sling.servlets.get.impl.helpers.JsonRenderer to
render for extension=json
50142 TIMER_END{8873,org.apache.sling.servlets.get.DefaultGetServlet#0}
50260 LOG Filter timing:
filter=org.apache.sling.launchpad.testservices.filters.SlingFilterWithPattern,
inner=0, total=9, outer=9
50269 LOG Filter timing:
filter=org.apache.sling.launchpad.testservices.filters.NoPropertyFilter,
inner=9, total=10, outer=1
50280 LOG Filter timing:
filter=org.apache.sling.launchpad.testservices.filters.SlingFilter, inner=10,
total=10, outer=0
50288 LOG Filter timing:
filter=org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter,
inner=10, total=11, outer=1
53112 LOG Applying Error filters
53647 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
53670 TIMER_START{handleError:throwable=java.lang.ClassCastException}
110019 TIMER_END{56345,handleError:throwable=java.lang.ClassCastException}
Using handler
org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet
123118 TIMER_END{123113,Request Processing} Dumping
SlingRequestProgressTracker Entries
</pre>
<hr>
<address>ApacheSling/2.6 (jetty/9.4.11.v20180605, Java HotSpot(TM) 64-Bit
Server VM 1.8.0_172, Linux 4.4.0-133-generic amd64)</address>
</body>
</html>
) expected:<200> but was:<500>
[ERROR]
PlanetsResourceProviderTest.testRootResource:38->assertStrings:27->HttpTestBase.getContent:419->HttpTestBase.getContent:424->HttpTestBase.getContent:432->HttpTestBase.getContent:457
Expected status 200 for http://localhost:35305/planets.tidy.-1.json
(content=<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>500 org.apache.johnzon.core.JsonObjectImpl cannot be cast to
javax.json.JsonArray</title>
</head>
<body>
<h1>org.apache.johnzon.core.JsonObjectImpl cannot be cast to
javax.json.JsonArray (500)</h1>
<p>The requested URL /planets.tidy.-1.json resulted in an error in
org.apache.sling.servlets.get.DefaultGetServlet.</p>
<h3>Exception:</h3>
<pre>
java.lang.ClassCastException: org.apache.johnzon.core.JsonObjectImpl cannot be
cast to javax.json.JsonArray
at
org.apache.sling.servlets.get.impl.util.JsonToText.valueToString(JsonToText.java:164)
at
org.apache.sling.servlets.get.impl.util.JsonToText.prettyPrint(JsonToText.java:226)
at
org.apache.sling.servlets.get.impl.helpers.JsonRenderer.render(JsonRenderer.java:112)
at
org.apache.sling.servlets.get.impl.DefaultGetServlet.doGet(DefaultGetServlet.java:316)
at
org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:266)
at
org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342)
at
org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374)
at
org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552)
at
org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)
at
org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:82)
at
org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:282)
at
org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)
at
org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:76)
at
org.apache.sling.launchpad.testservices.filters.TestFilter.doFilter(TestFilter.java:47)
at
org.apache.sling.launchpad.testservices.filters.NoPropertyFilter.doFilter(NoPropertyFilter.java:25)
at
org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72)
at
org.apache.sling.launchpad.testservices.filters.TestFilter.doFilter(TestFilter.java:47)
at
org.apache.sling.launchpad.testservices.filters.SlingFilter.doFilter(SlingFilter.java:25)
at
org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72)
at
org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:107)
at
org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72)
at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131)
at
org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72)
at
org.apache.sling.engine.impl.SlingRequestProcessorImpl.doProcessRequest(SlingRequestProcessorImpl.java:151)
at
org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:234)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:857)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655)
at
org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:215)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
at
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317)
at
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at
org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:531)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)
at java.lang.Thread.run(Thread.java:748)
</pre>
<h3>Request Progress:</h3>
<pre>
0 TIMER_START{Request Processing}
4 COMMENT timer_end format is {<elapsed microseconds>,<timer
name>} <optional message>
15 LOG Method=GET, PathInfo=null
19 TIMER_START{handleSecurity}
6007 TIMER_END{5986,handleSecurity} authenticator
org.apache.sling.auth.core.impl.SlingAuthenticator@6e0ee8e3 returns true
12715 TIMER_START{ResourceResolution}
15586 TIMER_END{2868,ResourceResolution} URI=/planets.tidy.-1.json resolves
to Resource=SyntheticResource, type=sling/test-services/planet, path=/planets
15605 LOG Resource Path Info: SlingRequestPathInfo:
path='/planets', selectorString='tidy.-1',
extension='json', suffix='null'
15605 TIMER_START{ServletResolution}
15610 TIMER_START{resolveServlet(/planets)}
30662 TIMER_END{15050,resolveServlet(/planets)} Using servlet
org.apache.sling.servlets.get.DefaultGetServlet
30821 TIMER_END{15214,ServletResolution} URI=/planets.tidy.-1.json handled by
Servlet=org.apache.sling.servlets.get.DefaultGetServlet
30831 LOG Applying Requestfilters
31296 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
31755 LOG Calling filter:
org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
32222 LOG Calling filter:
org.apache.sling.launchpad.testservices.filters.SlingFilter
32751 LOG Calling filter:
org.apache.sling.launchpad.testservices.filters.NoPropertyFilter
33261 LOG Applying Componentfilters
33449 TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}
33469 LOG Using org.apache.sling.servlets.get.impl.helpers.JsonRenderer to
render for extension=json
35925 TIMER_END{2474,org.apache.sling.servlets.get.DefaultGetServlet#0}
36021 LOG Filter timing:
filter=org.apache.sling.launchpad.testservices.filters.SlingFilterWithPattern,
inner=0, total=3, outer=3
36030 LOG Filter timing:
filter=org.apache.sling.launchpad.testservices.filters.NoPropertyFilter,
inner=3, total=4, outer=1
36035 LOG Filter timing:
filter=org.apache.sling.launchpad.testservices.filters.SlingFilter, inner=4,
total=4, outer=0
36042 LOG Filter timing:
filter=org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter,
inner=4, total=5, outer=1
38895 LOG Applying Error filters
39372 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
39384 TIMER_START{handleError:throwable=java.lang.ClassCastException}
75401 TIMER_END{36011,handleError:throwable=java.lang.ClassCastException}
Using handler
org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet
83469 TIMER_END{83467,Request Processing} Dumping SlingRequestProgressTracker
Entries
</pre>
<hr>
<address>ApacheSling/2.6 (jetty/9.4.11.v20180605, Java HotSpot(TM) 64-Bit
Server VM 1.8.0_172, Linux 4.4.0-133-generic amd64)</address>
</body>
</html>
) expected:<200> but was:<500>
[ERROR]
PostServletImportTest.testImportJarFromFile:663->assertExpectedJSON:108->assertExpectedJSON:108->assertExpectedJSON:108->assertExpectedJSON:123
Value of key: :jcr:data expected:<21> but was:<-1>
[ERROR]
PostServletImportTest.testImportZipFromFile:634->assertExpectedJSON:108->assertExpectedJSON:108->assertExpectedJSON:108->assertExpectedJSON:123
Value of key: :jcr:data expected:<21> but was:<-1>
[ERROR] UpdateUserTest.testNotAuthorizedUpdateUser:186
http://localhost:35305/system/userManager/user/testUser1537382166427.json
expected:<404> but was:<200>
[INFO]
[ERROR] Tests run: 650, Failures: 30, Errors: 0, Skipped: 1
[INFO]
[JENKINS] Recording test results
[WARNING] Attempt to (de-)serialize anonymous class
hudson.maven.reporters.SurefireArchiver$2; see:
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO]
[INFO] --- exam-maven-plugin:4.12.0:stop-container (default) @
org.apache.sling.karaf-launchpad-oak-tar-integration-tests ---
[org.ops4j.pax.exam.spi.PaxExamRuntime] : command = stop
[org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer] : Shutting
down the test container (Pax Runner)
[?2004l[org.ops4j.pax.exam.spi.PaxExamRuntime] : test container stopped
[org.ops4j.pax.exam.spi.PaxExamRuntime] : command = quit
[org.ops4j.pax.exam.spi.PaxExamRuntime] : quitting PaxExamRuntime
[INFO] Platform has been shutdown.
[INFO]
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files
(verify-legal-files) @
org.apache.sling.karaf-launchpad-oak-tar-integration-tests ---
[INFO] Checking legal files in:
org.apache.sling.karaf-launchpad-oak-tar-integration-tests-0.0.1-SNAPSHOT.jar
[INFO] Checking legal files in:
org.apache.sling.karaf-launchpad-oak-tar-integration-tests-0.0.1-SNAPSHOT-sources.jar
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @
org.apache.sling.karaf-launchpad-oak-tar-integration-tests ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from
<https://builds.apache.org/job/sling-org-apache-sling-karaf-launchpad-oak-tar-integration-tests-1.8/ws/.gitignore>
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 73 implicit excludes (use -debug for more details).
[INFO] Exclude: src/main/appended-resources/META-INF/*
[INFO] Exclude: velocity.log
[INFO] Exclude: target/*
[INFO] Exclude: README.md
[INFO] Exclude: maven-eclipse.xml
[INFO] Exclude: .*
[INFO] Exclude: .*/**
[INFO] Exclude: **/*.json
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: **/*.rej
[INFO] Exclude: hs_err_*.log
[INFO] Exclude: **/repository/index/*/index-details.txt
[INFO] Exclude: bnd.bnd
[INFO] 5 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 2, unknown: 2, generated:
0, approved: 2 licenses.
[WARNING] Attempt to (de-)serialize anonymous class
hudson.maven.reporters.MavenArtifactArchiver$2; see:
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[JENKINS] Archiving disabled
[WARNING] Attempt to (de-)serialize anonymous class
hudson.maven.reporters.MavenFingerprinter$1; see:
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:16 min
[INFO] Finished at: 2018-09-19T18:44:00+00:00
[INFO] Final Memory: 76M/4049M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check
(rat-check) on project
org.apache.sling.karaf-launchpad-oak-tar-integration-tests: Too many files with
unapproved license: 2 See RAT report in:
<https://builds.apache.org/job/sling-org-apache-sling-karaf-launchpad-oak-tar-integration-tests-1.8/ws/target/rat.txt>
-> [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
channel stopped
Recording test results