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


Running with gitlab-runner 15.8.0 (12335144)
  on gitlab-runner-gitlab-runner-7d64bfd458-xlzsd u1oHxtyM, system ID: r_OKg3w9r0mqgd
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.9 ...
Using attach strategy to execute scripts...
Preparing environment
00:05
Waiting for pod gitlab-runners/runner-u1ohxtym-project-64591-concurrent-0hpx27 to be running, status is Pending
Waiting for pod gitlab-runners/runner-u1ohxtym-project-64591-concurrent-0hpx27 to be running, status is Pending
	ContainersNotReady: "containers with unready status: [build helper]"
	ContainersNotReady: "containers with unready status: [build helper]"
Running on runner-u1ohxtym-project-64591-concurrent-0hpx27 via gitlab-runner-gitlab-runner-7d64bfd458-xlzsd...
Getting source from Git repository
00:03
$ 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/crft/ckof/ownfin/frontend/prd/deposit-management-ui/.git/
Created fresh repository.
Checking out 907a01c6 as 2.24.0-RC1...
Skipping Git submodules setup
Downloading artifacts
00:02
Downloading artifacts for init_dojo (22873164)...
Downloading artifacts from coordinator... ok        id=22873164 responseStatus=200 OK token=64_6QgbR
Downloading artifacts for devsecops_antivirus_scan (22873165)...
Downloading artifacts from coordinator... ok        id=22873165 responseStatus=200 OK token=64_6QgbR
Downloading artifacts for secrets_gitleaks (22873166)...
Downloading artifacts from coordinator... ok        id=22873166 responseStatus=200 OK token=64_6QgbR
Downloading artifacts for sast_semgrep (22873167)...
Downloading artifacts from coordinator... ok        id=22873167 responseStatus=200 OK token=64_6QgbR
Downloading artifacts for sast_ptai (22873168)...
Downloading artifacts from coordinator... ok        id=22873168 responseStatus=200 OK token=64_6QgbR
Downloading artifacts for dockerfilegen (22873169)...
Downloading artifacts from coordinator... ok        id=22873169 responseStatus=200 OK token=64_6QgbR
Downloading artifacts for sca_scan (22873173)...
Downloading artifacts from coordinator... ok        id=22873173 responseStatus=200 OK token=64_6QgbR
Downloading artifacts for bca_trivy (22873177)...
Downloading artifacts from coordinator... ok        id=22873177 responseStatus=200 OK token=64_6QgbR
Executing "step_script" stage of the job script
22:01
$ ( 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: rcsdstbl
$ 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=rcsdstbl
++ CLUSTER=rcsdstbl
++ 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
++ [[ rc = production ]]
++ export NAMESPACE=isys-ownfin-rc
++ NAMESPACE=isys-ownfin-rc
++ 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 rcsdstbl -n isys-ownfin-rc history deposit-management-ui
+++ 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
++ [[ failed =~ pending ]]
++ echo '$ helmfile ${HELMFILE_DEFAULT_NAMESPACE:+--namespace $HELMFILE_DEFAULT_NAMESPACE} --environment ${CLUSTER:-default} -f deploy/helmfile.yaml --log-level info apply --suppress-secrets --set "additionalWorkloadAnnotations.gitlabPipeline=${CI_PIPELINE_URL}" --set "additionalWorkloadAnnotations.gitlabCommit=${CI_COMMIT_SHA}"'
$ helmfile ${HELMFILE_DEFAULT_NAMESPACE:+--namespace $HELMFILE_DEFAULT_NAMESPACE} --environment ${CLUSTER:-default} -f deploy/helmfile.yaml --log-level info apply --suppress-secrets --set "additionalWorkloadAnnotations.gitlabPipeline=${CI_PIPELINE_URL}" --set "additionalWorkloadAnnotations.gitlabCommit=${CI_COMMIT_SHA}"
++ helmfile --environment rcsdstbl -f deploy/helmfile.yaml --log-level info apply --suppress-secrets --set additionalWorkloadAnnotations.gitlabPipeline=https://gitlab.rshbdev.ru/rshbintech/crft/ckof/ownfin/frontend/prd/deposit-management-ui/-/pipelines/3280765 --set additionalWorkloadAnnotations.gitlabCommit=907a01c6bdcfb0df92ed47c07798961e560eeec1
== /usr/local/link/helmfile: Initialize base deploy hierarchy in /builds/rshbintech/crft/ckof/ownfin/frontend/prd/deposit-management-ui
no matches for path: envs/rc/rcsdstbl/helmfile.yaml.gotmpl
Adding repo rshb-charts https://nexus.rshbdev.ru/repository/charts/
"rshb-charts" has been added to your repositories
Comparing release=psvc-deposit-management-ui, chart=rshb-charts/raw
Comparing release=deposit-management-ui, chart=rshb-charts/base
isys-ownfin-rc, deposit-management-ui, Deployment (apps) has changed:
  # Source: base/templates/workload.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: deposit-management-ui
    labels:
      app: deposit-management-ui
      fullname: deposit-management-ui
      chart: base-1.15.2
      release: deposit-management-ui
      heritage: Helm
      isys: "ownfin-rc"
      psvc: "deposit-management-ui"
-     version: "2.23.0-RC2"    
+     version: "2.24.0-RC1"    
      workload.topology.app.farm/zone: "rumsk1"
    annotations:
-     gitlabCommit: a405c0013ff8f9b697311cccdac6afed8066ae31
-     gitlabPipeline: https://gitlab.rshbdev.ru/rshbintech/crft/ckof/ownfin/frontend/prd/deposit-management-ui/-/pipelines/3262469
-     platform.ckpr.integrations.rshbintech.ru/gitlab-commit-sha: a405c001
-     platform.ckpr.integrations.rshbintech.ru/gitlab-pipeline-id: "3262469"
+     gitlabCommit: 907a01c6bdcfb0df92ed47c07798961e560eeec1
+     gitlabPipeline: https://gitlab.rshbdev.ru/rshbintech/crft/ckof/ownfin/frontend/prd/deposit-management-ui/-/pipelines/3280765
+     platform.ckpr.integrations.rshbintech.ru/gitlab-commit-sha: 907a01c6
+     platform.ckpr.integrations.rshbintech.ru/gitlab-pipeline-id: "3280765"
  spec:
    strategy:
      type: Recreate
    replicas: 1
    selector:
      matchLabels:
        app: deposit-management-ui
        fullname: deposit-management-ui
        release: deposit-management-ui
    template:
      metadata:
        labels:
          app: deposit-management-ui
          fullname: deposit-management-ui
          chart: base-1.15.2
          release: deposit-management-ui
          heritage: Helm
          isys: "ownfin-rc"
          psvc: "deposit-management-ui"
-         version: "2.23.0-RC2"        
+         version: "2.24.0-RC1"        
          workload.topology.app.farm/zone: "rumsk1"
        annotations:
          checksum/configMapsEnv: "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
          checksum/secretEnv: "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
          inject.istio.io/templates: "sidecar,custom"
          sidecar.istio.io/userVolume: "[{\"name\": \"wasmfilters-dir\",\"configMap\": {\"name\": \"ownfin-rc-envoy-filters\"}}]"
          sidecar.istio.io/userVolumeMount: "[{\"mountPath\":\"/var/local/lib/wasm-filters\",\"name\":\"wasmfilters-dir\"}]"
      spec:
        automountServiceAccountToken: false
        serviceAccountName: default
        nodeSelector:
          workload.topology.app.farm/zone: rumsk1
+       priorityClassName: rumsk1
        containers:
          - name: app
-           image: registry.rshbdev.ru/rshbintech/crft/ckof/ownfin/frontend/prd/deposit-management-ui:2.23.0-RC2
+           image: registry.rshbdev.ru/rshbintech/crft/ckof/ownfin/frontend/prd/deposit-management-ui:2.24.0-RC1
            imagePullPolicy: IfNotPresent
            resources:
              limits:
                cpu: 250m
                memory: 512Mi
              requests:
                cpu: 200m
                memory: 128Mi
            ports:
            livenessProbe:
              failureThreshold: 5
              httpGet:
                path: /health/liveness
                port: 8080
              initialDelaySeconds: 20
              periodSeconds: 5
              successThreshold: 1
              timeoutSeconds: 1
            readinessProbe:
              failureThreshold: 3
              httpGet:
                path: /health/readiness
                port: 8080
              initialDelaySeconds: 15
              periodSeconds: 5
              successThreshold: 1
              timeoutSeconds: 1
            securityContext: 
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                - ALL
              privileged: false
              procMount: Default
              readOnlyRootFilesystem: false
              runAsGroup: 1001
              runAsNonRoot: true
              runAsUser: 1001
        securityContext: 
          fsGroup: 1001
          fsGroupChangePolicy: OnRootMismatch
          runAsGroup: 1001
          runAsNonRoot: true
          runAsUser: 1001
        tolerations: 
          - effect: NoSchedule
            key: workload.topology.app.farm/zone
            operator: Exists
        hostNetwork: false
        volumes:
isys-ownfin-rc, deposit-management-ui, Service (v1) has changed:
  # Source: base/templates/svc.yaml
  apiVersion: v1
  kind: Service
  metadata:
    name: deposit-management-ui
    labels:
      app: deposit-management-ui
      fullname: deposit-management-ui
      chart: base-1.15.2
      release: deposit-management-ui
      heritage: Helm
      isys: "ownfin-rc"
      psvc: "deposit-management-ui"
-     version: "2.23.0-RC2"
+     version: "2.24.0-RC1"
  spec:
    ports:
      - name: web
        port: 80
        protocol: TCP
        targetPort: 8080
    selector:
      app: deposit-management-ui
      fullname: deposit-management-ui
      release: deposit-management-ui
    type: ClusterIP
Listing releases matching ^vault-secrets-deposit-management-ui$
Listing releases matching ^pjob-deposit-management-ui$
Listing releases matching ^exsvc-deposit-management-ui$
Listing releases matching ^data-deposit-management-ui$
Listing releases matching ^assets-config-deposit-management-ui$
Listing releases matching ^platform-database-deposit-management-ui$
Listing releases matching ^deposit-management-ui-raw$
Listing releases matching ^deposit-management-ui-grafana-dashboard$
Listing releases matching ^links-deposit-management-ui$
Listing releases matching ^deposit-management-ui-rumsk1$
Listing releases matching ^deposit-management-ui-rumsk2$
Upgrading release=deposit-management-ui, chart=rshb-charts/base
FAILED RELEASES:
NAME
deposit-management-ui
in deploy/helmfile.yaml: failed processing release deposit-management-ui: command "/usr/local/link/helm" exited with non-zero status:
PATH:
  /usr/local/link/helm
ARGS:
  0: helm (4 bytes)
  1: --kube-context (14 bytes)
  2: rcsdstbl (8 bytes)
  3: upgrade (7 bytes)
  4: --install (9 bytes)
  5: --reset-values (14 bytes)
  6: deposit-management-ui (21 bytes)
  7: rshb-charts/base (16 bytes)
  8: --version (9 bytes)
  9: 1.15.2 (6 bytes)
  10: --wait (6 bytes)
  11: --timeout (9 bytes)
  12: 600s (4 bytes)
  13: --atomic (8 bytes)
  14: --kube-context (14 bytes)
  15: rcsdstbl (8 bytes)
  16: --namespace (11 bytes)
  17: isys-ownfin-rc (14 bytes)
  18: --values (8 bytes)
  19: /tmp/helmfile165745971/isys-ownfin-rc-deposit-management-ui-values-6c744c945 (76 bytes)
  20: --values (8 bytes)
  21: /tmp/helmfile1935110915/isys-ownfin-rc-deposit-management-ui-values-6859c8b5d4 (78 bytes)
  22: --set (5 bytes)
  23: additionalWorkloadAnnotations.gitlabPipeline=https://gitlab.rshbdev.ru/rshbintech/crft/ckof/ownfin/frontend/prd/deposit-management-ui/-/pipelines/3280765 (153 bytes)
  24: --set (5 bytes)
  25: additionalWorkloadAnnotations.gitlabCommit=907a01c6bdcfb0df92ed47c07798961e560eeec1 (83 bytes)
  26: --history-max (13 bytes)
  27: 10 (2 bytes)
ERROR:
  exit status 1
EXIT STATUS
  1
STDERR:
  Error: UPGRADE FAILED: an error occurred while rolling back the release. original upgrade error: timed out waiting for the condition: release deposit-management-ui failed: timed out waiting for the condition
COMBINED OUTPUT:
  Error: UPGRADE FAILED: an error occurred while rolling back the release. original upgrade error: timed out waiting for the condition: release deposit-management-ui failed: timed out waiting for the condition
Uploading artifacts for failed job
00:01
Uploading artifacts...
deploy.env: found 1 matching artifact files and directories 
Uploading artifacts as "dotenv" to coordinator... 201 Created  id=22876245 responseStatus=201 Created token=64_6QgbR
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: command terminated with exit code 1