Running with gitlab-runner 14.1.0 (8925d9a0)  on gitlab-runners-bigbang-gl-packages-privileged-gitlab-runneb7dvc L_wAsvdS section_start:1630352043:resolve_secrets Resolving secrets section_end:1630352043:resolve_secrets section_start:1630352043:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runners Using Kubernetes executor with image registry.dso.mil/platform-one/big-bang/pipeline-templates/pipeline-templates/k3d-builder:0.0.5 ... Using attach strategy to execute scripts... section_end:1630352043:prepare_executor section_start:1630352043:prepare_script Preparing environment Waiting for pod gitlab-runners/runner-lwasvds-project-3550-concurrent-0lwv67 to be running, status is Pending Running on runner-lwasvds-project-3550-concurrent-0lwv67 via gitlab-runners-bigbang-gl-packages-privileged-gitlab-runneb7dvc... section_end:1630352050:prepare_script section_start:1630352050:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/L_wAsvdS/0/platform-one/big-bang/apps/core/istio-controlplane/.git/ Created fresh repository. Checking out e2647ca9 as refs/merge-requests/68/head... Skipping Git submodules setup section_end:1630352051:get_sources section_start:1630352051:step_script Executing "step_script" stage of the job script $ echo -e "\e[0Ksection_start:`date +%s`:cluster_setup[collapsed=true]\r\e[0KCluster Setup" section_start:1630352051:cluster_setup[collapsed=true] Cluster Setup $ if [ -z ${PIPELINE_REPO_BRANCH} ]; then # collapsed multi-line command $ git clone -b ${PIPELINE_REPO_BRANCH} ${PIPELINE_REPO} ${PIPELINE_REPO_DESTINATION} Cloning into '../pipeline-repo'... $ source ${WAIT_PATH} $ i=0; while [ "$i" -lt 12 ]; do docker info &>/dev/null && break; sleep 5; i=$(( i + 1 )) ; done $ docker network create ${CI_JOB_ID} --driver=bridge -o "com.docker.network.driver.mtu"="1450" d2183d56669972f4b1354576408e3d7aaa5a5341ea576571400160fefc6a18a8 $ k3d cluster create ${CI_JOB_ID} --config ${K3D_CONFIG_PATH} --network ${CI_JOB_ID} INFO[0000] Using config file ../pipeline-repo/jobs/k3d-ci/config.yaml INFO[0000] Prep: Network INFO[0000] Network with name '6083606' already exists with ID 'd2183d56669972f4b1354576408e3d7aaa5a5341ea576571400160fefc6a18a8' INFO[0000] Created volume 'k3d-6083606-images' INFO[0001] Creating node 'k3d-6083606-server-0' INFO[0002] Pulling image 'docker.io/rancher/k3s:v1.20.4-k3s1' INFO[0004] Creating LoadBalancer 'k3d-6083606-serverlb' INFO[0005] Pulling image 'docker.io/rancher/k3d-proxy:v4.3.0' INFO[0007] Starting cluster '6083606' INFO[0007] Starting servers... INFO[0007] Starting Node 'k3d-6083606-server-0' INFO[0012] Starting agents... INFO[0012] Starting helpers... INFO[0012] Starting Node 'k3d-6083606-serverlb' INFO[0012] (Optional) Trying to get IP of the docker host and inject it into the cluster as 'host.k3d.internal' for easy access INFO[0015] Successfully added host record to /etc/hosts in 2/2 nodes and to the CoreDNS ConfigMap INFO[0015] Cluster '6083606' created successfully! INFO[0015] --kubeconfig-update-default=false --> sets --kubeconfig-switch-context=false INFO[0015] You can now use it like this: kubectl config use-context k3d-6083606 kubectl cluster-info $ until kubectl get deployment coredns -n kube-system -o go-template='{{.status.availableReplicas}}' | grep -v -e ''; do sleep 1s; done 1 $ if [ ! -z ${PROJECT_NAME} ]; then # collapsed multi-line command namespace/istio-system created secret/private-registry created secret/private-registry-mil created $ echo -e "\e[0Ksection_end:`date +%s`:cluster_setup\r\e[0K" section_end:1630352090:cluster_setup  $ echo -e "\e[0Ksection_start:`date +%s`:dependency_clean[collapsed=true]\r\e[0KDependency Install and Wait" section_start:1630352090:dependency_clean[collapsed=true] Dependency Install and Wait $ if [ -f "tests/dependencies.yaml" ]; then # collapsed multi-line command Cloning default branch from https://repo1.dso.mil/platform-one/big-bang/apps/core/istio-operator.git Cloning into 'repos/istiooperator'... Installing dependency: repos/istiooperator into istio-operator namespace namespace/istio-operator created secret/private-registry created secret/private-registry-mil created Helm installing repos/istiooperator/chart into istio-operator namespace using repos/istiooperator/tests/test-values.yaml for values Release "istiooperator" does not exist. Installing it now. NAME: istiooperator LAST DEPLOYED: Mon Aug 30 19:34:53 2021 NAMESPACE: istio-operator STATUS: deployed REVISION: 1 TEST SUITE: None $ if [ -f "tests/dependencies.yaml" ]; then # collapsed multi-line command $ echo -e "\e[0Ksection_end:`date +%s`:dependency_clean\r\e[0K" section_end:1630352111:dependency_clean  $ if [ ! -z ${PROJECT_NAME} ]; then # collapsed multi-line command Helm installing istio-controlplane/chart into istio-system namespace using istio-controlplane/tests/test-values.yaml for values Release "istio" does not exist. Installing it now. NAME: istio LAST DEPLOYED: Mon Aug 30 19:35:11 2021 NAMESPACE: istio-system STATUS: deployed REVISION: 1 TEST SUITE: None $ sleep 10 # collapsed multi-line command Waiting on project resources... $ if [ -d "chart/templates/tests" ]; then # collapsed multi-line command $ touch $CI_PROJECT_DIR/success $ echo -e "\e[0Ksection_start:`date +%s`:image_fetch[collapsed=true]\r\e[0KFetch Images" section_start:1630352145:image_fetch[collapsed=true] Fetch Images $ images=$(timeout 65 bash -c "until docker exec -i k3d-${CI_JOB_ID}-server-0 crictl images -o json; do sleep 10; done;") $ echo $images | jq -r '.images[].repoTags[0] | select(. != null)' | tee images.txt docker.io/rancher/coredns-coredns:1.8.0 docker.io/rancher/klipper-lb:v0.1.2 docker.io/rancher/local-path-provisioner:v0.0.19 docker.io/rancher/metrics-server:v0.3.6 docker.io/rancher/pause:3.1 registry1.dso.mil/ironbank/opensource/istio/operator:1.10.3 registry1.dso.mil/ironbank/opensource/istio/pilot:1.10.3 registry1.dso.mil/ironbank/opensource/istio/proxyv2:1.10.3 $ sed -i '/docker.io\/rancher\//d' images.txt $ if [ -f tests/images.txt ]; then # collapsed multi-line command $ echo -e "\e[0Ksection_end:`date +%s`:image_fetch\r\e[0K" section_end:1630352146:image_fetch  section_end:1630352146:step_script section_start:1630352146:after_script Running after_script Running after script... $ if [ -e success ]; then # collapsed multi-line command section_start:1630352146:cluster_status[collapsed=true] Cluster Status Job Succeeded, cluster status: NAMESPACE NAME READY STATUS RESTARTS AGE kube-system pod/local-path-provisioner-5ff76fc89d-wrmdr 1/1 Running 0 66s kube-system pod/metrics-server-86cbb8457f-kxkf8 1/1 Running 0 66s kube-system pod/coredns-854c77959c-qt5lj 1/1 Running 0 66s istio-operator pod/istio-operator-7c7ff996cb-7qhjt 1/1 Running 0 53s istio-system pod/istiod-57597f8b46-lm8vq 1/1 Running 0 33s istio-system pod/svclb-istio-ingressgateway-tr2hh 3/3 Running 0 27s istio-system pod/istio-ingressgateway-55b57749d6-rbt4t 1/1 Running 0 27s NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE default service/kubernetes ClusterIP 10.43.0.1 443/TCP 83s kube-system service/kube-dns ClusterIP 10.43.0.10 53/UDP,53/TCP,9153/TCP 80s kube-system service/metrics-server ClusterIP 10.43.192.132 443/TCP 80s istio-operator service/istio-operator ClusterIP 10.43.94.161 8383/TCP 53s istio-system service/istiod ClusterIP 10.43.218.182 15010/TCP,15012/TCP,443/TCP,15014/TCP 33s istio-system service/istio-ingressgateway LoadBalancer 10.43.172.108 172.18.0.2 15021:31884/TCP,80:32157/TCP,443:31379/TCP 27s NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE istio-system daemonset.apps/svclb-istio-ingressgateway 1 1 1 1 1 27s NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE kube-system deployment.apps/local-path-provisioner 1/1 1 1 80s kube-system deployment.apps/metrics-server 1/1 1 1 80s kube-system deployment.apps/coredns 1/1 1 1 80s istio-operator deployment.apps/istio-operator 1/1 1 1 53s istio-system deployment.apps/istiod 1/1 1 1 33s istio-system deployment.apps/istio-ingressgateway 1/1 1 1 27s NAMESPACE NAME DESIRED CURRENT READY AGE kube-system replicaset.apps/local-path-provisioner-5ff76fc89d 1 1 1 66s kube-system replicaset.apps/metrics-server-86cbb8457f 1 1 1 66s kube-system replicaset.apps/coredns-854c77959c 1 1 1 66s istio-operator replicaset.apps/istio-operator-7c7ff996cb 1 1 1 53s istio-system replicaset.apps/istiod-57597f8b46 1 1 1 33s istio-system replicaset.apps/istio-ingressgateway-55b57749d6 1 1 1 27s NAMESPACE NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE istio-system horizontalpodautoscaler.autoscaling/istiod Deployment/istiod /60% 1 3 1 33s istio-system horizontalpodautoscaler.autoscaling/istio-ingressgateway Deployment/istio-ingressgateway /80% 1 5 1 27s section_end:1630352146:cluster_status  $ echo -e "\e[0Ksection_start:`date +%s`:cluster_clean[collapsed=true]\r\e[0KCluster Cleanup" section_start:1630352146:cluster_clean[collapsed=true] Cluster Cleanup $ k3d cluster delete ${CI_JOB_ID} INFO[0000] Deleting cluster '6083606' INFO[0000] Deleted k3d-6083606-serverlb INFO[0001] Deleted k3d-6083606-server-0 INFO[0001] Deleting image volume 'k3d-6083606-images' INFO[0001] Removing cluster details from default kubeconfig... INFO[0001] Removing standalone kubeconfig file (if there is one)... INFO[0001] Successfully deleted cluster 6083606! $ docker network rm ${CI_JOB_ID} 6083606 $ echo -e "\e[0Ksection_end:`date +%s`:cluster_clean\r\e[0K" section_end:1630352148:cluster_clean  section_end:1630352148:after_script section_start:1630352148:upload_artifacts_on_success Uploading artifacts for successful job Uploading artifacts... images.txt: found 1 matching files and directories WARNING: tests/cypress/screenshots: no matching files WARNING: tests/cypress/videos: no matching files  WARNING: cypress-artifacts: no matching files  Uploading artifacts as "archive" to coordinator... ok id=6083606 responseStatus=201 Created token=K97brBsJ section_end:1630352149:upload_artifacts_on_success section_start:1630352149:cleanup_file_variables Cleaning up file based variables section_end:1630352149:cleanup_file_variables Job succeeded