Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task]: Test JDK 21 Support for MI 4.4.0 #3684

Open
AmilaSamith opened this issue Oct 15, 2024 · 2 comments
Open

[Task]: Test JDK 21 Support for MI 4.4.0 #3684

AmilaSamith opened this issue Oct 15, 2024 · 2 comments
Assignees

Comments

@AmilaSamith
Copy link
Contributor

AmilaSamith commented Oct 15, 2024

Description

We should test MI 4.4.0 runtime with JDK 21.

Describe your task(s)

  1. Run existing integration tests for more advanced use cases (e.g., connectors, database integrations, messaging systems) on JDK 21.
  2. Validate that key features such as mediators, connectors, and HTTP endpoints function properly without issues on JDK 21.
  3. Update any necessary configuration or documentation to reflect JDK 21 support in MI.
@AmilaSamith AmilaSamith self-assigned this Oct 15, 2024
@AmilaSamith
Copy link
Contributor Author

Following ERROR occurred when running MI with JDK 21.

Screenshot 2024-10-15 at 10 11 14

The ERROR got resolved after modifying startup script[1]. Also MI server started without any other errors with JDK 21.

[1] PR : #3685

@AmilaSamith
Copy link
Contributor Author

AmilaSamith commented Oct 21, 2024

We have ran the Integration Tests with JDK 21. Please find the summary below.

Screenshot 2024-10-23 at 09 29 47
Failed Test Module Reason
MI test Module-mediator-2 Test Environment initialization Failure - Caused by: java.lang.RuntimeException: Error on initializing test environment Caused by: java.io.FileNotFoundException: /home/runner/work/micro-integrator/micro-integrator/integration/mediation-tests/tests-mediator-2/target/jacoco/jacoco-data-merge.exec (No such file or directory)
Mi test Module - Test Patches Test Failures [ Tests run: 95, Failures: 8, Errors: 0, Skipped: 1]
MI test Module - UserStore Caused by: org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

Currently we are working on the test failure analysis and fixes.

[1] LOGS : logs_29875832934.zip
[2] [JDK-21] [MI-4.3.0] Integration Test Run

@AmilaSamith AmilaSamith changed the title [Task]: Test JDK 21 Support for MI 4.3.0 [Task]: Test JDK 21 Support for MI 4.4.0 Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant