Categorizing web console plugins?

2013-06-06 Thread Carsten Ziegeler
Hi,

since some time the Apache Felix web console supports categories and
creates a top level menu for each category. By default all plugins are
added to the Main category.

I'm wondering if we should put all plugins from Sling into a separate
category?
And if so, what would be the name? Just Sling or Apache Sling?

WDYT?

Regards
Carsten
-- 
Carsten Ziegeler
cziege...@apache.org


Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Event Support #1687

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.event/1687/



Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Launchpad Testing #1687

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/1687/



Jenkins build is unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing WAR version #1687

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing-war/1687/



Jenkins build is unstable: sling-trunk-1.6 » Apache Sling Launchpad Base #1687

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.base/1687/



Jenkins build is back to normal : sling-trunk-1.6 » Apache Sling Installer Integration Tests #1687

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.installer.it/1687/



Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Resource-Based Discovery Service #1687

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.discovery.impl/1687/



Re: Categorizing web console plugins?

2013-06-06 Thread Bertrand Delacretaz
On Thu, Jun 6, 2013 at 8:53 AM, Carsten Ziegeler cziege...@apache.org wrote:
 ...I'm wondering if we should put all plugins from Sling into a separate
 category?
 And if so, what would be the name? Just Sling or Apache Sling?...

I like the idea, just Sling is good IMO as the other categories have
short names (Main, OSGi etc.)

-Bertrand


Jenkins build is unstable: sling-trunk-1.6 #1687

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/1687/changes



Build failed in Jenkins: sling-healthcheck-1.6 #1

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-healthcheck-1.6/1/

--
[...truncated 126 lines...]
A it/src
A it/src/test
A it/src/test/java
A it/src/test/java/org
A it/src/test/java/org/apache
A it/src/test/java/org/apache/sling
A it/src/test/java/org/apache/sling/hc
A it/src/test/java/org/apache/sling/hc/it
A it/src/test/java/org/apache/sling/hc/it/core
A it/src/test/java/org/apache/sling/hc/it/core/AllRulesTest.java
A it/src/test/java/org/apache/sling/hc/it/core/U.java
A 
it/src/test/java/org/apache/sling/hc/it/core/OsgiHealthCheckFacadeTest.java
A it/src/test/java/org/apache/sling/hc/it/core/OsgiRulesTest.java
A it/pom.xml
A sling-demo
A sling-demo/src
A sling-demo/src/main
A sling-demo/src/main/java
A sling-demo/src/main/java/org
A sling-demo/src/main/java/org/apache
A sling-demo/src/main/java/org/apache/sling
A sling-demo/src/main/java/org/apache/sling/hc
A sling-demo/src/main/java/org/apache/sling/hc/demo
A sling-demo/src/main/java/org/apache/sling/hc/demo/tests
A 
sling-demo/src/main/java/org/apache/sling/hc/demo/tests/RepositoryPresentTest.java
A 
sling-demo/src/main/java/org/apache/sling/hc/demo/tests/ResourcesExistTest.java
A sling-demo/src/main/resources
A sling-demo/src/main/resources/SLING-CONTENT
A sling-demo/src/main/resources/SLING-CONTENT/apps
A sling-demo/src/main/resources/SLING-CONTENT/apps/hc
A sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/ResourcesExistTest.json
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/admin-foo.json
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/junit-sling-all.json
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/sling-api-bundle.json
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/groovy-bundle.json
A 
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/script-that-passes.esp
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/admin-login.json
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/RepositoryPresentTest.json
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/script-that-fails.jsp
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/non-existent-bundle.json
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/ResourcesExistTest-checkAppsExist.json
A sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo.json
A sling-demo/pom.xml
 U.
At revision 1490182
Parsing POMs
Downloaded artifact 
http://repo.maven.apache.org/maven2//org/apache/sling/sling/16/sling-16.pom
Discovered a new module org.apache.sling:org.apache.sling.hc.reactor Sling 
Health Check Tool Reactor POM
Discovered a new module org.apache.sling:org.apache.sling.hc.core Sling Health 
Check Core
Discovered a new module org.apache.sling:org.apache.sling.hc.rules Sling Health 
Check Rules
Discovered a new module org.apache.sling:org.apache.sling.hc.sling Sling Health 
Check Sling Components
Discovered a new module org.apache.sling:org.apache.sling.hc.slingdemo Sling 
Health Check Sling demo content
Discovered a new module org.apache.sling:org.apache.sling.hc.it Sling Health 
Check Integration Tests
Modules changed, recalculating dependency graph
[healthcheck] $ 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/tools/jdk6-u26-auto-install//bin/java
 -Xmx512M -XX:MaxPermSize=256M -enableassertions -cp 
/export/home/hudson/hudson-slave/maven3-agent.jar:/home/hudson/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main 
/home/hudson/tools/maven/apache-maven-3.0.4 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/slave.jar 
/export/home/hudson/hudson-slave/maven3-interceptor.jar 65517
channel started
===[JENKINS REMOTING CAPACITY]===   log4j:WARN No appenders could be found 
for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven:  -B -f 
https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/pom.xml 
-Dmaven.repo.local=/export/home/hudson/hudson-slave/maven-repositories/0 install
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.sling:org.apache.sling.hc.sling:bundle:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: org.apache.sling:org.apache.sling.commons.json:jar - duplicate 
declaration of version 2.0.6 @ line 135, column 22
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.

Re: Build failed in Jenkins: sling-healthcheck-1.6 #1

2013-06-06 Thread Bertrand Delacretaz
Hi,

On Thu, Jun 6, 2013 at 9:43 AM, Apache Jenkins Server
jenk...@builds.apache.org wrote:
 See https://builds.apache.org/job/sling-healthcheck-1.6/1/

I've added this job as a simple build that does not take ages to run,
set it to run once a day and keep several builds - it should be
helpful in finding out if Jenkins runs reliably (which is not the case
currently, I was wrong yesterday).

-Bertrand


Jenkins build is unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing WAR version #60

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing-war/60/



Jenkins build is back to normal : sling-trunk-1.7 » Apache Sling Event Support #60

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.event/60/



Jenkins build is back to normal : sling-trunk-1.7 » Apache Sling Launchpad Testing #60

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/60/



[jira] [Created] (SLING-2909) Add inventory printer for JSON output

2013-06-06 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-2909:
---

 Summary: Add inventory printer for JSON output
 Key: SLING-2909
 URL: https://issues.apache.org/jira/browse/SLING-2909
 Project: Sling
  Issue Type: New Feature
  Components: Extensions
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
 Fix For: Extensions Event 3.2.0


With the new Apache Felix inventory printer we can add json output to web 
console plugins (or more precisely as an inventory printer).
We could output all jobs information as json as well

--
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 #60

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/60/changes



[jira] [Resolved] (SLING-2909) Add inventory printer for JSON output

