OpenLiberty / guides-common

Common Guide files
Other
9 stars 6 forks source link

Test the guides with 22.0.0.13 GM candidate build #863

Closed gkwan-ibm closed 1 year ago

gkwan-ibm commented 1 year ago

Candidate build: cl221320221205-1900

Manual test the guides against GM with Semeru JDK 11:

Additional guides:

When completed:

Tests instructions:

jakub-pomykala commented 1 year ago

guide-jpa-intro

backend

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 17.0.4.1-ea+1 (en_GB)

frontend

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 17.0.4.1-ea+1 (en_GB)

Run successfully from finish - no issues.

ReeceNana commented 1 year ago

guide-social-media-login

Output from mvn liberty:dev:

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.16.1-ea+1 (en_GB)

Ran guide end-to-end without issue.

jakub-pomykala commented 1 year ago

guide-mongodb-intro

Could not run locally. Maybe due to M1 chip and docker:

Tested on Cloud-hosted environment

from finish no issues

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.11+9 (en_US)
shin19991207 commented 1 year ago

draft-guide-grpc-intro

Output from mvn -pl system liberty:run:

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)

Output from mvn -pl query liberty:run:

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)

Ran guide end-to-end without issue.

guide-microprofile-jwt

Output from mvn liberty:run from frontend directory:

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)

Output from mvn liberty:run from system directory:

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)

Ran guide end-to-end, no issue.

guide-kubernetes-config

Output from docker build -t system:1.0-SNAPSHOT system/.:

 => [1/4] FROM docker.io/guidesbot/olguides:cl221320221205-1900                                     0.1s

Output from docker build -t inventory:1.0-SNAPSHOT inventory/.:

 => CACHED [1/4] FROM docker.io/guidesbot/olguides:cl221320221205-1900                              0.0s

Output from kubectl logs inventory-deployment-584bdd79c-r77c6:

Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.17+8 (en_US)

Output from kubectl logs system-deployment-879b494cc-87hw5:

Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.17+8 (en_US)

Ran guide end-to-end without issues.

shin19991207 commented 1 year ago

CargoTracker

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)

Cargo Tracker displays and runs properly on the 22.0.0.13 candidate build with full functionality after running the user testing instructions.

jakub-pomykala commented 1 year ago

guide-microprofile-graphql

Run in cloud-hosted

graphql
Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.17+8 (en_US)
system java 8
Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.17+8 (en_US)
system java 11
Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on Eclipse OpenJ9 VM, version 11.0.17+8 (en_US)

Run as expected

ReeceNana commented 1 year ago

guide-sessions

Output from mvn liberty:dev:

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on OpenJDK 64-Bit Server VM, version 11.0.17+8-post-Ubuntu-1ubuntu222.04 (en_US)

Output from docker build -t cart-app:1.0-SNAPSHOT:

Step 1/8 : FROM guidesbot/olguides:cl221320221205-1900 

Output from kubectl logs cart-deployment-576b584845-4lztg:

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on OpenJDK 64-Bit Server VM, version 11.0.17+8-post-Ubuntu-1ubuntu222.04 (en_US)

Output from kubectl exec -it cart-deployment-576b584845-4lztg -- cat /logs/messages.log:

********************************************************************************
product = Open Liberty 22.0.0.13 (wlp-1.0.71.cl221320221205-1900)
wlp.install.dir = /opt/ol/wlp/
server.output.dir = /opt/ol/wlp/output/defaultServer/
java.home = /opt/java/openjdk
java.version = 11.0.16.1
java.runtime = IBM Semeru Runtime Open Edition (11.0.16.1+1)
os = Linux (5.15.0-52-generic; amd64) (en_US)
process = 1@172.17.0.3
Classpath = /opt/ol/wlp/bin/tools/ws-server.jar:/opt/ol/wlp/bin/tools/ws-javaagent.jar
Java Library path = /opt/java/openjdk/lib/default:/opt/java/openjdk/lib:/usr/lib64:/usr/lib
********************************************************************************

Ran guide end-to-end, no issue.

ReeceNana commented 1 year ago

guide-microprofile-reactive-messaging

Output from docker build -t system:1.0-SNAPSHOT system/. :

Step 1/7 : FROM guidesbot/olguides:cl221320221205-1900 

Output from docker build -t inventory:1.0-SNAPSHOT inventory/. :

Step 1/7 : FROM guidesbot/olguides:cl221320221205-1900 

Output from docker logs system :

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on OpenJDK 64-Bit Server VM, version 11.0.17+8-post-Ubuntu-1ubuntu222.04 (en_US)

Output from docker logs inventory :

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on OpenJDK 64-Bit Server VM, version 11.0.17+8-post-Ubuntu-1ubuntu222.04 (en_US)

Ran guide end-to-end, no issue.

ReeceNana commented 1 year ago

draft-guide-jakarta-websocket

Output from mvn -pl system liberty:run :

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on OpenJDK 64-Bit Server VM, version 11.0.17+8-post-Ubuntu-1ubuntu222.04 (en_US)

Output from mvn -pl client liberty:run :

[INFO] Launching defaultServer (Open Liberty 22.0.0.13/wlp-1.0.72.cl221320221205-1900) on OpenJDK 64-Bit Server VM, version 11.0.17+8-post-Ubuntu-1ubuntu222.04 (en_US)

Ran guide end-to-end, no issue.

gkwan-ibm commented 1 year ago

close