Re: CI Build issue for GraphQL Core

2023-07-19 Thread Andreas Schaefer
Hi Robert Yeah, looks like it but the fix mentioned there is not working with GraphQL. I am running into the same problem with the Pax Exam tests but I also running into OSGi based unit test failures. GraphQL Core is not using sling-mock-oak but rather the OAK version that comes with

Re: CI Build issue for GraphQL Core

2023-07-19 Thread Robert Munteanu
On Wed, 2023-07-19 at 10:40 +0200, Andreas Schaefer wrote: > After some back and forth I saw that the Pax Exam container fails due > to issues with java.security.acl.Group class not found issue: > >  org.apache.sling.jcr.base[org.apache.sling.jcr.oak.server.internal.O > akSlingRepositoryManager]

Re: CI Build issue for GraphQL Core

2023-07-19 Thread Andreas Schaefer
After some back and forth I saw that the Pax Exam container fails due to issues with java.security.acl.Group class not found issue: org.apache.sling.jcr.base[org.apache.sling.jcr.oak.server.internal.OakSlingRepositoryManager] : Exception in a SlingRepositoryInitializer, SlingRepository

Re: CI Build issue for GraphQL Core

2023-07-18 Thread Andreas Schaefer
I tried to upgrade a few dependencies but eventually I am running into the issue on Java 17 that the pax-exam is not able to find the Sling service (in time). Upgrading the pax-exam to 4.3.15 lead to an issue where it is not able to find org.sl4j.LoggerFactory: java.rmi.ServerError: Error

Re: CI Build issue for GraphQL Core

2023-07-18 Thread Andreas Schaefer
Hi Robert My problem is not there yet but I updated the wiki page with the issue and my discovery so far. When I upgrade to Mockito-Inline 5.2.0 the compilation issue goes away but the pax-exam IT tests are time out when looking up Sling services. In the past when I tried to upgrade Pax-Exam

Re: CI Build issue for GraphQL Core

2023-07-18 Thread Robert Munteanu
Hi Andy, On Tue, 2023-07-18 at 09:47 +0200, Andreas Schaefer wrote: > Hi > > For my latest PR for Sling GraphQL Core I am running into CI build > issues on Java 17: > >

CI Build issue for GraphQL Core

2023-07-18 Thread Andreas Schaefer
Hi For my latest PR for Sling GraphQL Core I am running into CI build issues on Java 17: https://ci-builds.apache.org/blue/organizations/jenkins/Sling%2Fmodules%2Fsling-org-apache-sling-graphql-core/detail/PR-36/3/pipeline Any idea on how to resolve this? Cheers - Andy