Running with gitlab-runner 13.11.0 (7f7a4bb0)  on gitlab-runners-bigbang-gl-packages-privileged-gitlab-runne22ncc YvhYaXSq  feature flags: FF_GITLAB_REGISTRY_HELPER_IMAGE:true section_start:1619609615:resolve_secrets Resolving secrets section_end:1619609615:resolve_secrets section_start:1619609615: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 ... section_end:1619609615:prepare_executor section_start:1619609615:prepare_script Preparing environment Waiting for pod gitlab-runners/runner-yvhyaxsq-project-4906-concurrent-09tm8j to be running, status is Pending Running on runner-yvhyaxsq-project-4906-concurrent-09tm8j via gitlab-runners-bigbang-gl-packages-privileged-gitlab-runne22ncc... section_end:1619609618:prepare_script section_start:1619609618:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/platform-one/big-bang/apps/developer-tools/nexus/.git/ Created fresh repository. Checking out d466d51c as refs/merge-requests/1/head... Skipping Git submodules setup section_end:1619609619:get_sources section_start:1619609619:step_script Executing "step_script" stage of the job script $ 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} $ docker network create ${CI_JOB_ID} --driver=bridge -o "com.docker.network.driver.mtu"="1450" b09b95ab465881175b6e64fdcb7ef98b33ff99d5a0ef98cb46e02f020a0ad93e $ 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 '2987531' already exists with ID 'b09b95ab465881175b6e64fdcb7ef98b33ff99d5a0ef98cb46e02f020a0ad93e' INFO[0000] Created volume 'k3d-2987531-images' INFO[0001] Creating node 'k3d-2987531-server-0' INFO[0002] Pulling image 'docker.io/rancher/k3s:v1.20.4-k3s1' INFO[0005] Creating LoadBalancer 'k3d-2987531-serverlb' INFO[0006] Pulling image 'docker.io/rancher/k3d-proxy:v4.3.0' INFO[0008] Starting cluster '2987531' INFO[0008] Starting servers... INFO[0008] Starting Node 'k3d-2987531-server-0' INFO[0013] Starting agents... INFO[0013] Starting helpers... INFO[0013] Starting Node 'k3d-2987531-serverlb' INFO[0014] (Optional) Trying to get IP of the docker host and inject it into the cluster as 'host.k3d.internal' for easy access INFO[0017] Successfully added host record to /etc/hosts in 2/2 nodes and to the CoreDNS ConfigMap INFO[0017] Cluster '2987531' created successfully! INFO[0017] --kubeconfig-update-default=false --> sets --kubeconfig-switch-context=false INFO[0017] You can now use it like this: kubectl config use-context k3d-2987531 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/nexus created secret/private-registry created secret/private-registry-mil created $ if [[ "${CI_PROJECT_NAME}" != *"istio"* ]]; then # collapsed multi-line command - Processing resources for Istio core. ✔ Istio core installed - Processing resources for Istiod. - Processing resources for Istiod. Waiting for Deployment/istio-system/istiod ✔ Istiod installed - Processing resources for Ingress gateways. - Processing resources for Ingress gateways. Waiting for Deployment/istio-system/istio-ingressgat... ✔ Ingress gateways installed - Pruning removed resources ✔ Installation complete$ if [[ "${PACKAGE_NAMESPACE}" != "istio-operator" ]]; then # collapsed multi-line command Generating a RSA private key .+++++ ........................................................................................................................................................+++++ writing new private key to 'tls.key' ----- secret/wildcard-cert created $ if [ -f "tests/main-test-gateway.yaml" ]; then # collapsed multi-line command gateway.networking.istio.io/main created $ if [ -f "tests/dependencies.yaml" ]; then # collapsed multi-line command $ sleep 10 $ kubectl wait --for=condition=established --timeout 60s -A crd --all > /dev/null $ if [ -f tests/dependencies.yaml ]; then # collapsed multi-line command $ wait_sts $ wait_daemonset $ kubectl wait --for=condition=available --timeout 600s -A deployment --all > /dev/null $ kubectl wait --for=condition=ready --timeout 600s -A pods --all --field-selector status.phase=Running > /dev/null $ echo "Package install" Package install $ if [ ! -z ${PROJECT_NAME} ]; then # collapsed multi-line command $ if [ $(ls -1 tests/test-values.y*ml 2>/dev/null | wc -l) -gt 0 ]; then # collapsed multi-line command Helm installing nexus/chart into nexus namespace using nexus/tests/test-values.yaml for values NAME: nexus LAST DEPLOYED: Wed Apr 28 11:34:47 2021 NAMESPACE: nexus STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: 1. Get the application URL by running these commands: http://repo.demomap[Capabilities:0xc0010302d0 Chart:0xc00031f680 Files:map[.helmignore:[35 32 80 97 116 116 101 114 110 115 32 116 111 32 105 103 110 111 114 101 32 119 104 101 110 32 98 117 105 108 100 105 110 103 32 112 97 99 107 97 103 101 115 46 10 35 32 84 104 105 115 32 115 117 112 112 111 114 116 115 32 115 104 101 108 108 32 103 108 111 98 32 109 97 116 99 104 105 110 103 44 32 114 101 108 97 116 105 118 101 32 112 97 116 104 32 109 97 116 99 104 105 110 103 44 32 97 110 100 10 35 32 110 101 103 97 116 105 111 110 32 40 112 114 101 102 105 120 101 100 32 119 105 116 104 32 33 41 46 32 79 110 108 121 32 111 110 101 32 112 97 116 116 101 114 110 32 112 101 114 32 108 105 110 101 46 10 46 68 83 95 83 116 111 114 101 10 35 32 67 111 109 109 111 110 32 86 67 83 32 100 105 114 115 10 46 103 105 116 47 10 46 103 105 116 105 103 110 111 114 101 10 46 98 122 114 47 10 46 98 122 114 105 103 110 111 114 101 10 46 104 103 47 10 46 104 103 105 103 110 111 114 101 10 46 115 118 110 47 10 35 32 67 111 109 109 111 110 32 98 97 99 107 117 112 32 102 105 108 101 115 10 42 46 115 119 112 10 42 46 98 97 107 10 42 46 116 109 112 10 42 126 10 35 32 86 97 114 105 111 117 115 32 73 68 69 115 10 46 112 114 111 106 101 99 116 10 46 105 100 101 97 47 10 42 46 116 109 112 114 111 106 10 35 32 79 87 78 69 82 83 32 102 105 108 101 32 102 111 114 32 75 117 98 101 114 110 101 116 101 115 10 79 87 78 69 82 83 10 42 46 116 97 114 10] Kptfile:[97 112 105 86 101 114 115 105 111 110 58 32 107 112 116 46 100 101 118 47 118 49 97 108 112 104 97 49 10 107 105 110 100 58 32 75 112 116 102 105 108 101 10 109 101 116 97 100 97 116 97 58 10 32 32 110 97 109 101 58 32 99 104 97 114 116 10 117 112 115 116 114 101 97 109 58 10 32 32 116 121 112 101 58 32 103 105 116 10 32 32 103 105 116 58 10 32 32 32 32 99 111 109 109 105 116 58 32 49 55 97 57 99 51 49 54 54 50 52 52 50 55 53 56 55 97 99 49 57 55 101 98 102 99 100 51 54 56 97 99 56 57 56 56 51 50 55 56 10 32 32 32 32 114 101 112 111 58 32 104 116 116 112 115 58 47 47 103 105 116 104 117 98 46 99 111 109 47 79 116 101 101 109 111 47 99 104 97 114 116 115 10 32 32 32 32 100 105 114 101 99 116 111 114 121 58 32 47 99 104 97 114 116 115 47 115 111 110 97 116 121 112 101 45 110 101 120 117 115 10 32 32 32 32 114 101 102 58 32 115 111 110 97 116 121 112 101 45 110 101 120 117 115 45 52 46 50 46 48 10]] Release:map[IsInstall:true IsUpgrade:false Name:nexus Namespace:nexus Revision:1 Service:Helm] Template:map[BasePath:nexus-repository-manager/templates Name:nexus-repository-manager/templates/NOTES.txt] Values:map[config:map[data:[] enabled:false mountPath:/sonatype-nexus-conf] deployment:map[additionalContainers: additionalVolumeMounts: additionalVolumes: annotations:map[] initContainers: postStart:map[command:] preStart:map[command:] terminationGracePeriodSeconds:120] deploymentStrategy:Recreate domain:bigbang.dev fullnameOverride: hostname:nexus image:map[pullPolicy:IfNotPresent repository:registry1.dso.mil/ironbank/sonatype/nexus/nexus tag:3.29.0-02] ingress:map[annotations:map[kubernetes.io/ingress.class:nginx] enabled:true hostPath:/ hostRepo:repo.demo tls:[]] istio:map[enabled:true nexus:map[gateways:[istio-system/main]]] license:map[mountPath:/nexus-data/sonatype-license.lic subPath:sonatype-license.lic] license_key: monioring:map[enabled:false] nameOverride: nexus:map[affinity:map[] docker:map[enabled:false registries:[]] env:[map[name:install4jAddVmParams value:-Xms1200M -Xmx1200M -XX:MaxDirectMemorySize=2G -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap] map[name:NEXUS_SECURITY_RANDOMPASSWORD value:true]] hostAliases:[] imagePullSecrets:[map[name:private-registry-mil]] livenessProbe:map[failureThreshold:6 initialDelaySeconds:30 path:/ periodSeconds:30 timeoutSeconds:10] nexusPort:8081 nodeSelector:map[] podAnnotations:map[] properties:map[data:map[] override:true] readinessProbe:map[failureThreshold:6 initialDelaySeconds:30 path:/ periodSeconds:30 timeoutSeconds:10] resources:map[] securityContext:map[fsGroup:2000]] nexusProxyRoute:map[annotations: enabled:false labels:] persistence:map[accessMode:ReadWriteOnce enabled:true storageSize:8Gi] psp:map[create:false] route:map[annotations: enabled:false labels: name:docker portName:docker] secret:map[enabled:true mountPath:/nexus-data/admin.password readOnly:true subPath:admin.password] service:map[annotations:map[] enabled:true labels:map[] name:nexus3 serviceType:ClusterIP] serviceAccount:map[annotations:map[] create:true name:] sso:map[enabled:false idp_data:map[emailAttribute: entityId: firstNameAttribute: groupsAttribute: idpMetadata: lastNameAttribute: usernameAttribute: validateAssertionSignature:true validateResponseSignature:true] realm:[NexusAuthenticatingRealm NexusAuthorizingRealm SamlRealm] role:map[description:nexus group id:nexus name:nexus privileges:[nx-all] roles:[nx-admin]]] statefulset:map[enabled:false] tolerations:[]]] http://map[Capabilities:0xc0010302d0 Chart:0xc00031f680 Files:map[.helmignore:[35 32 80 97 116 116 101 114 110 115 32 116 111 32 105 103 110 111 114 101 32 119 104 101 110 32 98 117 105 108 100 105 110 103 32 112 97 99 107 97 103 101 115 46 10 35 32 84 104 105 115 32 115 117 112 112 111 114 116 115 32 115 104 101 108 108 32 103 108 111 98 32 109 97 116 99 104 105 110 103 44 32 114 101 108 97 116 105 118 101 32 112 97 116 104 32 109 97 116 99 104 105 110 103 44 32 97 110 100 10 35 32 110 101 103 97 116 105 111 110 32 40 112 114 101 102 105 120 101 100 32 119 105 116 104 32 33 41 46 32 79 110 108 121 32 111 110 101 32 112 97 116 116 101 114 110 32 112 101 114 32 108 105 110 101 46 10 46 68 83 95 83 116 111 114 101 10 35 32 67 111 109 109 111 110 32 86 67 83 32 100 105 114 115 10 46 103 105 116 47 10 46 103 105 116 105 103 110 111 114 101 10 46 98 122 114 47 10 46 98 122 114 105 103 110 111 114 101 10 46 104 103 47 10 46 104 103 105 103 110 111 114 101 10 46 115 118 110 47 10 35 32 67 111 109 109 111 110 32 98 97 99 107 117 112 32 102 105 108 101 115 10 42 46 115 119 112 10 42 46 98 97 107 10 42 46 116 109 112 10 42 126 10 35 32 86 97 114 105 111 117 115 32 73 68 69 115 10 46 112 114 111 106 101 99 116 10 46 105 100 101 97 47 10 42 46 116 109 112 114 111 106 10 35 32 79 87 78 69 82 83 32 102 105 108 101 32 102 111 114 32 75 117 98 101 114 110 101 116 101 115 10 79 87 78 69 82 83 10 42 46 116 97 114 10] Kptfile:[97 112 105 86 101 114 115 105 111 110 58 32 107 112 116 46 100 101 118 47 118 49 97 108 112 104 97 49 10 107 105 110 100 58 32 75 112 116 102 105 108 101 10 109 101 116 97 100 97 116 97 58 10 32 32 110 97 109 101 58 32 99 104 97 114 116 10 117 112 115 116 114 101 97 109 58 10 32 32 116 121 112 101 58 32 103 105 116 10 32 32 103 105 116 58 10 32 32 32 32 99 111 109 109 105 116 58 32 49 55 97 57 99 51 49 54 54 50 52 52 50 55 53 56 55 97 99 49 57 55 101 98 102 99 100 51 54 56 97 99 56 57 56 56 51 50 55 56 10 32 32 32 32 114 101 112 111 58 32 104 116 116 112 115 58 47 47 103 105 116 104 117 98 46 99 111 109 47 79 116 101 101 109 111 47 99 104 97 114 116 115 10 32 32 32 32 100 105 114 101 99 116 111 114 121 58 32 47 99 104 97 114 116 115 47 115 111 110 97 116 121 112 101 45 110 101 120 117 115 10 32 32 32 32 114 101 102 58 32 115 111 110 97 116 121 112 101 45 110 101 120 117 115 45 52 46 50 46 48 10]] Release:map[IsInstall:true IsUpgrade:false Name:nexus Namespace:nexus Revision:1 Service:Helm] Template:map[BasePath:nexus-repository-manager/templates Name:nexus-repository-manager/templates/NOTES.txt] Values:map[config:map[data:[] enabled:false mountPath:/sonatype-nexus-conf] deployment:map[additionalContainers: additionalVolumeMounts: additionalVolumes: annotations:map[] initContainers: postStart:map[command:] preStart:map[command:] terminationGracePeriodSeconds:120] deploymentStrategy:Recreate domain:bigbang.dev fullnameOverride: hostname:nexus image:map[pullPolicy:IfNotPresent repository:registry1.dso.mil/ironbank/sonatype/nexus/nexus tag:3.29.0-02] ingress:map[annotations:map[kubernetes.io/ingress.class:nginx] enabled:true hostPath:/ hostRepo:repo.demo tls:[]] istio:map[enabled:true nexus:map[gateways:[istio-system/main]]] license:map[mountPath:/nexus-data/sonatype-license.lic subPath:sonatype-license.lic] license_key: monioring:map[enabled:false] nameOverride: nexus:map[affinity:map[] docker:map[enabled:false registries:[]] env:[map[name:install4jAddVmParams value:-Xms1200M -Xmx1200M -XX:MaxDirectMemorySize=2G -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap] map[name:NEXUS_SECURITY_RANDOMPASSWORD value:true]] hostAliases:[] imagePullSecrets:[map[name:private-registry-mil]] livenessProbe:map[failureThreshold:6 initialDelaySeconds:30 path:/ periodSeconds:30 timeoutSeconds:10] nexusPort:8081 nodeSelector:map[] podAnnotations:map[] properties:map[data:map[] override:true] readinessProbe:map[failureThreshold:6 initialDelaySeconds:30 path:/ periodSeconds:30 timeoutSeconds:10] resources:map[] securityContext:map[fsGroup:2000]] nexusProxyRoute:map[annotations: enabled:false labels:] persistence:map[accessMode:ReadWriteOnce enabled:true storageSize:8Gi] psp:map[create:false] route:map[annotations: enabled:false labels: name:docker portName:docker] secret:map[enabled:true mountPath:/nexus-data/admin.password readOnly:true subPath:admin.password] service:map[annotations:map[] enabled:true labels:map[] name:nexus3 serviceType:ClusterIP] serviceAccount:map[annotations:map[] create:true name:] sso:map[enabled:false idp_data:map[emailAttribute: entityId: firstNameAttribute: groupsAttribute: idpMetadata: lastNameAttribute: usernameAttribute: validateAssertionSignature:true validateResponseSignature:true] realm:[NexusAuthenticatingRealm NexusAuthorizingRealm SamlRealm] role:map[description:nexus group id:nexus name:nexus privileges:[nx-all] roles:[nx-admin]]] statefulset:map[enabled:false] tolerations:[]]] $ sleep 10 $ kubectl wait --for=condition=established --timeout 60s -A crd --all > /dev/null $ if [ -f tests/wait.sh ]; then # collapsed multi-line command $ wait_sts $ wait_daemonset $ kubectl wait --for=condition=available --timeout 600s -A deployment --all > /dev/null $ kubectl wait --for=condition=ready --timeout 600s -A pods --all --field-selector status.phase=Running > /dev/null $ echo "Package tests" Package tests $ if [ ! -z $(kubectl get services -n istio-system istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}') ] && [ ! -z $(kubectl get vs -A -o jsonpath='{.items[0].spec.hosts[0]}') ]; then # collapsed multi-line command $ if [ -f "tests/cypress.json" ]; then # collapsed multi-line command ====================================================================================================  (Run Starting) tput: No value for $TERM and no -T specified  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐  │ Cypress: 6.8.0 │  │ Browser: Chrome 89 (headless) │  │ Specs: 1 found (nexus-healthspec.js) │  └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: nexus-healthspec.js (1 of 1)   Basic prometheus  ✓ Visits the prometheus sign in page (1039ms)   1 passing (2s)  (Results)  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐  │ Tests: 1 │  │ Passing: 1 │  │ Failing: 0 │  │ Pending: 0 │  │ Skipped: 0 │  │ Screenshots: 0 │  │ Video: true │  │ Duration: 2 seconds │  │ Spec Ran: nexus-healthspec.js │  └────────────────────────────────────────────────────────────────────────────────────────────────┘  (Video)   - Started processing: Compressing to 32 CRF   - Finished processing: /builds/platform-one/big-bang/apps/developer-tools/nexus/te (0 seconds)   sts/cypress/videos/nexus-healthspec.js.mp4 tput: No value for $TERM and no -T specified ====================================================================================================  (Run Finished)   Spec Tests Passing Failing Pending Skipped    ┌────────────────────────────────────────────────────────────────────────────────────────────────┐  │ ✔ nexus-healthspec.js 00:02 1 1 - - - │  └────────────────────────────────────────────────────────────────────────────────────────────────┘   ✔ All specs passed! 00:02 1 1 - - -   $ if [ -d "chart/templates/tests" ]; then # collapsed multi-line command $ touch $CI_PROJECT_DIR/success section_end:1619609769:step_script section_start:1619609769:after_script Running after_script Running after script... $ if [ -e success ]; then # collapsed multi-line command Job Succeeded $ docker exec -i k3d-${CI_JOB_ID}-server-0 crictl images -o json | jq -r '.images[].repoTags[0] | select(. != null)' > images.txt $ sed -i '/docker.io\/istio\//d' images.txt $ sed -i '/docker.io\/rancher\//d' images.txt $ if [ -f tests/images.txt ]; then # collapsed multi-line command $ k3d cluster delete ${CI_JOB_ID} INFO[0000] Deleting cluster '2987531' INFO[0000] Deleted k3d-2987531-serverlb INFO[0001] Deleted k3d-2987531-server-0 INFO[0001] Deleting image volume 'k3d-2987531-images' INFO[0001] Removing cluster details from default kubeconfig... INFO[0001] Removing standalone kubeconfig file (if there is one)... INFO[0001] Successfully deleted cluster 2987531! $ docker network rm ${CI_JOB_ID} 2987531 section_end:1619609772:after_script section_start:1619609772: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 tests/cypress/videos: found 2 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=2987531 responseStatus=201 Created token=mMMptoaX section_end:1619609773:upload_artifacts_on_success section_start:1619609773:cleanup_file_variables Cleaning up file based variables section_end:1619609773:cleanup_file_variables Job succeeded