OpenLiberty / guides-common

Common Guide files
Other
9 stars 6 forks source link

Test the guides with 22.0.0.4 GM candidate build #794

Closed gkwan-ibm closed 2 years ago

gkwan-ibm commented 2 years ago

Candidate build: cl220420220328-1303

Manual test the guides against GM with Semeru JDK 11:

Additional guides:

When completed:

Tests instructions:

ryan-storey commented 2 years ago

guide-kubernetes-microprofile-config

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

[1/4] FROM docker.io/guidesbot/olguides:cl220420220328-1303@sha256:974a9954e49fef2d4654a2f1b61222981596762db887e135e3a300249bedf719 

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

[1/4] FROM docker.io/guidesbot/olguides:cl220420220328-1303@sha256:974a9954e49fef2d4654a2f1b61222981596762db887e135e3a30024  169.9s

Output from docker logs <inventory-container-id>:

Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 11.0.14.1+1 (en_US)

Output from docker logs <system-container-id>:

Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 11.0.14.1+1 (en_US)

Ran guide end-to-end no issues.

guide-microprofile-graphql

Output from docker build -t system:1.0-java8-SNAPSHOT --build-arg JAVA_VERSION=java8 system/.:

[1/4] FROM docker.io/guidesbot/olguides:cl220420220328-1303@sha256:974a9954e49fef2d  0.0s

Output from docker build -t system:1.0-java11-SNAPSHOT --build-arg JAVA_VERSION=java11 system/.:

[1/4] FROM docker.io/guidesbot/olguides:cl220420220328-1303@sha256:974a9954e49fef2d4654a2f  0.0s

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

[1/4] FROM docker.io/guidesbot/olguides:cl220420220328-1303@sha256:974a9954e49fef2d  0.0s

Output from docker logs:

Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 11.0.14.1+1 (en_US)

Ran guide end-to-end, no issues.

priyyanshi commented 2 years ago

guide-mongodb-intro

Output from mvn liberty:dev in start directory:

[INFO] Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 11.0.14.1+1 (en_US)

Ran guide end-to-end, faced no issues.

guide-social-media-login

Output from mvn liberty:dev in start directory:

[INFO] Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 11.0.14.1+1 (en_US)

Ran guide end-to-end, no issues.

guide-spring-boot

Output from docker build -t springboot .:

 => [stage-1 1/5] FROM docker.io/guidesbot/olguides:cl220420220328-1303@sha256:974a9954e49fef2d4654a2f1b61222981596762db887e135e3a300249bedf719                                          8.5s

Output from docker logs springBootContainer:

Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 11.0.14.1+1 (en_US)

Output from ./mvnw liberty:run in start directory:

[INFO] Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 17.0.1+12 (en_US)

Ran guide end-to-end, no issues until the last command java -jar target/GSSpringBootApp.jar which results in the following error as expected.

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-04-04 16:52:57.255 ERROR 82602 --- [ecutor-thread-6] o.s.boot.SpringApplication               : Application run failed

javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class com.ibm.ws.kernel.boot.jmx.internal.PlatformMBeanServerBuilder: java.lang.ClassNotFoundException: com.ibm.ws.kernel.boot.jmx.internal.PlatformMBeanServerBuilder
        at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:503) ~[na:1.8.0_311]
        at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:539) ~[na:1.8.0_311]
        at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316) ~[na:1.8.0_311]
rutavshah commented 2 years ago

guide-sessions

Output from mvn liberty:dev:

[INFO] Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 11.0.14.1+1 (en_US)

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

FROM docker.io/guidesbot/olguides:cl220420220328-1303

Output from docker logs:

Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 11.0.14.1+1 (en_US)

Ran guide end-to-end, ran without issues after changing hazelcast version to 3.12.12

guide-microprofile-reactive-messaging

Output from

docker build -t system:1.0-SNAPSHOT system/.
docker build -t inventory:1.0-SNAPSHOT inventory/.
FROM docker.io/guidesbot/olguides:cl220420220328-1303
FROM docker.io/guidesbot/olguides:cl220420220328-1303

Output from docker logs:

Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 11.0.14.1+1 (en_US)
Launching defaultServer (Open Liberty 22.0.0.4/wlp-1.0.63.cl220420220328-1303) on Eclipse OpenJ9 VM, version 11.0.14.1+1 (en_US)

Ran guide end-to-end, no issues.

gkwan-ibm commented 2 years ago

close