You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Oliver Lietz <ap...@oliverlietz.de> on 2025/03/21 20:49:57 UTC

[VOTE] Release Apache Sling Testing PaxExam 4.1.0

Hi,

We solved 5 issues in this release:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?
version=12349427&styleName=Text&projectId=12310710

Staging repository:
https://repository.apache.org/content/repositories/orgapachesling-2942/

You can use this UNIX script to download the release and verify the
signatures:
https://raw.githubusercontent.com/apache/sling-tooling-release/master/
check_staged_release.sh

Usage:
sh check_staged_release.sh 2942 /tmp/sling-staging

Please vote to approve this release:

  [ ] +1 Approve the release
  [ ]  0 Don't care
  [ ] -1 Don't release, because ...

This majority vote is open for at least 72 hours.

Regards,
O.





Re: [VOTE] Release Apache Sling Testing PaxExam 4.1.0

Posted by Jörg Hoh <jh...@googlemail.com.INVALID>.
+1

Am Fr., 21. März 2025 um 21:51 Uhr schrieb Oliver Lietz <
apache@oliverlietz.de>:

> Hi,
>
> We solved 5 issues in this release:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> version=12349427&styleName=Text&projectId=12310710
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachesling-2942/
>
> You can use this UNIX script to download the release and verify the
> signatures:
> https://raw.githubusercontent.com/apache/sling-tooling-release/master/
> check_staged_release.sh
>
> Usage:
> sh check_staged_release.sh 2942 /tmp/sling-staging
>
> Please vote to approve this release:
>
>   [ ] +1 Approve the release
>   [ ]  0 Don't care
>   [ ] -1 Don't release, because ...
>
> This majority vote is open for at least 72 hours.
>
> Regards,
> O.
>
>
>
>
>

-- 
https://cqdump.joerghoh.de

Re: [VOTE] Release Apache Sling Testing PaxExam 4.1.0

Posted by Carsten Ziegeler <cz...@apache.org>.
+1

Thanks!

Carsten

On 21.03.2025 21:49, Oliver Lietz wrote:
> Hi,
> 
> We solved 5 issues in this release:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> version=12349427&styleName=Text&projectId=12310710
> 
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachesling-2942/
> 
> You can use this UNIX script to download the release and verify the
> signatures:
> https://raw.githubusercontent.com/apache/sling-tooling-release/master/
> check_staged_release.sh
> 
> Usage:
> sh check_staged_release.sh 2942 /tmp/sling-staging
> 
> Please vote to approve this release:
> 
>    [ ] +1 Approve the release
>    [ ]  0 Don't care
>    [ ] -1 Don't release, because ...
> 
> This majority vote is open for at least 72 hours.
> 
> Regards,
> O.
> 
> 
> 
> 

-- 
Carsten Ziegeler
Adobe
cziegeler@apache.org


RE: [VOTE] Release Apache Sling Testing PaxExam 4.1.0

Posted by Stefan Seifert <st...@diva-e.com.INVALID>.
+1

stefan 


Re: [VOTE] Release Apache Sling Testing PaxExam 4.1.0

Posted by Eric Norman <en...@apache.org>.
Following up to answer my own question.

It looks like after bumping the org.apache.sling.testing.paxexam dependency
to 4.1.0, you also have to bump the various org.ops4j.pax.exam dependency
versions to 4.14.0 at the same time.  With that adjustment, the tests seem
to run ok.

So +1 for me, with a recommendation of having migration documentation
somewhere with guidance about what to change to make it work.

Regards,
-Eric

On Sun, Mar 23, 2025 at 8:38 PM Eric Norman <en...@apache.org> wrote:

> This doesn't seem like a drop in replacement for the 4.0.0 version.  Is
> there some migration guidance documented somewhere?
>
> For example, I tried to bump the org.apache.sling.testing.paxexam
> dependency in the org.apache.sling.auth.form project to verify it works.
> After the change, there was additional refactoring required due to the new
> 4.x TinyBundles APIs being not compatible with the previous 3.x version.
> Some basic refactoring fixes those compilation troubles, but the tests
> still fail to run during the build with some error that looks like it is
> still trying to use the 3.x TinyBundles classes somewhere (partial stack
> trace below).  So before troubleshooting that, I thought I would check if
> someone already solved this?
>
>
> Caused by: java.lang.NoClassDefFoundError:
> org/ops4j/pax/tinybundles/core/TinyBundles
> at
> org.ops4j.pax.exam.cm.ConfigurationProvisionOption.createProvisionOption(ConfigurationProvisionOption.java:203)
> at
> org.ops4j.pax.exam.cm.ConfigurationProvisionOption.asOption(ConfigurationProvisionOption.java:163)
> at
> org.ops4j.pax.exam.cm.ConfigurationProvisionOption.asOption(ConfigurationProvisionOption.java:42)
> at
> org.apache.sling.testing.paxexam.SlingOptions.sling(SlingOptions.java:332)
> at
> org.apache.sling.testing.paxexam.SlingOptions.slingQuickstartOak(SlingOptions.java:870)
> at
> org.apache.sling.testing.paxexam.SlingOptions.slingQuickstartOakTar(SlingOptions.java:1240)
> at
> org.apache.sling.auth.form.it.AuthFormTestSupport.slingQuickstart(AuthFormTestSupport.java:136)
> at
> org.apache.sling.auth.form.it.AuthFormTestSupport.configuration(AuthFormTestSupport.java:104)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:569)
> at
> org.ops4j.pax.exam.spi.reactors.ReactorManager.addConfigurationsToReactor(ReactorManager.java:248)
> at
> org.ops4j.pax.exam.spi.reactors.ReactorManager.prepareReactor(ReactorManager.java:184)
> ... 23 more
> Caused by: java.lang.ClassNotFoundException:
> org.ops4j.pax.tinybundles.core.TinyBundles
> ... 37 more
>
>
> Regards,
> -Eric
>
>
> On Fri, Mar 21, 2025 at 1:50 PM Oliver Lietz <ap...@oliverlietz.de>
> wrote:
>
>> Hi,
>>
>> We solved 5 issues in this release:
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
>> version=12349427&styleName=Text&projectId=12310710
>>
>> Staging repository:
>> https://repository.apache.org/content/repositories/orgapachesling-2942/
>>
>> You can use this UNIX script to download the release and verify the
>> signatures:
>> https://raw.githubusercontent.com/apache/sling-tooling-release/master/
>> check_staged_release.sh
>>
>> Usage:
>> sh check_staged_release.sh 2942 /tmp/sling-staging
>>
>> Please vote to approve this release:
>>
>>   [ ] +1 Approve the release
>>   [ ]  0 Don't care
>>   [ ] -1 Don't release, because ...
>>
>> This majority vote is open for at least 72 hours.
>>
>> Regards,
>> O.
>>
>>
>>
>>
>>

Re: [VOTE] Release Apache Sling Testing PaxExam 4.1.0

Posted by Eric Norman <en...@apache.org>.
This doesn't seem like a drop in replacement for the 4.0.0 version.  Is
there some migration guidance documented somewhere?

For example, I tried to bump the org.apache.sling.testing.paxexam
dependency in the org.apache.sling.auth.form project to verify it works.
After the change, there was additional refactoring required due to the new
4.x TinyBundles APIs being not compatible with the previous 3.x version.
Some basic refactoring fixes those compilation troubles, but the tests
still fail to run during the build with some error that looks like it is
still trying to use the 3.x TinyBundles classes somewhere (partial stack
trace below).  So before troubleshooting that, I thought I would check if
someone already solved this?


Caused by: java.lang.NoClassDefFoundError:
org/ops4j/pax/tinybundles/core/TinyBundles
at
org.ops4j.pax.exam.cm.ConfigurationProvisionOption.createProvisionOption(ConfigurationProvisionOption.java:203)
at
org.ops4j.pax.exam.cm.ConfigurationProvisionOption.asOption(ConfigurationProvisionOption.java:163)
at
org.ops4j.pax.exam.cm.ConfigurationProvisionOption.asOption(ConfigurationProvisionOption.java:42)
at
org.apache.sling.testing.paxexam.SlingOptions.sling(SlingOptions.java:332)
at
org.apache.sling.testing.paxexam.SlingOptions.slingQuickstartOak(SlingOptions.java:870)
at
org.apache.sling.testing.paxexam.SlingOptions.slingQuickstartOakTar(SlingOptions.java:1240)
at
org.apache.sling.auth.form.it.AuthFormTestSupport.slingQuickstart(AuthFormTestSupport.java:136)
at
org.apache.sling.auth.form.it.AuthFormTestSupport.configuration(AuthFormTestSupport.java:104)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at
org.ops4j.pax.exam.spi.reactors.ReactorManager.addConfigurationsToReactor(ReactorManager.java:248)
at
org.ops4j.pax.exam.spi.reactors.ReactorManager.prepareReactor(ReactorManager.java:184)
... 23 more
Caused by: java.lang.ClassNotFoundException:
org.ops4j.pax.tinybundles.core.TinyBundles
... 37 more


Regards,
-Eric


On Fri, Mar 21, 2025 at 1:50 PM Oliver Lietz <ap...@oliverlietz.de> wrote:

> Hi,
>
> We solved 5 issues in this release:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> version=12349427&styleName=Text&projectId=12310710
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachesling-2942/
>
> You can use this UNIX script to download the release and verify the
> signatures:
> https://raw.githubusercontent.com/apache/sling-tooling-release/master/
> check_staged_release.sh
>
> Usage:
> sh check_staged_release.sh 2942 /tmp/sling-staging
>
> Please vote to approve this release:
>
>   [ ] +1 Approve the release
>   [ ]  0 Don't care
>   [ ] -1 Don't release, because ...
>
> This majority vote is open for at least 72 hours.
>
> Regards,
> O.
>
>
>
>
>

Re: [VOTE] Release Apache Sling Testing PaxExam 4.1.0

Posted by Oliver Lietz <ap...@oliverlietz.de>.
On Friday, March 21, 2025 9:49:57 PM Central European Standard Time Oliver 
Lietz wrote:
> Hi,
> 
> We solved 5 issues in this release:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> version=12349427&styleName=Text&projectId=12310710
> 
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachesling-2942/

+1

O.