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


Running with gitlab-runner 15.8.0 (12335144)
  on gitlab-runner-gitlab-runner-5c5d8dfd84-mrhn4 3Sduy7zd, system ID: r_pxlbVZdKVDlV
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.8 ...
Using attach strategy to execute scripts...
Preparing environment
00:06
Waiting for pod gitlab-runners/runner-3sduy7zd-project-86030-concurrent-17lw86 to be running, status is Pending
Waiting for pod gitlab-runners/runner-3sduy7zd-project-86030-concurrent-17lw86 to be running, status is Pending
	ContainersNotReady: "containers with unready status: [build helper]"
	ContainersNotReady: "containers with unready status: [build helper]"
Running on runner-3sduy7zd-project-86030-concurrent-17lw86 via gitlab-runner-gitlab-runner-5c5d8dfd84-mrhn4...
Getting source from Git repository
00:01
$ 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/it-corp/rprul/ecp/core/backend/ms-core-cdi-cache/.git/
Created fresh repository.
Checking out 8be2f318 as master...
Skipping Git submodules setup
Downloading artifacts
00:01
Downloading artifacts for devsecops_antivirus_scan (22775938)...
Downloading artifacts from coordinator... ok        id=22775938 responseStatus=200 OK token=64_zKUvn
Downloading artifacts for dockerfilegen (22775942)...
Downloading artifacts from coordinator... ok        id=22775942 responseStatus=200 OK token=64_zKUvn
Downloading artifacts for build (22775946)...
Downloading artifacts from coordinator... ok        id=22775946 responseStatus=200 OK token=64_zKUvn
Downloading artifacts for unit (22775948)...
Downloading artifacts from coordinator... ok        id=22775948 responseStatus=200 OK token=64_zKUvn
Executing "step_script" stage of the job script
13:24
$ ( 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-ecp-dev
++ NAMESPACE=isys-ecp-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-ecp-dev history ms-core-cdi-cache
+++ tail -1
+++ cut -f1,3
Error: release: not found
++ true
++ 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
++ [[ '' =~ 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 devstbl -f deploy/helmfile.yaml --log-level info apply --suppress-secrets --set additionalWorkloadAnnotations.gitlabPipeline=https://gitlab.rshbdev.ru/rshbintech/it-corp/rprul/ecp/core/backend/ms-core-cdi-cache/-/pipelines/3267331 --set additionalWorkloadAnnotations.gitlabCommit=8be2f3184a9d1ca451e0b9cb28144fdff49e6cb2
== /usr/local/link/helmfile: Initialize base deploy hierarchy in /builds/rshbintech/it-corp/rprul/ecp/core/backend/ms-core-cdi-cache
no matches for path: envs/dev/devstbl/helmfile.yaml.gotmpl
Adding repo rshb-charts https://nexus.rshbdev.ru/repository/charts/
"rshb-charts" has been added to your repositories
Comparing release=psvc-ms-core-cdi-cache, chart=rshb-charts/raw
isys-ecp-dev, ms-core-cdi-cache, PlatformService (production.platform.ckpr.integrations.rshbintech.ru) has changed:
  # Source: raw/templates/resources.yaml
  apiVersion: production.platform.ckpr.integrations.rshbintech.ru/v1
  kind: PlatformService
  metadata:
    labels:
      app: raw
      chart: raw-0.2.3-rshb.1.0.0
      ci.build.image.app.farm/name: maven
      ci.build.image.app.farm/version: 3.9.12-eclipse-temurin-21-rshb.0.2.0
      ci.kubeclientapps.app.farm/version: 8.21.8
      ci.runtime.image.app.farm/name: jre
      ci.runtime.image.app.farm/version: 21.0.9_10-jre-jammy-rshb.1.0.0
      ci.service.app.farm/lang: java
      ci.service.app.farm/side: backend
-     commitShortSHA: 40d90ec1
+     commitShortSHA: 8be2f318
      heritage: Helm
      release: psvc-ms-core-cdi-cache
      version: master
    name: ms-core-cdi-cache
  spec:
    cpuLimits: 1000m
    cpuRequests: 300m
    description: Сервис, предназначенный для взаимодействия с общим корпоративным сервисом
      CDI физических и CDI юридических лиц
    environment: DEV
    informationSystemId: ecp-dev
    istioSidecarSettings:
      limits:
        cpu: 200m
        memory: 200Mi
      requests:
        cpu: 10m
        memory: 50Mi
    name: Микросервис cdi cache
    projectPath: /rshbintech/it-corp/rprul/ecp/core/backend/ms-core-cdi-cache
    publicDomain: ms-core-cdi-cache
    publishAPI: true
    ramLimits: 1000Mi
    ramRequests: 1000Mi
    replicaCount: 1
    serviceReference:
      name: ms-core-cdi-cache
      namespace: isys-ecp-dev
    side: backend
    updateStrategy: Recreate
Comparing release=ms-core-cdi-cache, chart=rshb-charts/base
********************
	Release was not present in Helm.  Diff will show entire contents as new.
********************
isys-ecp-dev, ms-core-cdi-cache, Deployment (apps) has been added:
- 
+ # Source: base/templates/workload.yaml
+ apiVersion: apps/v1
+ kind: Deployment
+ metadata:
+   name: ms-core-cdi-cache
+   labels:
+     app: ms-core-cdi-cache
+     fullname: ms-core-cdi-cache
+     chart: base-1.15.2
+     release: ms-core-cdi-cache
+     heritage: Helm
+     isys: "ecp-dev"
+     psvc: "ms-core-cdi-cache"
+     version: "master"    
+     workload.topology.app.farm/zone: "rumsk1"
+   annotations:
+     gitlabCommit: 8be2f3184a9d1ca451e0b9cb28144fdff49e6cb2
+     gitlabPipeline: https://gitlab.rshbdev.ru/rshbintech/it-corp/rprul/ecp/core/backend/ms-core-cdi-cache/-/pipelines/3267331
+     platform.ckpr.integrations.rshbintech.ru/gitlab-commit-sha: 8be2f318
+     platform.ckpr.integrations.rshbintech.ru/gitlab-pipeline-id: "3267331"
+ spec:
+   strategy:
+     type: Recreate
+   replicas: 1
+   selector:
+     matchLabels:
+       app: ms-core-cdi-cache
+       fullname: ms-core-cdi-cache
+       release: ms-core-cdi-cache
+   template:
+     metadata:
+       labels:
+         app: ms-core-cdi-cache
+         fullname: ms-core-cdi-cache
+         chart: base-1.15.2
+         release: ms-core-cdi-cache
+         heritage: Helm
+         isys: "ecp-dev"
+         psvc: "ms-core-cdi-cache"
+         version: "master"        
+         workload.topology.app.farm/zone: "rumsk1"
+       annotations:
+         checksum/configMapsEnv: "dcb20258a0da7d706225d1ea575a81008bc20d6f747883a64dbfc3f138207404"
+         checksum/secretEnv: "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
+         ci/commithash: "8be2f318"
+         inject.istio.io/templates: "sidecar,custom"
+         prometheus.io/path: "/metrics"
+         prometheus.io/port: "8080"
+         prometheus.io/scrape: "true"
+         sidecar.istio.io/proxyCPU: "10m"
+         sidecar.istio.io/proxyCPULimit: "200m"
+         sidecar.istio.io/proxyMemory: "50Mi"
+         sidecar.istio.io/proxyMemoryLimit: "200Mi"
+         sidecar.istio.io/userVolume: "[{\"name\": \"wasmfilters-dir\",\"configMap\": {\"name\": \"ecp-dev-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
+       containers:
+         - name: app
+           image: registry.rshbdev.ru/rshbintech/it-corp/rprul/ecp/core/backend/ms-core-cdi-cache:master
+           imagePullPolicy: Always
+           envFrom:
+             - configMapRef:
+                 name: ms-core-cdi-cache-app-cm-env
+           resources:
+             limits:
+               cpu: 1000m
+               memory: 1000Mi
+             requests:
+               cpu: 300m
+               memory: 1000Mi
+           ports:
+           startupProbe:
+             failureThreshold: 100
+             httpGet:
+               path: /health/liveness
+               port: 8080
+             periodSeconds: 5
+             successThreshold: 1
+             timeoutSeconds: 2
+           livenessProbe:
+             failureThreshold: 3
+             httpGet:
+               path: /health/liveness
+               port: 8080
+             initialDelaySeconds: 30
+             periodSeconds: 10
+             successThreshold: 1
+             timeoutSeconds: 2
+           readinessProbe:
+             failureThreshold: 3
+             httpGet:
+               path: /health/readiness
+               port: 8080
+             initialDelaySeconds: 15
+             periodSeconds: 5
+             successThreshold: 1
+             timeoutSeconds: 2
+           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-ecp-dev, ms-core-cdi-cache, Service (v1) has been added:
- 
+ # Source: base/templates/svc.yaml
+ apiVersion: v1
+ kind: Service
+ metadata:
+   name: ms-core-cdi-cache
+   labels:
+     app: ms-core-cdi-cache
+     fullname: ms-core-cdi-cache
+     chart: base-1.15.2
+     release: ms-core-cdi-cache
+     heritage: Helm
+     isys: "ecp-dev"
+     psvc: "ms-core-cdi-cache"
+     version: "master"
+ spec:
+   ports:
+     - name: web
+       port: 80
+       protocol: TCP
+       targetPort: 8080
+   selector:
+     app: ms-core-cdi-cache
+     fullname: ms-core-cdi-cache
+     release: ms-core-cdi-cache
+   type: ClusterIP
isys-ecp-dev, ms-core-cdi-cache-app-cm-env, ConfigMap (v1) has been added:
- 
+ # Source: base/templates/cm-env.yaml
+ apiVersion: v1
+ kind: ConfigMap
+ metadata:
+   name: ms-core-cdi-cache-app-cm-env
+   labels:
+     app: ms-core-cdi-cache
+     fullname: ms-core-cdi-cache
+     chart: base-1.15.2
+     release: ms-core-cdi-cache
+     heritage: Helm
+     isys: "ecp-dev"
+     psvc: "ms-core-cdi-cache"
+     version: "master"    
+     workload.topology.app.farm/zone: "rumsk1"
+ data:
+   APP_LOGBACK_SERVICE: "classpath:logback-service-dev.xml"
+   JAVA_OPTS: "-XX:+PrintFlagsFinal -XX:MaxRAMPercentage=75.0 -XX:MinRAMPercentage=75.0 -XX:+UseTransparentHugePages"
+   SPRING_PROFILES_ACTIVE: "dev"
Listing releases matching ^vault-secrets-ms-core-cdi-cache$
Listing releases matching ^pjob-ms-core-cdi-cache$
Listing releases matching ^exsvc-ms-core-cdi-cache$
Listing releases matching ^data-ms-core-cdi-cache$
Listing releases matching ^assets-config-ms-core-cdi-cache$
Listing releases matching ^platform-database-ms-core-cdi-cache$
Listing releases matching ^ms-core-cdi-cache-raw$
Listing releases matching ^ms-core-cdi-cache-grafana-dashboard$
Listing releases matching ^links-ms-core-cdi-cache$
Listing releases matching ^ms-core-cdi-cache-rumsk1$
Listing releases matching ^ms-core-cdi-cache-rumsk2$
Upgrading release=psvc-ms-core-cdi-cache, chart=rshb-charts/raw
Release "psvc-ms-core-cdi-cache" has been upgraded. Happy Helming!
NAME: psvc-ms-core-cdi-cache
LAST DEPLOYED: Tue Jun 23 10:55:01 2026
NAMESPACE: isys-ecp-dev
STATUS: deployed
REVISION: 3
TEST SUITE: None
Listing releases matching ^psvc-ms-core-cdi-cache$
psvc-ms-core-cdi-cache	isys-ecp-dev	3       	2026-06-23 10:55:01.856071462 +0000 UTC	deployed	raw-0.2.3-rshb.1.0.0	0.2.3      
Upgrading release=ms-core-cdi-cache, chart=rshb-charts/base
Release "ms-core-cdi-cache" does not exist. Installing it now.
UPDATED RELEASES:
NAME                     CHART                      VERSION
psvc-ms-core-cdi-cache   rshb-charts/raw   0.2.3-rshb.1.0.0
FAILED RELEASES:
NAME
ms-core-cdi-cache
in deploy/helmfile.yaml: failed processing release ms-core-cdi-cache: 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: devstbl (7 bytes)
  3: upgrade (7 bytes)
  4: --install (9 bytes)
  5: --reset-values (14 bytes)
  6: ms-core-cdi-cache (17 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: devstbl (7 bytes)
  16: --namespace (11 bytes)
  17: isys-ecp-dev (12 bytes)
  18: --values (8 bytes)
  19: /tmp/helmfile3248195840/isys-ecp-dev-ms-core-cdi-cache-values-c688b5b6b (71 bytes)
  20: --values (8 bytes)
  21: /tmp/helmfile2372683404/isys-ecp-dev-ms-core-cdi-cache-values-7697bdf7b6 (72 bytes)
  22: --set (5 bytes)
  23: additionalWorkloadAnnotations.gitlabPipeline=https://gitlab.rshbdev.ru/rshbintech/it-corp/rprul/ecp/core/backend/ms-core-cdi-cache/-/pipelines/3267331 (150 bytes)
  24: --set (5 bytes)
  25: additionalWorkloadAnnotations.gitlabCommit=8be2f3184a9d1ca451e0b9cb28144fdff49e6cb2 (83 bytes)
  26: --history-max (13 bytes)
  27: 10 (2 bytes)
ERROR:
  exit status 1
EXIT STATUS
  1
STDERR:
  Error: release ms-core-cdi-cache failed, and has been uninstalled due to atomic being set: timed out waiting for the condition
COMBINED OUTPUT:
  Release "ms-core-cdi-cache" does not exist. Installing it now.
  Error: release ms-core-cdi-cache failed, and has been uninstalled due to atomic being set: 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=22775953 responseStatus=201 Created token=64_zKUvn
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: command terminated with exit code 1