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


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.3 ...
Using attach strategy to execute scripts...
Preparing environment
00:06
Waiting for pod gitlab-runners/runner-x3t1qxkg-project-30277-concurrent-0chsv7 to be running, status is Pending
Waiting for pod gitlab-runners/runner-x3t1qxkg-project-30277-concurrent-0chsv7 to be running, status is Pending
	ContainersNotReady: "containers with unready status: [build helper]"
	ContainersNotReady: "containers with unready status: [build helper]"
Running on runner-x3t1qxkg-project-30277-concurrent-0chsv7 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/pipeline-sessionmanager/.git/
Created fresh repository.
Checking out c8484abd as master...
Skipping Git submodules setup
Downloading artifacts
00:01
Downloading artifacts for devsecops_antivirus_scan (21854428)...
Downloading artifacts from coordinator... ok        id=21854428 responseStatus=200 OK token=64_JD6Qa
Executing "step_script" stage of the job script
20:31
$ ( 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 pipeline-sessionmanager
+++ 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
++ [[ pending-upgrade =~ pending ]]
++ helm --kube-context devstbl -n isys-aml-dev rollback pipeline-sessionmanager 209
Rollback was a success! Happy Helming!
++ 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/pipeline-sessionmanager
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=vault-secrets-pipeline-sessionmanager, chart=rshb-charts/raw
Comparing release=psvc-pipeline-sessionmanager, chart=rshb-charts/raw
isys-aml-dev, pipeline-sessionmanager, 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:
    annotations:
      ci/vendoredImageName: consaltica.registry.rshbdev.ru/pipeline-sessionmanager
      ci/vendoredImageTag: 5.3.5
    labels:
      app: raw
      chart: raw-0.2.3-rshb.1.0.0
      ci.build.image.app.farm/name: unknown
      ci.build.image.app.farm/version: unknown
      ci.kubeclientapps.app.farm/version: 8.21.3
      ci.runtime.image.app.farm/name: unknown
      ci.runtime.image.app.farm/version: unknown
      ci.service.app.farm/lang: java
      ci.service.app.farm/side: backend
-     commitShortSHA: 6b6bff75
+     commitShortSHA: c8484abd
      heritage: Helm
      release: psvc-pipeline-sessionmanager
      vendorId: consaltica
      version: 5.3.5-rshb.master
    name: pipeline-sessionmanager
  spec:
    cpuLimits: 6000m
    cpuRequests: 500m
    description: 'Менеджер сеансов: pipeline-sessionmanager'
    environment: DEV
    informationSystemId: aml-dev
    name: 'Менеджер сеансов: pipeline-sessionmanager'
    projectPath: /rshbintech/abs/banking-accounting/aml/pipeline-sessionmanager
    publicDomain: pipeline-sessionmanager
    ramLimits: 16384Mi
    ramRequests: 4048Mi
    replicaCount: 1
    serviceReference:
      name: pipeline-sessionmanager
      namespace: isys-aml-dev
    side: backend
    updateStrategy: Recreate
    vendorId: consaltica
Comparing release=data-pipeline-sessionmanager, chart=rshb-charts/raw
Comparing release=platform-database-pipeline-sessionmanager, chart=rshb-charts/raw
Comparing release=pipeline-sessionmanager-grafana-dashboard, chart=rshb-charts/grafana-dashboards
Comparing release=links-pipeline-sessionmanager, chart=rshb-charts/raw
Comparing release=pipeline-sessionmanager, chart=rshb-charts/base
isys-aml-dev, pipeline-sessionmanager, Deployment (apps) has changed:
  # Source: base/templates/workload.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: pipeline-sessionmanager
    labels:
      app: pipeline-sessionmanager
      fullname: pipeline-sessionmanager
      chart: base-1.14.2
      release: pipeline-sessionmanager
      heritage: Helm
      isys: "aml-dev"
      psvc: "pipeline-sessionmanager"
      version: "5.3.5-rshb.master"    
      workload.topology.app.farm/zone: "rumsk1"
    annotations:
-     platform.ckpr.integrations.rshbintech.ru/gitlab-commit-sha: 6b6bff75
-     platform.ckpr.integrations.rshbintech.ru/gitlab-pipeline-id: "3135730"
+     platform.ckpr.integrations.rshbintech.ru/gitlab-commit-sha: c8484abd
+     platform.ckpr.integrations.rshbintech.ru/gitlab-pipeline-id: "3135778"
  spec:
    strategy:
      type: Recreate
    replicas: 1
    selector:
      matchLabels:
        app: pipeline-sessionmanager
        fullname: pipeline-sessionmanager
        release: pipeline-sessionmanager
    template:
      metadata:
        labels:
          app: pipeline-sessionmanager
          fullname: pipeline-sessionmanager
          chart: base-1.14.2
          release: pipeline-sessionmanager
          heritage: Helm
          isys: "aml-dev"
          psvc: "pipeline-sessionmanager"
          version: "5.3.5-rshb.master"        
          workload.topology.app.farm/zone: "rumsk1"
        annotations:
          checksum/configMapsEnv: "87193b3809ebbd5a985b2ab073965ca23737c9be0a2de1b9aa39ccb5d2d96714"
          checksum/secretEnv: "49c5a11980717c5d8ae4ae5509ee50aa9e9c59bf742aef71b14800f72cd5e028"
-         ci/commithash: "6b6bff75"
+         ci/commithash: "c8484abd"
          inject.istio.io/templates: "sidecar,custom"
          prometheus.io/path: "/metrics"
          prometheus.io/port: "8080"
          prometheus.io/scrape: "true"
          sidecar.istio.io/userVolume: "[{\"name\": \"wasmfilters-dir\",\"configMap\": {\"name\": \"aml-dev-envoy-filters\"}}]"
          sidecar.istio.io/userVolumeMount: "[{\"mountPath\":\"/var/local/lib/wasm-filters\",\"name\":\"wasmfilters-dir\"}]"
      spec:
        serviceAccountName: default
        nodeSelector:
          workload.topology.app.farm/zone: rumsk1
        priorityClassName:
          rumsk1
        containers:
          - name: app
            image: registry.rshbdev.ru/rshbintech/abs/banking-accounting/aml/pipeline-sessionmanager:5.3.5-rshb.master
            imagePullPolicy: Always
            envFrom:
              - configMapRef:
                  name: pipeline-sessionmanager-app-cm-env
              - secretRef:
                  name: pipeline-sessionmanager-app-secret-env
            resources:
              limits:
                cpu: 6000m
                memory: 16384Mi
              requests:
                cpu: 500m
                memory: 4048Mi
            ports:
            livenessProbe:
              failureThreshold: 5
              httpGet:
                path: /health/liveness
                port: 8080
              initialDelaySeconds: 180
              periodSeconds: 30
              successThreshold: 1
              timeoutSeconds: 1
            readinessProbe:
              failureThreshold: 3
              httpGet:
                path: /health/readiness
                port: 8080
              initialDelaySeconds: 180
              periodSeconds: 30
              successThreshold: 1
              timeoutSeconds: 1
            volumeMounts:
              - name: app-data
                mountPath: /data
            securityContext: 
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                - ALL
              privileged: false
              procMount: Default
              readOnlyRootFilesystem: false
              runAsNonRoot: true
        securityContext: 
          runAsNonRoot: true
        tolerations: 
          - effect: NoSchedule
            key: workload.topology.app.farm/zone
            operator: Exists
        hostNetwork: false
        volumes:
          - name: app-data
            configMap:
              name: pipeline-sessionmanager-data
              defaultMode: 420
Listing releases matching ^pjob-pipeline-sessionmanager$
Listing releases matching ^exsvc-pipeline-sessionmanager$
Listing releases matching ^assets-config-pipeline-sessionmanager$
Listing releases matching ^pipeline-sessionmanager-raw$
Listing releases matching ^pipeline-sessionmanager-rumsk1$
Listing releases matching ^pipeline-sessionmanager-rumsk2$
Upgrading release=psvc-pipeline-sessionmanager, chart=rshb-charts/raw
Release "psvc-pipeline-sessionmanager" has been upgraded. Happy Helming!
NAME: psvc-pipeline-sessionmanager
LAST DEPLOYED: Thu May 14 12:25:29 2026
NAMESPACE: isys-aml-dev
STATUS: deployed
REVISION: 109
TEST SUITE: None
Listing releases matching ^psvc-pipeline-sessionmanager$
psvc-pipeline-sessionmanager	isys-aml-dev	109     	2026-05-14 12:25:29.269996285 +0000 UTC	deployed	raw-0.2.3-rshb.1.0.0	0.2.3      
Upgrading release=pipeline-sessionmanager, chart=rshb-charts/base
UPDATED RELEASES:
NAME                           CHART                      VERSION
psvc-pipeline-sessionmanager   rshb-charts/raw   0.2.3-rshb.1.0.0
FAILED RELEASES:
NAME
pipeline-sessionmanager
in deploy/helmfile.yaml: failed processing release pipeline-sessionmanager: 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: pipeline-sessionmanager (23 bytes)
  7: rshb-charts/base (16 bytes)
  8: --version (9 bytes)
  9: 1.14.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-aml-dev (12 bytes)
  18: --values (8 bytes)
  19: /tmp/helmfile3755560206/isys-aml-dev-pipeline-sessionmanager-values-5bd5858ccb (78 bytes)
  20: --values (8 bytes)
  21: /tmp/helmfile3896691704/isys-aml-dev-pipeline-sessionmanager-values-788656995f (78 bytes)
  22: --history-max (13 bytes)
  23: 10 (2 bytes)
ERROR:
  exit status 1
EXIT STATUS
  1
STDERR:
  E0514 12:25:33.408475    1251 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
  E0514 12:25:33.424025    1251 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
  Error: UPGRADE FAILED: an error occurred while rolling back the release. original upgrade error: timed out waiting for the condition: release pipeline-sessionmanager failed: timed out waiting for the condition
COMBINED OUTPUT:
  E0514 12:25:33.408475    1251 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
  E0514 12:25:33.424025    1251 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
  Error: UPGRADE FAILED: an error occurred while rolling back the release. original upgrade error: timed out waiting for the condition: release pipeline-sessionmanager 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=21854435 responseStatus=201 Created token=64_JD6Qa
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: command terminated with exit code 1