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

Test the guides with OL 24.0.0.11 GM candidate build #1091

Closed
16 tasks done
gkwan-ibm opened this issue Oct 22, 2024 · 6 comments
Closed
16 tasks done

Test the guides with OL 24.0.0.11 GM candidate build #1091

gkwan-ibm opened this issue Oct 22, 2024 · 6 comments
Assignees

Comments

@gkwan-ibm
Copy link
Member

gkwan-ibm commented Oct 22, 2024

Candidate build: cl241120241021-1102

  • Automated tests for all published guides (Daily build)
    • java 11: https://github.com/OpenLiberty/guides-common/actions/runs/11454169158
      • liberty-deepdive-gradle failed is expected
    • java 17: https://github.com/OpenLiberty/guides-common/actions/runs/11454169257
      • liberty-deepdive-gradle failed is expected
    • java 21: https://github.com/OpenLiberty/guides-common/actions/runs/11454169295
  • Automated tests with jdk17 for all published guides (Morgan)
    • https://github.com/OpenLiberty/guides-common/actions/runs/11462204512
    • the jpa-intro and microshed-testing guides are not compatible with JDK17
  • Docker image tests (Daily build/Gilbert)
    • run Manual GM candidate container test and Manual GM candidate container test - Java 17 when container GM candidate build ready (be announced on the was-dev-announcements slack channel)
    • java 11: https://github.com/OpenLiberty/guides-common/actions/runs/11499742501
    • java 17: https://github.com/OpenLiberty/guides-common/actions/runs/11499750833
  • Automated test for CargoTracker (Daily build)
    • https://github.com/GuidesBot/ol-daily-build-test/actions/runs/11460282862/job/31886657593
  • Automated test for LangChain4j example (Daily build)
    • https://github.com/GuidesBot/ol-daily-build-test/actions/runs/11460555549/job/31887546830

Manual test the guides against GM with Semeru JDK 11:

  • guide-jpa-intro (Morgan)
    • use JDK 21
  • guide-social-media-login (Morgan)
  • guide-microprofile-jwt (Morgan)
  • CargoTracker (Morgan)
  • guide-microprofile-telemetry-jaeger (Morgan)
  • guide-mongodb-intro (Morgan)
  • *guide-kubernetes-microprofile-config (Gilbert)
  • *guide-microprofile-reactive-messaging (Gilbert)
  • *guide-sessions (Gilbert)
    • suggest run on Linux
    • minikube --force=true start
  • *guide-microprofile-graphql (Gilbert)
    • use guidesbot/olguides:nnnnnnnnnn and guidesbot/olguides:nnnnnnnnnn-java17
    • if run on Mac, update startContainers.sh with --platform linux/amd64

Additional guides:

  • NA

When completed:

  • post result to #was-gm-testing slack channel (Gilbert)

Tests instructions:

  • follow the guide to test the application from end to end by updating the pom.xml/build.gradle (see below comment)
  • make sure that the OL 24.0.0.11 is used
  • test on any platform
    • If local machine cannot run docker or Kubernetes, use Frye Ubantu VM or use Skill Network (cloud-hosted)
  • for any guide using docker (marked by *), make sure to use the GM candidate docker image, see this guide wiki
    • test on Linux VM or SNL, because our docker build does not support Mac M2
    • comment out the features.sh line in the Dockerfile files because the daily build docker image is full (not kernel-slim) that does not support features.sh
    • If test in Mac and docker, add --platform=linux/amd64 in the docker run ... command, because the guidesbot/olguides docker image is built for Linux only.
@shin19991207
Copy link
Contributor

shin19991207 commented Oct 22, 2024

guide-jpa-intro

Output from mvn liberty:run from frontendUI directory:

[INFO] Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on OpenJDK 64-Bit Server VM, version 21.0.3+9-LTS (en_CA)

Output from mvn liberty:run from backendServices directory:

