Jenkins build became unstable: sling-trunk-1.7 #189
See https://builds.apache.org/job/sling-trunk-1.7/189/changes
Jenkins build became unstable: sling-trunk-1.7 » Apache Sling Launchpad Base #189
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.base/189/
Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Resource-Based Discovery Service #1814
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.discovery.impl/1814/
Jenkins build is back to stable : sling-trunk-1.7 #190
See https://builds.apache.org/job/sling-trunk-1.7/190/changes
Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Launchpad Base #190
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.base/190/
Build failed in Jenkins: sling-healthcheck-1.6 #89
See https://builds.apache.org/job/sling-healthcheck-1.6/89/changes Changes: [bdelacretaz] SLING-2987 - CompositeHealthCheck - execute a set of other HealthChecks selected by tags [bdelacretaz] SLING-2987 - support for merging several Result [bdelacretaz] SLING-2987 - HealthCheckFilter sorts ServiceReferences to have a predictable order -- [...truncated 802 lines...] INFO: --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ org.apache.sling.hc.webconsole --- [INFO] No sources to compile Aug 13, 2013 10:13:54 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 10:13:54 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-surefire-plugin:2.12.4:test (default-test) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 10:13:54 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: [JENKINS] Recording test resultsAug 13, 2013 10:13:54 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- animal-sniffer-maven-plugin:1.9:check (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0 Aug 13, 2013 10:13:54 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 10:13:54 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.hc.webconsole --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 10:13:55 AM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-source-plugin:2.2.1:jar (attach-sources) @ org.apache.sling.hc.webconsole --- [INFO] Building jar: https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-install-plugin:2.3.1:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/pom.xml to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 10:13:55 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Local OBR update disabled (enable with -DobrRepository)
Re: [RT] Logging and Logback
Hi, I was also looking for using Logback with Sling to simplify debugging issues in multi threaded env via Markers and MDC. Current implementation is available at [1]. It currently works and provides all the features as supported by current Sling Commons Log. In addition it enables registration of appenders via whiteboard pattern also. There are some pending todo's referred to in the readme file For maintaining configuration compatibility it uses LogConfig and LogWriter support from Felix's prototype Kindly have a look and provide your feedback!! Chetan Mehrotra [1] https://github.com/chetanmeh/sling-logback On Wed, Aug 7, 2013 at 5:20 PM, Felix Meschberger fmesc...@adobe.com wrote: Hi Carsten I started hacking around to this avail -- but I am nowhere near completion ... I committed my current (incomplete) work to https://svn.apache.org/repos/asf/sling/whiteboard/fmeschbe/logback Regards Felix Am 06.08.2013 um 13:30 schrieb Carsten Ziegeler: Hi, i've the need for a custom log append not logging into a file. This is something our current logging bundles do not support. By looking around using logback could be an answer and I also found [1] where moving to logback has already been discussed. So I'm wondering what/how to this. One solution would be to do this on our own as discussed in that thread, another solution would be to leverage other logging solutions like maybe pax logging and just providing a compatibility layer for our current configurations. WDYT? Regards Carsten [1] http://apache-sling.73963.n3.nabble.com/Trying-to-convert-Sling-Logging-gt-Logback-How-much-backwards-compatibility-do-we-need-td4020965.html -- Carsten Ziegeler cziege...@apache.org
Re: [RT] Logging and Logback
Hi Chetan, On Tue, Aug 13, 2013 at 1:11 PM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: ...For maintaining configuration compatibility it uses LogConfig and LogWriter support from Felix's prototype... Is that covered by automated tests? IMO if we want to switch logging implementations (which I'm +1 on) we need tests that validate the existing config mechanisms and work with the new ones as well. -Bertrand
Re: [RT] Logging and Logback
Hi Bertrand, Is that covered by automated tests? So far no automated testcase exist. I just swapped the log implementation in existing system and saw if the log were generated as expected or not. Adding automated testcase for such scenarios would take some decent effort. So before I invest time in that wanted to see if there is interest in the Logback based implementation. Also want to have some discussion on the approach to be taken for exposing various extension points in Logback via OSGi As of now the basic feature set is met and it meets my requirement for local setup. Chetan Mehrotra
Build failed in Jenkins: sling-healthcheck-1.6 #90
See https://builds.apache.org/job/sling-healthcheck-1.6/90/changes Changes: [bdelacretaz] SLING-2987 - metatype and samples config tweaks -- [...truncated 767 lines...] INFO: --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ org.apache.sling.hc.webconsole --- [INFO] No sources to compile Aug 13, 2013 12:18:17 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:18:17 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-surefire-plugin:2.12.4:test (default-test) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 12:18:17 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: [JENKINS] Recording test resultsAug 13, 2013 12:18:17 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- animal-sniffer-maven-plugin:1.9:check (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0 Aug 13, 2013 12:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 12:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 12:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.hc.webconsole --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 12:18:18 PM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo Aug 13, 2013 12:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-source-plugin:2.2.1:jar (attach-sources) @ org.apache.sling.hc.webconsole --- [INFO] Building jar: https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 12:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 12:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 12:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-install-plugin:2.3.1:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/pom.xml to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 12:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Local OBR update disabled (enable with -DobrRepository) Aug 13, 2013 12:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 12:18:19 PM
Re: [RT] Logging and Logback
On Tue, Aug 13, 2013 at 1:48 PM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: ...I just swapped the log implementation in existing system and saw if the log were generated as expected or not. Adding automated testcase for such scenarios would take some decent effort... granted...but I think we need this as subtle differences in the log configuration mechanisms can lead to hard to troubleshoot issues in the field. So before I invest time in that wanted to see if there is interest in the Logback based implementation... I haven't looked at your patch so far but in general I think it's a great idea, especially as it brings MDC and Markers with it. -Bertrand
Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing WAR version #1817
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing-war/1817/
Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Installer Integration Tests #1817
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.installer.it/1817/
Jenkins build became unstable: sling-trunk-1.6 #1817
See https://builds.apache.org/job/sling-trunk-1.6/1817/changes
Build failed in Jenkins: sling-contrib-1.6 » Apache Sling Dojo JavaScript Library #1045
See https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/1045/ -- Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Building Apache Sling Dojo JavaScript Library 1.1.0.002-SNAPSHOT Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.extensions.dojo --- [INFO] Deleting https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/target Aug 13, 2013 12:57:54 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:54 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.extensions.dojo --- Aug 13, 2013 12:57:54 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:54 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.extensions.dojo --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 12:57:55 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:55 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-remote-resources-plugin:1.4:process (default) @ org.apache.sling.extensions.dojo --- Aug 13, 2013 12:57:55 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:55 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-resources-plugin:2.6:resources (default-resources) @ org.apache.sling.extensions.dojo --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 3 resources Aug 13, 2013 12:57:55 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:55 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (check-memory-task) @ org.apache.sling.extensions.dojo --- [INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks Aug 13, 2013 12:57:55 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:55 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (download-dojo) @ org.apache.sling.extensions.dojo --- [WARNING] Parameter tasks is deprecated, use target instead [INFO] Executing tasks main: [mkdir] Created dir: https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/target/dojo [get] Getting: http://download.dojotoolkit.org/release-1.1.1/dojo-release-1.1.1-src.tar.gz [get] To: https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/download-cache/dojo-release-1.1.1-src.tar.gz [get] Error getting http://download.dojotoolkit.org/release-1.1.1/dojo-release-1.1.1-src.tar.gz to https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/download-cache/dojo-release-1.1.1-src.tar.gz
Build failed in Jenkins: sling-contrib-1.6 #1045
See https://builds.apache.org/job/sling-contrib-1.6/1045/changes Changes: [bdelacretaz] SLING-2987 - fix logging errors [bdelacretaz] SLING-2987 - remove unneeded dependency [bdelacretaz] SLING-2987 - can't beat paranoia [bdelacretaz] SLING-2987 - MBean name containing / allows for specifying MBean service name [bdelacretaz] SLING-2987 - metatype and samples config tweaks -- [...truncated 1046 lines...] INFO: --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ org.apache.sling.resourcecollection --- Aug 13, 2013 12:57:48 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:48 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.resourcecollection --- Aug 13, 2013 12:57:48 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:48 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.resourcecollection --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 12:57:48 PM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo Aug 13, 2013 12:57:48 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:48 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-source-plugin:2.2.1:jar (attach-sources) @ org.apache.sling.resourcecollection --- [INFO] Building jar: https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/target/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar Aug 13, 2013 12:57:49 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:49 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ org.apache.sling.resourcecollection --- Aug 13, 2013 12:57:49 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:49 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.resourcecollection --- [INFO] Checking legal files in: org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar Aug 13, 2013 12:57:49 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:49 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-install-plugin:2.3.1:install (default-install) @ org.apache.sling.resourcecollection --- [INFO] Installing https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/target/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.resourcecollection/0.0.1-SNAPSHOT/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.jar [INFO] Installing https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/pom.xml to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.resourcecollection/0.0.1-SNAPSHOT/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/target/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.resourcecollection/0.0.1-SNAPSHOT/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar Aug 13, 2013 12:57:49 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:49 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:install (default-install) @ org.apache.sling.resourcecollection --- [INFO] Local OBR update disabled (enable with -DobrRepository) Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Building Apache Sling Dojo JavaScript Library 1.1.0.002-SNAPSHOT Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 12:57:53 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 12:57:53 PM
Build failed in Jenkins: sling-healthcheck-1.6 #91
See https://builds.apache.org/job/sling-healthcheck-1.6/91/changes Changes: [bdelacretaz] SLING-2987 - fix logging errors [bdelacretaz] SLING-2987 - remove unneeded dependency [bdelacretaz] SLING-2987 - can't beat paranoia [bdelacretaz] SLING-2987 - MBean name containing / allows for specifying MBean service name -- [...truncated 805 lines...] INFO: --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ org.apache.sling.hc.webconsole --- [INFO] No sources to compile Aug 13, 2013 1:16:45 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:16:45 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-surefire-plugin:2.12.4:test (default-test) @ org.apache.sling.hc.webconsole --- [JENKINS] Recording test resultsAug 13, 2013 1:16:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:16:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- animal-sniffer-maven-plugin:1.9:check (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0 Aug 13, 2013 1:16:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:16:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 1:16:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:16:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 1:16:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:16:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.hc.webconsole --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 1:16:46 PM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo Aug 13, 2013 1:16:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:16:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-source-plugin:2.2.1:jar (attach-sources) @ org.apache.sling.hc.webconsole --- [INFO] Building jar: https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 1:16:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:16:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 1:16:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:16:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 1:16:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:16:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-install-plugin:2.3.1:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/pom.xml to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 1:16:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:16:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Local OBR update disabled (enable with -DobrRepository) Aug 13, 2013 1:16:47 PM
Build failed in Jenkins: sling-trunk-1.7 » Apache Sling Launchpad Testing #192
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/192/ -- [...truncated 792 lines...] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.userManager.PrivilegesInfoTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.userManager.UpdateUserTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.userManager.UpdateGroupTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.userManager.CreateGroupTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.userManager.RemoveAuthorizablesTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.StreamServletTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.ExecuteScriptTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.crud.CrudTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.SlingWebDavServletTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.BundleContentTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.GeneratedNodeNameTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.WriteableResourcesProxyTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.PostRedirectTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.GroovySlingResourceTypeRenderingTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.DavExDisabledAnonAccessTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.xml.SaxTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.xml.DomTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.xml.XPathTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.GetStarTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.ForwardTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0 Running org.apache.sling.launchpad.webapp.integrationtest.LaunchpadConfigInstallerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 Tests run: 506, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 191.793 sec FAILURE! testChangingJsp(org.apache.sling.launchpad.webapp.integrationtest.JspScriptingTest) Time elapsed: 0.511 sec FAILURE! junit.framework.AssertionFailedError: Expected status 200 for http://localhost:59410/JspScriptingTest/1376399845995/unstructured/this_is_a_test_node_.html (content=!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN html head title500 org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP/title /head body h1org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP (500)/h1 pThe requested URL /JspScriptingTest/1376399845995/unstructured/this_is_a_test_node_.html resulted in an error in /apps/nt/unstructured/html.jsp./p h3Exception:/h3 pre org.apache.sling.api.SlingException: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:691) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:608) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:525) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:263) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:87) at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:450) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361) at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171) at
Jenkins build became unstable: sling-trunk-1.7 » Apache Sling Event Support #192
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.event/192/
Build failed in Jenkins: sling-trunk-1.7 #192
See https://builds.apache.org/job/sling-trunk-1.7/192/changes Changes: [bdelacretaz] SLING-2987 - fix logging errors [bdelacretaz] SLING-2987 - remove unneeded dependency [bdelacretaz] SLING-2987 - can't beat paranoia [bdelacretaz] SLING-2987 - MBean name containing / allows for specifying MBean service name [bdelacretaz] SLING-2987 - metatype and samples config tweaks -- [...truncated 32591 lines...] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.io.FileNotFoundException: Unable to find /org/apache/jsp/apps/nt/unstructured/html_jsp.class at org.apache.sling.jcr.classloader.internal.ClassLoaderWriterImpl.getInputStream(ClassLoaderWriterImpl.java:512) at org.apache.sling.scripting.jsp.SlingIOProvider.getInputStream(SlingIOProvider.java:83) at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.getInputStream(JspCompilationContext.java:158) at org.apache.sling.scripting.jsp.jasper.compiler.SmapUtil$SDEInstaller.readWhole(SmapUtil.java:278) at org.apache.sling.scripting.jsp.jasper.compiler.SmapUtil$SDEInstaller.lt;initgt;(SmapUtil.java:260) at org.apache.sling.scripting.jsp.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:243) at org.apache.sling.scripting.jsp.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:167) at org.apache.sling.scripting.jsp.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:436) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:312) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:290) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:277) at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.compile(JspCompilationContext.java:501) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.prepareServlet(JspServletWrapper.java:427) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:486) ... 54 more /pre h3Request Progress:/h3 pre 0 (2013-08-13 13:17:26) TIMER_START{Request Processing} 0 (2013-08-13 13:17:26) COMMENT timer_end format is {lt;elapsed msecgt;,lt;timer namegt;} lt;optional messagegt; 0 (2013-08-13 13:17:26) LOG Method=GET, PathInfo=/JspScriptingTest/1376399845995/unstructured/this_is_a_test_node_.html 0 (2013-08-13 13:17:26) TIMER_START{ResourceResolution} 10 (2013-08-13 13:17:26) TIMER_END{10,ResourceResolution} URI=/JspScriptingTest/1376399845995/unstructured/this_is_a_test_node_.html resolves to Resource=JcrNodeResource, type=nt:unstructured, superType=null, path=/JspScriptingTest/1376399845995/unstructured/this_is_a_test_node_ 10 (2013-08-13 13:17:26) LOG Resource Path Info: SlingRequestPathInfo: path='/JspScriptingTest/1376399845995/unstructured/this_is_a_test_node_', selectorString='null', extension='html', suffix='null' 10 (2013-08-13 13:17:26) TIMER_START{ServletResolution} 10 (2013-08-13 13:17:26) TIMER_START{resolveServlet(JcrNodeResource, type=nt:unstructured, superType=null, path=/JspScriptingTest/1376399845995/unstructured/this_is_a_test_node_)} 10 (2013-08-13 13:17:26) TIMER_END{0,resolveServlet(JcrNodeResource, type=nt:unstructured, superType=null, path=/JspScriptingTest/1376399845995/unstructured/this_is_a_test_node_)} Using servlet /apps/nt/unstructured/html.jsp 10 (2013-08-13 13:17:26) TIMER_END{0,ServletResolution} URI=/JspScriptingTest/1376399845995/unstructured/this_is_a_test_node_.html handled by Servlet=/apps/nt/unstructured/html.jsp 10 (2013-08-13 13:17:26) LOG Applying Requestfilters 10 (2013-08-13 13:17:26) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter 10 (2013-08-13 13:17:26) LOG Calling filter: org.apache.sling.launchpad.testservices.filters.SlingFilter 10 (2013-08-13 13:17:26) LOG Calling filter: org.apache.sling.launchpad.testservices.filters.NoPropertyFilter 10 (2013-08-13 13:17:26) TIMER_START{/apps/nt/unstructured/html.jsp#0} 130 (2013-08-13 13:17:26) LOG SCRIPT ERROR: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP 130 (2013-08-13 13:17:26) TIMER_END{120,/apps/nt/unstructured/html.jsp#0} 131 (2013-08-13 13:17:26) TIMER_START{handleError:throwable=org.apache.sling.api.SlingException} 133 (2013-08-13 13:17:26)
Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Installer Integration Tests #1818
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.installer.it/1818/
Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Launchpad Testing WAR version #1818
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing-war/1818/
Jenkins build is back to stable : sling-trunk-1.6 #1818
See https://builds.apache.org/job/sling-trunk-1.6/1818/changes
[jira] [Resolved] (SLING-2987) Simplified health check services
[ https://issues.apache.org/jira/browse/SLING-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-2987. Resolution: Fixed Docs updated at http://sling.apache.org/documentation/bundles/sling-health-check-tool.html Marking this fixed, we'll create separate issues if needed. Simplified health check services Key: SLING-2987 URL: https://issues.apache.org/jira/browse/SLING-2987 Project: Sling Issue Type: Improvement Components: Health Check Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz Priority: Minor Attachments: webconsole-is-back.jpg After some prototyping, the health check tools are ready for a rewrite that will make them simpler and more OSGi friendly. The functionality will be similar but with much less code, more focused on the actual use cases that have emerged during prototyping. The new API is being discussed on list, http://markmail.org/thread/i6ib7tgax4cn2sss -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Build failed in Jenkins: sling-contrib-1.6 #1046
See https://builds.apache.org/job/sling-contrib-1.6/1046/changes Changes: [bdelacretaz] SLING-2987 - add filter.tags to info [bdelacretaz] SLING-2987 - latency note -- [...truncated 878 lines...] INFO: --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ org.apache.sling.resourcecollection --- Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.resourcecollection --- Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.resourcecollection --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 1:57:14 PM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-source-plugin:2.2.1:jar (attach-sources) @ org.apache.sling.resourcecollection --- [INFO] Building jar: https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/target/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ org.apache.sling.resourcecollection --- Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.resourcecollection --- [INFO] Checking legal files in: org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-install-plugin:2.3.1:install (default-install) @ org.apache.sling.resourcecollection --- [INFO] Installing https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/target/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.resourcecollection/0.0.1-SNAPSHOT/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.jar [INFO] Installing https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/pom.xml to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.resourcecollection/0.0.1-SNAPSHOT/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/target/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.resourcecollection/0.0.1-SNAPSHOT/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:14 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:install (default-install) @ org.apache.sling.resourcecollection --- [INFO] Local OBR update disabled (enable with -DobrRepository) Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Building Apache Sling Dojo JavaScript Library 1.1.0.002-SNAPSHOT Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.extensions.dojo --- [INFO] Deleting https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/dojo/target Aug 13, 2013
Build failed in Jenkins: sling-contrib-1.6 » Apache Sling Dojo JavaScript Library #1046
See https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/1046/ -- Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Building Apache Sling Dojo JavaScript Library 1.1.0.002-SNAPSHOT Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.extensions.dojo --- [INFO] Deleting https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/target Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.extensions.dojo --- Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.extensions.dojo --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-remote-resources-plugin:1.4:process (default) @ org.apache.sling.extensions.dojo --- Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-resources-plugin:2.6:resources (default-resources) @ org.apache.sling.extensions.dojo --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 3 resources Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (check-memory-task) @ org.apache.sling.extensions.dojo --- [INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 1:57:15 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (download-dojo) @ org.apache.sling.extensions.dojo --- [WARNING] Parameter tasks is deprecated, use target instead [INFO] Executing tasks main: [mkdir] Created dir: https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/target/dojo [get] Getting: http://download.dojotoolkit.org/release-1.1.1/dojo-release-1.1.1-src.tar.gz [get] To: https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/download-cache/dojo-release-1.1.1-src.tar.gz [get] Error getting http://download.dojotoolkit.org/release-1.1.1/dojo-release-1.1.1-src.tar.gz to https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/download-cache/dojo-release-1.1.1-src.tar.gz
[DISCUSS] move healthcheck under bundles/extensions and release as 0.9.0
Hi, I'm done with the SLING-2987 redesign of the healthcheck modules. WDYT about moving it under bundles/extensions instead of contrib? Yes I intend to maintain it ;-) And I think we can also release it as a first version, as V0.9.0 to indicate that it's still brand new. For more info, docs are at http://sling.apache.org/documentation/bundles/sling-health-check-tool.html And the API is at http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck/api/src/main/java/org/apache/sling/hc/api/ -Bertrand
Re: [DISCUSS] move healthcheck under bundles/extensions and release as 0.9.0
I'm not against this in general, I think it would be good to give us a little bit of time to have a look at the latest state before having a release. So maybe targeting next week for a move/release might be good Carsten 2013/8/13 Bertrand Delacretaz bdelacre...@apache.org Hi, I'm done with the SLING-2987 redesign of the healthcheck modules. WDYT about moving it under bundles/extensions instead of contrib? Yes I intend to maintain it ;-) And I think we can also release it as a first version, as V0.9.0 to indicate that it's still brand new. For more info, docs are at http://sling.apache.org/documentation/bundles/sling-health-check-tool.html And the API is at http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck/api/src/main/java/org/apache/sling/hc/api/ -Bertrand -- Carsten Ziegeler cziege...@apache.org
Re: [DISCUSS] move healthcheck under bundles/extensions and release as 0.9.0
On Tue, Aug 13, 2013 at 4:02 PM, Carsten Ziegeler cziege...@apache.org wrote: I'm not against this in general, I think it would be good to give us a little bit of time to have a look at the latest state before having a release Works for me if you need some more time. I'll be mostly offline for the next two weeks after this one, but we can also release later, or someone else can do it. -Bertrand
[HC] Result and ResultLogEntry
Hi, I'm not sure whether the current handling of log entries and status between the result object and the log entries is a good thing. For one, all log entries added to the result are logged to a logger - I think this can easily result in having the statements logged out more than once and it breaks the contract of having result a simple data object. In addition, when a log message is added, it's level is evaluated to automatically set the status - if a HC check is just doing log statements for informational purpuse with level that leads to automatic status setting, the HC can't set the status to a lower level afterwards. I think there shouldn't be any additional logic in the result class except from just adding the log entries to a collection. Regards Carsten -- Carsten Ziegeler cziege...@apache.org
Build failed in Jenkins: sling-healthcheck-1.6 #92
See https://builds.apache.org/job/sling-healthcheck-1.6/92/changes Changes: [bdelacretaz] SLING-2987 - remove extra comment [bdelacretaz] SLING-2987 - add filter.tags to info [bdelacretaz] SLING-2987 - latency note -- [...truncated 872 lines...] INFO: --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ org.apache.sling.hc.webconsole --- [INFO] No sources to compile Aug 13, 2013 2:13:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 2:13:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-surefire-plugin:2.12.4:test (default-test) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 2:13:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: [JENKINS] Recording test resultsAug 13, 2013 2:13:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- animal-sniffer-maven-plugin:1.9:check (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0 Aug 13, 2013 2:13:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 2:13:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.hc.webconsole --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 2:13:19 PM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-source-plugin:2.2.1:jar (attach-sources) @ org.apache.sling.hc.webconsole --- [INFO] Building jar: https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-install-plugin:2.3.1:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/pom.xml to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Local OBR update disabled (enable with -DobrRepository) Aug 13, 2013 2:13:19 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO:
[jira] [Created] (SLING-3016) OSGi-level integration tests for SlingRepository implementations
Bertrand Delacretaz created SLING-3016: -- Summary: OSGi-level integration tests for SlingRepository implementations Key: SLING-3016 URL: https://issues.apache.org/jira/browse/SLING-3016 Project: Sling Issue Type: Improvement Components: JCR Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz As we're going to create an Oak-based SlingRepository implementation, it would be useful to have pax exam based integration tests that validate such an implementation in an OSGi environment. We can then setup the tests to run on both the existing jackrabbit server bundle and the new Oak one, to have a quick way of comparing the implementations. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Jenkins build is unstable: sling-trunk-1.7 #193
See https://builds.apache.org/job/sling-trunk-1.7/193/changes
Jenkins build is still unstable: sling-trunk-1.7 » Apache Sling Event Support #193
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.event/193/
Jenkins build became unstable: sling-trunk-1.7 » Apache Sling Sample Integration Tests #193
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.testing.samples.integrationtests/193/
Jenkins build is back to normal : sling-trunk-1.7 » Apache Sling Launchpad Testing #193
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/193/
Jenkins build is back to normal : sling-contrib-1.6 » Apache Sling Dojo JavaScript Library #1047
See https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/1047/
[HC] Registering HCs as mbeans
Hi, right now, all HCs are registered as mbeans - I'm just wondering if we need an opt-in or opt-out mechanism? Carsten -- Carsten Ziegeler cziege...@apache.org
Jenkins build is back to normal : sling-contrib-1.6 #1047
See https://builds.apache.org/job/sling-contrib-1.6/1047/changes
Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Event Support #194
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.event/194/
Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Sample Integration Tests #194
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.testing.samples.integrationtests/194/
Jenkins build is back to stable : sling-trunk-1.7 #194
See https://builds.apache.org/job/sling-trunk-1.7/194/changes
Build failed in Jenkins: sling-contrib-1.6 #1048
See https://builds.apache.org/job/sling-contrib-1.6/1048/changes Changes: [cziegeler] SLING-2987 - Use service tracker for tracking HC services. This avoids all the nasty sync'ing of multi references -- [...truncated 878 lines...] INFO: --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ org.apache.sling.resourcecollection --- Aug 13, 2013 3:57:20 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:20 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.resourcecollection --- Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.resourcecollection --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 3:57:21 PM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-source-plugin:2.2.1:jar (attach-sources) @ org.apache.sling.resourcecollection --- [INFO] Building jar: https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/target/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ org.apache.sling.resourcecollection --- Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.resourcecollection --- [INFO] Checking legal files in: org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-install-plugin:2.3.1:install (default-install) @ org.apache.sling.resourcecollection --- [INFO] Installing https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/target/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.resourcecollection/0.0.1-SNAPSHOT/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.jar [INFO] Installing https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/pom.xml to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.resourcecollection/0.0.1-SNAPSHOT/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/extensions/collection/target/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.resourcecollection/0.0.1-SNAPSHOT/org.apache.sling.resourcecollection-0.0.1-SNAPSHOT-sources.jar Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:install (default-install) @ org.apache.sling.resourcecollection --- [INFO] Local OBR update disabled (enable with -DobrRepository) Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Building Apache Sling Dojo JavaScript Library 1.1.0.002-SNAPSHOT Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.extensions.dojo --- [INFO] Deleting
Build failed in Jenkins: sling-contrib-1.6 » Apache Sling Dojo JavaScript Library #1048
See https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/1048/ -- Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Building Apache Sling Dojo JavaScript Library 1.1.0.002-SNAPSHOT Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.extensions.dojo --- [INFO] Deleting https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/target Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:21 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.extensions.dojo --- Aug 13, 2013 3:57:22 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:22 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.extensions.dojo --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 3:57:22 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:22 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-remote-resources-plugin:1.4:process (default) @ org.apache.sling.extensions.dojo --- Aug 13, 2013 3:57:22 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:22 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-resources-plugin:2.6:resources (default-resources) @ org.apache.sling.extensions.dojo --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 3 resources Aug 13, 2013 3:57:22 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:22 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (check-memory-task) @ org.apache.sling.extensions.dojo --- [INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks Aug 13, 2013 3:57:22 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 3:57:22 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (download-dojo) @ org.apache.sling.extensions.dojo --- [WARNING] Parameter tasks is deprecated, use target instead [INFO] Executing tasks main: [mkdir] Created dir: https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/target/dojo [get] Getting: http://download.dojotoolkit.org/release-1.1.1/dojo-release-1.1.1-src.tar.gz [get] To: https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/download-cache/dojo-release-1.1.1-src.tar.gz [get] Error getting http://download.dojotoolkit.org/release-1.1.1/dojo-release-1.1.1-src.tar.gz to https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.extensions.dojo/ws/download-cache/dojo-release-1.1.1-src.tar.gz
Re: [HC] Registering HCs as mbeans
On Tue, Aug 13, 2013 at 5:09 PM, Carsten Ziegeler cziege...@apache.org wrote: right now, all HCs are registered as mbeans - I'm just wondering if we need an opt-in or opt-out mechanism? I think in general they should all be exposed, as long as they can be organized cleanly which is possible. You can place MBeans in a specific place in the JMX tree, if you set hc.mean.name = foo/thisbean for example, it will appear under org.apache.sling.healthcheck/foo/thisbean whereas by default MBeans go under org.apache.sling.healthcheck/HealthCheck. So you can already create subsets of interesting HC MBeans, without having too many options to care about. -Bertrand
Re: [HC] Registering HCs as mbeans
Yes, I'm not 100% sure about this - I was just wondering about how to disable a health check and had the idea instead of disabling the check in any way, simply not making it available via JMX. If we need that, we can probably add an opt-out way later on. Carsten 2013/8/13 Bertrand Delacretaz bdelacre...@apache.org On Tue, Aug 13, 2013 at 5:09 PM, Carsten Ziegeler cziege...@apache.org wrote: right now, all HCs are registered as mbeans - I'm just wondering if we need an opt-in or opt-out mechanism? I think in general they should all be exposed, as long as they can be organized cleanly which is possible. You can place MBeans in a specific place in the JMX tree, if you set hc.mean.name = foo/thisbean for example, it will appear under org.apache.sling.healthcheck/foo/thisbean whereas by default MBeans go under org.apache.sling.healthcheck/HealthCheck. So you can already create subsets of interesting HC MBeans, without having too many options to care about. -Bertrand -- Carsten Ziegeler cziege...@apache.org
Build failed in Jenkins: sling-healthcheck-1.6 #93
See https://builds.apache.org/job/sling-healthcheck-1.6/93/changes Changes: [cziegeler] SLING-2987 - Use service tracker for tracking HC services. This avoids all the nasty sync'ing of multi references -- [...truncated 798 lines...] INFO: --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ org.apache.sling.hc.webconsole --- [INFO] No sources to compile Aug 13, 2013 4:18:17 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 4:18:17 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-surefire-plugin:2.12.4:test (default-test) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 4:18:17 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: [JENKINS] Recording test resultsAug 13, 2013 4:18:17 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- animal-sniffer-maven-plugin:1.9:check (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0 Aug 13, 2013 4:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 4:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 4:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 4:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 4:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 4:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.hc.webconsole --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 4:18:18 PM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo Aug 13, 2013 4:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 4:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-source-plugin:2.2.1:jar (attach-sources) @ org.apache.sling.hc.webconsole --- [INFO] Building jar: https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 4:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 4:18:18 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 4:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 4:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 4:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 4:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-install-plugin:2.3.1:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/pom.xml to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 4:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 4:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Local OBR update disabled (enable with -DobrRepository) Aug 13, 2013 4:18:19 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO:
Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Sample Integration Tests #1820
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.testing.samples.integrationtests/1820/
Jenkins build became unstable: sling-trunk-1.6 #1820
See https://builds.apache.org/job/sling-trunk-1.6/1820/changes
[jira] [Created] (SLING-3017) improve Karaf integration tests
Oliver Lietz created SLING-3017: --- Summary: improve Karaf integration tests Key: SLING-3017 URL: https://issues.apache.org/jira/browse/SLING-3017 Project: Sling Issue Type: Improvement Components: Launchpad Reporter: Oliver Lietz Priority: Minor - separate testing support and test into own packages and jars - use Maven Failsafe Plugin for tests - update Pax Exam to 3.2.0 - enable test (remove Ignore annotation) - increase timeouts to 30 ms -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SLING-3017) improve Karaf integration tests
[ https://issues.apache.org/jira/browse/SLING-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated SLING-3017: Attachment: SLING-3017.patch improve Karaf integration tests --- Key: SLING-3017 URL: https://issues.apache.org/jira/browse/SLING-3017 Project: Sling Issue Type: Improvement Components: Launchpad Reporter: Oliver Lietz Priority: Minor Attachments: SLING-3017.patch - separate testing support and test into own packages and jars - use Maven Failsafe Plugin for tests - update Pax Exam to 3.2.0 - enable test (remove Ignore annotation) - increase timeouts to 30 ms -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2917) parent node descriptor (ROOT) gets installed twice
[ https://issues.apache.org/jira/browse/SLING-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13738531#comment-13738531 ] Oliver Lietz commented on SLING-2917: - moved test to https://github.com/oliverlietz/sling-tests/tree/master/org.apache.sling.tests/SLING_2917 parent node descriptor (ROOT) gets installed twice -- Key: SLING-2917 URL: https://issues.apache.org/jira/browse/SLING-2917 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR ContentLoader 2.1.6 Reporter: Oliver Lietz Attachments: SLING-2917.patch check of processedEntries fails due to not calling #toString() on URLs -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2998) SlingAuthenticator fails because of pathInfo being null
[ https://issues.apache.org/jira/browse/SLING-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13738533#comment-13738533 ] Oliver Lietz commented on SLING-2998: - integration test: https://github.com/oliverlietz/sling-tests/tree/master/org.apache.sling.tests/SLING_2998 SlingAuthenticator fails because of pathInfo being null --- Key: SLING-2998 URL: https://issues.apache.org/jira/browse/SLING-2998 Project: Sling Issue Type: Bug Components: Authentication Affects Versions: Auth Core 1.1.2 Environment: Sling, CQ Reporter: Oliver Lietz Labels: security Attachments: SLING-2998.patch - HttpServletRequest#getPathInfo():String returns null, use HttpServletRequest#getServletPath():String instead - path should never be changed to /, instead return anonymous credentials/false http://mail-archives.apache.org/mod_mbox/sling-users/201308.mbox/%3c201308021338.32243.apa...@oliverlietz.de%3e -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[HC] Use service registration properties
Hi, we briefly discussed this during the refactoring and I think we agreed :) that the current properties (for which constants are defined) should actually be service registration properties. Therefore I suggest to move the constants into the HC interface class and then we can also remove the getInfo() method and clarify the contract (which service props are required, what default values are used etc.) In addition, the jmx bridge can then get HC services on demand but already register the mbeans without getting the service. If no one objects I'll create an issue for this and do the changes. Carsten -- Carsten Ziegeler cziege...@apache.org
Build failed in Jenkins: sling-healthcheck-1.6 #94
See https://builds.apache.org/job/sling-healthcheck-1.6/94/ -- [...truncated 795 lines...] INFO: --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ org.apache.sling.hc.webconsole --- [INFO] No sources to compile Aug 13, 2013 6:27:45 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 6:27:45 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-surefire-plugin:2.12.4:test (default-test) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 6:27:45 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: [JENKINS] Recording test resultsAug 13, 2013 6:27:45 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- animal-sniffer-maven-plugin:1.9:check (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0 Aug 13, 2013 6:27:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 6:27:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 6:27:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 6:27:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 6:27:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 6:27:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.hc.webconsole --- [INFO] Executing tasks main: [INFO] Executed tasks Aug 13, 2013 6:27:46 PM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo Aug 13, 2013 6:27:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 6:27:46 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-source-plugin:2.2.1:jar (attach-sources) @ org.apache.sling.hc.webconsole --- [INFO] Building jar: https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 6:27:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 6:27:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ org.apache.sling.hc.webconsole --- Aug 13, 2013 6:27:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 6:27:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.hc.webconsole --- [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 6:27:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 6:27:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-install-plugin:2.3.1:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.jar [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/pom.xml to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/webconsole/target/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.hc.webconsole/0.0.2-SNAPSHOT/org.apache.sling.hc.webconsole-0.0.2-SNAPSHOT-sources.jar Aug 13, 2013 6:27:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Aug 13, 2013 6:27:47 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: --- maven-bundle-plugin:2.3.7:install (default-install) @ org.apache.sling.hc.webconsole --- [INFO] Local OBR update disabled (enable with -DobrRepository) Aug 13, 2013 6:27:47 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Aug 13, 2013 6:27:47 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO:
Re: Read Sling resources remotely
Hi Ian, I followed the steps you aforementioned and it worked fine ! (I had to fix couple of bugs I had in the code). This is Wonderful. It gives me the asking resource if it is there. Unless says resource not exists. I tested it having Cassandra running in back ground. I will start a new thread to discuss on how to proceed with the rest of the impl. Thank you very much :-). On Mon, Aug 12, 2013 at 1:57 PM, Ian Boston i...@tfd.co.uk wrote: Hi Dishara, The ResourceResolverFactory bundle should not be using any bundle implementing a ResourceProvider, as that would imply a circular dependency. It looks like your service is starting correctly as its listed as service ID 257, component ID 103. Looking at the code, I dont think you have defined where the CassandraResourceProvider is mounted, you need to set the provider.roots property. ie @Component(immediate=true, metatype=true) @Service(ResourceProvider.class) @Properties({ @Property(name=provider.roots, value={ /content/cassandra}) }) public class CassandraResourceProvider implements ResourceProvider { This tells the ResourceResolver where in the resource tree the CassandraResourceProvider should be registered. IIRC its required for registration. If you look at the logs carefully you might find the ResourceResolver reporting a problem with registration. HTH Ian On 11 August 2013 23:22, Dishara Wijewardana ddwijeward...@gmail.com wrote: On Sun, Aug 11, 2013 at 2:49 PM, Ian Boston i...@tfd.co.uk wrote: Hi Dishara, The Resource is not being found. Things to check. 1. Check that the CassandraResourceProvider is registered with the ResourceResolver at the correct path. Got to http://localhost:8080/system/console/services(login admin:admin) Locate the CassandraResourceProvider and take a note of the service ID (first column). Locate the service for org.apache.sling.api.resource.ResourceResolverFactory Click on the bundle link in the left hand column, in my case http://localhost:8080/system/console/bundles/146 Check that the the service ID for the CassandraResourceProvider is used by this bundle. Hi Ian, ResourceResolverFactory dos not include my bundle under using bundles category. Do I need to add a dependency/import to the pom which includes ResourceResolverFactory class ? Refer following for more information [org.apache.sling.api.resource.ResourceResolverFactory] Service Description Apache Sling Resource Resolver Factory Service Vendor The Apache Software Foundation Using Bundles org.apache.sling.event (52) org.apache.sling.jcr.resource (90) org.apache.sling.auth.form (91) org.apache.sling.servlets.resolver (71) org.apache.sling.auth.core (86) org.apache.sling.discovery.impl (75) *and here is my bundle service information.* 257 [org.apache.sling.api.resource.ResourceProvider] component.id 103 component.name org.apache.sling.cassandra.resource.provider.CassandraResourceProvider Service PID org.apache.sling.cassandra.resource.provider.CassandraResourceProvider Using Bundles org.apache.sling.bundleresource.impl (74) org.apache.sling.resourceresolver (57) 2. Put some Log statements in the CassandraResourceProvider to prove that the ResourceResolver is calling it. 3. Make certain that the Resource that the CassandrResourceProvider is returning is properly formed. It has resource metadata with a resourceType and path. You can use http://localhost:8080/system/console/jcrresolver to check how URLs are resolved, or use a curl command. HTH Ian On 11 August 2013 01:08, Dishara Wijewardana ddwijeward...@gmail.com wrote: On Sat, Aug 10, 2013 at 1:47 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: Hi, On Sat, Aug 10, 2013 at 7:02 AM, Dishara Wijewardana ddwijeward...@gmail.com wrote: ...The integration tests calls to HTTP REST endpoints. So there should be a place that I should be writing something like JAX-RS using sling APIs... You don't need JAX-RS, Sling provides RESTful HTTP APIs out of the box. ...Apparently what I should be writing is something similar to PlanetsResourceProviderTest Yeah can be a good starting point - setup a Sling instance with your resource provider active and create, retrieve, update and delete resources via Sling's HTTP API. You can also probably test your ResourceProvider without a Sling instance, either with unit tests or pax exam integration tests. If you can demonstrate there that it works according to the ResourceProvider semantics, integration tests can be minimal and just verify that your provider hooks up in the right way when activated. Hi Bertrand You are quite right. My provider works standalone and wants to make sure whether my provider picked up by the sling engine. Where should I specify my provider when calling the HTTP endpoint. Or if I call
[Cassandra Resource Impl] Read/Write with Access Control
Hi Ian, I am starting this thread to keep track on $subject. Since I verified that the current implementation works fine with the SNAPSHOT sling OSGI environment, I am starting to implement the rest of this project. To start with - READ with access controll. - then WRITE with access controll. Would appreciate any input on how to proceed on this (design/implementation) and any references to follow. -- Thanks /Dishara
[jira] [Assigned] (SLING-3010) Managing Permissions using Sling with Aggregate Privileges
[ https://issues.apache.org/jira/browse/SLING-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman reassigned SLING-3010: -- Assignee: Eric Norman Managing Permissions using Sling with Aggregate Privileges -- Key: SLING-3010 URL: https://issues.apache.org/jira/browse/SLING-3010 Project: Sling Issue Type: Bug Components: API Affects Versions: JCR Base 2.1.2 Reporter: Anjan Assignee: Eric Norman Priority: Minor Labels: aggregate, permissions, privileges I am using Sling's REST interface to modify the permissions on a Node. I noticed an issue. The issue I am facing can be best explained by showing the curl commands I executed and the output I received: (1) Here is the initial set of privileges present on the node: $ curl -u admin:admin http://localhost:8080/content/pertest.eacl.json {test:{principal:test,denied:[jcr:versionManagement,jcr:read,jcr:modifyAccessControl,rep:write],order:0},everyone:{principal:everyone,granted:[jcr:read,jcr:readAccessControl],order:1},administrators:{principal:administrators,granted:[jcr:all],order:2}} (2) Run the below command to grant all the privileges for test principal $ curl -u admin:admin -FprincipalId=test -Fprivilege@jcr:versionManagement=granted -Fprivilege@jcr:read=granted -Fprivilege@jcr:modifyAccessControl=granted -Fprivilege@jcr:nodeTypeManagement=granted -Fprivilege@jcr:write=granted http://localhost:8080/content/pertest.modifyAce.json (3) As you can see from the below output, jcr:write is still present under denied privileges for test even though I granted all the privileges in the previous command $ curl -u admin:admin http://localhost:8080/content/pertest.eacl.json {test:{principal:test,granted:[jcr:nodeTypeManagement,jcr:versionManagement,jcr:read,jcr:modifyAccessControl],denied:[jcr:write],order:0},everyone:{principal:everyone,granted:[jcr:read,jcr:readAccessControl],order:1},administrators:{principal:administrators,granted:[jcr:all],order:2}} Initially I thought it's a bug in Jackrabbit, but after getting the clarification from Jackrabbit forum, I think it might need to be corrected in Sling. Here is the link to the question I raised in Jackrabbit forum: http://jackrabbit.510166.n4.nabble.com/Bug-or-intended-behavior-getAggregatePrivileges-td4659272.html Potential fix: In the class org.apache.sling.jcr.base.util.AccessControlUtil.java, there is a private method with the below signature: private static SetString disaggregateToPrivilegeNames(Privilege privilege) {} Inside this method, there is a for loop for (Privilege disaggregate : privileges) { disaggregatedPrivilegeNames.add(disaggregate.getName()); } If I modify the above snippet with the below code snippet, then the issue seems to be resolved. for (Privilege disaggregate : privileges) { if(!disaggregate.isAggregate()) disaggregatedPrivilegeNames.add(disaggregate.getName()); } Based on my initial testing the change seems to be working fine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SLING-3010) Managing Permissions using Sling with Aggregate Privileges
[ https://issues.apache.org/jira/browse/SLING-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-3010. Resolution: Fixed Fix Version/s: JCR Base 2.1.4 [~anjan] Thanks for reporting the bug and providing a patch. I have applied your fix in revision 1513729 plus added a couple of integration tests to guard against future regressions. Please verify that the fix works as expected for you. Managing Permissions using Sling with Aggregate Privileges -- Key: SLING-3010 URL: https://issues.apache.org/jira/browse/SLING-3010 Project: Sling Issue Type: Bug Components: API Affects Versions: JCR Base 2.1.2 Reporter: Anjan Assignee: Eric Norman Priority: Minor Labels: aggregate, permissions, privileges Fix For: JCR Base 2.1.4 I am using Sling's REST interface to modify the permissions on a Node. I noticed an issue. The issue I am facing can be best explained by showing the curl commands I executed and the output I received: (1) Here is the initial set of privileges present on the node: $ curl -u admin:admin http://localhost:8080/content/pertest.eacl.json {test:{principal:test,denied:[jcr:versionManagement,jcr:read,jcr:modifyAccessControl,rep:write],order:0},everyone:{principal:everyone,granted:[jcr:read,jcr:readAccessControl],order:1},administrators:{principal:administrators,granted:[jcr:all],order:2}} (2) Run the below command to grant all the privileges for test principal $ curl -u admin:admin -FprincipalId=test -Fprivilege@jcr:versionManagement=granted -Fprivilege@jcr:read=granted -Fprivilege@jcr:modifyAccessControl=granted -Fprivilege@jcr:nodeTypeManagement=granted -Fprivilege@jcr:write=granted http://localhost:8080/content/pertest.modifyAce.json (3) As you can see from the below output, jcr:write is still present under denied privileges for test even though I granted all the privileges in the previous command $ curl -u admin:admin http://localhost:8080/content/pertest.eacl.json {test:{principal:test,granted:[jcr:nodeTypeManagement,jcr:versionManagement,jcr:read,jcr:modifyAccessControl],denied:[jcr:write],order:0},everyone:{principal:everyone,granted:[jcr:read,jcr:readAccessControl],order:1},administrators:{principal:administrators,granted:[jcr:all],order:2}} Initially I thought it's a bug in Jackrabbit, but after getting the clarification from Jackrabbit forum, I think it might need to be corrected in Sling. Here is the link to the question I raised in Jackrabbit forum: http://jackrabbit.510166.n4.nabble.com/Bug-or-intended-behavior-getAggregatePrivileges-td4659272.html Potential fix: In the class org.apache.sling.jcr.base.util.AccessControlUtil.java, there is a private method with the below signature: private static SetString disaggregateToPrivilegeNames(Privilege privilege) {} Inside this method, there is a for loop for (Privilege disaggregate : privileges) { disaggregatedPrivilegeNames.add(disaggregate.getName()); } If I modify the above snippet with the below code snippet, then the issue seems to be resolved. for (Privilege disaggregate : privileges) { if(!disaggregate.isAggregate()) disaggregatedPrivilegeNames.add(disaggregate.getName()); } Based on my initial testing the change seems to be working fine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira