Skip to content

Conversation

mocenas
Copy link
Contributor

@mocenas mocenas commented May 28, 2025

Summary

Implement tests based on quarkus-qe/quarkus-test-plans#232.

Please select the relevant options.

  • Bug fix (non-breaking change which fixes an issue)
  • Dependency update
  • Refactoring
  • Backport
  • New scenario (non-breaking change which adds functionality)
  • This change requires a documentation update
  • This change requires execution against OCP (use run tests phrase in comment)
  • This change requires execution with OCP on Aarch64 (use run arm tests phrase in comment)

Checklist:

  • Methods and classes used in PR scenarios are meaningful
  • Commits are well encapsulated and follow the best practices

@mocenas mocenas requested a review from michalvavrik May 28, 2025 11:17
Copy link
Member

@michalvavrik michalvavrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done.

private static final String CLIENT_ID = "test-application-client";
private static final String CLIENT_SECRET = "test-application-client-secret";

@KeycloakContainer(command = { "start-dev", "--import-realm",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In OpenShift, we need to use image = "${rhbk.image}" because IBM Z/PE fail with upstream image (architecture not supported). We could also disable it for them, but seems unnecesary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added this for OCP tests

@michalvavrik
Copy link
Member

michalvavrik commented May 28, 2025

Let's also make sure that GH CI and OCP are passing (because failures are due to the added test here), but test code lgtm.

@mocenas
Copy link
Contributor Author

mocenas commented May 28, 2025

Test failures are caused by quarkusio/quarkus#48085. Which is already fixed upstream - quarkusio/quarkus#48091

We will probably need to wait for next Quarkus 999-snapshot to have the fix available.

@michalvavrik
Copy link
Member

We will probably need to wait for next Quarkus 999-snapshot to have the fix available.

We implemented remote trigger in TS PR using GH PR commetns, just write "hey @rsvoboda , please trigger https://github.com/quarkusio/quarkus/actions/workflows/deploy-snapshots.yml" and we will be able to rerun this PR CI later today.

@mocenas
Copy link
Contributor Author

mocenas commented May 28, 2025

I found another issue quarkusio/quarkus#48110 when dealing with original issue fix. I'm not sure how this one is going to be resolved, possibly it will require some code changes in this PR. I'm changing this to draft before the issue gets resolved.

@mocenas mocenas marked this pull request as draft May 28, 2025 14:20
@michalvavrik
Copy link
Member

just note - both of these issues will be a problem for 3.20.1 backport, they will probably have to be documented as known issues and test methods enabled (or the ticket fix version needs to be adjusted to 3.20.NEXT).

@mocenas mocenas marked this pull request as ready for review May 29, 2025 08:25
@mocenas
Copy link
Contributor Author

mocenas commented May 29, 2025

I've made the changes for last issue and some requested. Should be ready for review now.

@mocenas
Copy link
Contributor Author

mocenas commented May 29, 2025

run tests

@mocenas
Copy link
Contributor Author

mocenas commented May 29, 2025

That's weird. There are still test failures. Caused by the problem that was fixed in quarkusio/quarkus#48091. That PR was merged several days ago, but fix is still not in current 999-SNAPSHOT.

@michalvavrik
Copy link
Member

That's weird. There are still test failures. Caused by the problem that was fixed in quarkusio/quarkus#48091. That PR was merged several days ago, but fix is still not in current 999-SNAPSHOT.

I know how to fix it, it's in our CI, looking right now.

@mocenas
Copy link
Contributor Author

mocenas commented May 30, 2025

run tests

1 similar comment
@mocenas
Copy link
Contributor Author

mocenas commented May 30, 2025

run tests

@mocenas
Copy link
Contributor Author

mocenas commented May 30, 2025

Tests still fails on OCP as fix is not propagated there. Do you known any other "magic trick" why this is happening @michalvavrik ?

@michalvavrik
Copy link
Member

Tests still fails on OCP as fix is not propagated there. Do you known any other "magic trick" why this is happening @michalvavrik ?

I do, I didn't get to it yesterday. Can you just replace https://s01.oss.sonatype.org/content/repositories/snapshots/ occurrence in Jenkins jobs with https://central.sonatype.com/repository/maven-snapshots/? Bit busy ATM.

@michalvavrik
Copy link
Member

should be fixed now

@michalvavrik
Copy link
Member

run tests

1 similar comment
@mocenas
Copy link
Contributor Author

mocenas commented May 30, 2025

run tests

@mocenas
Copy link
Contributor Author

mocenas commented May 30, 2025

Unfortunately didn't help :-(

@michalvavrik
Copy link
Member

Unfortunately didn't help :-(

I think there is some caching in place, let me check.

@michalvavrik
Copy link
Member

run tests

@michalvavrik
Copy link
Member

CI green, merging

@michalvavrik michalvavrik merged commit 4e0a1e5 into quarkus-qe:main May 30, 2025
9 checks passed
@mocenas mocenas deleted the dpop branch June 2, 2025 09:03
@mocenas mocenas added the triage/backport-3.20 Changes relevant for Quarkus 3.20 label Aug 5, 2025
@mocenas mocenas mentioned this pull request Aug 5, 2025
10 tasks
@mocenas mocenas removed the triage/backport-3.20 Changes relevant for Quarkus 3.20 label Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants