go: downloading github.com/joho/godotenv v1.4.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading golang.org/x/net v0.0.0-20201224014010-6772e930b67b go: downloading golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 time="2023-03-16T18:39:54Z" level=info msg="Running command oc new-project istio-system" time="2023-03-16T18:39:54Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply750448673.yaml" time="2023-03-16T18:39:55Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic created" time="2023-03-16T18:39:55Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply892895500.yaml" time="2023-03-16T18:39:57Z" level=info msg="Command output: \nservicemeshmemberroll.maistra.io/default created" === RUN A1 === RUN A1/smcp_test_install_2.3 time="2023-03-16T18:40:28Z" level=info msg="Create SMCP v2.3 in istio-system" time="2023-03-16T18:40:28Z" level=info msg="Running command oc new-project istio-system" time="2023-03-16T18:40:28Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply067565307.yaml" time="2023-03-16T18:40:28Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic unchanged" time="2023-03-16T18:40:28Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply811926558.yaml" time="2023-03-16T18:40:29Z" level=info msg="Command output: \nservicemeshmemberroll.maistra.io/default unchanged" time="2023-03-16T18:40:29Z" level=info msg="Waiting for mesh installation to complete" time="2023-03-16T18:40:29Z" level=info msg="Running command oc wait --for condition=Ready -n istio-system smcp/basic --timeout 300s" time="2023-03-16T18:40:29Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic condition met" time="2023-03-16T18:40:29Z" level=info msg="Verify SMCP status and pods" time="2023-03-16T18:40:29Z" level=info msg="Running command oc get -n istio-system smcp/basic -o wide" time="2023-03-16T18:40:29Z" level=info msg="Command output: \nNAME READY STATUS PROFILES VERSION AGE IMAGE REGISTRY\nbasic 9/9 ComponentsReady [\"default\"] 2.3.2 34s " time="2023-03-16T18:40:29Z" level=info msg="Running command oc get -n istio-system pods" time="2023-03-16T18:40:29Z" level=info msg="Command output: \nNAME READY STATUS RESTARTS AGE\ngrafana-74f7b4c76d-gv5jm 2/2 Running 0 24s\nistio-egressgateway-56f7c6877d-ngrhk 1/1 Running 0 25s\nistio-ingressgateway-7c899d8f85-cfgn7 1/1 Running 0 25s\nistiod-basic-57cdf5cccd-sgcc8 1/1 Running 0 33s\njaeger-867847cd7f-2jvcn 2/2 Running 0 22s\nprometheus-547bd664c6-v6tvv 2/2 Running 0 29s" === RUN A1/smcp_test_uninstall_2.3 time="2023-03-16T18:40:29Z" level=info msg="Delete SMCP v2.3 in istio-system" time="2023-03-16T18:40:29Z" level=info msg="Running command kubectl delete -n istio-system -f /tmp/kubedelete478630629.yaml" time="2023-03-16T18:40:29Z" level=info msg="Running command kubectl delete -n istio-system -f /tmp/kubedelete537569536.yaml" === RUN A1/smcp_test_install_2.2 time="2023-03-16T18:41:16Z" level=info msg="Create SMCP v2.2 in istio-system" time="2023-03-16T18:41:16Z" level=info msg="Running command oc new-project istio-system" time="2023-03-16T18:41:16Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply639235167.yaml" time="2023-03-16T18:41:16Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic created" time="2023-03-16T18:41:16Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply991279666.yaml" time="2023-03-16T18:41:18Z" level=info msg="Command output: \nservicemeshmemberroll.maistra.io/default created" time="2023-03-16T18:41:18Z" level=info msg="Waiting for mesh installation to complete" time="2023-03-16T18:41:18Z" level=info msg="Running command oc wait --for condition=Ready -n istio-system smcp/basic --timeout 300s" time="2023-03-16T18:41:39Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic condition met" time="2023-03-16T18:41:39Z" level=info msg="Verify SMCP status and pods" time="2023-03-16T18:41:39Z" level=info msg="Running command oc get -n istio-system smcp/basic -o wide" time="2023-03-16T18:41:40Z" level=info msg="Command output: \nNAME READY STATUS PROFILES VERSION AGE IMAGE REGISTRY\nbasic 10/10 ComponentsReady [\"default\"] 2.2.6 23s " time="2023-03-16T18:41:40Z" level=info msg="Running command oc get -n istio-system pods" time="2023-03-16T18:41:40Z" level=info msg="Command output: \nNAME READY STATUS RESTARTS AGE\ngrafana-7b9b8767d9-vzlh8 2/2 Running 0 13s\nistio-egressgateway-598545bf45-7h82q 1/1 Running 0 13s\nistio-ingressgateway-d9c795dd8-2x5n5 1/1 Running 0 13s\nistiod-basic-6bc7dd57fb-vxn46 1/1 Running 0 22s\njaeger-5f46c67b8c-5mfgz 2/2 Running 0 10s\nprometheus-9cc587655-mpvr9 2/2 Running 0 19s\nwasm-cacher-basic-58894856d5-7bpgg 1/1 Running 0 8s" === RUN A1/smcp_test_uninstall_2.2 time="2023-03-16T18:41:40Z" level=info msg="Delete SMCP v2.2 in istio-system" time="2023-03-16T18:41:40Z" level=info msg="Running command kubectl delete -n istio-system -f /tmp/kubedelete328946665.yaml" time="2023-03-16T18:41:40Z" level=info msg="Running command kubectl delete -n istio-system -f /tmp/kubedelete350700084.yaml" === RUN A1/smcp_test_install_2.1 time="2023-03-16T18:42:28Z" level=info msg="Create SMCP v2.1 in namespace istio-system" time="2023-03-16T18:42:28Z" level=info msg="Running command oc new-project istio-system" time="2023-03-16T18:42:28Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply425689091.yaml" time="2023-03-16T18:42:28Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic created" time="2023-03-16T18:42:28Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply163009414.yaml" time="2023-03-16T18:42:29Z" level=info msg="Command output: \nservicemeshmemberroll.maistra.io/default created" time="2023-03-16T18:42:29Z" level=info msg="Waiting for mesh installation to complete" time="2023-03-16T18:42:29Z" level=info msg="Running command oc wait --for condition=Ready -n istio-system smcp/basic --timeout 300s" time="2023-03-16T18:42:52Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic condition met" time="2023-03-16T18:42:52Z" level=info msg="Verify SMCP status and pods" time="2023-03-16T18:42:52Z" level=info msg="Running command oc get -n istio-system smcp/basic -o wide" time="2023-03-16T18:42:52Z" level=info msg="Command output: \nNAME READY STATUS PROFILES VERSION AGE IMAGE REGISTRY\nbasic 10/10 ComponentsReady [\"default\"] 2.1.6 23s " time="2023-03-16T18:42:52Z" level=info msg="Running command oc get -n istio-system pods" time="2023-03-16T18:42:52Z" level=info msg="Command output: \nNAME READY STATUS RESTARTS AGE\ngrafana-86864f67cb-qr24k 2/2 Running 0 14s\nistio-egressgateway-7fc9f4c59d-k882k 1/1 Running 0 14s\nistio-ingressgateway-9cbd5f57-jrpnm 1/1 Running 0 14s\nistiod-basic-785db85c89-kwnqx 1/1 Running 0 23s\njaeger-8464585966-d5wf4 2/2 Running 0 11s\nprometheus-7f85fb45db-rzbd7 2/2 Running 0 19s\nwasm-cacher-basic-8667c8fcb5-z2992 1/1 Running 0 9s" === RUN A1/smcp_test_uninstall_2.1 time="2023-03-16T18:42:52Z" level=info msg="Delete SMCP v2.1 in istio-system" time="2023-03-16T18:42:52Z" level=info msg="Running command kubectl delete -n istio-system -f /tmp/kubedelete368818989.yaml" time="2023-03-16T18:42:52Z" level=info msg="Running command kubectl delete -n istio-system -f /tmp/kubedelete909715624.yaml" === RUN A1/smcp_test_upgrade_2.1_to_2.2 time="2023-03-16T18:44:00Z" level=info msg="Create SMCP v2.1 in namespace istio-system" time="2023-03-16T18:44:00Z" level=info msg="Running command oc new-project istio-system" time="2023-03-16T18:44:00Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply153130471.yaml" time="2023-03-16T18:44:01Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic created" time="2023-03-16T18:44:01Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply590531610.yaml" time="2023-03-16T18:44:01Z" level=info msg="Command output: \nservicemeshmemberroll.maistra.io/default created" time="2023-03-16T18:44:01Z" level=info msg="Waiting for mesh installation to complete" time="2023-03-16T18:44:01Z" level=info msg="Running command oc wait --for condition=Ready -n istio-system smcp/basic --timeout 300s" time="2023-03-16T18:44:22Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic condition met" time="2023-03-16T18:44:22Z" level=info msg="Verify SMCP status and pods" time="2023-03-16T18:44:22Z" level=info msg="Running command oc get -n istio-system smcp/basic -o wide" time="2023-03-16T18:44:22Z" level=info msg="Command output: \nNAME READY STATUS PROFILES VERSION AGE IMAGE REGISTRY\nbasic 10/10 ComponentsReady [\"default\"] 2.1.6 22s " time="2023-03-16T18:44:22Z" level=info msg="Running command oc get -n istio-system pods" time="2023-03-16T18:44:22Z" level=info msg="Command output: \nNAME READY STATUS RESTARTS AGE\ngrafana-86864f67cb-c7cp8 2/2 Running 0 13s\nistio-egressgateway-7fc9f4c59d-hclfr 1/1 Running 0 14s\nistio-ingressgateway-9cbd5f57-gfn54 1/1 Running 0 14s\nistiod-basic-785db85c89-hrj5s 1/1 Running 0 21s\njaeger-746cbf9dcd-h92hk 2/2 Running 0 11s\nprometheus-7f85fb45db-h8rnw 2/2 Running 0 18s\nwasm-cacher-basic-8667c8fcb5-2l8gq 1/1 Running 0 9s" time="2023-03-16T18:44:22Z" level=info msg="Upgrade SMCP to v2.2" time="2023-03-16T18:44:22Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply210776241.yaml" time="2023-03-16T18:44:23Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic configured" time="2023-03-16T18:44:23Z" level=info msg="Waiting for mesh installation to complete" time="2023-03-16T18:44:33Z" level=info msg="Running command oc wait --for condition=Ready -n istio-system smcp/basic --timeout 360s" time="2023-03-16T18:44:50Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic condition met" time="2023-03-16T18:44:50Z" level=info msg="Verify SMCP status and pods" time="2023-03-16T18:44:50Z" level=info msg="Running command oc get -n istio-system smcp/basic -o wide" time="2023-03-16T18:44:50Z" level=info msg="Command output: \nNAME READY STATUS PROFILES VERSION AGE IMAGE REGISTRY\nbasic 10/10 ComponentsReady [\"default\"] 2.2.6 50s " time="2023-03-16T18:44:50Z" level=info msg="Running command oc get -n istio-system pods" time="2023-03-16T18:44:50Z" level=info msg="Command output: \nNAME READY STATUS RESTARTS AGE\ngrafana-7b9b8767d9-5x2dr 2/2 Running 0 18s\nistio-egressgateway-598545bf45-lcvsk 1/1 Running 0 19s\nistio-ingressgateway-d9c795dd8-zjnmm 1/1 Running 0 19s\nistiod-basic-6bc7dd57fb-xt7jw 1/1 Running 0 26s\njaeger-746cbf9dcd-h92hk 2/2 Running 0 39s\nprometheus-9cc587655-hnm9q 2/2 Running 0 22s\nwasm-cacher-basic-58894856d5-jzkjw 1/1 Running 0 9s" === RUN A1/smcp_test_upgrade_2.2_to_2.3 time="2023-03-16T18:44:50Z" level=info msg="Create SMCP v2.2 in namespace istio-system" time="2023-03-16T18:44:50Z" level=info msg="Running command oc new-project istio-system" time="2023-03-16T18:44:51Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply342946396.yaml" time="2023-03-16T18:44:51Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic unchanged" time="2023-03-16T18:44:51Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply055362059.yaml" time="2023-03-16T18:44:51Z" level=info msg="Command output: \nservicemeshmemberroll.maistra.io/default unchanged" time="2023-03-16T18:44:51Z" level=info msg="Waiting for mesh installation to complete" time="2023-03-16T18:44:51Z" level=info msg="Running command oc wait --for condition=Ready -n istio-system smcp/basic --timeout 300s" time="2023-03-16T18:44:52Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic condition met" time="2023-03-16T18:44:52Z" level=info msg="Verify SMCP status and pods" time="2023-03-16T18:44:52Z" level=info msg="Running command oc get -n istio-system smcp/basic -o wide" time="2023-03-16T18:44:52Z" level=info msg="Command output: \nNAME READY STATUS PROFILES VERSION AGE IMAGE REGISTRY\nbasic 10/10 ComponentsReady [\"default\"] 2.2.6 51s " time="2023-03-16T18:44:52Z" level=info msg="Running command oc get -n istio-system pods" time="2023-03-16T18:44:52Z" level=info msg="Command output: \nNAME READY STATUS RESTARTS AGE\ngrafana-7b9b8767d9-5x2dr 2/2 Running 0 19s\nistio-egressgateway-598545bf45-lcvsk 1/1 Running 0 20s\nistio-ingressgateway-d9c795dd8-zjnmm 1/1 Running 0 20s\nistiod-basic-6bc7dd57fb-xt7jw 1/1 Running 0 27s\njaeger-746cbf9dcd-h92hk 2/2 Running 0 40s\nprometheus-9cc587655-hnm9q 2/2 Running 0 23s\nwasm-cacher-basic-58894856d5-jzkjw 1/1 Running 0 10s" time="2023-03-16T18:44:52Z" level=info msg="Upgrade SMCP to v2.2" time="2023-03-16T18:44:52Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply769893358.yaml" time="2023-03-16T18:44:52Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic configured" time="2023-03-16T18:44:52Z" level=info msg="Waiting for mesh installation to complete" time="2023-03-16T18:45:02Z" level=info msg="Running command oc wait --for condition=Ready -n istio-system smcp/basic --timeout 360s" time="2023-03-16T18:45:10Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic condition met" time="2023-03-16T18:45:10Z" level=info msg="Verify SMCP status and pods" time="2023-03-16T18:45:10Z" level=info msg="Running command oc get -n istio-system smcp/basic -o wide" time="2023-03-16T18:45:10Z" level=info msg="Command output: \nNAME READY STATUS PROFILES VERSION AGE IMAGE REGISTRY\nbasic 9/9 ComponentsReady [\"default\"] 2.3.2 70s " time="2023-03-16T18:45:10Z" level=info msg="Running command oc get -n istio-system pods" time="2023-03-16T18:45:11Z" level=info msg="Command output: \nNAME READY STATUS RESTARTS AGE\ngrafana-74f7b4c76d-ptd6j 2/2 Running 0 10s\nistio-egressgateway-56f7c6877d-jczxv 1/1 Running 0 10s\nistio-egressgateway-598545bf45-lcvsk 1/1 Terminating 0 39s\nistio-ingressgateway-7c899d8f85-5r7rd 1/1 Running 0 10s\nistio-ingressgateway-d9c795dd8-zjnmm 1/1 Terminating 0 39s\nistiod-basic-57cdf5cccd-s74mk 1/1 Running 0 18s\njaeger-746cbf9dcd-h92hk 2/2 Running 0 59s\nprometheus-547bd664c6-b77b8 2/2 Running 0 14s\nwasm-cacher-basic-58894856d5-jzkjw 1/1 Terminating 0 29s" time="2023-03-16T18:45:11Z" level=info msg="Create SMCP v2.3 in istio-system" time="2023-03-16T18:45:11Z" level=info msg="Running command oc new-project istio-system" time="2023-03-16T18:45:11Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply557686389.yaml" time="2023-03-16T18:45:11Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic unchanged" time="2023-03-16T18:45:11Z" level=info msg="Running command kubectl apply -n istio-system -f /tmp/kubeapply078935376.yaml" time="2023-03-16T18:45:11Z" level=info msg="Command output: \nservicemeshmemberroll.maistra.io/default unchanged" time="2023-03-16T18:45:11Z" level=info msg="Waiting for mesh installation to complete" time="2023-03-16T18:45:11Z" level=info msg="Running command oc wait --for condition=Ready -n istio-system smcp/basic --timeout 300s" time="2023-03-16T18:45:12Z" level=info msg="Command output: \nservicemeshcontrolplane.maistra.io/basic condition met" --- PASS: A1 (303.69s) --- PASS: A1/smcp_test_install_2.3 (1.28s) --- PASS: A1/smcp_test_uninstall_2.3 (46.71s) --- PASS: A1/smcp_test_install_2.2 (23.70s) --- PASS: A1/smcp_test_uninstall_2.2 (48.09s) --- PASS: A1/smcp_test_install_2.1 (24.18s) --- PASS: A1/smcp_test_uninstall_2.1 (68.18s) --- PASS: A1/smcp_test_upgrade_2.1_to_2.2 (50.33s) --- PASS: A1/smcp_test_upgrade_2.2_to_2.3 (20.09s) === RUN A2 time="2023-03-16T18:45:32Z" level=info msg="Test Bookinfo Installation" time="2023-03-16T18:45:32Z" level=info msg="Deploying Bookinfo" time="2023-03-16T18:45:32Z" level=info msg="Running command kubectl apply -n bookinfo -f ../testdata/examples/x86/bookinfo/bookinfo.yaml" time="2023-03-16T18:45:32Z" level=info msg="Command output: \nservice/details created\nserviceaccount/bookinfo-details created\nWarning: would violate PodSecurity \"restricted:v1.24\": allowPrivilegeEscalation != false (container \"details\" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container \"details\" must set securityContext.capabilities.drop=[\"ALL\"]), runAsNonRoot != true (pod or container \"details\" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container \"details\" must set securityContext.seccompProfile.type to \"RuntimeDefault\" or \"Localhost\")\ndeployment.apps/details-v1 created\nservice/ratings created\nserviceaccount/bookinfo-ratings created\nWarning: would violate PodSecurity \"restricted:v1.24\": allowPrivilegeEscalation != false (container \"ratings\" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container \"ratings\" must set securityContext.capabilities.drop=[\"ALL\"]), runAsNonRoot != true (pod or container \"ratings\" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container \"ratings\" must set securityContext.seccompProfile.type to \"RuntimeDefault\" or \"Localhost\")\ndeployment.apps/ratings-v1 created\nservice/reviews created\nserviceaccount/bookinfo-reviews created\nWarning: would violate PodSecurity \"restricted:v1.24\": allowPrivilegeEscalation != false (container \"reviews\" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container \"reviews\" must set securityContext.capabilities.drop=[\"ALL\"]), runAsNonRoot != true (pod or container \"reviews\" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container \"reviews\" must set securityContext.seccompProfile.type to \"RuntimeDefault\" or \"Localhost\")\ndeployment.apps/reviews-v1 created\ndeployment.apps/reviews-v2 created\ndeployment.apps/reviews-v3 created\nservice/productpage created\nserviceaccount/bookinfo-productpage created\nWarning: would violate PodSecurity \"restricted:v1.24\": allowPrivilegeEscalation != false (container \"productpage\" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container \"productpage\" must set securityContext.capabilities.drop=[\"ALL\"]), runAsNonRoot != true (pod or container \"productpage\" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container \"productpage\" must set securityContext.seccompProfile.type to \"RuntimeDefault\" or \"Localhost\")\ndeployment.apps/productpage-v1 created" time="2023-03-16T18:45:37Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=details -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:45:37Z" level=info msg="Command output: \ndetails-v1-b98dd98d-7wjl2" time="2023-03-16T18:45:37Z" level=info msg="app=details pod name: details-v1-b98dd98d-7wjl2" time="2023-03-16T18:45:37Z" level=info msg="Running command kubectl -n bookinfo get pods details-v1-b98dd98d-7wjl2 --no-headers" time="2023-03-16T18:45:38Z" level=info msg="Command output: \ndetails-v1-b98dd98d-7wjl2 2/2 Running 0 5s" time="2023-03-16T18:45:38Z" level=info msg="Got the pod name=app=details running!" time="2023-03-16T18:45:38Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:45:38Z" level=info msg="Command output: \nratings-v1-7dd97b4744-w7wt8" time="2023-03-16T18:45:38Z" level=info msg="app=ratings pod name: ratings-v1-7dd97b4744-w7wt8" time="2023-03-16T18:45:38Z" level=info msg="Running command kubectl -n bookinfo get pods ratings-v1-7dd97b4744-w7wt8 --no-headers" time="2023-03-16T18:45:38Z" level=info msg="Command output: \nratings-v1-7dd97b4744-w7wt8 2/2 Running 0 5s" time="2023-03-16T18:45:38Z" level=info msg="Got the pod name=app=ratings running!" time="2023-03-16T18:45:38Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=reviews,version=v1 -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:45:38Z" level=info msg="Command output: \nreviews-v1-6fd87687b-xhjsm" time="2023-03-16T18:45:38Z" level=info msg="app=reviews,version=v1 pod name: reviews-v1-6fd87687b-xhjsm" time="2023-03-16T18:45:38Z" level=info msg="Running command kubectl -n bookinfo get pods reviews-v1-6fd87687b-xhjsm --no-headers" time="2023-03-16T18:45:38Z" level=info msg="Command output: \nreviews-v1-6fd87687b-xhjsm 2/2 Running 0 5s" time="2023-03-16T18:45:38Z" level=info msg="Got the pod name=app=reviews,version=v1 running!" time="2023-03-16T18:45:38Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=reviews,version=v2 -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:45:38Z" level=info msg="Command output: \nreviews-v2-9475956b8-fd7v6" time="2023-03-16T18:45:38Z" level=info msg="app=reviews,version=v2 pod name: reviews-v2-9475956b8-fd7v6" time="2023-03-16T18:45:38Z" level=info msg="Running command kubectl -n bookinfo get pods reviews-v2-9475956b8-fd7v6 --no-headers" time="2023-03-16T18:45:38Z" level=info msg="Command output: \nreviews-v2-9475956b8-fd7v6 0/2 ContainerCreating 0 6s" time="2023-03-16T18:45:38Z" level=info msg="reviews-v2-9475956b8-fd7v6 in namespace bookinfo is not running: ContainerCreating" time="2023-03-16T18:46:08Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=reviews,version=v2 -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:46:08Z" level=info msg="Command output: \nreviews-v2-9475956b8-fd7v6" time="2023-03-16T18:46:08Z" level=info msg="app=reviews,version=v2 pod name: reviews-v2-9475956b8-fd7v6" time="2023-03-16T18:46:08Z" level=info msg="Running command kubectl -n bookinfo get pods reviews-v2-9475956b8-fd7v6 --no-headers" time="2023-03-16T18:46:08Z" level=info msg="Command output: \nreviews-v2-9475956b8-fd7v6 2/2 Running 0 36s" time="2023-03-16T18:46:08Z" level=info msg="Got the pod name=app=reviews,version=v2 running!" time="2023-03-16T18:46:08Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=reviews,version=v3 -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:46:08Z" level=info msg="Command output: \nreviews-v3-7fdbb7f6d8-pqmjw" time="2023-03-16T18:46:08Z" level=info msg="app=reviews,version=v3 pod name: reviews-v3-7fdbb7f6d8-pqmjw" time="2023-03-16T18:46:08Z" level=info msg="Running command kubectl -n bookinfo get pods reviews-v3-7fdbb7f6d8-pqmjw --no-headers" time="2023-03-16T18:46:09Z" level=info msg="Command output: \nreviews-v3-7fdbb7f6d8-pqmjw 2/2 Running 0 36s" time="2023-03-16T18:46:09Z" level=info msg="Got the pod name=app=reviews,version=v3 running!" time="2023-03-16T18:46:09Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=productpage -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:46:09Z" level=info msg="Command output: \nproductpage-v1-7cf8ddc964-rvjfg" time="2023-03-16T18:46:09Z" level=info msg="app=productpage pod name: productpage-v1-7cf8ddc964-rvjfg" time="2023-03-16T18:46:09Z" level=info msg="Running command kubectl -n bookinfo get pods productpage-v1-7cf8ddc964-rvjfg --no-headers" time="2023-03-16T18:46:09Z" level=info msg="Command output: \nproductpage-v1-7cf8ddc964-rvjfg 2/2 Running 0 36s" time="2023-03-16T18:46:09Z" level=info msg="Got the pod name=app=productpage running!" time="2023-03-16T18:46:09Z" level=info msg="Creating Gateway" time="2023-03-16T18:46:09Z" level=info msg="Running command kubectl apply -n bookinfo -f ../testdata/examples/x86/bookinfo/bookinfo-gateway.yaml" time="2023-03-16T18:46:09Z" level=info msg="Command output: \ngateway.networking.istio.io/bookinfo-gateway created\nvirtualservice.networking.istio.io/bookinfo created" time="2023-03-16T18:46:09Z" level=info msg="Creating destination rules all" time="2023-03-16T18:46:09Z" level=info msg="Running command kubectl apply -n bookinfo -f ../testdata/examples/x86/bookinfo/destination-rule-all.yaml" time="2023-03-16T18:46:10Z" level=info msg="Command output: \ndestinationrule.networking.istio.io/productpage created\ndestinationrule.networking.istio.io/reviews created\ndestinationrule.networking.istio.io/ratings created\ndestinationrule.networking.istio.io/details created" time="2023-03-16T18:46:20Z" level=info msg="Check pods running 2/2 ready" time="2023-03-16T18:46:20Z" level=info msg="Running command oc get pods -n bookinfo" time="2023-03-16T18:46:20Z" level=info msg="Command output: \nNAME READY STATUS RESTARTS AGE\ndetails-v1-b98dd98d-7wjl2 2/2 Running 0 47s\nproductpage-v1-7cf8ddc964-rvjfg 2/2 Running 0 47s\nratings-v1-7dd97b4744-w7wt8 2/2 Running 0 47s\nreviews-v1-6fd87687b-xhjsm 2/2 Running 0 47s\nreviews-v2-9475956b8-fd7v6 2/2 Running 0 47s\nreviews-v3-7fdbb7f6d8-pqmjw 2/2 Running 0 47s" time="2023-03-16T18:46:20Z" level=info msg="Success. proxy container is running." time="2023-03-16T18:46:20Z" level=info msg="Check istiod pod is ready and print istiod logs" time="2023-03-16T18:46:20Z" level=info msg="Running command oc get pods -n istio-system | grep istiod" time="2023-03-16T18:46:20Z" level=info msg="Command output: \nistiod-basic-57cdf5cccd-s74mk 1/1 Running 0 87s" time="2023-03-16T18:46:20Z" level=info msg="Success. istiod pod is running with below logs:" time="2023-03-16T18:46:20Z" level=info msg="Running command oc logs -n istio-system -l app=istiod | grep info" time="2023-03-16T18:46:20Z" level=info msg="Command output: \n \"outbound|9080|v2-mysql-vm|ratings.bookinfo.svc.cluster.local\": {},\n \"outbound|9080|v2-mysql|ratings.bookinfo.svc.cluster.local\": {},\n \"outbound|9080|v2|details.bookinfo.svc.cluster.local\": {},\n \"outbound|9080|v2|ratings.bookinfo.svc.cluster.local\": {}\n2023-03-16T18:46:17.317496Z\tinfo\tads\tPush debounce stable[33] 1 for config Secret/istio-system/kiali-signing-key: 100.420833ms since last change, 100.420432ms since last push, full=false\n2023-03-16T18:46:17.317564Z\tinfo\tads\tXDS: Incremental Pushing:2023-03-16T18:46:10Z/13 ConnectedEndpoints:8 Version:2023-03-16T18:46:10Z/13\n2023-03-16T18:46:18.113941Z\tinfo\tads\tPush debounce stable[34] 1 for config Secret/istio-system/kiali-signing-key: 100.182176ms since last change, 100.181955ms since last push, full=false\n2023-03-16T18:46:18.114087Z\tinfo\tads\tXDS: Incremental Pushing:2023-03-16T18:46:10Z/13 ConnectedEndpoints:8 Version:2023-03-16T18:46:10Z/13" time="2023-03-16T18:46:20Z" level=info msg="Check if bookinfo productpage is running" time="2023-03-16T18:46:20Z" level=info msg="Running command oc -n istio-system get route istio-ingressgateway -o jsonpath='{.spec.host}'" time="2023-03-16T18:46:20Z" level=info msg="Command output: \nistio-ingressgateway-istio-system.apps.fhocp413.0307-xzr.fw.rhcloud.com" time="2023-03-16T18:46:20Z" level=info msg="Running command curl -o /dev/null -s -w \"%{http_code}\\n\" http://istio-ingressgateway-istio-system.apps.fhocp413.0307-xzr.fw.rhcloud.com/productpage" time="2023-03-16T18:46:21Z" level=info msg="Command output: \n200" time="2023-03-16T18:46:21Z" level=info msg="Success. bookinfo productpage is running" --- PASS: A2 (49.42s) === RUN T1 time="2023-03-16T18:46:21Z" level=info msg=TestRequestRouting time="2023-03-16T18:46:21Z" level=info msg="Deploying Bookinfo" time="2023-03-16T18:46:21Z" level=info msg="Running command kubectl apply -n bookinfo -f ../testdata/examples/x86/bookinfo/bookinfo.yaml" time="2023-03-16T18:46:22Z" level=info msg="Command output: \nservice/details unchanged\nserviceaccount/bookinfo-details unchanged\ndeployment.apps/details-v1 unchanged\nservice/ratings unchanged\nserviceaccount/bookinfo-ratings unchanged\ndeployment.apps/ratings-v1 unchanged\nservice/reviews unchanged\nserviceaccount/bookinfo-reviews unchanged\ndeployment.apps/reviews-v1 unchanged\ndeployment.apps/reviews-v2 unchanged\ndeployment.apps/reviews-v3 unchanged\nservice/productpage unchanged\nserviceaccount/bookinfo-productpage unchanged\ndeployment.apps/productpage-v1 unchanged" time="2023-03-16T18:46:27Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=details -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:46:27Z" level=info msg="Command output: \ndetails-v1-b98dd98d-7wjl2" time="2023-03-16T18:46:27Z" level=info msg="app=details pod name: details-v1-b98dd98d-7wjl2" time="2023-03-16T18:46:27Z" level=info msg="Running command kubectl -n bookinfo get pods details-v1-b98dd98d-7wjl2 --no-headers" time="2023-03-16T18:46:27Z" level=info msg="Command output: \ndetails-v1-b98dd98d-7wjl2 2/2 Running 0 54s" time="2023-03-16T18:46:27Z" level=info msg="Got the pod name=app=details running!" time="2023-03-16T18:46:27Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:46:27Z" level=info msg="Command output: \nratings-v1-7dd97b4744-w7wt8" time="2023-03-16T18:46:27Z" level=info msg="app=ratings pod name: ratings-v1-7dd97b4744-w7wt8" time="2023-03-16T18:46:27Z" level=info msg="Running command kubectl -n bookinfo get pods ratings-v1-7dd97b4744-w7wt8 --no-headers" time="2023-03-16T18:46:27Z" level=info msg="Command output: \nratings-v1-7dd97b4744-w7wt8 2/2 Running 0 54s" time="2023-03-16T18:46:27Z" level=info msg="Got the pod name=app=ratings running!" time="2023-03-16T18:46:27Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=reviews,version=v1 -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:46:27Z" level=info msg="Command output: \nreviews-v1-6fd87687b-xhjsm" time="2023-03-16T18:46:27Z" level=info msg="app=reviews,version=v1 pod name: reviews-v1-6fd87687b-xhjsm" time="2023-03-16T18:46:27Z" level=info msg="Running command kubectl -n bookinfo get pods reviews-v1-6fd87687b-xhjsm --no-headers" time="2023-03-16T18:46:27Z" level=info msg="Command output: \nreviews-v1-6fd87687b-xhjsm 2/2 Running 0 55s" time="2023-03-16T18:46:27Z" level=info msg="Got the pod name=app=reviews,version=v1 running!" time="2023-03-16T18:46:27Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=reviews,version=v2 -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:46:27Z" level=info msg="Command output: \nreviews-v2-9475956b8-fd7v6" time="2023-03-16T18:46:27Z" level=info msg="app=reviews,version=v2 pod name: reviews-v2-9475956b8-fd7v6" time="2023-03-16T18:46:27Z" level=info msg="Running command kubectl -n bookinfo get pods reviews-v2-9475956b8-fd7v6 --no-headers" time="2023-03-16T18:46:27Z" level=info msg="Command output: \nreviews-v2-9475956b8-fd7v6 2/2 Running 0 55s" time="2023-03-16T18:46:27Z" level=info msg="Got the pod name=app=reviews,version=v2 running!" time="2023-03-16T18:46:27Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=reviews,version=v3 -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:46:27Z" level=info msg="Command output: \nreviews-v3-7fdbb7f6d8-pqmjw" time="2023-03-16T18:46:27Z" level=info msg="app=reviews,version=v3 pod name: reviews-v3-7fdbb7f6d8-pqmjw" time="2023-03-16T18:46:27Z" level=info msg="Running command kubectl -n bookinfo get pods reviews-v3-7fdbb7f6d8-pqmjw --no-headers" time="2023-03-16T18:46:28Z" level=info msg="Command output: \nreviews-v3-7fdbb7f6d8-pqmjw 2/2 Running 0 55s" time="2023-03-16T18:46:28Z" level=info msg="Got the pod name=app=reviews,version=v3 running!" time="2023-03-16T18:46:28Z" level=info msg="Running command kubectl -n bookinfo get pod -l app=productpage -o jsonpath='{.items[0].metadata.name}'" time="2023-03-16T18:46:28Z" level=info msg="Command output: \nproductpage-v1-7cf8ddc964-rvjfg" time="2023-03-16T18:46:28Z" level=info msg="app=productpage pod name: productpage-v1-7cf8ddc964-rvjfg" time="2023-03-16T18:46:28Z" level=info msg="Running command kubectl -n bookinfo get pods productpage-v1-7cf8ddc964-rvjfg --no-headers" time="2023-03-16T18:46:28Z" level=info msg="Command output: \nproductpage-v1-7cf8ddc964-rvjfg 2/2 Running 0 55s" time="2023-03-16T18:46:28Z" level=info msg="Got the pod name=app=productpage running!" time="2023-03-16T18:46:28Z" level=info msg="Creating Gateway" time="2023-03-16T18:46:28Z" level=info msg="Running command kubectl apply -n bookinfo -f ../testdata/examples/x86/bookinfo/bookinfo-gateway.yaml" time="2023-03-16T18:46:28Z" level=info msg="Command output: \ngateway.networking.istio.io/bookinfo-gateway unchanged\nvirtualservice.networking.istio.io/bookinfo unchanged" time="2023-03-16T18:46:28Z" level=info msg="Creating destination rules all" time="2023-03-16T18:46:28Z" level=info msg="Running command kubectl apply -n bookinfo -f ../testdata/examples/x86/bookinfo/destination-rule-all.yaml" time="2023-03-16T18:46:29Z" level=info msg="Command output: \ndestinationrule.networking.istio.io/productpage unchanged\ndestinationrule.networking.istio.io/reviews unchanged\ndestinationrule.networking.istio.io/ratings unchanged\ndestinationrule.networking.istio.io/details unchanged" === RUN T1/TrafficManagement_test_the_new_routing_configuration time="2023-03-16T18:46:39Z" level=info msg="Routing traffic to all v1" time="2023-03-16T18:46:39Z" level=info msg="Running command kubectl apply -n bookinfo -f ../testdata/examples/x86/bookinfo/virtual-service-all-v1.yaml" time="2023-03-16T18:46:39Z" level=info msg="Command output: \nvirtualservice.networking.istio.io/productpage created\nvirtualservice.networking.istio.io/reviews created\nvirtualservice.networking.istio.io/ratings created\nvirtualservice.networking.istio.io/details created" time="2023-03-16T18:47:00Z" level=info msg="bookinfo productpage returned in 500 ms" time="2023-03-16T18:47:00Z" level=info msg="Success. Routing traffic to all v1." time="2023-03-16T18:47:00Z" level=info msg="bookinfo productpage returned in 30 ms" time="2023-03-16T18:47:00Z" level=info msg="Success. Routing traffic to all v1." time="2023-03-16T18:47:00Z" level=info msg="bookinfo productpage returned in 64 ms" time="2023-03-16T18:47:00Z" level=info msg="Success. Routing traffic to all v1." time="2023-03-16T18:47:00Z" level=info msg="bookinfo productpage returned in 69 ms" time="2023-03-16T18:47:00Z" level=info msg="Success. Routing traffic to all v1." time="2023-03-16T18:47:00Z" level=info msg="bookinfo productpage returned in 63 ms" time="2023-03-16T18:47:00Z" level=info msg="Success. Routing traffic to all v1." time="2023-03-16T18:47:00Z" level=info msg="bookinfo productpage returned in 61 ms" time="2023-03-16T18:47:00Z" level=info msg="Success. Routing traffic to all v1." === RUN T1/TrafficManagement_route_based_on_user_identity time="2023-03-16T18:47:00Z" level=info msg="Traffic routing based on user identity" time="2023-03-16T18:47:00Z" level=info msg="Running command kubectl apply -n bookinfo -f ../testdata/examples/x86/bookinfo/virtual-service-reviews-test-v2.yaml" time="2023-03-16T18:47:00Z" level=info msg="Command output: \nvirtualservice.networking.istio.io/reviews configured" time="2023-03-16T18:47:21Z" level=info msg="bookinfo productpage returned in 608 ms" time="2023-03-16T18:47:21Z" level=info msg="Success. Route_based_on_user_identity." time="2023-03-16T18:47:21Z" level=info msg="bookinfo productpage returned in 62 ms" time="2023-03-16T18:47:21Z" level=info msg="Success. Route_based_on_user_identity." time="2023-03-16T18:47:21Z" level=info msg="bookinfo productpage returned in 37 ms" time="2023-03-16T18:47:21Z" level=info msg="Success. Route_based_on_user_identity." time="2023-03-16T18:47:21Z" level=info msg="bookinfo productpage returned in 76 ms" time="2023-03-16T18:47:21Z" level=info msg="Success. Route_based_on_user_identity." time="2023-03-16T18:47:21Z" level=info msg="bookinfo productpage returned in 74 ms" time="2023-03-16T18:47:21Z" level=info msg="Success. Route_based_on_user_identity." time="2023-03-16T18:47:21Z" level=info msg="bookinfo productpage returned in 85 ms" time="2023-03-16T18:47:21Z" level=info msg="Success. Route_based_on_user_identity." time="2023-03-16T18:47:21Z" level=info msg=Cleanup time="2023-03-16T18:47:21Z" level=info msg="Running command kubectl delete -n bookinfo -f ../testdata/examples/x86/bookinfo/virtual-service-all-v1.yaml" time="2023-03-16T18:47:21Z" level=info msg="Cleanup Bookinfo" time="2023-03-16T18:47:21Z" level=info msg="Running command kubectl delete -n bookinfo -f ../testdata/examples/x86/bookinfo/destination-rule-all.yaml" time="2023-03-16T18:47:22Z" level=info msg="Running command kubectl delete -n bookinfo -f ../testdata/examples/x86/bookinfo/bookinfo-gateway.yaml" time="2023-03-16T18:47:22Z" level=info msg="Running command kubectl delete -n bookinfo -f ../testdata/examples/x86/bookinfo/bookinfo.yaml" --- PASS: T1 (91.60s) --- PASS: T1/TrafficManagement_test_the_new_routing_configuration (21.29s) --- PASS: T1/TrafficManagement_route_based_on_user_identity (21.41s) PASS ok github.com/maistra/maistra-test-tool/tests 479.143s