Commit graph

213 commits

Author SHA1 Message Date
Ryan Emerson
5246fffb03
Reuse a single DB instance across all tests in the store-integration-tests job (#34340)
Closes #34339

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-10-25 12:34:53 +02:00
Ryan Emerson
6eb870fcfc
Add JDBC_PING2 stacks for both TCP and UDP
Closes #34265

Signed-off-by: Ryan Emerson <remerson@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-10-25 00:17:44 +02:00
Ryan Emerson
044d71bd77
Aurora IT tests failing periodically with download of node (#34107)
Closes #33767
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-10-23 15:19:10 +02:00
Ryan Emerson
902abfdae4
JDBC_PING as default discovery protocol
Closes #29399

- Add ProviderFactory#dependsOn to allow dependencies between
  ProviderFactories to be explicitly defined
- Disable Infinispan default shutdownhook disabled to ensure lifecycle
  is managed exclusively by Keycloak
- Remove Infinispan shutdown hook in KeycloakRecorder and manage
  EmbeddedCacheManager lifecycle only in DefaultInfinispanConnectionProviderFactory#close

Signed-off-by: Ryan Emerson <remerson@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-10-22 20:19:19 +00:00
Steven Hawkins
137bbeacf4
fix: corrections to kc.bat for -D and --debug (#33976)
also correcting JAVA_OPTS_KC_HEAP

closes: #33970

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-10-18 17:02:35 +02:00
Ryan Emerson
74caf48b63
AuroraDB IT - Error creating EC2 runner instance
Closes #33874

- Use venv to install python dependencies
- Utilise latest ansible version
- Utilise RHEL 9 image to update python versions

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-10-15 18:43:37 +02:00
Ryan Emerson
42251b3a13
Add check to ensure that no unstaged proto.lock files exist on PRs issued against release/26.x branches (#33592)
Closes #33566

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-10-15 14:15:15 +02:00
rmartinc
10aca55523 Run all maven commands inside the ubi docker container
Closes #33881

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-10-14 16:18:01 +02:00
mposolda
272d59be88 Temporarily comment FIPS CI until it is figured what causes the issue
closes #33875

Signed-off-by: mposolda <mposolda@gmail.com>
2024-10-14 10:13:41 +02:00
Stian Thorgersen
058538ca08
Revert "Apply the principle of least privilege for GitHub workflows (#33534)" (#33626)
This reverts commit 61c6bd5ace.
2024-10-07 08:41:43 +02:00
Bruno Oliveira da Silva
61c6bd5ace
Apply the principle of least privilege for GitHub workflows (#33534)
Closes #33544

Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
2024-10-04 14:17:35 +02:00
rmartinc
c532751ff4 Downgrade Java for client libraries to 8
Closes #33051

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-09-20 17:01:01 +02:00
Pedro Ruivo
f67bec0417 Rename remote-cache Feature
Renamed to "clusterless"

Closes #32596

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-09-13 13:03:13 +02:00
Lukas Hanusovsky
2b2107f397
Move Test Framework (#32407)
* Move Test Framework

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>

* Update .github/workflows/ci.yml

Signed-off-by: Stian Thorgersen <stian@redhat.com>

---------

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Signed-off-by: Stian Thorgersen <stian@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-08-28 14:14:08 +02:00
Michal Hajas
f5b2775939 Enable persistent sessions by default
Run CI with the feature disabled to test also the old settings
Closes #32265

Signed-off-by: Michal Hajas <mhajas@redhat.com>
2024-08-21 17:37:54 +02:00
Stian Thorgersen
140e953d3f
Testsuite PoC - Add support for browsers with and without headless (#31611)
Signed-off-by: stianst <stianst@gmail.com>
2024-07-25 13:41:50 +02:00
Kamesh Akella
33b3fd313c
Add migration tests for AuroraDB (#31396)
Fixes #31024
Signed-off-by: Kamesh Akella <kamesh.asp@gmail.com>
2024-07-24 16:45:02 +02:00
Stian Thorgersen
7216967465
Add conditional workflow for test-poc (#31406)
Signed-off-by: stianst <stianst@gmail.com>
2024-07-19 12:11:17 +02:00
Hynek Mlnarik
ab6ca323db Run docker tests with proper theme and fix chromedriver path
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-07-18 14:33:22 +02:00
Alexander Schwartz
d70f78072e
Make persistent sessions co-exist with remote cache feature (#30859)
Closes #30855

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-07-09 09:03:36 +02:00
Lukas Hanusovsky
2915a03c6b
Removing chrome-install dependency from GH actions, and Chrome and Firefox webdriver system property from CI workflow
Closes #30408

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2024-06-26 18:08:07 +00:00
Pedro Ruivo
5fc12480fd External Infinispan as cache - Part 4 (#30072)
UserSessionProvider implementation to make use of Infinispan remote
cache.

Closes #28755

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-06-19 14:47:57 +02:00
Pedro Ruivo
9006218559 External Infinispan as cache - Part 3
Implementation of UserLoginFailureProvider using remote caches only.

Closes #28754

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-06-19 14:47:57 +02:00
Alexander Schwartz
9ce47fc117 Trying to switch the database
Closes #28311

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-06-19 10:30:36 +02:00
Martin Bartoš
5ad3abaa96
Enable WebAuthn tests for Firefox (#30374)
Closes #22075

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2024-06-18 10:36:01 +02:00
Ryan Emerson
2f11605a5b Pin Ansible version for Aurora Store IT tests to 9.x.y stream
Closes #30201

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-06-13 22:17:42 +02:00
Ryan Emerson
25cf961114 Utilise ansible-core included with Ubuntu
Closes #30201

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-06-06 21:29:01 +02:00
Martin Bartoš
262fc09edc
OpenJDK 21 support (#28518)
* OpenJDK 21 support

Closes #28517

Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Signed-off-by: Martin Bartoš <mabartos@redhat.com>

* x509 SAN UPN other name is not handled in JDK 21 (#904)

closes #29968

Signed-off-by: mposolda <mposolda@gmail.com>

---------

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Signed-off-by: mposolda <mposolda@gmail.com>
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Co-authored-by: Marek Posolda <mposolda@gmail.com>
2024-06-03 14:17:28 +02:00
Martin Bartoš
bfde73b327 Conditionally execute WebAuthn tests when Account console UI is changed
Closes #30026

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2024-05-31 17:44:06 +02:00
Martin Bartoš
3f49036192
Unify approach for WebAuthn tests (#29781)
Closes #29780

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2024-05-30 14:21:27 +02:00
Martin Bartoš
d396dfed6a
Upgrade old Keycloak version for DB migration tests (#29884)
Closes #29883

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2024-05-28 11:32:31 +02:00
Stian Thorgersen
568a5cb678
JUnit 5 test framework PoC (#29517)
Closes #29516

Signed-off-by: stianst <stianst@gmail.com>
2024-05-27 10:05:35 -03:00
Ryan Emerson
5d0cb7959e
Execute Aurora DB cleanup in a separate workflow to prevent timeout on cancel (#29689)
Closes keycloak/keycloak-benchmark#803

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-05-21 09:17:15 +00:00
Václav Muzikář
11a35e708e
Conditionally run Quarkus tests (#29157)
Closes #29118

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2024-05-07 15:26:59 +02:00
Michal Hajas
128bba34d3 Remove PERSISTENT_USER_SESSIONS_No_CACHE feature
Closes #29264

Signed-off-by: Michal Hajas <mhajas@redhat.com>
2024-05-06 08:53:39 +02:00
Alexander Schwartz
05b6f897ce
Execute persistent sessions tests in CI and fix deadlock (#29236)
* Execute persistent sessions tests in CI and fix deadlock in UserSessionConcurrencyTest 
The deadlock was caused by a switch to reactive handling of embedded Infinispan updates introduced here #28862
Closes #29235

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-05-03 10:42:34 +02:00
Jon Koops
88d5970944
Upgrade artifact actions to latest version (#28483)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-15 17:14:00 +02:00
Alexander Schwartz
b4cfebd8d5
Persistent sessions code also for offline sessions (#28319)
Persistent sessions code also for offline sessions

Closes #28318

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-04-12 13:15:02 +02:00
Alexander Schwartz
c580c88c93
Persist online sessions to the database (#27977)
Adding two feature toggles for new code paths to store online sessions in the existing offline sessions table. Separate the code which is due to be changed in the next iteration in new classes/providers which used instead of the old one.

Closes #27976

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Signed-off-by: Michal Hajas <mhajas@redhat.com>
Co-authored-by: Michal Hajas <mhajas@redhat.com>
2024-03-28 09:17:07 +01:00
Jon Koops
3382e16954
Remove Account Console version 2 (#27510)
Closes #19664

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-27 10:53:28 +01:00
Stian Thorgersen
2672b362c9
Update github action versions (#27692)
Signed-off-by: stianst <stianst@gmail.com>
2024-03-22 08:57:41 +01:00
Ryan Emerson
a2f027ee00 Use AWS JDBC Wrapper in CI tests. Resolves #27123
Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-02-19 19:07:24 +01:00
Ryan Emerson
c30b9545ef
Aurora Postgres IT: Upload flaky and surefire test reports
Closes #26967

Signed-off-by: Ryan Emerson <remerson@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-02-16 11:57:56 +01:00
Ryan Emerson
67f6f2f657
Add Multi-AZ Aurora DB to CI store-integration-tests
Closes #26730

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-02-14 16:51:08 +01:00
Stian Thorgersen
23d5f2188d
Run adapters in a separate job on GitHub Actions (#26962)
Closes #25892

Signed-off-by: stianst <stianst@gmail.com>
2024-02-13 12:38:58 +01:00
Stian Thorgersen
208e3a6529
Exclude ubuntu-latest (sanity-check-zip) as it is running the full zip (#26463)
Signed-off-by: stianst <stianst@gmail.com>
2024-01-24 16:48:41 +00:00
Martin Kanis
84603a9363
Map Store Removal: Rename Legacy* classes (#26273)
Closes #24105

Signed-off-by: Martin Kanis <mkanis@redhat.com>
2024-01-23 13:50:31 +00:00
Alexander Schwartz
5e0e7254a0
Add the build step to the overall status check (#25982)
Closes #25981

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-01-09 08:39:43 +01:00
Alexander Schwartz
c4ada85233
Showing the original exception plus any swallowed exceptions. (#25428)
Closes #25424

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2023-12-13 11:56:08 +01:00
Michal Hajas
d387f13525
Add tests for lb-check endpoint
Added documentation why the check retries and updated outdated docs

Closes #25113

Signed-off-by: Michal Hajas <mhajas@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2023-12-04 08:53:37 +01:00