[jira] [Commented] (SLING-920) Sling Jenkins setup

2016-07-24 Thread Oliver Lietz (JIRA)

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

Oliver Lietz commented on SLING-920:


[~rombert], any idea why the 
[build|https://builds.apache.org/job/sling-trunk-1.7/4354/org.apache.sling$org.apache.sling.testing.paxexam/console]
 is marked as failed? I found an unresolved Jenkins issue ([JENKINS-27372 
Failed to getClass for 
org.apache.maven.plugin.source.SourceJarMojo|https://issues.jenkins-ci.org/browse/JENKINS-27372])
 only. The local builds with Java 7 and 8 are without errors.

{noformat}
[INFO] 
[INFO] 
[INFO] Building Apache Sling Testing PaxExam 0.0.1-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ 
org.apache.sling.testing.paxexam ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ 
org.apache.sling.testing.paxexam ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run 
(set-bundle-required-execution-environment) @ org.apache.sling.testing.paxexam 
---
[INFO] Executing tasks

main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ org.apache.sling.testing.paxexam ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
org.apache.sling.testing.paxexam ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
org.apache.sling.testing.paxexam ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ 
org.apache.sling.testing.paxexam ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to 
/home/jenkins/jenkins-slave/workspace/sling-trunk-1.7/trunk/testing/org.apache.sling.testing.paxexam/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
org.apache.sling.testing.paxexam ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/jenkins/jenkins-slave/workspace/sling-trunk-1.7/trunk/testing/org.apache.sling.testing.paxexam/src/test/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ 
org.apache.sling.testing.paxexam ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
org.apache.sling.testing.paxexam ---
[JENKINS] Recording test results[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.15:check (default) @ 
org.apache.sling.testing.paxexam ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0

[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:bundle (default-bundle) @ 
org.apache.sling.testing.paxexam ---
[INFO] 
[INFO] >>> maven-source-plugin:3.0.0:jar (attach-sources) > generate-sources @ 
org.apache.sling.testing.paxexam >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ 
org.apache.sling.testing.paxexam ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run 
(set-bundle-required-execution-environment) @ org.apache.sling.testing.paxexam 
---
[INFO] Executing tasks

main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7
[INFO] Executed tasks
[WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:3.0.0:jar (attach-sources) < generate-sources @ 
org.apache.sling.testing.paxexam <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.0:jar (attach-sources) @ 
org.apache.sling.testing.paxexam ---
[INFO] Building jar: 
/home/jenkins/jenkins-slave/workspace/sling-trunk-1.7/trunk/testing/org.apache.sling.testing.paxexam/target/org.apache.sling.testing.paxexam-0.0.1-SNAPSHOT-sources.jar
[JENKINS] Archiving disabled
{noformat}

> Sling Jenkins 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 Jenkins setup at 
> https://builds.apache.org/view/S-Z/view/Sling/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-3027) Improve Karaf Features

2016-07-24 Thread Oliver Lietz (JIRA)

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

Oliver Lietz updated SLING-3027:

Summary: Improve Karaf Features  (was: Improve Launchpad Karaf Features)

> Improve Karaf Features
> --
>
> Key: SLING-3027
> URL: https://issues.apache.org/jira/browse/SLING-3027
> Project: Sling
>  Issue Type: Improvement
>  Components: Launchpad
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
>Priority: Minor
> Fix For: Karaf Features 0.2.0
>
>
> - break down sling-karaf feature into more fine-grained features for better 
> reusability
> - add descriptions -and versions-
> - add more features
> - update integration tests
> - update Pax Exam to latest
> - update Karaf to 4.x
> - update Maven Failsafe Plugin to 2.17
> - -add workaround for KARAF-1972-
> - update README
> - cleanup



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5624) Health Check Core 1.2.4 fails on Karaf

2016-07-24 Thread Oliver Lietz (JIRA)

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

Oliver Lietz updated SLING-5624:

Summary: Health Check Core 1.2.4 fails on Karaf  (was: Health Check Core 
1.2.4 fails on Launchpad Karaf)

> Health Check Core 1.2.4 fails on Karaf
> --
>
> Key: SLING-5624
> URL: https://issues.apache.org/jira/browse/SLING-5624
> Project: Sling
>  Issue Type: Bug
>  Components: Launchpad
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0
>
>
> {{SlingExtensionHealthcheckIT}} fails with 
> {{org.apache.sling/org.apache.sling.hc.core/1.2.4}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5895) Update commons testing to parent pom 27

2016-07-24 Thread Carsten Ziegeler (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391015#comment-15391015
 ] 

Carsten Ziegeler commented on SLING-5895:
-

I updated the module in rev 1753894, this just adds empty methods and fixes the 
generics problems.

I think we should implement some of the mock methods, not sure which ones

> Update commons testing to parent pom 27
> ---
>
> Key: SLING-5895
> URL: https://issues.apache.org/jira/browse/SLING-5895
> Project: Sling
>  Issue Type: Improvement
>  Components: Commons
>Reporter: Carsten Ziegeler
> Fix For: Commons Testing 2.1.0
>
>
> Parent pom 27 updates some dependency versions like the servlet and the OSGi 
> ones, therefore the mocks need to be adjusted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5895) Update commons testing to parent pom 27

2016-07-24 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler updated SLING-5895:

Fix Version/s: Commons Testing 2.1.0

> Update commons testing to parent pom 27
> ---
>
> Key: SLING-5895
> URL: https://issues.apache.org/jira/browse/SLING-5895
> Project: Sling
>  Issue Type: Improvement
>  Components: Commons
>Reporter: Carsten Ziegeler
> Fix For: Commons Testing 2.1.0
>
>
> Parent pom 27 updates some dependency versions like the servlet and the OSGi 
> ones, therefore the mocks need to be adjusted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5895) Update commons testing to parent pom 27

2016-07-24 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-5895:
---

 Summary: Update commons testing to parent pom 27
 Key: SLING-5895
 URL: https://issues.apache.org/jira/browse/SLING-5895
 Project: Sling
  Issue Type: Improvement
  Components: Commons
Reporter: Carsten Ziegeler


Parent pom 27 updates some dependency versions like the servlet and the OSGi 
ones, therefore the mocks need to be adjusted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: New module Sling Testing PaxExam

2016-07-24 Thread Oliver Lietz
On Tuesday 19 July 2016 18:53:29 Oliver Lietz wrote:
> hi all,
> 
> I've added a new module org.apache.sling.testing.paxexam in trunk/testing
> recently. It provides Sling's Launchpad Karaf Features as Options for Pax
> Exam (without Karaf) to setup a Sling instance with less boilerplate code:
> 
> * allows to run ITs in the same module (with the build artifact under test)
> * allows using different versions in build and tests
> * allows overriding of versions
> 
> Setting up a Sling Launchpad with some additional "Features":

Default configurations are now available as Options by using 
slingLaunchpadOakTarConfiguration(String, int) and baseConfiguration() from 
TestSupport:

 protected Option launchpad() {
final int httpPort = findFreePort();
final String workingDirectory = workingDirectory();
return composite(
slingLaunchpadOakTarConfiguration(workingDirectory, httpPort),
slingJcrOak(),
slingLaunchpadOak(),
slingExtensionI18n(),
slingExtensionModels(),
slingScriptingJsp(),
mavenBundle().groupId("org.apache.jackrabbit").artifactId("oak-
segment").version(SlingOptions.versionResolver)
);
}

Regards,
O.



Re: [VOTE] Release Apache Sling Launchpad Testing Services 2.0.10, Testing Services WAR 2.0.10, Apache Sling Integration Tests 1.0.2

2016-07-24 Thread Oliver Lietz
On Thursday 21 July 2016 15:17:03 Bertrand Delacretaz wrote:
> Hi,
> 
> These Launchpad test modules are usually updated based on issues from
> other modules, so we don't have a strict version tracking in jira.
> 
> I'd like to release them as we haven't done that in a long time, to
> enable downstream users to run any of those tests as needed.

Hi Bertrand,

additionally a release of org.apache.sling.launchpad.test-fragment is required 
for ExportedPackagesTest.

Regards,
O.