Загрузка данных


Running with gitlab-runner 15.8.0 (12335144)
  on gitlab-runner-gitlab-runner-5c5d8dfd84-fc2jj x3T1Qxkg, system ID: r_0t1aE5p8nfLN
Preparing the "kubernetes" executor
00:00
Using Kubernetes namespace: gitlab-runners
Using Kubernetes executor with image registry.rshbdev.ru/appfarm/infra/images/kube-client-apps:8.21.4 ...
Using attach strategy to execute scripts...
Preparing environment
00:09
Waiting for pod gitlab-runners/runner-x3t1qxkg-project-77337-concurrent-0sqv8x to be running, status is Pending
	ContainersNotInitialized: "containers with incomplete status: [init-permissions]"
	ContainersNotReady: "containers with unready status: [build helper]"
	ContainersNotReady: "containers with unready status: [build helper]"
Running on runner-x3t1qxkg-project-77337-concurrent-0sqv8x via gitlab-runner-gitlab-runner-5c5d8dfd84-fc2jj...
Getting source from Git repository
00:02
$ git config --global --add url."https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}/".insteadOf "https://${CI_SERVER_HOST}" # collapsed multi-line command
Fetching changes with git depth set to 20...
Initialized empty Git repository in /builds/rshbintech/abs/banking-accounting/aml/cr-frontend-src/.git/
Created fresh repository.
Checking out 75c28589 as master...
Skipping Git submodules setup
Downloading artifacts
00:03
Downloading artifacts for devsecops_antivirus_scan (21955151)...
Downloading artifacts from coordinator... ok        id=21955151 responseStatus=200 OK token=64_B46Af
Downloading artifacts for dockerfilegen (21955161)...
Downloading artifacts from coordinator... ok        id=21955161 responseStatus=200 OK token=64_B46Af
Executing "step_script" stage of the job script
00:03
$ ( umask 0077; mkdir -p ~/.kube && echo "$KUBECONFIG_COMBINED" | base64 -d > ~/.kube/config )
$ if [[ ${IS_SENSITIVE_SYSTEM} = true ]]; then export K8S_CLUSTERS=$K8S_CLUSTERS_SENSITIVE; fi
$ echo 'IS_SENSITIVE_SYSTEM:' $IS_SENSITIVE_SYSTEM
IS_SENSITIVE_SYSTEM: true
$ echo 'TARGET_CLUSTERS:' $K8S_CLUSTERS
TARGET_CLUSTERS: devstbl
$ set -x
++ echo '$ for CLUSTER in $K8S_CLUSTERS; do'
$ for CLUSTER in $K8S_CLUSTERS; do
++ for CLUSTER in $K8S_CLUSTERS
++ echo '$ export CLUSTER=$CLUSTER'
$ export CLUSTER=$CLUSTER
++ export CLUSTER=devstbl
++ CLUSTER=devstbl
++ echo '$ if [[ ${CI_ENVIRONMENT_SLUG} = production ]]; then export NAMESPACE=isys-${ISYS_NAME}; else export NAMESPACE=isys-${ISYS_NAME}-${CI_ENVIRONMENT_SLUG}; fi'
$ if [[ ${CI_ENVIRONMENT_SLUG} = production ]]; then export NAMESPACE=isys-${ISYS_NAME}; else export NAMESPACE=isys-${ISYS_NAME}-${CI_ENVIRONMENT_SLUG}; fi
++ [[ dev = production ]]
++ export NAMESPACE=isys-aml-dev
++ NAMESPACE=isys-aml-dev
++ echo '$ read -r REVISION STATUS < <(helm --kube-context ${CLUSTER:-default} -n $NAMESPACE history $CI_PROJECT_NAME | tail -1 | cut -f1,3) || true'
$ read -r REVISION STATUS < <(helm --kube-context ${CLUSTER:-default} -n $NAMESPACE history $CI_PROJECT_NAME | tail -1 | cut -f1,3) || true
++ read -r REVISION STATUS
+++ helm --kube-context devstbl -n isys-aml-dev history cr-frontend-src
+++ tail -1
+++ cut -f1,3
++ echo '$ if [[ "$STATUS" =~ "pending" ]]; then helm --kube-context ${CLUSTER:-default} -n $NAMESPACE rollback $CI_PROJECT_NAME $REVISION || true; fi'
$ if [[ "$STATUS" =~ "pending" ]]; then helm --kube-context ${CLUSTER:-default} -n $NAMESPACE rollback $CI_PROJECT_NAME $REVISION || true; fi
++ [[ deployed =~ pending ]]
++ echo '$ helmfile ${HELMFILE_DEFAULT_NAMESPACE:+--namespace $HELMFILE_DEFAULT_NAMESPACE} --environment ${CLUSTER:-default} -f deploy/helmfile.yaml --log-level info apply --suppress-secrets'
$ helmfile ${HELMFILE_DEFAULT_NAMESPACE:+--namespace $HELMFILE_DEFAULT_NAMESPACE} --environment ${CLUSTER:-default} -f deploy/helmfile.yaml --log-level info apply --suppress-secrets
++ helmfile --environment devstbl -f deploy/helmfile.yaml --log-level info apply --suppress-secrets
== /usr/local/link/helmfile: Initialize base deploy hierarchy in /builds/rshbintech/abs/banking-accounting/aml/cr-frontend-src
in deploy/helmfile.yaml: failed to read bases/_predefined.yaml: failed to load environment values file "statevalues/_predefined.yaml.gotmpl": failed to render [statevalues/_predefined.yaml.gotmpl], because of template: stringTemplate:259:28: executing "stringTemplate" at <exec "vault-wrapper" (list $secretPathGlobal)>: error calling exec: command "/usr/local/bin/vault-wrapper" exited with non-zero status:
PATH:
  /usr/local/bin/vault-wrapper
ARGS:
  0: vault-wrapper (13 bytes)
  1: manual_kv_dev/rshbintech/abs/banking-accounting/aml/cr-frontend-src (67 bytes)
ERROR:
  exit status 2
EXIT STATUS
  2
STDERR:
  Error making API request.
  URL: GET https://vault.rshbdev.ru/v1/sys/internal/ui/mounts/manual_kv_dev/rshbintech/abs/banking-accounting/aml/cr-frontend-src
  Code: 403. Errors:
  * permission denied
COMBINED OUTPUT:
  Error making API request.
  URL: GET https://vault.rshbdev.ru/v1/sys/internal/ui/mounts/manual_kv_dev/rshbintech/abs/banking-accounting/aml/cr-frontend-src
  Code: 403. Errors:
  * permission denied
  null
Uploading artifacts for failed job
00:02
Uploading artifacts...
WARNING: deploy.env: no matching files. Ensure that the artifact path is relative to the working directory (/builds/rshbintech/abs/banking-accounting/aml/cr-frontend-src) 
ERROR: No files to upload                          
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: command terminated with exit code 1