Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

[Keycloak CI] New database tests fail on Aurora and Azure #46322

@vaceksimon

Description

@vaceksimon

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

ci

Describe the bug

Most likely caused by #46047

Since the merge of this PR, Azure and Aurora tests failed:
AzureDB:
Sat 7. 2.: https://github.com/keycloak/keycloak/actions/runs/21774226173/job/62827828551
Sun 8. 2.: https://github.com/keycloak/keycloak/actions/runs/21792437305/job/62874304226
Mon 9. 2.: https://github.com/keycloak/keycloak/actions/runs/21812647257/job/62927852340
Tue 10. 2.: https://github.com/keycloak/keycloak/actions/runs/21852069048/job/63060863400
Later runs failed because the migration tests in the previous step failed (#46321)

AuroraDB:
Sat 7. 2.: https://github.com/keycloak/keycloak/actions/runs/21774226173/job/62827828548
Sun 8. 2.: failed because ec2 instance couldn't be created
Mon 9. 2.: https://github.com/keycloak/keycloak/actions/runs/21812647257/job/62927852339
Tue 10. 2.: failed because ec2 instance couldn't be created
Later runs failed because the migration tests in the previous step failed (#46321)

Error:      "[ERROR] org.keycloak.tests.suites.DatabaseTestSuite -- Time elapsed: 0.002 s <<< ERROR!",
            "java.lang.NullPointerException: Cannot invoke \"java.io.File.isDirectory()\" because \"file\" is null",
            "\tat org.keycloak.testframework.github.GitHubActionReport.findGitRoot(GitHubActionReport.java:138)",
            "\tat org.keycloak.testframework.github.GitHubActionReport.<init>(GitHubActionReport.java:27)",
            "\tat org.keycloak.testframework.LogHandler.<init>(LogHandler.java:20)",
            "\tat org.keycloak.testframework.KeycloakIntegrationTestExtension.lambda$getLogHandler$1(KeycloakIntegrationTestExtension.java:81)",
            "\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)",
            "\tat org.keycloak.testframework.KeycloakIntegrationTestExtension.getLogHandler(KeycloakIntegrationTestExtension.java:81)",
            "\tat org.keycloak.testframework.KeycloakIntegrationTestExtension.beforeAll(KeycloakIntegrationTestExtension.java:24)",
            "\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1596)",
            "\tSuppressed: java.lang.NullPointerException: Cannot invoke \"java.io.File.isDirectory()\" because \"file\" is null",
            "\t\tat org.keycloak.testframework.github.GitHubActionReport.findGitRoot(GitHubActionReport.java:138)",
            "\t\tat org.keycloak.testframework.github.GitHubActionReport.<init>(GitHubActionReport.java:27)",
            "\t\tat org.keycloak.testframework.LogHandler.<init>(LogHandler.java:20)",
            "\t\tat org.keycloak.testframework.KeycloakIntegrationTestExtension.lambda$getLogHandler$1(KeycloakIntegrationTestExtension.java:81)",
            "\t\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)",
            "\t\tat org.keycloak.testframework.KeycloakIntegrationTestExtension.getLogHandler(KeycloakIntegrationTestExtension.java:81)",
            "\t\tat org.keycloak.testframework.KeycloakIntegrationTestExtension.afterAll(KeycloakIntegrationTestExtension.java:43)",
            "\t\t... 1 more",

Version

nightly

Regression

  • The issue is a regression

Expected behavior

  • tests pass

Actual behavior

  • tests fail

How to Reproduce?

check the recent logs

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions