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 23.0.0.9 GM candidate build #962

Closed
14 tasks done
gkwan-ibm opened this issue Sep 5, 2023 · 10 comments
Closed
14 tasks done

Test the guides with OL 23.0.0.9 GM candidate build #962

gkwan-ibm opened this issue Sep 5, 2023 · 10 comments
Assignees

Comments

@gkwan-ibm
Copy link
Member

gkwan-ibm commented Sep 5, 2023

Candidate build: cl230920230904-1158

  • Automated tests with jdk11 for all published guides (Daily build)
    • https://github.com/OpenLiberty/guides-common/actions/runs/6080784191
  • Automated tests with jdk17 for all published guides (Gilbert/Ruilin)
    • https://github.com/OpenLiberty/guides-common/actions/runs/6087250179
    • the reactive guides using MST are not compatible with JDK17

Manual test the guides against GM with Semeru JDK 11:

  • guide-jpa-intro (Saumya)
  • *guide-kubernetes-microprofile-config (Ruilin)
  • *guide-microprofile-reactive-messaging (Saumya)
  • guide-microprofile-telemetry-jaeger (Saumya)
  • *guide-microprofile-graphql (Jakub)
  • guide-mongodb-intro (Jakub)
  • guide-social-media-login (Morgan)
  • guide-microprofile-jwt (Morgan)
  • *guide-sessions (Saumya)
  • CargoTracker (Ruilin)

Additional guides:

  • draft-guide-microprofile-config-profile (Morgan)

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 23.0.0.9 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
    • 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
@gkwan-ibm gkwan-ibm changed the title Test the guides with 23.0.0.9 GM candidate build Test the guides with OL 23.0.0.9 GM candidate build Sep 5, 2023
@saumyapandyaa
Copy link

saumyapandyaa commented Sep 5, 2023

guide-jpa-intro

Output from ‘mvn liberty: run’ from ‘backend’ directory:

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on OpenJDK 64-Bit Server VM, version 20.0.1 (en_CA)

Output from ‘mvn liberty: run’ from ‘frontendUI’ directory:

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on OpenJDK 64-Bit Server VM, version 20.0.1 (en_CA)Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on OpenJDK 64-Bit Server VM, version 20.0.1 (en_CA)

ran end-to-end, no issues

@Ruilin-Ma
Copy link

guide-kubernetes-microprofile-config

Output from kubectl logs inventory-deployment

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.20+8 (en_US)

Output from kubectl logs system-deployment

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.20+8 (en_US)

Ran guide end-to-end on SN, no issues found.

@Ruilin-Ma
Copy link

CargoTracker

Output from mvn -P openliberty liberty:dev

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on OpenJDK 64-Bit Server VM, version 17.0.7+7 (en_CA)

Ran guide end-to-end, no issues.

@saumyapandyaa
Copy link

saumyapandyaa commented Sep 6, 2023

guide-microprofile-reactive-messaging

Output from ‘docker logs system-container’ from ‘start’ directory:

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.20+8 (en_US)

Output from ‘docker logs inventory-container’ from ‘start’ directory:

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.20+8 (en_US)

ran end-to-end, no issues

@saumyapandyaa
Copy link

saumyapandyaa commented Sep 6, 2023

guide-microprofile-telemetry-jaeger

Output of ‘mvn liberty: run’ from finish/system directory:

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on OpenJDK 64-Bit Server VM, version 20.0.1 (en_CA)

Output of mvn liberty: run from ‘finish/inventory’ directory:

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on OpenJDK 64-Bit Server VM, version 20.0.1 (en_CA)

ran from finish, no issues

@jakub-pomykala
Copy link
Contributor

jakub-pomykala commented Sep 6, 2023

Guide-microprofile-graphql

Run from finish

Output for system:1.0-java17-SNAPSHOT from docker logs

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.20+8 (en_US)

Output for system:1.0-java11-SNAPSHOT from docker logs

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.20+8 (en_US)

Output for graphql:1.0-SNAPSHOT from docker logs

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.20+8 (en_US)

No issues found

@jakub-pomykala
Copy link
Contributor

guide-mongodb-intro

Run from finish

Output from mvn liberty:run

[INFO] Launching defaultServer (Open Liberty 23.0.0.8/wlp-1.0.80.cl230820230807-0401) on Eclipse OpenJ9 VM, version 11.0.17+8 (en_US)

No issues found

@shin19991207
Copy link
Contributor

shin19991207 commented Sep 6, 2023

guide-social-media-login

Output from mvn liberty:dev:

[INFO] Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)

Tested guide end-to-end, no issues.

guide-microprofile-jwt

Output from mvn liberty:run from finish/frontend directory:

[INFO] Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)

Output from mvn liberty:run from finish/system directory:

[INFO] Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)

Ran guide end-to-end, no issues.

draft-guide-microprofile-config-profile

Output from mvn -P testing liberty:run from system directory:

[INFO] Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_US)

Output from mvn liberty:dev -Dliberty.var.mp.config.profile="testing" from query directory:

[INFO] Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_US)

Output from mvn liberty:dev from query directory:

[INFO] Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_US)

Tested guide end-to-end, no issues.

@Ruilin-Ma
Copy link

guide-sessions

Output from /start with mvn liberty:dev :

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.19+7 (en_US)

Ran docker build -t cart-app:1.0-SNAPSHOT . in start:

[1/5] FROM docker.io/guidesbot/olguides:cl230920230904-1158@sha256:988d0b3d588249a39a21d76ad2f234ad05493f6de8f63555f87cc7e5e2d32d90  

Output from kubectl logs cart-deployment-6df9dfb897-njq9c:

Launching defaultServer (Open Liberty 23.0.0.9/wlp-1.0.81.cl230920230904-1158) on Eclipse OpenJ9 VM, version 11.0.20+8 (en_US)

Ran kubectl exec -it cart-deployment-576b584845-72shj -- cat /logs/messages.log in start:

********************************************************************************
product = Open Liberty 23.0.0.9 (wlp-1.0.81.cl230920230904-1158)
wlp.install.dir = /opt/ol/wlp/
server.output.dir = /opt/ol/wlp/output/defaultServer/
java.home = /opt/java/openjdk
java.version = 11.0.20
java.runtime = IBM Semeru Runtime Open Edition (11.0.20+8)
os = Linux (5.15.0-82-generic; amd64) (en_US)
process = 1@10.244.0.11
Classpath = /opt/ol/wlp/bin/tools/ws-server.jar
Java Library path = /opt/java/openjdk/lib/default:/opt/java/openjdk/lib:/usr/lib64:/usr/lib
********************************************************************************

Ran guide end-to-end, no issues

@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

5 participants