Commit graph

223 commits

Author SHA1 Message Date
Alexander Schwartz
1079af5f56
Increase heap available for Maven build (#37047)
Closes #37029

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2025-02-11 13:29:17 +01:00
Steven Hawkins
948760ae45
fix: switching quarkus dist tests to use integration test setup (#35249)
closes: #35193

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-11-25 09:10:57 +01:00
Steven Hawkins
76269636f2
splitting the zip test suite (#35005)
* fix: using tags to control test suites

closes: #34927

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* fix: split the zip tests into a fast and slow set of tests

closes: #34927

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

---------

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-11-20 19:28:26 +01:00
rmartinc
e4509a7199 Fix and enable firefox-strict-cookies profile adapter tests
Closes #34853

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-11-18 15:05:35 +01:00
rmartinc
c1d4dad4dc Avoid MRJAR in keycloak-core
Closes #34630

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-11-15 15:16:56 +01:00
Erik Jan de Wit
a2d33cf4aa
make the tests capable of running against login v1 and v2 (#33732)
* make the tests capable of running against login v1 and v2

fixes: #31764

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added build for v1

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Update testsuite/integration-arquillian/tests/base/testsuites/login-suite

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* added login default theme

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* added default

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-11-14 10:21:30 +01:00
Lukas Hanusovsky
54c0d30583
Surefire artifacts - updating names for Quarkus IT and UT. (#34906)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2024-11-13 11:00:58 +00:00
Stian Thorgersen
b82ec62eb7
Add database testsuite matrix to new testsuite (#34775)
Closes #34692

Signed-off-by: stianst <stianst@gmail.com>
2024-11-11 07:04:30 +01:00
Lukas Hanusovsky
a8d9a5553f
[Test framework] Add custom provider dependencies into a Keycloak server (#34621)
* Add custom provider dependencies into a Keycloak server.

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Co-authored-by: Simon Vacek <svacek@redhat.com>

* Update test-framework/examples/pom.xml

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: Simon Vacek <svacek@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-11-06 08:39:28 +01:00
Stian Thorgersen
a7af380f71
Break up test-framework into multiple modules, and introduce placeholder for new testsuite (#34507)
Closes #34194

Signed-off-by: stianst <stianst@gmail.com>
2024-11-01 08:52:00 +01:00
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