8000 Pin Azure CLI to 2.82.0 to fix JSON parsing error by Pepo48 · Pull Request #47828 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Pin Azure CLI to 2.82.0 to fix JSON parsing error - #47828

Merged
stianst merged 1 commit into
keycloak:mainfrom
Pepo48:issue-47827
Apr 8, 2026
Merged

stianst merged 1 commit into
keycloak:mainfrom
Pepo48:issue-47827

Conversation

@Pepo48
@Pepo48 Pepo48 commented Apr 7, 2026
Copy link
Copy Markdown
Contributor

Closes: #47827

The full version string is deliberate (otherwise apt does not find the package).

Test run: https://github.com/Pepo48/keycloak/actions/runs/24098525925/job/70303546307

Closes: keycloak#47827

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
@Pepo48
Pepo48 requested a review from a team as a code owner April 7, 2026 18:57

if [[ "$ACTION" == "create" ]]; then
# Pin Azure CLI to 2.82.0 (azure-core 1.38.0+ causes JSON parsing errors with az vm create)
sudo apt-get install -y -q --allow-downgrades azure-cli=2.82.0-1~noble
@michalvavrik michalvavrik Apr 7, 2026 •
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please bear in your mind I have a limited knowledge about Azure CLI and I also don't know what is a common practice in this project. Still, I'll tell you what I think 😄 :

Should you link TODO with link to an opened issue so that you don't loose track of this? Or what are upgrade plans? I'd go even further and say without linked upstream issue or documentation saying which Azure CLI can be used under certain conditions, this is fantastic workaround, but we will need to revisit it at some point in the future and define when exactly we should use Azure CLI 2.82.0-1-noble and under which conditions we can proceed to the newest version.

@keycloak-github-bot keycloak-github-bot Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unreported flaky test detected, please review

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.

org.keycloak.testsuite.model.session.UserSessionProviderOfflineModelTest#testOfflineSessionLazyLoading

Keycloak CI - Store Model Tests

java.lang.AssertionError: 
threads didn't terminate in time: [main (RUNNABLE):
	at java.management@25.0.2/sun.management.ThreadImpl.dumpThreads0(Native Method)
	at java.management@25.0.2/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:505)
	at java.management@25.0.2/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:493)
...

Report flaky test

org.keycloak.testsuite.model.session.UserSessionProviderModelTest#testStreamsMarshalling

Keycloak CI - Store Model Tests

java.lang.AssertionError: 
threads didn't terminate in time: [main (RUNNABLE):
	at java.management@25.0.2/sun.management.ThreadImpl.dumpThreads0(Native Method)
	at java.management@25.0.2/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:505)
	at java.management@25.0.2/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:493)
...

Report flaky test

org.keycloak.testsuite.model.session.OfflineSessionPersistenceTest#testPersistenceMultipleNodesClientSessionsAtRandomNode

Keycloak CI - Store Model Tests

java.lang.AssertionError: Execution didn't complete: java.lang.RuntimeException: org.infinispan.commons.TimeoutException: ISPN000427: Timeout after 15 seconds waiting for acks ([node-15]). Id=3363, Topology Id=2
	at org.junit.Assert.fail(Assert.java:89)
	at org.keycloak.testsuite.model.KeycloakModelTest.inIndependentFactories(KeycloakModelTest.java:448)
	at org.keycloak.testsuite.model.session.OfflineSessionPersistenceTest.testPersistenceMultipleNodesClientSessionsAtRandomNode(OfflineSessionPersistenceTest.java:216)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
...

Report flaky test

org.keycloak.testsuite.model.session.UserSessionProviderModelTest#testCreateUserSessionsParallel

Keycloak CI - Store Model Tests

java.lang.AssertionError: 
threads didn't terminate in time: [main (RUNNABLE):
	at java.management@25.0.2/sun.management.ThreadImpl.dumpThreads0(Native Method)
	at java.management@25.0.2/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:505)
	at java.management@25.0.2/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:493)
...

Report flaky test

org.keycloak.testsuite.model.session.UserSessionProviderModelTest#testStreamsMarshalling

Keycloak CI - Store Model Tests

java.lang.AssertionError: 
threads didn't terminate in time: [main (RUNNABLE):
	at java.management@25.0.2/sun.management.ThreadImpl.dumpThreads0(Native Method)
	at java.management@25.0.2/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:505)
	at java.management@25.0.2/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:493)
...

Report flaky test

org.keycloak.testsuite.model.session.UserSessionPersisterProviderTest#testExpirationDistribution

Keycloak CI - Store Model Tests

java.lang.AssertionError: Execution didn't complete: java.lang.RuntimeException: org.infinispan.commons.TimeoutException: ISPN000427: Timeout after 15 seconds waiting for acks ([node-50]). Id=31927, Topology Id=2
	at org.junit.Assert.fail(Assert.java:89)
	at org.keycloak.testsuite.model.KeycloakModelTest.inIndependentFactories(KeycloakModelTest.java:448)
	at org.keycloak.testsuite.model.session.UserSessionPersisterProviderTest.testExpirationDistribution(UserSessionPersisterProviderTest.java:1081)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
...

Report flaky test

@stianst
stianst merged commit 2a4c9e0 into keycloak:main Apr 8, 2026
87 checks passed
stianst pushed a commit to stianst/keycloak that referenced this pull request Apr 8, 2026
Closes: keycloak#47827

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
(cherry picked from commit 2a4c9e0)
stianst added a commit that referenced this pull request Apr 8, 2026
Closes: #47827


(cherry picked from commit 2a4c9e0)

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
Co-authored-by: Peter Zaoral <pzaoral@redhat.com>
@stianst stianst mentioned this pull request Jun 1, 2026
sashyo pushed a commit to tide-foundation/keycloak-IGA that referenced this pull request Jul 20, 2026
Closes: keycloak#47827

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

az vm create fails with JSON parsing error

3 participants

0