[INFO] Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on OpenJDK 64-Bit Server VM, version 21.0.3+9-LTS (en_CA)

Tested end-to-end, no issues.

guide-social-media-login

Output from mvn liberty:dev:

[INFO] Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on OpenJDK 64-Bit Server VM, version 11.0.23+9 (en_CA)

Tested end-to-end, no issues.

guide-microprofile-jwt

Output from mvn liberty:run from frontend directory:

[INFO] Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on OpenJDK 64-Bit Server VM, version 11.0.23+9 (en_CA)

Output from mvn liberty:run from system directory:

[INFO] Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on OpenJDK 64-Bit Server VM, version 11.0.23+9 (en_CA)

Tested end-to-end, no issues.

CargoTracker

Output from mvn -Popenliberty liberty:dev:

[INFO] Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on OpenJDK 64-Bit Server VM, version 11.0.23+9 (en_CA)

Tested end-to-end, no issues.

guide-microprofile-telemetry-jaeger

Output from mvn liberty:run from system directory:

[INFO] Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on OpenJDK 64-Bit Server VM, version 11.0.23+9 (en_CA)

Output from mvn liberty:run from inventory directory:

[INFO] Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on OpenJDK 64-Bit Server VM, version 11.0.23+9 (en_CA)

Tested finish directory with colima, no issues.

guide-mongodb-intro

Output from mvn liberty:run:

[INFO] Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on OpenJDK 64-Bit Server VM, version 11.0.23+9 (en_CA)

Tested finish directory with colima, no issues.

@gkwan-ibm
Copy link
Member Author

guide-sessions

dev mode console:

[INFO] Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on Eclipse OpenJ9 VM, version 17.0.6+10 (en_CA)
[INFO] [AUDIT   ] CWWKE0001I: The server defaultServer has been launched.
[INFO] CWWKM2010I: Searching for CWWKF0011I: in /tasks/CNAI/guides/guide-sessions/start/target/liberty/wlp/usr/servers/defaultServer/logs/messages.log. This search will timeout after 90 seconds.
[root@gkwan-redhat1 start]# kubectl exec -it $POD -- cat /logs/messages.log
********************************************************************************
product = Open Liberty 24.0.0.11 (wlp-1.0.95.cl241120241021-1102)

Tested without issue

@gkwan-ibm
Copy link
Member Author

guide-microprofile-graphql

[root@gkwan-redhat1 start]# docker logs system-java11

Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on Eclipse OpenJ9 VM, version 11.0.24+8 (en_US)
[root@gkwan-redhat1 start]# docker logs system-java17

Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on Eclipse OpenJ9 VM, version 17.0.12+7 (en_US)
[root@gkwan-redhat1 start]# docker logs graphql

Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on Eclipse OpenJ9 VM, version 11.0.24+8 (en_US)

Tested without issue

@gkwan-ibm
Copy link
Member Author

guide-kubernetes-microprofile-config

[root@gkwan-redhat1 start]# kubectl logs "$(kubectl get pods -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}' | grep system)"

Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on Eclipse OpenJ9 VM, version 11.0.24+8 (en_US)
[root@gkwan-redhat1 start]# kubectl logs "$(kubectl get pods -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}' | grep inventory)"

Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on Eclipse OpenJ9 VM, version 11.0.24+8 (en_US)

Tested without issue

@gkwan-ibm
Copy link
Member Author

guide-microprofile-reactive-messaging

[root@gkwan-redhat1 start]# docker logs system

Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on Eclipse OpenJ9 VM, version 11.0.24+8 (en_US)
[root@gkwan-redhat1 start]# docker logs inventory

Launching defaultServer (Open Liberty 24.0.0.11/wlp-1.0.95.cl241120241021-1102) on Eclipse OpenJ9 VM, version 11.0.24+8 (en_US)

Tested without issue

@gkwan-ibm
Copy link
Member Author

close

  • all tests were completed

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