OpenLiberty / guides-common

Common Guide files
Other
9 stars 6 forks source link

Test the guides with OL 24.0.0.1 GM candidate build #1015

Closed gkwan-ibm closed 10 months ago

gkwan-ibm commented 10 months ago

Candidate build: cl240120240115-2042

Manual test the guides against GM with Semeru JDK 11:

Additional guides:

When completed:

Tests instructions:

gkwan-ibm commented 10 months ago

guide-microprofile-telemetry-jaeger

[INFO] Getting: https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/2024-01-15_2042/openliberty-all-24.0.0.1-cl240120240115-2042.zip
[INFO] To: /Users/gkwan/.m2/repository/wlp-cache/openliberty-all-24.0.0.1-cl240120240115-2042.zip
[INFO] Not modified - so not downloaded
[INFO] CWWKM2143I: Server defaultServer does not exist. Now creating...
[INFO] CWWKM2001I: Invoke command is [/Users/gkwan/tasks/CNAI/guides/working/microprofile-telemetry-jaeger/prod/guide-microprofile-telemetry-jaeger/start/inventory/target/liberty/wlp/bin/server, create, defaultServer].
[INFO] 
[INFO] Server defaultServer created.
gkwan-ibm commented 10 months ago

guide-microprofile-graphql

bash-4.4$ cat messages.log 
********************************************************************************
product = Open Liberty 24.0.0.1 (wlp-1.0.85.cl240120240115-2042)
wlp.install.dir = /opt/ol/wlp/
server.output.dir = /opt/ol/wlp/output/defaultServer/
java.home = /opt/java/openjdk
java.version = 11.0.21
java.runtime = IBM Semeru Runtime Open Edition (11.0.21+9)
os = Linux (6.1.29-0-virt; amd64) (en_US)
process = 1@172.25.0.3
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
********************************************************************************
gkwan-ibm commented 10 months ago

guide-mongodb-intro

[INFO] Getting: https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/2024-01-15_2042/openliberty-all-24.0.0.1-cl240120240115-2042.zip
[INFO] To: /Users/gkwan/.m2/repository/wlp-cache/openliberty-all-24.0.0.1-cl240120240115-2042.zip
[INFO] Not modified - so not downloaded
[INFO] CWWKM2143I: Server defaultServer does not exist. Now creating...
[INFO] CWWKM2001I: Invoke command is [/Users/gkwan/tasks/CNAI/guides/working/mongodb-intro/prod/guide-mongodb-intro/start/target/liberty/wlp/bin/server, create, defaultServer].
[INFO] 
[INFO] Server defaultServer created.
Ruilin-Ma commented 10 months ago

guide-social-media-login

Output from mvn liberty:dev in finish directory:

Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on OpenJDK 64-Bit Server VM, version 17.0.7+7 (en_CA)

Output from mvn liberty:dev in start directory:

Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on OpenJDK 64-Bit Server VM, version 17.0.7+7 (en_CA)

Ran end-to-end, no issues.

gkwan-ibm commented 10 months ago

guide-sessions

[INFO] Getting: https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/2024-01-15_2042/openliberty-all-24.0.0.1-cl240120240115-2042.zip
[INFO] To: /root/.m2/repository/wlp-cache/openliberty-all-24.0.0.1-cl240120240115-2042.zip
[INFO] CWWKM2143I: Server defaultServer does not exist. Now creating...
[INFO] CWWKM2001I: Invoke command is [/tasks/CNAI/guides/guide-sessions/start/target/liberty/wlp/bin/server, create, defaultServer].
[INFO] 
[INFO] Server defaultServer created.

and

[root@gkwan-redhat1 start]# kubectl exec -it cart-deployment-56fb4b5f6f-c6nxr -- cat /logs/messages.log
********************************************************************************
product = Open Liberty 24.0.0.1 (wlp-1.0.85.cl240120240115-2042)
wlp.install.dir = /opt/ol/wlp/
server.output.dir = /opt/ol/wlp/output/defaultServer/
java.home = /opt/java/openjdk
java.version = 11.0.21
java.runtime = IBM Semeru Runtime Open Edition (11.0.21+9)
os = Linux (4.18.0-513.11.1.el8_9.x86_64; amd64) (en_US)
process = 1@10.244.0.5
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
********************************************************************************
[1/16/24, 17:10:07:605 UTC] 00000001 com.ibm.ws.kernel.launch.internal.FrameworkManager           A CWWKE0001I: The server defaultServer has been launched.
Ruilin-Ma commented 10 months ago

guide-microprofile-jwt

Run from finish:

Ran end-to-end, no issues.

Ruilin-Ma commented 10 months ago

CargoTracker

Output from mvn -P openliberty liberty:dev

Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on OpenJDK 64-Bit Server VM, version 17.0.7+7 (en_CA)

Ran guide end-to-end, no issues.

Ruilin-Ma commented 10 months ago

guide-kubernetes-microprofile-config

Output from kubectl logs inventory-deployment

Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on Eclipse OpenJ9 VM, version 11.0.21+9 (en_US)

Output from kubectl logs system-deployment

Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on Eclipse OpenJ9 VM, version 11.0.21+9 (en_US)

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

shin19991207 commented 10 months ago

guide-jpa-intro

Output from mvn liberty:run from frontendUI directory:

[INFO] Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on OpenJDK 64-Bit Server VM, version 11.0.20.1+1 (en_CA)

Output from mvn liberty:run from backendServices directory:

[INFO] Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on OpenJDK 64-Bit Server VM, version 11.0.20.1+1 (en_CA)

Ran guide end-to-end, no issues.

guide-microprofile-reactive-messaging

Output from docker logs system:

Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on Eclipse OpenJ9 VM, version 11.0.21+9 (en_US)

Output from docker logs inventory:

Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on Eclipse OpenJ9 VM, version 11.0.21+9 (en_US)

Ran guide end-to-end on branch mp6-ee10-update, no issues.

draft-guide-microprofile-config-profile

Output from mvn liberty:dev from system directory:

[INFO] Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on OpenJDK 64-Bit Server VM, version 11.0.20.1+1 (en_CA)

Output from mvn liberty:dev from query directory:

[INFO] Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on OpenJDK 64-Bit Server VM, version 11.0.20.1+1 (en_CA)

Ran guide end-to-end, no issues.

draft-guide-testcontainers

Output from mvn verify:

24367 INFO it.io.openliberty.guides.inventory.LibertyContainer  - STDOUT: Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on Eclipse OpenJ9 VM, version 11.0.21+9 (en_US)

Output from mvn liberty:devc -DcontainerRunOpts="-e DB_HOSTNAME=172.17.0.2" -DserverStartTimeout=240:

[INFO] Launching defaultServer (Open Liberty 24.0.0.1/wlp-1.0.85.cl240120240115-2042) on Eclipse OpenJ9 VM, version 11.0.21+9 (en_US)

Ran guide end-to-end, no issues.

gkwan-ibm commented 10 months ago

close