2013-06-06 Thread Carsten Ziegeler (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-2909.
-

Resolution: Fixed

 Add inventory printer for JSON output
 -

 Key: SLING-2909
 URL: https://issues.apache.org/jira/browse/SLING-2909
 Project: Sling
  Issue Type: New Feature
  Components: Extensions
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
 Fix For: Extensions Event 3.2.0


 With the new Apache Felix inventory printer we can add json output to web 
 console plugins (or more precisely as an inventory printer).
 We could output all jobs information as json as well

--
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-healthcheck-1.6 #2

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-healthcheck-1.6/2/changes

Changes:

[bdelacretaz] SLING-2822 - debug log bean value

[bdelacretaz] SLING-2822 - use older sling.api which is good enough

--
Started by an SCM change
Building remotely on solaris1 in workspace 
https://builds.apache.org/job/sling-healthcheck-1.6/ws/
Updating 
http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck
U 
hc-rules/src/main/java/org/apache/sling/hc/rules/jmx/JmxBeansRuleBuilder.java
U hc-sling/src/test/java/org/apache/sling/hc/sling/MockResource.java
U hc-sling/src/test/java/org/apache/sling/hc/sling/MockResolver.java
U hc-sling/pom.xml
At revision 1490206
Parsing POMs
Build timed out (after 10 minutes). Marking the build as failed.


[jira] [Created] (SLING-2910) Move web console plugin into category Sling

2013-06-06 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-2910:
---

 Summary: Move web console plugin into category Sling
 Key: SLING-2910
 URL: https://issues.apache.org/jira/browse/SLING-2910
 Project: Sling
  Issue Type: Improvement
  Components: ResourceResolver
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Priority: Minor
 Fix For: Resource Resolver 1.0.8


Putting all Sling relevant plugins into its own categorie makes the web console 
easier to use

--
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-trunk-1.6 » Apache Sling Launchpad Testing #1688

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/1688/

--
[...truncated 551 lines...]
INFO: Startup progress 104/109
INFO: Apache Sling started
INFO: Startup progress 104/109
INFO: Startup progress 105/109
INFO: Startup finished.
[INFO] [INFO] Surefire report directory: 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/ws/target/surefire-reports

---
 T E S T S
---

[INFO] --- maven-surefire-plugin:2.12.4:test (surefire-integration-test) @ 
org.apache.sling.launchpad.testing ---
Running org.apache.sling.launchpad.testing.TestAll
Running org.apache.sling.launchpad.webapp.integrationtest.issues.SLING2094Test
Checking if the required Sling services are started (timeout 300 seconds)...
(base URLs=http://localhost:39925 and http://localhost:39925; servlet context=)
Sling services seem to be started, continuing with integration tests.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
Running org.apache.sling.launchpad.webapp.integrationtest.issues.SLING2085Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
Running org.apache.sling.launchpad.webapp.integrationtest.issues.SLING2617Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
Running org.apache.sling.launchpad.webapp.integrationtest.issues.SLING2522Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
Running org.apache.sling.launchpad.webapp.integrationtest.issues.SLING457Test
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
Running org.apache.sling.launchpad.webapp.integrationtest.issues.SLING2082Test
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
Running org.apache.sling.launchpad.webapp.integrationtest.issues.SLING760Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.SlingDefaultValuesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostToRootTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletNopTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.ReferenceTypeHintTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletVersionableTest
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletAtCopyTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletOrderTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostStatusTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletDeleteTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletAtMoveTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletAtDeleteTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.SlingSessionInfoTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletUpdateTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletPatchTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.SlingAutoPropertiesTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.CustomPostOperationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.SlingDateValuesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletOutputContentTypeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0
Running 

Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Launchpad Base #1688

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.base/1688/



Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Event Support #1688

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.event/1688/changes



Build failed in Jenkins: sling-trunk-1.6 #1688

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/1688/changes

Changes:

[cziegeler] SLING-2910 :  Move web console plugin into category Sling

[cziegeler] SLING-2909 :  Add inventory printer for JSON output

[bdelacretaz] SLING-2822 - add jmx and bundle example rules

[bdelacretaz] SLING-2822 - debug log bean value

[cziegeler] SLING-2909 :  Add inventory printer for JSON output

[cziegeler] SLING-2909 :  Add inventory printer for JSON output

[bdelacretaz] SLING-2822 - use older sling.api which is good enough

--
[...truncated 27055 lines...]
[INFO] Apache Sling JCR Repository Registration .. SUCCESS [7.154s]
[INFO] Apache Sling Simple WebDAV Access to repositories . SUCCESS [4.821s]
[INFO] Apache Sling DavEx Access to repositories . SUCCESS [5.561s]
[INFO] Apache Sling JCR WebConsole Bundle  SUCCESS [3.481s]
[INFO] Apache Sling Servlet Resolver . SUCCESS [7.742s]
[INFO] Apache Sling Default GET Servlets . SUCCESS [6.655s]
[INFO] Apache Sling Default POST Servlets  SUCCESS [6.730s]
[INFO] Apache Sling Compat Servlets .. SUCCESS [4.408s]
[INFO] Apache Sling Scripting Implementation API . SUCCESS [4.177s]
[INFO] Apache Sling Scripting Core implementation  SUCCESS [4.885s]
[INFO] Apache Sling Scripting JavaScript Support . SUCCESS [1:00.315s]
[INFO] Apache Sling Scripting JSP Support  SUCCESS [9.333s]
[INFO] Apache Sling JSP Tag Library .. SUCCESS [4.562s]
[INFO] Apache Sling JSP Standard Tag Library . SUCCESS [3.665s]
[INFO] Apache Sling Adapter Manager Implementation ... SUCCESS [5.701s]
[INFO] Apache Sling Bundle Resource Provider . SUCCESS [3.842s]
[INFO] Apache Sling Discovery API  SUCCESS [4.352s]
[INFO] Apache Sling Resource-Based Discovery Service . SUCCESS [1:17.890s]
[INFO] Apache Sling Discovery Support Bundle . SUCCESS [4.135s]
[INFO] Apache Sling Discovery Standalone Implementation .. SUCCESS [3.059s]
[INFO] Apache Sling Event Support  SUCCESS [8:51.258s]
[INFO] Apache Sling Filesystem Resource Provider . SUCCESS [4.250s]
[INFO] Apache Sling javax.activation bundle .. SUCCESS [4.497s]
[INFO] Apache Sling Settings . SUCCESS [6.694s]
[INFO] Apache Sling Thread Dumper  SUCCESS [4.210s]
[INFO] Apache Sling Web Console Branding . SUCCESS [3.345s]
[INFO] Apache Sling Web Console Security Provider  SUCCESS [2.947s]
[INFO] Apache Sling Groovy Extensions  SUCCESS [4.291s]
[INFO] Apache Sling Explorer . SUCCESS [4.413s]
[INFO] Apache Sling Test Tools ... SUCCESS [5.644s]
[INFO] Apache Sling JUnit Core ... SUCCESS [5.328s]
[INFO] Apache Sling JUnit Scriptable Tests Provider .. SUCCESS [3.961s]
[INFO] Apache Sling JUnit Remote Tests Runners ... SUCCESS [2.941s]
[INFO] Apache Sling Testing Resource Resolver Mock ... SUCCESS [3.456s]
[INFO] Apache Sling Installer API  SUCCESS [3.713s]
[INFO] Apache Sling Installer  SUCCESS [4.352s]
[INFO] Apache Sling Installer WebConsole Plugin .. SUCCESS [2.736s]
[INFO] Apache Sling File Installer ... SUCCESS [2.848s]
[INFO] Apache Sling JCR Installer  SUCCESS [2:20.968s]
[INFO] Apache Sling Installer Configuration Admin Support  SUCCESS [3.461s]
[INFO] Apache Sling Deployment Package Installer . SUCCESS [3.763s]
[INFO] Apache Sling Installer Integration Tests .. SUCCESS [48.917s]
[INFO] Apache Sling Launchpad API  SUCCESS [4.095s]
[INFO] Apache Sling Launchpad Base ... SUCCESS [10.808s]
[INFO] Apache Sling Launchpad Installer .. SUCCESS [3.065s]
[INFO] Apache Sling Launchpad Content  SUCCESS [2.947s]
[INFO] Apache Sling Launchpad Application Builder  SUCCESS [37.927s]
[INFO] Apache Sling Sample Server-Side Tests . SUCCESS [5.188s]
[INFO] Apache Sling Failing Server-Side Tests  SUCCESS [4.931s]
[INFO] Apache Sling Sample Integration Tests . SUCCESS [1:04.272s]
[INFO] Apache Sling Launchpad Testing Services ... SUCCESS [6.884s]
[INFO] Apache Sling Launchpad Testing Services WAR ... SUCCESS [3.245s]
[INFO] Apache Sling Launchpad Testing Fragment Bundle  SUCCESS [2.587s]
[INFO] Apache Sling Launchpad Test Bundles ... SUCCESS [4.408s]
[INFO] Apache Sling Integration Tests  SUCCESS [7.881s]
[INFO] Apache Sling Launchpad Testing  FAILURE [4:13.843s]
[INFO] Apache Sling Launchpad Testing WAR version  SKIPPED
[INFO] Apache Sling (Builder)  

Jenkins build became unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing #61

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/61/



Jenkins build is still unstable: sling-trunk-1.7 #61

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/changes



Jenkins build is unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing #1689

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/1689/



Jenkins build is unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing WAR version #1689

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing-war/1689/



Jenkins build is unstable: sling-trunk-1.6 #1689

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/1689/changes



[jira] [Created] (SLING-2911) Wrong explanation of filter order based on service.ranking

2013-06-06 Thread Ben Peter (JIRA)
Ben Peter created SLING-2911:


 Summary: Wrong explanation of filter order based on service.ranking
 Key: SLING-2911
 URL: https://issues.apache.org/jira/browse/SLING-2911
 Project: Sling
  Issue Type: Bug
  Components: Documentation
Reporter: Ben Peter


http://sling.apache.org/documentation/the-sling-engine/filters.html contains 
the following as an explanation for {{service.ranking}}:

{quote}
Indication of where to place the filter in the filter chain. The higher the 
number the earlier in the filter chain. This value may span the whole range of 
integer values. 
{quote}

It seems the opposite is true (the lower the numer, the earlier in the filter 
chain).

--
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


Re: Categorizing web console plugins?

2013-06-06 Thread Alexander Klimetschek
+1 for just Sling.

I think it's ok if the menu is kept short, the full trademark name will be 
somewhere on the web console plugin's UIs anyway.

Cheers,
Alex

On 06.06.2013, at 09:12, Bertrand Delacretaz bdelacre...@apache.org wrote:

 On Thu, Jun 6, 2013 at 8:53 AM, Carsten Ziegeler cziege...@apache.org wrote:
 ...I'm wondering if we should put all plugins from Sling into a separate
 category?
 And if so, what would be the name? Just Sling or Apache Sling?...
 
 I like the idea, just Sling is good IMO as the other categories have
 short names (Main, OSGi etc.)
 
 -Bertrand



Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Resource-Based Discovery Service #62

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/62/



Jenkins build is still unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing #62

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/62/



Jenkins build is still unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing WAR version #62

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing-war/62/



Jenkins build became unstable: sling-trunk-1.7 » Apache Sling Sample Integration Tests #62

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.testing.samples.integrationtests/62/



Jenkins build is still unstable: sling-trunk-1.7 #62

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/changes



[jira] [Resolved] (SLING-2535) QuartzScheduler:ApacheSling thread group remaining after stopping the scheduler bundle

2013-06-06 Thread Carsten Ziegeler (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-2535.
-

Resolution: Fixed

I think we can close this now

 QuartzScheduler:ApacheSling thread group remaining after stopping the 
 scheduler bundle
 --

 Key: SLING-2535
 URL: https://issues.apache.org/jira/browse/SLING-2535
 Project: Sling
  Issue Type: Bug
  Components: Commons
Affects Versions: Commons Scheduler 2.3.4
Reporter: Felix Meschberger
Assignee: Ian Boston
 Fix For: Commons Scheduler 2.3.6


 When the Scheduler bundle is stopped, the threads (probably the thread pool) 
 is cleaned away but the thread group QuartzScheduler:ApacheSling remains. 
 For ultimate cleanup, I would think the thread group should also be destroyed.

--
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] [Assigned] (SLING-2535) QuartzScheduler:ApacheSling thread group remaining after stopping the scheduler bundle

2013-06-06 Thread Carsten Ziegeler (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler reassigned SLING-2535:
---

Assignee: Ian Boston

Assigning to Ian who worked on this

 QuartzScheduler:ApacheSling thread group remaining after stopping the 
 scheduler bundle
 --

 Key: SLING-2535
 URL: https://issues.apache.org/jira/browse/SLING-2535
 Project: Sling
  Issue Type: Bug
  Components: Commons
Affects Versions: Commons Scheduler 2.3.4
Reporter: Felix Meschberger
Assignee: Ian Boston
 Fix For: Commons Scheduler 2.3.6


 When the Scheduler bundle is stopped, the threads (probably the thread pool) 
 is cleaned away but the thread group QuartzScheduler:ApacheSling remains. 
 For ultimate cleanup, I would think the thread group should also be destroyed.

--
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] [Created] (SLING-2912) Update to latest quartz scheduler

2013-06-06 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-2912:
---

 Summary: Update to latest quartz scheduler
 Key: SLING-2912
 URL: https://issues.apache.org/jira/browse/SLING-2912
 Project: Sling
  Issue Type: Improvement
  Components: Commons
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Priority: Minor
 Fix For: Commons Scheduler 2.3.6


We're currently embedding quartz scheduler v2.1.1 - which is very old, since 
then there were several releases with improvements and bug fixes, so I think we 
should update to the latest v2.1.7

--
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-2912) Update to latest quartz scheduler

2013-06-06 Thread Carsten Ziegeler (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-2912.
-

Resolution: Fixed

Updated to 2.1.7

 Update to latest quartz scheduler
 -

 Key: SLING-2912
 URL: https://issues.apache.org/jira/browse/SLING-2912
 Project: Sling
  Issue Type: Improvement
  Components: Commons
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Priority: Minor
 Fix For: Commons Scheduler 2.3.6


 We're currently embedding quartz scheduler v2.1.1 - which is very old, since 
 then there were several releases with improvements and bug fixes, so I think 
 we should update to the latest v2.1.7

--
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


Re: Categorizing web console plugins?

2013-06-06 Thread Justin Edelson
Hi,
IIRC, the Tenant plugin already has 'Sling'.

Justin
On Jun 6, 2013 2:53 AM, Carsten Ziegeler cziege...@apache.org wrote:

 Hi,

 since some time the Apache Felix web console supports categories and
 creates a top level menu for each category. By default all plugins are
 added to the Main category.

 I'm wondering if we should put all plugins from Sling into a separate
 category?
 And if so, what would be the name? Just Sling or Apache Sling?

 WDYT?

 Regards
 Carsten
 --
 Carsten Ziegeler
 cziege...@apache.org



[jira] [Commented] (SLING-2701) SlingAuthenticator is volatile to multithreaded auth path updates.

2013-06-06 Thread JIRA

[ 
https://issues.apache.org/jira/browse/SLING-2701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13676992#comment-13676992
 ] 

Dominik Smogór commented on SLING-2701:
---

I'm not sure, the SLING-2812 deals with tracking AuthenticationHandlers while 
this one synchronizes changes in services delivering sling.auth.requirements. 
The bug in question has shown up in connection with entries from CugSupportImpl 
service from CQ5.4, one which isn't an AuthenticationHandler.


 SlingAuthenticator is volatile to multithreaded auth path updates.
 --

 Key: SLING-2701
 URL: https://issues.apache.org/jira/browse/SLING-2701
 Project: Sling
  Issue Type: Bug
  Components: Authentication
Affects Versions: Auth Core 1.0.6
 Environment: CQ 5.4
Reporter: Dominik Smogór
Assignee: Carsten Ziegeler
 Attachments: authcore-SLING-2701.patch


 SlingAuthenticator has a registered listener on services that share 
 sling.auth.requirements service attributes.
 These paths serve as basis to PathBasedHolders that decide what request paths 
 need to be authenticated.
 When the listener is called from multiple threads on the same service 
 SlingAuthenticator PathBasedHolders cache gets corrupted due to insufficient 
 synchronization. The effect is artificial multiplication of records.
 This patch adds synchronized block within the listener.

--
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 became unstable: sling-trunk-1.6 » Apache Sling Event Support #1690

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.event/1690/



Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Sample Integration Tests #1690

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.testing.samples.integrationtests/1690/



Jenkins build is still unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing #1690

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/1690/



Jenkins build is still unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing WAR version #1690

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing-war/1690/



Jenkins build is still unstable: sling-trunk-1.6 #1690

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/changes



Re: Categorizing web console plugins?

2013-06-06 Thread Carsten Ziegeler
Ok, I changed already the category of the resource resolver to Sling, and
the jobs console is using this as well

Carsten


2013/6/6 Justin Edelson jus...@justinedelson.com

 Hi,
 IIRC, the Tenant plugin already has 'Sling'.

 Justin
 On Jun 6, 2013 2:53 AM, Carsten Ziegeler cziege...@apache.org wrote:

  Hi,
 
  since some time the Apache Felix web console supports categories and
  creates a top level menu for each category. By default all plugins are
  added to the Main category.
 
  I'm wondering if we should put all plugins from Sling into a separate
  category?
  And if so, what would be the name? Just Sling or Apache Sling?
 
  WDYT?
 
  Regards
  Carsten
  --
  Carsten Ziegeler
  cziege...@apache.org
 




-- 
Carsten Ziegeler
cziege...@apache.org


[jira] [Commented] (SLING-2701) SlingAuthenticator is volatile to multithreaded auth path updates.

2013-06-06 Thread Carsten Ziegeler (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13677009#comment-13677009
 ] 

Carsten Ziegeler commented on SLING-2701:
-

Thanks Dominik, I suggest to use the new version with SLING-2812 and if the 
problem persists, we can reopen this issue

 SlingAuthenticator is volatile to multithreaded auth path updates.
 --

 Key: SLING-2701
 URL: https://issues.apache.org/jira/browse/SLING-2701
 Project: Sling
  Issue Type: Bug
  Components: Authentication
Affects Versions: Auth Core 1.0.6
 Environment: CQ 5.4
Reporter: Dominik Smogór
Assignee: Carsten Ziegeler
 Attachments: authcore-SLING-2701.patch


 SlingAuthenticator has a registered listener on services that share 
 sling.auth.requirements service attributes.
 These paths serve as basis to PathBasedHolders that decide what request paths 
 need to be authenticated.
 When the listener is called from multiple threads on the same service 
 SlingAuthenticator PathBasedHolders cache gets corrupted due to insufficient 
 synchronization. The effect is artificial multiplication of records.
 This patch adds synchronized block within the listener.

--
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-2701) SlingAuthenticator is volatile to multithreaded auth path updates.

2013-06-06 Thread JIRA

[ 
https://issues.apache.org/jira/browse/SLING-2701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13677012#comment-13677012
 ] 

Dominik Smogór commented on SLING-2701:
---

Imagine the following: (lines valid for r1021641)
thread X calls serviceChanged - #1451 removeService now, authReq are not any 
more in props but still in the cache.
now thread Y drops in with serviceChanged - first calls removeService but the 
key is no longer there, then calls addService with all the keys once again. Now 
you have authRequs duplicated.
Besides, access to props should be synchronized anyway.


 SlingAuthenticator is volatile to multithreaded auth path updates.
 --

 Key: SLING-2701
 URL: https://issues.apache.org/jira/browse/SLING-2701
 Project: Sling
  Issue Type: Bug
  Components: Authentication
Affects Versions: Auth Core 1.0.6
 Environment: CQ 5.4
Reporter: Dominik Smogór
Assignee: Carsten Ziegeler
 Attachments: authcore-SLING-2701.patch


 SlingAuthenticator has a registered listener on services that share 
 sling.auth.requirements service attributes.
 These paths serve as basis to PathBasedHolders that decide what request paths 
 need to be authenticated.
 When the listener is called from multiple threads on the same service 
 SlingAuthenticator PathBasedHolders cache gets corrupted due to insufficient 
 synchronization. The effect is artificial multiplication of records.
 This patch adds synchronized block within the listener.

--
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-healthcheck-1.6 #4

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-healthcheck-1.6/4/changes

Changes:

[bdelacretaz] SLING-2822 - add inactive bundles count rule

[bdelacretaz] SLING-2822 - add 'omit rules which have nothing to report' option

[bdelacretaz] SLING-2910 - set Sling category on 
SlingHealthCheckWebconsolePlugin

--
Started by an SCM change
Building remotely on solaris1 in workspace 
https://builds.apache.org/job/sling-healthcheck-1.6/ws/
Updating 
http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck
U 
hc-rules/src/main/java/org/apache/sling/hc/rules/osgi/BundlesRuleBuilder.java
U 
hc-sling/src/main/java/org/apache/sling/hc/sling/impl/SlingHealthCheckWebconsolePlugin.java
U 
hc-sling/src/main/java/org/apache/sling/hc/sling/impl/JsonResultRendererImpl.java
U 
hc-sling/src/main/java/org/apache/sling/hc/sling/impl/SlingHealthCheckServlet.java
U 
hc-sling/src/main/java/org/apache/sling/hc/sling/impl/HtmlResultRendererImpl.java
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/inactive-bundles.json
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/startup-filter-bundle.json
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/jmx-sling-requests.json
AU
sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/jmx-basic-example.json
At revision 1490289
Parsing POMs
Build timed out (after 3 minutes). Marking the build as failed.


[jira] [Created] (SLING-2913) Issue in AbstractCreateOperation#deepGetOrCreateNode

2013-06-06 Thread Antonio Sanso (JIRA)
Antonio Sanso created SLING-2913:


 Summary: Issue in AbstractCreateOperation#deepGetOrCreateNode
 Key: SLING-2913
 URL: https://issues.apache.org/jira/browse/SLING-2913
 Project: Sling
  Issue Type: Bug
  Components: Servlets
Reporter: Antonio Sanso


While updating the AbstractCreateOperation to use new CRUD support in POST 
servlet has been some lost in translation.

The previous code looked like 

{code}

protected Node deepGetOrCreateNode(Session session, String path,
MapString, RequestProperty reqProperties, ListModification 
changes,
VersioningConfiguration versioningConfiguration)
throws RepositoryException {
if (log.isDebugEnabled()) {
log.debug(Deep-creating Node '{}', path);
}
if (path == null || !path.startsWith(/)) {
throw new IllegalArgumentException(path must be an absolute 
path.);
}
// get the starting node
String startingNodePath = path;
Node startingNode = null;
while (startingNode == null) {
if (startingNodePath.equals(/)) {
startingNode = session.getRootNode();
} else if (session.itemExists(startingNodePath)) {
startingNode = (Node) session.getItem(startingNodePath);
updateNodeType(session, startingNodePath, reqProperties, 
changes, versioningConfiguration);
updateMixins(session, startingNodePath, reqProperties, changes, 
versioningConfiguration);
} else {
int pos = startingNodePath.lastIndexOf('/');
if (pos  0) {
startingNodePath = startingNodePath.substring(0, pos);
} else {
startingNodePath = /;
}
}
}
{code}

while the updated is 

{code}
protected Resource deepGetOrCreateNode(final ResourceResolver resolver,
final String path,
final MapString, RequestProperty reqProperties,
final ListModification changes,
final VersioningConfiguration versioningConfiguration)
throws PersistenceException, RepositoryException {
if (log.isDebugEnabled()) {
log.debug(Deep-creating resource '{}', path);
}
if (path == null || !path.startsWith(/)) {
throw new IllegalArgumentException(path must be an absolute 
path.);
}
// get the starting resource
String startingResourcePath = path;
Resource startingResource = null;
while (startingResource == null) {
if (startingResourcePath.equals(/)) {
startingResource = resolver.getResource(/);
} else if (resolver.getResource(startingResourcePath) != null) {
startingResource = resolver.getResource(startingResourcePath);
updateNodeType(resolver, startingResourcePath, reqProperties, 
changes, versioningConfiguration);
updateMixins(resolver, startingResourcePath, reqProperties, 
changes, versioningConfiguration);
} else {
int pos = startingResourcePath.lastIndexOf('/');
if (pos  0) {
startingResourcePath = startingResourcePath.substring(0, 
pos);
} else {
startingResourcePath = /;
}
}
}
{code}

The main difference is in that the 

 startingNode = session.getRootNode(); could throw a RepositoryException e.g. 
if the session did not have enough permission while startingResource = 
resolver.getResource(/); would just return null.

This might cause a theoretical infinite loop.



--
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] [Created] (SLING-2914) add load test for discovery.impl

2013-06-06 Thread Stefan Egli (JIRA)
Stefan Egli created SLING-2914:
--

 Summary: add load test for discovery.impl
 Key: SLING-2914
 URL: https://issues.apache.org/jira/browse/SLING-2914
 Project: Sling
  Issue Type: Test
  Components: Extensions
Affects Versions: Discovery Impl 1.0.0
Reporter: Stefan Egli
Assignee: Stefan Egli


Add heavier tests to discovery.impl which turn on/off certain instances in a 
cluster to see if the cluster view handling of discovery.impl is 
stress-resistant.

--
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 became unstable: sling-trunk-1.6 » Apache Sling Installer Integration Tests #1691

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.installer.it/1691/



Jenkins build is still unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing WAR version #1691

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing-war/1691/



Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Sample Integration Tests #1691

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.testing.samples.integrationtests/1691/



Jenkins build is still unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing #1691

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/1691/



Re: [jira] [Created] (SLING-2914) add load test for discovery.impl

2013-06-06 Thread Bertrand Delacretaz
Hi,

On Thu, Jun 6, 2013 at 4:37 PM, Stefan Egli (JIRA) j...@apache.org wrote:
 Stefan Egli created SLING-2914:
...
 Add heavier tests to discovery.impl which turn on/off certain instances in a 
 cluster...

FWIW, I've been playing with JUnit Rules recently and that's quite
powerful, might be useful for your tests.
http://eclipsesource.com/blogs/2013/05/23/a-rule-to-test-them-all-at-once/
is a good example.

-Bertrand


Jenkins build is still unstable: sling-trunk-1.6 #1691

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/changes



[jira] [Commented] (SLING-2914) add load test for discovery.impl

2013-06-06 Thread Stefan Egli (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13677085#comment-13677085
 ] 

Stefan Egli commented on SLING-2914:


Added ClusterLoadTest: this runs between 2 and 7 instances (all in the same vm 
accessing the same repository, yet testing the cluster functionality), 
stops/restarts one or many instances, in a loop, randomly and verifies that the 
established cluster view corresponds to what is expected.

 add load test for discovery.impl
 

 Key: SLING-2914
 URL: https://issues.apache.org/jira/browse/SLING-2914
 Project: Sling
  Issue Type: Test
  Components: Extensions
Affects Versions: Discovery Impl 1.0.0
Reporter: Stefan Egli
Assignee: Stefan Egli

 Add heavier tests to discovery.impl which turn on/off certain instances in a 
 cluster to see if the cluster view handling of discovery.impl is 
 stress-resistant.

--
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] [Comment Edited] (SLING-2914) add load test for discovery.impl

2013-06-06 Thread Stefan Egli (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13677085#comment-13677085
 ] 

Stefan Egli edited comment on SLING-2914 at 6/6/13 3:14 PM:


Added ClusterLoadTest: this runs between 2 and 7 instances (all in the same vm 
accessing the same repository, yet testing relevant discovery functionality), 
stops/restarts one or many instances, in a loop, randomly and verifies that the 
established cluster view corresponds to what is expected.

  was (Author: egli):
Added ClusterLoadTest: this runs between 2 and 7 instances (all in the same 
vm accessing the same repository, yet testing the cluster functionality), 
stops/restarts one or many instances, in a loop, randomly and verifies that the 
established cluster view corresponds to what is expected.
  
 add load test for discovery.impl
 

 Key: SLING-2914
 URL: https://issues.apache.org/jira/browse/SLING-2914
 Project: Sling
  Issue Type: Test
  Components: Extensions
Affects Versions: Discovery Impl 1.0.0
Reporter: Stefan Egli
Assignee: Stefan Egli

 Add heavier tests to discovery.impl which turn on/off certain instances in a 
 cluster to see if the cluster view handling of discovery.impl is 
 stress-resistant.

--
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-2913) Issue in AbstractCreateOperation#deepGetOrCreateNode

