-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kafka OAUTH Keycloak integration test failing with GraalVM / Mandrel 22.1-dev #23411
Comments
/cc @Karm, @cescoffier, @galderz, @ozangunalp, @pedroigor, @sberyozkin |
@ozangunalp, Hi, FYI, I ended up using Keycloak-X in the OIDC MTLS test: https://github.com/quarkusio/quarkus/blob/main/integration-tests/oidc/src/test/java/io/quarkus/it/keycloak/KeycloakXTestResourceLifecycleManager.java |
That's an annoying one. We cannot really change the Kafka internal classes. @sberyozkin Do you believe it's because of the switch to keycloak-x? |
Hey @cescoffier No, not at all; I meant, for the tests, instead of using WildFly based distro as is done in the Kafka test, you can use a Keycloak-X container instead, it should not make a difference for the actual Kafka code. When I was preparing an OIDC MTLS test I actually copied this test code first :-), but found it was too difficult to setup MTLS so found it going much easier with KC-X. It might make sense to tweak Dev Services for Keycloak (KC-X is the default image) to support the key stores and truststores, you'd then be able to reuse it with Kafka. May be a longer term enhancement |
@sberyozkin thanks for the heads up. |
Yeah, not sure how we can make progress on this one (while we need to fix it). @zakkak where can I grab a Mandrel 22.1-dev package? |
@cescoffier dev builds are available at https://github.com/graalvm/graalvm-ce-dev-builds/releases/ I will try to have another look at it again this week, last time I tried I couldn't get the test to pass even with 22.0 so please let me know if there are any special steps I need to take in order for it to run. I am getting:
I use
to run the test. I even tried increasing the time out for the check but it didn't seem to work. |
Hum. @sberyozkin see above... Sounds like it cannot start Keycloak. |
I started to migrate that test to use KeycloakX, will update this issue with my results. |
@ozangunalp Great, thanks |
@sberyozkin @ozangunalp See zulip... |
I would not migrate all our test to KaycloakX. We still have users on "classic" keycloak, and if we start seeing behavior differences, it can be tricky. I don't mind migrating these, but we need to keep that in mind. |
Describe the bug
$title
Expected behavior
Test should pass
Actual behavior
Test fails with:
See https://github.com/graalvm/mandrel/runs/5046248182?check_suite_focus=true#step:11:1932
How to Reproduce?
No response
Output of
uname -a
orver
GH runner
Output of
java -version
11.0.14 and 17.0.2
GraalVM version (if different from Java)
22.1.0-dev51ebdca
Quarkus version or git rev
14f086d
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: