[jira] [Commented] (OAK-9796) oak-segment-remote and oak-segment-aws Redis tests fail with ARM processor (Apple M1)

2023-11-20 Thread Marcel Reutegger (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17787951#comment-17787951
 ] 

Marcel Reutegger commented on OAK-9796:
---

Merged [#1218|https://github.com/apache/jackrabbit-oak/pull/1218].

Created a new PR that skips the test if Redis cannot be started: 
https://github.com/apache/jackrabbit-oak/pull/1221

> oak-segment-remote and oak-segment-aws Redis tests fail with ARM processor 
> (Apple M1)
> -
>
> Key: OAK-9796
> URL: https://issues.apache.org/jira/browse/OAK-9796
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: segment-aws
>Reporter: Thomas Mueller
>Priority: Major
>  Labels: arm
> Fix For: 1.42.0, 1.22.11
>
>
>  I'm can't build oak-segment-remote with my new laptop (Apple M1 chip) due to 
> https://github.com/kstyrc/embedded-redis/issues/51 - looks like 
> https://github.com/kstyrc/embedded-redis is used, which uses an ancient 
> version of Redis.
> There is a fork of https://github.com/kstyrc/embedded-redis that seems more 
> up-to-date: https://github.com/ozimov/embedded-redis. The last commit there 
> was in 2020. The issue https://github.com/kstyrc/embedded-redis/issues/51 was 
> fixed a bit later. So switching to that embedded Redis version doesn't 
> resolve the issue either.
> If Redis isn't available, then the test shouldn't fail... instead, the test 
> should be skipped. this is what we do for mongodb: if it isn't available, 
> then those tests are not run.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OAK-9796) oak-segment-remote and oak-segment-aws Redis tests fail with ARM processor (Apple M1)

2023-11-16 Thread Marcel Reutegger (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786708#comment-17786708
 ] 

Marcel Reutegger commented on OAK-9796:
---

PersistentRedisCacheTest now also fails on Mac OS Sonoma with Intel processor.

Proposed fix switches to a more recent version/fork of embedded-redis: 
https://github.com/apache/jackrabbit-oak/pull/1218

> oak-segment-remote and oak-segment-aws Redis tests fail with ARM processor 
> (Apple M1)
> -
>
> Key: OAK-9796
> URL: https://issues.apache.org/jira/browse/OAK-9796
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: segment-aws
>Reporter: Thomas Mueller
>Priority: Major
>  Labels: arm
> Fix For: 1.42.0, 1.22.11
>
>
>  I'm can't build oak-segment-remote with my new laptop (Apple M1 chip) due to 
> https://github.com/kstyrc/embedded-redis/issues/51 - looks like 
> https://github.com/kstyrc/embedded-redis is used, which uses an ancient 
> version of Redis.
> There is a fork of https://github.com/kstyrc/embedded-redis that seems more 
> up-to-date: https://github.com/ozimov/embedded-redis. The last commit there 
> was in 2020. The issue https://github.com/kstyrc/embedded-redis/issues/51 was 
> fixed a bit later. So switching to that embedded Redis version doesn't 
> resolve the issue either.
> If Redis isn't available, then the test shouldn't fail... instead, the test 
> should be skipped. this is what we do for mongodb: if it isn't available, 
> then those tests are not run.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OAK-9796) oak-segment-remote and oak-segment-aws Redis tests fail with ARM processor (Apple M1)

2022-06-09 Thread Thomas Mueller (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17552274#comment-17552274
 ] 

Thomas Mueller commented on OAK-9796:
-

As a workaround, to build Oak, I removed some tests:

* oak-segment-aws/src/test/java/org/apache/jackrabbit/oak/segment/aws (all 
files)
* 
oak-segment-aws/src/test/java/org/apache/jackrabbit/oak/segment/spi/persistence/split
 (all files)
* 
oak-segment-remote/src/test/java/org/apache/jackrabbit/oak/segment/remote/persistentcache/PersistentRedisCacheTest.java

> oak-segment-remote and oak-segment-aws Redis tests fail with ARM processor 
> (Apple M1)
> -
>
> Key: OAK-9796
> URL: https://issues.apache.org/jira/browse/OAK-9796
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: segment-aws
>Reporter: Thomas Mueller
>Assignee: Thomas Mueller
>Priority: Major
>  Labels: arm
> Fix For: 1.42.0, 1.22.11
>
>
>  I'm can't build oak-segment-remote with my new laptop (Apple M1 chip) due to 
> https://github.com/kstyrc/embedded-redis/issues/51 - looks like 
> https://github.com/kstyrc/embedded-redis is used, which uses an ancient 
> version of Redis.
> There is a fork of https://github.com/kstyrc/embedded-redis that seems more 
> up-to-date: https://github.com/ozimov/embedded-redis. The last commit there 
> was in 2020. The issue https://github.com/kstyrc/embedded-redis/issues/51 was 
> fixed a bit later. So switching to that embedded Redis version doesn't 
> resolve the issue either.
> If Redis isn't available, then the test shouldn't fail... instead, the test 
> should be skipped. this is what we do for mongodb: if it isn't available, 
> then those tests are not run.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)