2013-06-06 Thread Antonio Sanso (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Sanso updated SLING-2913:
-

Attachment: SLING-2913-patch.txt

attaching proposed patch.

Tests to follow

 Issue in AbstractCreateOperation#deepGetOrCreateNode
 

 Key: SLING-2913
 URL: https://issues.apache.org/jira/browse/SLING-2913
 Project: Sling
  Issue Type: Bug
  Components: Servlets
Reporter: Antonio Sanso
 Attachments: SLING-2913-patch.txt


 While updating the AbstractCreateOperation to use new CRUD support in POST 
 servlet has been some lost in translation.
 The previous code looked like 
 {code}
 protected Node deepGetOrCreateNode(Session session, String path,
 MapString, RequestProperty reqProperties, ListModification 
 changes,
 VersioningConfiguration versioningConfiguration)
 throws RepositoryException {
 if (log.isDebugEnabled()) {
 log.debug(Deep-creating Node '{}', path);
 }
 if (path == null || !path.startsWith(/)) {
 throw new IllegalArgumentException(path must be an absolute 
 path.);
 }
 // get the starting node
 String startingNodePath = path;
 Node startingNode = null;
 while (startingNode == null) {
 if (startingNodePath.equals(/)) {
 startingNode = session.getRootNode();
 } else if (session.itemExists(startingNodePath)) {
 startingNode = (Node) session.getItem(startingNodePath);
 updateNodeType(session, startingNodePath, reqProperties, 
 changes, versioningConfiguration);
 updateMixins(session, startingNodePath, reqProperties, 
 changes, versioningConfiguration);
 } else {
 int pos = startingNodePath.lastIndexOf('/');
 if (pos  0) {
 startingNodePath = startingNodePath.substring(0, pos);
 } else {
 startingNodePath = /;
 }
 }
 }
 {code}
 while the updated is 
 {code}
 protected Resource deepGetOrCreateNode(final ResourceResolver resolver,
 final String path,
 final MapString, RequestProperty reqProperties,
 final ListModification changes,
 final VersioningConfiguration versioningConfiguration)
 throws PersistenceException, RepositoryException {
 if (log.isDebugEnabled()) {
 log.debug(Deep-creating resource '{}', path);
 }
 if (path == null || !path.startsWith(/)) {
 throw new IllegalArgumentException(path must be an absolute 
 path.);
 }
 // get the starting resource
 String startingResourcePath = path;
 Resource startingResource = null;
 while (startingResource == null) {
 if (startingResourcePath.equals(/)) {
 startingResource = resolver.getResource(/);
 } else if (resolver.getResource(startingResourcePath) != null) {
 startingResource = resolver.getResource(startingResourcePath);
 updateNodeType(resolver, startingResourcePath, reqProperties, 
 changes, versioningConfiguration);
 updateMixins(resolver, startingResourcePath, reqProperties, 
 changes, versioningConfiguration);
 } else {
 int pos = startingResourcePath.lastIndexOf('/');
 if (pos  0) {
 startingResourcePath = startingResourcePath.substring(0, 
 pos);
 } else {
 startingResourcePath = /;
 }
 }
 }
 {code}
 The main difference is in that the 
  startingNode = session.getRootNode(); could throw a RepositoryException e.g. 
 if the session did not have enough permission while startingResource = 
 resolver.getResource(/); would just return null.
 This might cause a theoretical infinite loop.

--
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 still unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing #63

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/63/



Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Sample Integration Tests #63

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.testing.samples.integrationtests/63/



Build failed in Jenkins: sling-trunk-1.7 » Apache Sling Launchpad Testing WAR version #63

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing-war/63/

--
[...truncated 1432 lines...]
at junit.framework.TestSuite.run(TestSuite.java:238)
at 
org.apache.sling.launchpad.testing.LoggingSuite.run(LoggingSuite.java:65)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec   FAILURE!
junit.framework.AssertionFailedError: 
org.apache.sling.launchpad.webapp.integrationtest.ServerSideScriptsTest does 
not extend TestCase
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.TestSuite$1.runTest(TestSuite.java:97)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at 
org.apache.sling.launchpad.testing.LoggingSuite.runTest(LoggingSuite.java:77)
at junit.framework.TestSuite.run(TestSuite.java:238)
at 
org.apache.sling.launchpad.testing.LoggingSuite.run(LoggingSuite.java:65)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

testInternalRedirect(org.apache.sling.launchpad.webapp.integrationtest.VanityPathTest)
  Time elapsed: 0.525 sec   FAILURE!
junit.framework.AssertionFailedError: expected:200 but was:404
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:199)
at junit.framework.Assert.assertEquals(Assert.java:205)
at 
org.apache.sling.launchpad.webapp.integrationtest.VanityPathTest.testInternalRedirect(VanityPathTest.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at 

Jenkins build became unstable: sling-trunk-1.7 » Apache Sling Resource-Based Discovery Service #63

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/63/changes



Build failed in Jenkins: sling-trunk-1.7 #63

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/63/changes

Changes:

[stefanegli] SLING-2914 : fix NPE unveiled by SLING-2914 : a voting handler 
might be tempted to participate in a voting while the local instance doesnt 
send heartbeats

[stefanegli] SLING-2914 : adding a load test to discovery.impl - takes 140sec 
to run, so including in normal tests so far

[bdelacretaz] SLING-2822 - add inactive bundles count rule

[bdelacretaz] SLING-2822 - add 'omit rules which have nothing to report' option

[bdelacretaz] SLING-2910 - set Sling category on 
SlingHealthCheckWebconsolePlugin

[cziegeler] SLING-2912 :  Update to latest quartz scheduler

[cziegeler] Use latest scheduler version

--
[...truncated 29297 lines...]
[INFO] Apache Sling Scripting Implementation API . SUCCESS [4.388s]
[INFO] Apache Sling Scripting Core implementation  SUCCESS [5.322s]
[INFO] Apache Sling Scripting JavaScript Support . SUCCESS [26.052s]
[INFO] Apache Sling Scripting JSP Support  SUCCESS [7.471s]
[INFO] Apache Sling JSP Tag Library .. SUCCESS [6.056s]
[INFO] Apache Sling JSP Standard Tag Library . SUCCESS [6.236s]
[INFO] Apache Sling Adapter Manager Implementation ... SUCCESS [4.739s]
[INFO] Apache Sling Bundle Resource Provider . SUCCESS [3.587s]
[INFO] Apache Sling Discovery API  SUCCESS [2.990s]
[INFO] Apache Sling Resource-Based Discovery Service . SUCCESS [3:36.323s]
[INFO] Apache Sling Discovery Support Bundle . SUCCESS [3.626s]
[INFO] Apache Sling Discovery Standalone Implementation .. SUCCESS [4.245s]
[INFO] Apache Sling Event Support  SUCCESS [7:56.982s]
[INFO] Apache Sling Filesystem Resource Provider . SUCCESS [5.549s]
[INFO] Apache Sling javax.activation bundle .. SUCCESS [4.103s]
[INFO] Apache Sling Settings . SUCCESS [3.260s]
[INFO] Apache Sling Thread Dumper  SUCCESS [2.948s]
[INFO] Apache Sling Web Console Branding . SUCCESS [4.683s]
[INFO] Apache Sling Web Console Security Provider  SUCCESS [4.103s]
[INFO] Apache Sling Groovy Extensions  SUCCESS [3.216s]
[INFO] Apache Sling Explorer . SUCCESS [3.337s]
[INFO] Apache Sling Test Tools ... SUCCESS [4.117s]
[INFO] Apache Sling JUnit Core ... SUCCESS [3.835s]
[INFO] Apache Sling JUnit Scriptable Tests Provider .. SUCCESS [3.420s]
[INFO] Apache Sling JUnit Remote Tests Runners ... SUCCESS [3.621s]
[INFO] Apache Sling Testing Resource Resolver Mock ... SUCCESS [4.048s]
[INFO] Apache Sling Installer API  SUCCESS [5.717s]
[INFO] Apache Sling Installer  SUCCESS [5.947s]
[INFO] Apache Sling Installer WebConsole Plugin .. SUCCESS [3.573s]
[INFO] Apache Sling File Installer ... SUCCESS [3.017s]
[INFO] Apache Sling JCR Installer  SUCCESS [2:37.065s]
[INFO] Apache Sling Installer Configuration Admin Support  SUCCESS [2.947s]
[INFO] Apache Sling Deployment Package Installer . SUCCESS [3.638s]
[INFO] Apache Sling Installer Integration Tests .. SUCCESS [44.390s]
[INFO] Apache Sling Launchpad API  SUCCESS [4.724s]
[INFO] Apache Sling Launchpad Base ... SUCCESS [11.358s]
[INFO] Apache Sling Launchpad Installer .. SUCCESS [4.117s]
[INFO] Apache Sling Launchpad Content  SUCCESS [4.206s]
[INFO] Apache Sling Launchpad Application Builder  SUCCESS [27.110s]
[INFO] Apache Sling Sample Server-Side Tests . SUCCESS [6.832s]
[INFO] Apache Sling Failing Server-Side Tests  SUCCESS [3.968s]
[INFO] Apache Sling Sample Integration Tests . SUCCESS [1:07.583s]
[INFO] Apache Sling Launchpad Testing Services ... SUCCESS [5.875s]
[INFO] Apache Sling Launchpad Testing Services WAR ... SUCCESS [3.773s]
[INFO] Apache Sling Launchpad Testing Fragment Bundle  SUCCESS [3.387s]
[INFO] Apache Sling Launchpad Test Bundles ... SUCCESS [3.909s]
[INFO] Apache Sling Integration Tests  SUCCESS [8.337s]
[INFO] Apache Sling Launchpad Testing  SUCCESS [4:52.102s]
[INFO] Apache Sling Launchpad Testing WAR version  FAILURE [3:23.695s]
[INFO] Apache Sling (Builder)  SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 35:47.504s
[INFO] Finished at: Thu Jun 06 15:46:28 UTC 2013
[INFO] Final Memory: 293M/487M
[INFO] 
[JENKINS] Archiving disabled
[JENKINS] 

Build failed in Jenkins: sling-trunk-1.6 » Apache Sling Event Support #1692

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.event/1692/

--
[...truncated 8977 lines...]
06.06.2013 16:44:23.675 *INFO* [Apache Sling Job Queue roundrobintest] 
org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue.roundrobintest 
Starting job queue roundrobintest
06.06.2013 16:45:15.828 *INFO* [pool-48-thread-33] 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager 
cachename=versionBundleCache[ConcurrentCache@e7e618], elements=653, 
usedmemorykb=15, maxmemorykb=8192, access=21082, miss=653
06.06.2013 16:45:17.496 *INFO* [pool-48-thread-9] 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager 
cachename=defaultBundleCache[ConcurrentCache@bdcd95], elements=745, 
usedmemorykb=573, maxmemorykb=8192, access=24384, miss=745
06.06.2013 16:45:29.434 *INFO* [main] 
org.apache.sling.event.impl.jobs.JobConsumerManager Updating property provider 
with: /,sling/roundrobintest/*
06.06.2013 16:45:29.435 *INFO* [main] 
org.apache.sling.event.impl.jobs.JobManagerImpl Received topology event 
TopologyEvent [type=PROPERTIES_CHANGED, 
oldView=org.apache.sling.discovery.impl.standalone.NoClusterDiscoveryService$3@efdc0,
 
newView=org.apache.sling.discovery.impl.standalone.NoClusterDiscoveryService$3@efdc0]
06.06.2013 16:45:29.435 *INFO* [main] 
org.apache.sling.event.impl.jobs.queues.TopicRoundRobinJobQueue.roundrobintest 
Stopped job queue roundrobintest
06.06.2013 16:45:29.436 *INFO* [main] org.apache.sling.event Service 
[QueueMBean for queue roundrobintest,108] ServiceEvent UNREGISTERING
06.06.2013 16:45:29.436 *INFO* [main] 
org.apache.sling.event.impl.jobs.TopologyCapabilities Detected capabilities of 
248b4e59-d4b5-4920-8e4d-380401f3c326 : /,sling/roundrobintest/*
06.06.2013 16:45:29.437 *INFO* [main] 
PAXEXAM-PROBE-d0d76c9d-b961-408f-b670-6f2a10123bd6 Service [105] ServiceEvent 
UNREGISTERING
06.06.2013 16:45:29.437 *INFO* [main] 
org.apache.sling.event.impl.jobs.JobConsumerManager Updating property provider 
with: /
06.06.2013 16:45:29.437 *INFO* [main] 
org.apache.sling.event.impl.jobs.JobManagerImpl Received topology event 
TopologyEvent [type=PROPERTIES_CHANGED, 
oldView=org.apache.sling.discovery.impl.standalone.NoClusterDiscoveryService$3@efdc0,
 
newView=org.apache.sling.discovery.impl.standalone.NoClusterDiscoveryService$3@efdc0]
06.06.2013 16:45:29.437 *INFO* [main] 
org.apache.sling.event.impl.jobs.TopologyCapabilities Detected capabilities of 
248b4e59-d4b5-4920-8e4d-380401f3c326 : /
06.06.2013 16:45:29.438 *INFO* [main] 
PAXEXAM-PROBE-d0d76c9d-b961-408f-b670-6f2a10123bd6 Service [106] ServiceEvent 
UNREGISTERING
06.06.2013 16:45:29.438 *INFO* [main] 
PAXEXAM-PROBE-d0d76c9d-b961-408f-b670-6f2a10123bd6 Service [107] ServiceEvent 
UNREGISTERING
06.06.2013 16:45:29.440 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: 
pid=org.apache.sling.event.jobs.QueueConfiguration.bef25227-1674-4acd-a3d3-1db63470548e)]
 org.apache.sling.event Service 
[org.apache.sling.event.jobs.QueueConfiguration.bef25227-1674-4acd-a3d3-1db63470548e,104]
 ServiceEvent UNREGISTERING
06.06.2013 16:45:29.441 *INFO* [main] 
PAXEXAM-PROBE-d0d76c9d-b961-408f-b670-6f2a10123bd6 BundleEvent STOPPING
06.06.2013 16:45:29.442 *INFO* [main] 
PAXEXAM-PROBE-d0d76c9d-b961-408f-b670-6f2a10123bd6 Service [82] ServiceEvent 
UNREGISTERING
06.06.2013 16:45:29.442 *INFO* [main] 
PAXEXAM-PROBE-d0d76c9d-b961-408f-b670-6f2a10123bd6 Service [83] ServiceEvent 
UNREGISTERING
06.06.2013 16:45:29.442 *INFO* [main] 
PAXEXAM-PROBE-d0d76c9d-b961-408f-b670-6f2a10123bd6 BundleEvent STOPPED
06.06.2013 16:45:29.442 *INFO* [main] 
org.ops4j.pax.exam.raw.extender.intern.TestBundleObserver Unregistered testcase 
[org.ops4j.pax.exam.raw.extender.intern.Probe@c8576b.]
06.06.2013 16:45:29.443 *INFO* [main] 
PAXEXAM-PROBE-d0d76c9d-b961-408f-b670-6f2a10123bd6 BundleEvent UNRESOLVED
06.06.2013 16:45:29.560 *INFO* [main] 
PAXEXAM-PROBE-d0d76c9d-b961-408f-b670-6f2a10123bd6 BundleEvent UNINSTALLED
06.06.2013 16:45:29.561 *INFO* [FelixShutdown] org.apache.felix.framework 
BundleEvent STOPPING
06.06.2013 16:45:29.561 *INFO* [FelixDispatchQueue] org.apache.felix.framework 
FrameworkEvent PACKAGES REFRESHED
06.06.2013 16:45:29.562 *INFO* [FelixStartLevel] 
org.ops4j.pax.exam.invoker.junit BundleEvent STOPPING
06.06.2013 16:45:29.562 *INFO* [FelixStartLevel] 
org.ops4j.pax.exam.invoker.junit Service [81] ServiceEvent UNREGISTERING
06.06.2013 16:45:29.562 *INFO* [FelixStartLevel] 
org.ops4j.pax.exam.invoker.junit BundleEvent STOPPED
06.06.2013 16:45:29.564 *INFO* [FelixStartLevel] org.apache.sling.event Service 
[org.apache.sling.event.impl.jobs.console.WebConsolePlugin,93] ServiceEvent 
UNREGISTERING
06.06.2013 16:45:29.565 *INFO* [FelixStartLevel] org.apache.sling.event Service 
[org.apache.sling.event.impl.jobs.console.InventoryPlugin,95] ServiceEvent 
UNREGISTERING
06.06.2013 16:45:29.566 *INFO* [FelixStartLevel] org.apache.sling.event 

Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Resource-Based Discovery Service #1692

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.discovery.impl/1692/changes



Build failed in Jenkins: sling-healthcheck-1.6 #5

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-healthcheck-1.6/5/changes

Changes:

[bdelacretaz] SLING-2822 - rework test to use as example code

--
Started by an SCM change
Building remotely on solaris1 in workspace 
https://builds.apache.org/job/sling-healthcheck-1.6/ws/
Updating 
http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck
U hc-core/src/test/java/org/apache/sling/hc/impl/RulesEngineTest.java
At revision 1490360
Parsing POMs
Build timed out (after 3 minutes). Marking the build as failed.


Build failed in Jenkins: sling-trunk-1.6 » Apache Sling Event Support #1693

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.event/1693/

--
[...truncated 8960 lines...]
06.06.2013 18:01:07.105 *INFO* [Repository Pinger] org.apache.sling.auth.core 
Service [org.apache.sling.auth.core.impl.engine.EngineSlingAuthenticator,75] 
ServiceEvent UNREGISTERING
06.06.2013 18:01:07.105 *INFO* [Repository Pinger] org.apache.sling.auth.core 
Service [org.apache.sling.engine.impl.auth.SlingAuthenticator,73] ServiceEvent 
UNREGISTERING
06.06.2013 18:01:07.105 *INFO* [Repository Pinger] 
org.apache.sling.resourceresolver Service [Apache Sling Resource Resolver 
Factory,71] ServiceEvent UNREGISTERING
06.06.2013 18:01:07.106 *INFO* [Repository Pinger] org.apache.felix.inventory 
Service [69] ServiceEvent UNREGISTERING
06.06.2013 18:01:07.106 *INFO* [Repository Pinger] org.apache.felix.inventory 
Service [68] ServiceEvent UNREGISTERING
06.06.2013 18:01:07.106 *INFO* [Repository Pinger] 
org.apache.sling.resourceresolver Service 
[org.apache.sling.resourceresolver.impl.console.ResourceResolverWebConsolePlugin,67]
 ServiceEvent UNREGISTERING
06.06.2013 18:01:07.106 *INFO* [Repository Pinger] 
org.apache.sling.resourceresolver Service [Map Entries Observation,70] 
ServiceEvent UNREGISTERING
06.06.2013 18:01:07.108 *INFO* [Repository Pinger] 
org.apache.sling.jcr.resource Service 
[org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProviderFactory,66]
 ServiceEvent UNREGISTERING
06.06.2013 18:01:07.109 *INFO* [Repository Pinger] 
org.apache.sling.jcr.jackrabbit.server Service 
[org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.e8058a59-6418-453d-a8b2-82a256323771,60]
 ServiceEvent UNREGISTERING
06.06.2013 18:01:07.109 *INFO* [Repository Pinger] 
org.apache.sling.jcr.jackrabbit.server Service [59] ServiceEvent UNREGISTERING
06.06.2013 18:01:07.109 *INFO* [Repository Pinger] 
org.apache.jackrabbit.core.RepositoryImpl Shutting down repository...
06.06.2013 18:01:07.109 *WARN* [Repository Pinger] 
org.apache.jackrabbit.core.session.SessionState Attempt to close 
session-admin-9 while another thread is concurrently accessing this session. 
Blocking until the other thread is finished using this session. Please review 
your code to avoid concurrent use of a session. java.lang.Exception: Stack 
trace of concurrent access to session-admin-9
at 
org.apache.jackrabbit.core.session.SessionState.close(SessionState.java:263)
at org.apache.jackrabbit.core.SessionImpl.logout(SessionImpl.java:943)
at 
org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:392)
at 
org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.java:1085)
at 
org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java:1048)
at 
org.apache.sling.jcr.jackrabbit.server.impl.SlingServerRepository.disposeRepository(SlingServerRepository.java:237)
at 
org.apache.sling.jcr.base.AbstractSlingRepository.stopRepository(AbstractSlingRepository.java:836)
at 
org.apache.sling.jcr.base.AbstractSlingRepository.run(AbstractSlingRepository.java:919)
at java.lang.Thread.run(Thread.java:662)
06.06.2013 18:01:07.113 *WARN* [Thread-683] 
org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider Unable to 
refresh session. javax.jcr.RepositoryException: This session has been closed. 
See the chained exception for a trace of where the session was closed.
at 
org.apache.jackrabbit.core.session.SessionState.checkAlive(SessionState.java:150)
at 
org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
at org.apache.jackrabbit.core.SessionImpl.refresh(SessionImpl.java:820)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.sling.jcr.base.SessionProxyHandler$SessionProxyInvocationHandler.invoke(SessionProxyHandler.java:109)
at com.sun.proxy.$Proxy118.refresh(Unknown Source)
at 
org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.refresh(JcrResourceProvider.java:522)
at 
org.apache.sling.resourceresolver.impl.helper.ResourceResolverContext.refresh(ResourceResolverContext.java:169)
at 
org.apache.sling.resourceresolver.impl.ResourceResolverImpl.refresh(ResourceResolverImpl.java:1172)
at 
org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:575)
at 
org.apache.sling.event.impl.support.ResourceHelper.getOrCreateResource(ResourceHelper.java:221)
at 
org.apache.sling.event.impl.dea.DistributedEventReceiver.writeEvent(DistributedEventReceiver.java:208)
at 

Jenkins build is still unstable: sling-trunk-1.6 » Apache Sling Resource-Based Discovery Service #1693

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.discovery.impl/changes



Build failed in Jenkins: sling-trunk-1.6 #1693

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/1693/changes

Changes:

[bdelacretaz] SLING-2822 - rework test to use as example code

--
[...truncated 19745 lines...]
[INFO] Apache Sling Jackrabbit Embedded Repository ... SUCCESS [6.913s]
[INFO] Apache Sling Jackrabbit UserManager Support ... SUCCESS [4.754s]
[INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support  SUCCESS 
[3.900s]
[INFO] Apache Sling Wrapper Bundle for the JCR API ... SUCCESS [2.610s]
[INFO] Apache Sling Object Content Mapping ... SUCCESS [3.716s]
[INFO] Apache Sling JCR Resource Resolver  SUCCESS [1:46.209s]
[INFO] Apache Sling JCR Repository Registration .. SUCCESS [6.047s]
[INFO] Apache Sling Simple WebDAV Access to repositories . SUCCESS [3.337s]
[INFO] Apache Sling DavEx Access to repositories . SUCCESS [4.454s]
[INFO] Apache Sling JCR WebConsole Bundle  SUCCESS [2.806s]
[INFO] Apache Sling Servlet Resolver . SUCCESS [4.190s]
[INFO] Apache Sling Default GET Servlets . SUCCESS [4.410s]
[INFO] Apache Sling Default POST Servlets  SUCCESS [5.644s]
[INFO] Apache Sling Compat Servlets .. SUCCESS [3.305s]
[INFO] Apache Sling Scripting Implementation API . SUCCESS [3.335s]
[INFO] Apache Sling Scripting Core implementation  SUCCESS [4.231s]
[INFO] Apache Sling Scripting JavaScript Support . SUCCESS [23.129s]
[INFO] Apache Sling Scripting JSP Support  SUCCESS [7.417s]
[INFO] Apache Sling JSP Tag Library .. SUCCESS [6.653s]
[INFO] Apache Sling JSP Standard Tag Library . SUCCESS [2.806s]
[INFO] Apache Sling Adapter Manager Implementation ... SUCCESS [3.275s]
[INFO] Apache Sling Bundle Resource Provider . SUCCESS [2.605s]
[INFO] Apache Sling Discovery API  SUCCESS [2.652s]
[INFO] Apache Sling Resource-Based Discovery Service . SUCCESS [3:53.355s]
[INFO] Apache Sling Discovery Support Bundle . SUCCESS [3.434s]
[INFO] Apache Sling Discovery Standalone Implementation .. SUCCESS [4.220s]
[INFO] Apache Sling Event Support  FAILURE [8:01.305s]
[INFO] Apache Sling Filesystem Resource Provider . SKIPPED
[INFO] Apache Sling javax.activation bundle .. SKIPPED
[INFO] Apache Sling Settings . SKIPPED
[INFO] Apache Sling Thread Dumper  SKIPPED
[INFO] Apache Sling Web Console Branding . SKIPPED
[INFO] Apache Sling Web Console Security Provider  SKIPPED
[INFO] Apache Sling Groovy Extensions  SKIPPED
[INFO] Apache Sling Explorer . SKIPPED
[INFO] Apache Sling Test Tools ... SKIPPED
[INFO] Apache Sling JUnit Core ... SKIPPED
[INFO] Apache Sling JUnit Scriptable Tests Provider .. SKIPPED
[INFO] Apache Sling JUnit Remote Tests Runners ... SKIPPED
[INFO] Apache Sling Testing Resource Resolver Mock ... SKIPPED
[INFO] Apache Sling Installer API  SKIPPED
[INFO] Apache Sling Installer  SKIPPED
[INFO] Apache Sling Installer WebConsole Plugin .. SKIPPED
[INFO] Apache Sling File Installer ... SKIPPED
[INFO] Apache Sling JCR Installer  SKIPPED
[INFO] Apache Sling Installer Configuration Admin Support  SKIPPED
[INFO] Apache Sling Deployment Package Installer . SKIPPED
[INFO] Apache Sling Installer Integration Tests .. SKIPPED
[INFO] Apache Sling Launchpad API  SKIPPED
[INFO] Apache Sling Launchpad Base ... SKIPPED
[INFO] Apache Sling Launchpad Installer .. SKIPPED
[INFO] Apache Sling Launchpad Content  SKIPPED
[INFO] Apache Sling Launchpad Application Builder  SKIPPED
[INFO] Apache Sling Sample Server-Side Tests . SKIPPED
[INFO] Apache Sling Failing Server-Side Tests  SKIPPED
[INFO] Apache Sling Sample Integration Tests . SKIPPED
[INFO] Apache Sling Launchpad Testing Services ... SKIPPED
[INFO] Apache Sling Launchpad Testing Services WAR ... SKIPPED
[INFO] Apache Sling Launchpad Testing Fragment Bundle  SKIPPED
[INFO] Apache Sling Launchpad Test Bundles ... SKIPPED
[INFO] Apache Sling Integration Tests  SKIPPED
[INFO] Apache Sling Launchpad Testing  SKIPPED
[INFO] Apache Sling Launchpad Testing WAR version  SKIPPED
[INFO] Apache Sling (Builder)  SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 20:33.870s
[INFO] Finished at: Thu 

Jenkins build is unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing WAR version #64

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing-war/64/



Jenkins build is still unstable: sling-trunk-1.7 » Apache Sling Resource-Based Discovery Service #64

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/changes



Jenkins build is still unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing #64

2013-06-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/64/



Jenkins build is unstable: sling-trunk-1.7 #64

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/64/changes



[jira] [Commented] (SLING-920) Jenkins continuous integration setup

2013-06-06 Thread Bertrand Delacretaz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13677558#comment-13677558
 ] 

Bertrand Delacretaz commented on SLING-920:
---

The sling-trunk.1.6 and 1.7 jobs were tied to the ubuntu6 slave, I have removed 
this restriction to see if that helps.

Also removed the Sling lock on those jobs, if they execute on different 
slaves it's not needed, and even on the same slave that should not be a problem.

 Jenkins continuous integration setup
 

 Key: SLING-920
 URL: https://issues.apache.org/jira/browse/SLING-920
 Project: Sling
  Issue Type: Task
  Components: Testing
Reporter: Bertrand Delacretaz

 Use this issue to record changes to the Hudson continuous environment setup 
 at http://hudson.zones.apache.org/hudson/view/Sling/

--
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-healthcheck-1.6 #7

2013-06-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-healthcheck-1.6/7/

--
Started by user bdelacretaz
Building remotely on solaris1 in workspace 
https://builds.apache.org/job/sling-healthcheck-1.6/ws/
Updating 
http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck
At revision 1490452
no change for 
http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck 
since the previous build
Parsing POMs
[healthcheck] $ 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/tools/jdk6-u26-auto-install//bin/java
 -Xmx512M -XX:MaxPermSize=256M -enableassertions -cp 
/export/home/hudson/hudson-slave/maven3-agent.jar:/home/hudson/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main 
/home/hudson/tools/maven/apache-maven-3.0.4 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/slave.jar 
/export/home/hudson/hudson-slave/maven3-interceptor.jar 58317
===[JENKINS REMOTING CAPACITY]===   channel started
log4j:WARN No appenders could be found for logger 
(org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven:  -B -f 
https://builds.apache.org/job/sling-healthcheck-1.6/ws/healthcheck/pom.xml 
-Dmaven.repo.local=/export/home/hudson/hudson-slave/maven-repositories/0 install
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.sling:org.apache.sling.hc.sling:bundle:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: org.apache.sling:org.apache.sling.commons.json:jar - duplicate 
declaration of version 2.0.6 @ line 135, column 22
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Sling Health Check Core
[INFO] Sling Health Check Rules
[INFO] Sling Health Check Sling Components
[INFO] Sling Health Check Sling demo content
[INFO] Sling Health Check Integration Tests
[INFO] Sling Health Check Tool Reactor POM
[INFO] 
[INFO] 
[INFO] Building Sling Health Check Core 0.0.1-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @ 
org.apache.sling.hc.core ---
Build timed out (after 30 minutes). Marking the build as failed.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:100)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ExceptionInInitializerError
at hudson.FilePath.act(FilePath.java:865)
at hudson.FilePath.act(FilePath.java:838)
at hudson.FilePath.digest(FilePath.java:1624)
at 
hudson.maven.reporters.MavenFingerprinter.record(MavenFingerprinter.java:238)
at 
hudson.maven.reporters.MavenFingerprinter.record(MavenFingerprinter.java:222)
at 
hudson.maven.reporters.MavenFingerprinter.record(MavenFingerprinter.java:214)
at 
hudson.maven.reporters.MavenFingerprinter.postExecute(MavenFingerprinter.java:97)
at 
hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:443)
at 

Re: Apache Cassandra backend for Sling Accepted for GSoC 2013 !

2013-06-06 Thread Ian Boston
On 31 May 2013 03:29, Dishara Wijewardana ddwijeward...@gmail.com wrote:

  I know you have already looked into the code base, but I would thoroughly
  recommend that you do some of the exercises on the website[1], and build
 a
  simple application, perhaps a photo sharing app (Slingstagram?), so that
  you get a real understanding of how Sling works.
 

 +1. I think that is good and which i have not tried out yet. I will try
 this out and will post if need help




Did you make any progress or have any problems ?
Ian