Closed gkwan-ibm closed 1 year ago
Output from mvn -P testing liberty:run
from start/system
directory:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)
Output from mvn liberty:dev
from start/query
directory:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)
Output from mvn liberty:dev
from start/system
directory:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)
Output from mvn liberty:dev -Dliberty.var.mp.config.profile="development"
from start/query
directory:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)
Ran guide end-to-end, no issue.
Output from mvn liberty:run
from system
directory:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)
Output from mvn liberty:run
from query
directory:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)
Ran guide end-to-end, no issue.
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on Eclipse OpenJ9 VM, version 11.0.15+10 (en_CA)
Cargo Tracker displays and runs properly on the 23.0.0.1 candidate build with full functionality after running the user testing instructions.
guide-microprofile-jwt
cd start/frontend
mvn liberty:dev
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on OpenJDK 64-Bit Server VM, version 11.0.15+10-jvmci-22.1-b06 (en_GB)
cd start/system
mvn liberty:dev
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on OpenJDK 64-Bit Server VM, version 11.0.15+10-jvmci-22.1-b06 (en_GB)
Integration test results
[INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running it.io.openliberty.guides.system.SystemEndpointIT [INFO] [ERROR ] CWWKS5522E: The MicroProfile JWT feature cannot perform authentication because a MicroProfile JWT cannot be found in the request. [INFO] [ERROR ] CWWKS5522E: The MicroProfile JWT feature cannot perform authentication because a MicroProfile JWT cannot be found in the request. [INFO] [ERROR ] CWWKS5522E: The MicroProfile JWT feature cannot perform authentication because a MicroProfile JWT cannot be found in the request. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.409 s - in it.io.openliberty.guides.system.SystemEndpointIT [INFO] [INFO] Results: [INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
Ran guide end-to-end, no issue.
Output from mvn liberty:dev
:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) 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:cl230120230123-2118
Output from kubectl logs cart-deployment-576b584845-4lztg
:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) 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 23.0.0.1 (wlp-1.0.73.cl230120230123-2118)
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.
Output from docker build -t system:1.0-SNAPSHOT system/.
:
Step 1/7 : FROM guidesbot/olguides:cl230120230123-2118
Output from docker build -t inventory:1.0-SNAPSHOT inventory/.
:
Step 1/7 : FROM guidesbot/olguides:cl230120230123-2118
Output from docker logs system
:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) 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 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on OpenJDK 64-Bit Server VM, version 11.0.17+8-post-Ubuntu-1ubuntu222.04 (en_US)
Ran guide end-to-end, no issue.
Output from mvn liberty:dev
:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on OpenJDK 64-Bit Server VM, version 11.0.17+8-post-Ubuntu-1ubuntu222.04 (en_US)
Ran guide end-to-end without issue.
cd start
mvn clean package
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for guide-kubernetes-microprofile-config 1.0-SNAPSHOT: [INFO] [INFO] guide-kubernetes-microprofile-config-system ........ SUCCESS [ 2.264 s] [INFO] guide-kubernetes-microprofile-config-inventory ..... SUCCESS [ 0.524 s] [INFO] guide-kubernetes-microprofile-config ............... SUCCESS [ 0.001 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------
docker pull guidesbot/olguides:cl230120230123-2118
Status: Downloaded newer image for guidesbot/olguides:cl230120230123-2118 docker.io/guidesbot/olguides:cl230120230123-2118
docker build -t system:1.0-SNAPSHOT system/.
=> [internal] load metadata for docker.io/guidesbot/olguides:cl230120230123-2118 0.0s => [1/4] FROM docker.io/guidesbot/olguides:cl230120230123-2118 0.1s
docker build -t inventory:1.0-SNAPSHOT inventory/.
=> [internal] load metadata for docker.io/guidesbot/olguides:cl230120230123-2118 0.0s => CACHED [1/4] FROM docker.io/guidesbot/olguides:cl230120230123-2118 0.0s
kubectl apply -f kubernetes.yaml
deployment.apps/system-deployment created deployment.apps/inventory-deployment created service/system-service created service/inventory-service created
kubectl get pods
NAME READY STATUS RESTARTS AGE inventory-deployment-594bdc4c77-4s8c2 1/1 Running 0 61s system-deployment-747ff66f8-4t858 1/1 Running 0 61s
kubectl replace --force -f kubernetes.yaml
deployment.apps "system-deployment" deleted deployment.apps "inventory-deployment" deleted service "system-service" deleted service "inventory-service" deleted deployment.apps/system-deployment replaced deployment.apps/inventory-deployment replaced service/system-service replaced service/inventory-service replaced
kubectl get pods
NAME READY STATUS RESTARTS AGE inventory-deployment-6cc6f79794-zghn8 1/1 Running 0 52s system-deployment-5dd6b4d994-d5ms4 1/1 Running 0 52s
Ran guide end-to-end without issue.
mvn liberty:run
in frontendUI[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on Eclipse OpenJ9 VM, version 17.0.4.1-ea+1 (en_GB)
mvn liberty:run
in backendServices[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on Eclipse OpenJ9 VM, version 17.0.4.1-ea+1 (en_GB)
Run end to end - no issues
docker build -t system:1.0-java8-SNAPSHOT --build-arg JAVA_VERSION=java8 system/.
Step 4/8 : FROM guidesbot/olguides:cl221320221205-1900
docker build -t system:1.0-java11-SNAPSHOT --build-arg JAVA_VERSION=java11 system/.
Step 4/8 : FROM guidesbot/olguides:cl221320221205-1900
docker build -t graphql:1.0-SNAPSHOT graphql/.
Step 1/7 : FROM guidesbot/olguides:cl221320221205-1900
docker logs system:1.0-java8-SNAPSHOT
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)
docker logs system:1.0-java11-SNAPSHOT
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)
dockr logs graphql:1.0-SNAPSHOT
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 end to end - no issues.
Output from mvn liberty:run
:
[INFO] Launching defaultServer (Open Liberty 23.0.0.1/wlp-1.0.73.cl230120230123-2118) on Eclipse OpenJ9 VM, version 11.0.11+9 (en_US)
Ran end to end - no issues.
close
Candidate build:
cl230120230123-2118
https://github.com/OpenLiberty/guides-common/actions/runs/3993487984
https://github.com/OpenLiberty/guides-common/actions/runs/4004552481
Manual test the guides against GM with Semeru JDK 11:
Additional guides:
When completed:
#was-gm-testing
slack channel (Gilbert)Tests instructions: