Walking through the failure in the debugger. The container for keycloak
starts fine, docker logs look ok. Then we fail on

master.roles().create(role);


In KeycloakContainer.java createRole

Which fails with

HTTP 403 Forbidden

And has a nice log jboss stack trace for handling the invocation of the
endpoint

On Wed, Sep 3, 2025 at 8:10 PM Russell Spitzer <russell.spit...@gmail.com>
wrote:

> This is all there is in the info logging
>
> ```
> > Task :polaris-runtime-service:intTest
> Custom actions are attached to task ':polaris-runtime-service:intTest'.
> Build cache key for task ':polaris-runtime-service:intTest' is
> 4806b267f15c51d3014d0ac2e6e912bc
> Task ':polaris-runtime-service:intTest' is not up-to-date because:
>   Task has failed previously.
> Starting process 'Gradle Test Executor 30'. Working directory:
> /Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service
> Command: 
> /opt/homebrew/Cellar/openjdk@21/21.0.7/libexec/openjdk.jdk/Contents/Home/bin/java
> -DOUTPUT_SOURCES_DIR=/Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service/build/classes/java/main,/Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service/build/classes/java/test
> -Dbuild.output.directory=/Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service/build
> -Djava.security.manager=allow
> -Djava.util.logging.manager=org.jboss.logmanager.LogManager
> -Djunit.jupiter.extensions.autodetection.enabled=true
> -Dnative.image.path=/Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service/build/polaris-runtime-service-1.1.0-incubating-runner
> -Dorg.gradle.internal.worker.tmpdir=/Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service/build/tmp/intTest/work
> -Dquarkus-internal-test.serialized-app-model.path=/Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service/build/quarkus/application-model/quarkus-app-test-model.dat
> -Dquarkus.log.file.path=/Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service/build/logs/polaris.log
> -Dquarkus.test.arg-line=-Djava.security.manager=allow --add-exports
> java.base/sun.nio.ch=ALL-UNNAMED
> -javaagent:/Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/jacocoagent.jar=destfile=build/jacoco/intTest.exec,append=true,inclnolocationclasses=false,dumponexit=true,output=file,jmx=false
> -javaagent:/Users/rspitzer/.gradle/caches/modules-2/files-2.1/org.mockito/mockito-core/5.19.0/82b320935809e3c8ff92c2007dae5dff88d76f32/mockito-core-5.19.0.jar
> @/Users/rspitzer/.gradle/.tmp/gradle-worker-classpath10827048519303271215txt
> -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en
> -Duser.variant -ea
> worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test
> Executor 30'
> Successfully started process 'Gradle Test Executor 30'
>
> Gradle Test Executor 30 finished executing tests.
>
> > Task :polaris-runtime-service:intTest
>
> RestCatalogKeycloakFileIT > initializationError FAILED
>     org.junit.jupiter.api.extension.ParameterResolutionException: Failed
> to resolve parameter [org.apache.polaris.service.it.env.PolarisApiEndpoints
> arg0] in method [static void
> org.apache.polaris.service.it.test.PolarisRestCatalogIntegrationBase.setup(org.apache.polaris.service.it.env.PolarisApiEndpoints,org.apache.polaris.service.it.env.ClientPrincipal)]:
> System property not set correctly: quarkus.http.test-port
>         at java.base@21.0.7
> /java.util.ArrayList.forEach(ArrayList.java:1596)
>
>         Caused by:
>         java.lang.NullPointerException: System property not set correctly:
> quarkus.http.test-port
>             at java.base/java.util.Objects.requireNonNull(Objects.java:259)
>             at
> org.apache.polaris.service.it.ServerManager.getQuarkusTestPort(ServerManager.java:55)
>             at
> org.apache.polaris.service.it.ServerManager$1.baseUri(ServerManager.java:37)
>             at
> org.apache.polaris.service.it.ext.PolarisIntegrationTestExtension$Env.<init>(PolarisIntegrationTestExtension.java:95)
>             at
> org.apache.polaris.service.it.ext.PolarisIntegrationTestExtension.lambda$env$0(PolarisIntegrationTestExtension.java:72)
>             at
> org.apache.polaris.service.it.ext.PolarisIntegrationTestExtension.env(PolarisIntegrationTestExtension.java:71)
>             at
> org.apache.polaris.service.it.ext.PolarisIntegrationTestExtension.resolveParameter(PolarisIntegrationTestExtension.java:56)
>             ... 1 more
>
> 1 test completed, 1 failed
> Finished generating test XML results (0.0 secs) into:
> /Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service/build/test-results/intTest
> Generating HTML test report...
> Finished generating test html results (0.016 secs) into:
> /Users/rspitzer/PolarisRC/1.1.0-rc0/apache-polaris-1.1.0-incubating/runtime/service/build/reports/tests/intTest
>
> > Task :polaris-runtime-service:intTest FAILED
> ```
>
> On Wed, Sep 3, 2025 at 7:56 PM Dmitri Bourlatchkov <di...@apache.org>
> wrote:
>
>> Hi Russell,
>>
>> > System property not set correctly: quarkus.http.test-port
>>
>> This error usually means that the server completely failed to start. The
>> NPE on PolarisClient.close() is probably induced by that original failure
>> (because the test is trying to clean up, but the client never got
>> initialized).
>>
>> Please try to find the original server startup error for further
>> debugging.
>>
>> Cheers,
>> Dmitri.
>>
>> On Wed, Sep 3, 2025 at 8:17 PM Russell Spitzer <russell.spit...@gmail.com
>> >
>> wrote:
>>
>> > Full error in the error report which doesn't seem to match the StdErr
>> > message
>> >
>> > org.junit.jupiter.api.extension.ParameterResolutionException: Failed
>> > to resolve parameter
>> > [org.apache.polaris.service.it.env.PolarisApiEndpoints arg0] in method
>> > [static void org.apache.polaris.service.it
>> >
>> .test.PolarisRestCatalogIntegrationBase.setup(org.apache.polaris.service.it.env.PolarisApiEndpoints,org.apache.polaris.service.it.env.ClientPrincipal)]:
>> > System property not set correctly: quarkus.http.test-port
>> >         at java.base@21.0.7
>> > /java.util.ArrayList.forEach(ArrayList.java:1596)
>> >         Suppressed: java.lang.NullPointerException: Cannot invoke
>> > "org.apache.polaris.service.it.env.PolarisClient.close()" because
>> >
>> >
>> "org.apache.polaris.service.it.test.PolarisRestCatalogIntegrationBase.client"
>> > is null
>> >                 at org.apache.polaris.service.it
>> >
>> .test.PolarisRestCatalogIntegrationBase.close(PolarisRestCatalogIntegrationBase.java:224)
>> >                 at
>> > java.base/java.lang.reflect.Method.invoke(Method.java:580)
>> >                 at
>> > java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
>> >                 at
>> >
>> java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1116)
>> >                 ... 1 more
>> > Caused by: java.lang.NullPointerException: System property not set
>> > correctly: quarkus.http.test-port
>> >         at java.base/java.util.Objects.requireNonNull(Objects.java:259)
>> >         at org.apache.polaris.service.it
>> > .ServerManager.getQuarkusTestPort(ServerManager.java:55)
>> >         at org.apache.polaris.service.it
>> > .ServerManager$1.baseUri(ServerManager.java:37)
>> >         at org.apache.polaris.service.it
>> >
>> .ext.PolarisIntegrationTestExtension$Env.<init>(PolarisIntegrationTestExtension.java:95)
>> >         at org.apache.polaris.service.it
>> >
>> .ext.PolarisIntegrationTestExtension.lambda$env$0(PolarisIntegrationTestExtension.java:72)
>> >         at org.apache.polaris.service.it
>> >
>> .ext.PolarisIntegrationTestExtension.env(PolarisIntegrationTestExtension.java:71)
>> >         at org.apache.polaris.service.it
>> >
>> .ext.PolarisIntegrationTestExtension.resolveParameter(PolarisIntegrationTestExtension.java:56)
>> >         ... 1 more
>> >
>> >
>> > On Wed, Sep 3, 2025 at 7:13 PM Russell Spitzer <
>> russell.spit...@gmail.com>
>> > wrote:
>> >
>> > > I wouldn't consider it a blocker, but we should aim for tests that are
>> > > more or less environment independent (or
>> > > at least work on all voting dev's machines :) )
>> > >
>> > > If it is a DNS resolution error it's probably just binding to a
>> resolved
>> > > ip rather than loopback. We had a similar
>> > > issue in Iceberg which was fixed here.
>> > >
>> > > https://github.com/apache/iceberg/pull/13101
>> > >
>> > > On Wed, Sep 3, 2025 at 6:13 PM Dmitri Bourlatchkov
>> > > <dmitri.bourlatch...@dremio.com.invalid> wrote:
>> > >
>> > >> +1 (binding)
>> > >>
>> > >> Verified:
>> > >>
>> > >> * Checksums
>> > >> * Signatures
>> > >> * Iceberg Catalog smoke test from the bundled binary dist with MinIO
>> +
>> > >> PostgreSQL and Spark (CTAS/select)
>> > >>
>> > >> Cheers,
>> > >> Dmitri.
>> > >>
>> > >> On Sun, Aug 31, 2025 at 11:36 PM Jean-Baptiste Onofré <
>> j...@nanthrax.net>
>> > >> wrote:
>> > >>
>> > >> > Hi everyone,
>> > >> >
>> > >> > I propose that we release the following RC as the official
>> > >> > Apache Polaris 1.1.0-incubating release.
>> > >> >
>> > >> > * This corresponds to the tag: apache-polaris-1.1.0-incubating-rc0
>> > >> > *
>> > >> >
>> > >>
>> >
>> https://github.com/apache/polaris/commits/apache-polaris-1.1.0-incubating-rc0
>> > >> > *
>> > >> >
>> > >>
>> >
>> https://github.com/apache/polaris/tree/9c635e14fb7497cd4d40b79075048af49350d622
>> > >> >
>> > >> > The release tarball, signature, and checksums are here:
>> > >> > *
>> > >> >
>> > >>
>> >
>> https://dist.apache.org/repos/dist/dev/incubator/polaris/1.1.0-incubating
>> > >> >
>> > >> > Helm charts are available on:
>> > >> > *
>> > >> >
>> > >>
>> >
>> https://dist.apache.org/repos/dist/dev/incubator/polaris/helm-chart/1.1.0-incubating
>> > >> > NB: you have to build the Docker images locally in order to test
>> Helm
>> > >> > charts.
>> > >> >
>> > >> > You can find the KEYS file here:
>> > >> > * https://downloads.apache.org/incubator/polaris/KEYS
>> > >> >
>> > >> > Convenience binary artifacts are staged on Nexus. The Maven
>> > >> > repositories URLs are:
>> > >> > *
>> > >> >
>> > >>
>> >
>> https://repository.apache.org/content/repositories/orgapachepolaris-1030/
>> > >> >
>> > >> > Please download, verify, and test.
>> > >> >
>> > >> > Please vote in the next 72 hours.
>> > >> >
>> > >> > [ ] +1 Release this as Apache polaris x.y.z
>> > >> > [ ] +0
>> > >> > [ ] -1 Do not release this because...
>> > >> >
>> > >> > Only PPMC members and mentors have binding votes, but other
>> community
>> > >> > members are
>> > >> > encouraged to cast non-binding votes. This vote will pass if there
>> are
>> > >> > 3 binding +1 votes and more binding +1 votes than -1 votes.
>> > >> >
>> > >> > NB: if this vote passes, a new vote has to be started on the
>> Incubator
>> > >> > general mailing
>> > >> > list.
>> > >> >
>> > >> > Regards
>> > >> > JB
>> > >> >
>> > >>
>> > >
>> >
>>
>

Reply via email to