Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-3024

IPv6 support: Broker tests failing with proxy configuration [GHI#38918]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

      Area

      ci

      Describe the bug

      10:16:09,351 INFO  [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] [OidcMultipleClaimToRoleMappersTest] updateBrokeredUserMismatchDeletesRoleInLegacyMode() STARTED
      Apr 11, 2025 10:16:09 AM org.jboss.arquillian.drone.webdriver.factory.HtmlUnitDriverFactory setClientOptions
      INFO: Setting HtmlDriver web client options: {htmlunitCssEnabled=false, htmlunitHistoryPageCacheLimit=1}
      10:16:09,517 INFO  [org.keycloak.testsuite.drone.KeycloakDronePostSetup] Configuring driver settings. implicitWait=2000, pageLoadTimeout=10000
      10:16:09,517 INFO  [org.keycloak.testsuite.drone.KeycloakDronePostSetup] Check HtmlUnit driver TLS settings
      10:16:09,609 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] loading test realms
      10:16:09,609 INFO  [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] importing test realms
      10:16:09,609 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] Modifying login theme to keycloak.v2
      10:16:09,609 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] --importing realm: consumer
      10:16:10,443 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] Modifying login theme to keycloak.v2
      10:16:10,443 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] --importing realm: provider
      10:16:11,210 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] adding client brokerapp to realm provider
      10:16:11,265 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] adding client broker-app to realm consumer
      10:16:11,346 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] adding identity provider to realm consumer
      10:16:11,408 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] Creating user in realm provider
      10:16:11,672 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] Clicking social kc-oidc-idp
      10:16:11,725 DEBUG [org.keycloak.testsuite.broker.OidcMultipleClaimToRoleMappersTest] Logging in
      2025-04-11 10:16:11,887 ERROR [org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider] (executor-thread-2) Failed to make identity provider oauth callback: java.net.UnknownHostException: ipv6services.keycloak-team.engineering.redhat.com: Name or service not known
      	at java.base/java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
      	at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:934)
      	at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543)
      	at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852)
      	at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1533)
      	at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1385)
      	at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1306)
      	at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
      	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
      	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:401)
      	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
      	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
      	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
      	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
      	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
      	at org.keycloak.broker.provider.util.SimpleHttp.makeRequest(SimpleHttp.java:326)
      	at org.keycloak.broker.provider.util.SimpleHttp.asResponse(SimpleHttp.java:256)
      	at org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider$Endpoint.authResponse(AbstractOAuth2IdentityProvider.java:545)
      	at org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider$Endpoint$quarkusrestinvoker$authResponse_ab908fbdd086ee82e140d8a818c077362a2d04b4.invoke(Unknown Source)
      	at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29)
      	at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:141)
      	at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:147)
      	at io.quarkus.vertx.core.runtime.VertxCoreRecorder$15.runWith(VertxCoreRecorder.java:638)
      	at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
      	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)
      	at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
      	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:11)
      	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:11)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.base/java.lang.Thread.run(Thread.java:840)
      
      

      Version

      latest

      Regression

      [ ] The issue is a regression

      Expected behavior

      Run any test from the broker package on an IPv6 environment.

      Actual behavior

      -

      How to Reproduce?

      -

      Anything else?

      No response

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak Continuous Testing
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: