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

Daily build test failed if run by JDK17 #893

Open
gkwan-ibm opened this issue Feb 1, 2023 · 3 comments
Open

Daily build test failed if run by JDK17 #893

gkwan-ibm opened this issue Feb 1, 2023 · 3 comments

Comments

@gkwan-ibm
Copy link
Member

Test results from https://github.com/OpenLiberty/guides-common/actions/runs/4053570256. Following guides failed:

@ReeceNana
Copy link
Contributor

Ran Locally With JDK17 - openjdk version "17.0.5" 2022-10-18 IBM Semeru Runtime Open Edition 17.0.5.0 (build 17.0.5+8) Eclipse OpenJ9 VM 17.0.5.0 (build openj9-0.35.0, JRE 17 Mac OS X aarch64-64-Bit 20221018_182 (JIT enabled, AOT enabled)

All guides failure match with build test errors - https://github.com/OpenLiberty/guides-common/actions/runs/4053570256 - except security-intro, microprofile-reactive-messaging-acknowledgment and microprofile-reactive-messaging-rest-integration

- security-intro
- microprofile-reactive-messaging-acknowledgment
- microprofile-reactive-messaging-rest-integration

Ran guide end-to-end, no failures.

Errors from Guides below:

- gradle-intro

Ran ./gradlew tasks. Error Output :

FAILURE: Build failed with an exception.
* What went wrong:
org.codehaus.groovy.reflection.ReflectionCache (initialization failure)
> org.codehaus.groovy.vmplugin.v7.Java7 (initialization failure)

- maven-multimodes

Ran mvn install. Error Output :

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project guide-maven-multimodules-war: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.2:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.2' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Cannot access defaults field of Properties

- microshed-testing

Ran mvn verify. Error Output:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.0:verify (default) on project guide-microshed-testing: There are test failures.

[ERROR] Errors: 
[ERROR]   ErrorPathIT » ContainerFetch Can't get Docker image: RemoteDockerImage(imageNa...
[ERROR]   PersonServiceIT » ContainerFetch Can't get Docker image: RemoteDockerImage(ima...
[INFO] 
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

- reactive-rest-client

Original error occurs in InventoryServiceIT

Ran mvn verify. Error Output:

[ERROR] Errors: 
[ERROR]   QueryServiceIT » IllegalArgument io.openliberty.guides.query.QueryResource is ...
[INFO] 
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

- reactive-service-testing

Original error occurs in InventoryServiceIT

Ran mvn verify. Error Output:

[ERROR] Errors: 
[ERROR]   QueryServiceIT » IllegalArgument io.openliberty.guides.query.QueryResource is ...
[INFO] 
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

@gkwan-ibm
Copy link
Member Author

Because MST does not support JDK 17, the following guides are blocked

  • microprofile-reactive-messaging-acknowledgment
  • microprofile-reactive-messaging-rest-integration
  • microshed-testing
  • reactive-rest-client
  • reactive-service-testing

@gkwan-ibm
Copy link
Member Author

The microshed-testing guide will be deprecated.

Will update the following guides to use Testcontainers directly:

  • microprofile-reactive-messaging-acknowledgment
  • microprofile-reactive-messaging-rest-integration
  • reactive-rest-client
  • reactive-service-testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants