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


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/rshbintech/integrations/ckpr/infra/images/kube-client-apps:8.21.1 ...
Using attach strategy to execute scripts...
Preparing environment
00:06
Waiting for pod gitlab-runners/runner-u1ohxtym-project-78193-concurrent-0nchj4 to be running, status is Pending
Waiting for pod gitlab-runners/runner-u1ohxtym-project-78193-concurrent-0nchj4 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-78193-concurrent-0nchj4 via gitlab-runner-gitlab-runner-7d64bfd458-xlzsd...
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-invest/almsystem/suapng/suap/paymentcalendar/.git/
Created fresh repository.
Checking out 7fcfcff6 as master...
Skipping Git submodules setup
Downloading artifacts
00:01
Downloading artifacts for devsecops_antivirus_scan (22895537)...
Downloading artifacts from coordinator... ok        id=22895537 responseStatus=200 OK token=64_Wu2gA
Executing "step_script" stage of the job script
10: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-suap-dev
++ NAMESPACE=isys-suap-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-suap-dev history paymentcalendar
+++ 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/it-invest/almsystem/suapng/suap/paymentcalendar
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-paymentcalendar, chart=rshb-charts/raw
Comparing release=psvc-paymentcalendar, chart=rshb-charts/raw
Comparing release=platform-database-paymentcalendar, chart=rshb-charts/raw
Comparing release=links-paymentcalendar, chart=rshb-charts/raw
Comparing release=paymentcalendar, chart=rshb-charts/base
isys-suap-dev, paymentcalendar, Deployment (apps) has changed:
  # Source: base/templates/workload.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: paymentcalendar
    labels:
      app: paymentcalendar
      fullname: paymentcalendar
      chart: base-1.14.2
      release: paymentcalendar
      heritage: Helm
      isys: "suap-dev"
      psvc: "paymentcalendar"
      version: "master"    
      workload.topology.app.farm/zone: "rumsk1"
    annotations:
-     platform.ckpr.integrations.rshbintech.ru/gitlab-commit-sha: 6a3761cb
-     platform.ckpr.integrations.rshbintech.ru/gitlab-pipeline-id: "3249994"
+     platform.ckpr.integrations.rshbintech.ru/gitlab-commit-sha: 7fcfcff6
+     platform.ckpr.integrations.rshbintech.ru/gitlab-pipeline-id: "3283898"
  spec:
    strategy:
      type: RollingUpdate
    replicas: 1
    selector:
      matchLabels:
        app: paymentcalendar
        fullname: paymentcalendar
        release: paymentcalendar
    template:
      metadata:
        labels:
          app: paymentcalendar
          fullname: paymentcalendar
          chart: base-1.14.2
          release: paymentcalendar
          heritage: Helm
          isys: "suap-dev"
          psvc: "paymentcalendar"
          version: "master"        
          workload.topology.app.farm/zone: "rumsk1"
        annotations:
-         checksum/configMapsEnv: "708d896dcf31f0277036b83d85cae829cc688c63222f08fd52b291fca1326ac8"
+         checksum/configMapsEnv: "be8168263731ea7fd8790f6c355dc6afebb1251655ce49e25b2a8b5ff3166c00"
          checksum/secretEnv: "03b85d21ffc5fc31cc6bf18bec849fbfae2e8099b86c369919c0a89762db7d28"
-         ci/commithash: "6a3761cb"
+         ci/commithash: "7fcfcff6"
          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\": \"suap-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/it-invest/almsystem/suapng/suap/paymentcalendar:master
            imagePullPolicy: Always
            envFrom:
              - configMapRef:
                  name: paymentcalendar-app-cm-env
              - secretRef:
                  name: paymentcalendar-app-secret-env
            resources:
              limits:
                cpu: 400m
                memory: 512Mi
              requests:
                cpu: 200m
                memory: 256Mi
            ports:
            startupProbe:
              failureThreshold: 5
              httpGet:
                path: /health/liveness
                port: 8080
              periodSeconds: 60
              successThreshold: 1
              timeoutSeconds: 1
            livenessProbe:
              failureThreshold: 5
              httpGet:
                path: /health/liveness
                port: 8080
              initialDelaySeconds: 0
              periodSeconds: 5
              successThreshold: 1
              timeoutSeconds: 1
            readinessProbe:
              failureThreshold: 3
              httpGet:
                path: /health/readiness
                port: 8080
              initialDelaySeconds: 15
              periodSeconds: 300
              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-suap-dev, paymentcalendar-app-cm-env, ConfigMap (v1) has changed:
  # Source: base/templates/cm-env.yaml
  apiVersion: v1
  kind: ConfigMap
  metadata:
    name: paymentcalendar-app-cm-env
    labels:
      app: paymentcalendar
      fullname: paymentcalendar
      chart: base-1.14.2
      release: paymentcalendar
      heritage: Helm
      isys: "suap-dev"
      psvc: "paymentcalendar"
      version: "master"    
      workload.topology.app.farm/zone: "rumsk1"
  data:
    API_DESCRIPTION: "Сервис для построения Платежного Календаря"
    API_NAME: "Сервис PaymentCalendar"
    APP_MINIO_HOST: "10.7.97.15"
    APP_MINIO_NAME: "suap"
    APP_MINIO_PORT: "9000"
    APP_PAINT_UPDATE_TIMEOUT_SECONDS: "1200"
    APP_PAYCAL_ARCH_HISTORY_CLEAR_SCHEDULE: "0 0 22 * * ?"
    APP_PAYMENT_CALENDAR_TABLE: "payment_calendar_tech"
    APP_POSTGRESQL_BB_HOST: "10.7.44.41"
    APP_POSTGRESQL_BB_NAME: "suap_balancebuilder"
    APP_POSTGRESQL_BB_PORT: "5432"
    APP_POSTGRESQL_WF_HOST: "10.7.44.41"
    APP_POSTGRESQL_WF_NAME: "suap_workflow"
    APP_POSTGRESQL_WF_PORT: "5432"
    ASPNETCORE_ENVIRONMENT: "Development"
    ASPNETCORE_URLS: "http://+:8080"
    LANG: "ru_RU.UTF-8"
    LANGUAGE: "ru_RU.UTF-8"
    LC_ALL: "ru_RU.UTF-8"
    NotificationSenderPayCalProducerSettings__BootstrapServers: "adapter-suap-internal-cluster.isys-suap-dev-links:9092"
    NotificationSenderPayCalProducerSettings__MessageTimeoutMs: "1000"
    NotificationSenderPayCalProducerSettings__RetryCount: "3"
    NotificationSenderPayCalProducerSettings__Topic: "suap.notificationsender.pay-cal"
    OIDC_AUTHORITY: "https://auth.rshbdev.ru/auth/realms/platform"
    ROLES_CLAIM: "isys-suap-dev-client.roles"
    SIGNALR_CORS_RESOLVE_FRONT_ADDRESS: "https://frontend.suap.dev.rshbdev.ru"
    TZ: "Europe/Moscow"
    VisiologySenderProducerSettings__BootstrapServers: "adapter-suap-internal-cluster.isys-suap-dev-links:9092"
    VisiologySenderProducerSettings__EnableIdempotence: "true"
    VisiologySenderProducerSettings__MessageTimeoutMs: "1000"
    VisiologySenderProducerSettings__RetryCount: "3"
-   VisiologySenderProducerSettings__Topic: "suap.pay-cal.visiology-request.v1"
+   VisiologySenderProducerSettings__Topic: "suap.visiology-request.v1"
Listing releases matching ^pjob-paymentcalendar$
Listing releases matching ^exsvc-paymentcalendar$
Listing releases matching ^data-paymentcalendar$
Listing releases matching ^assets-config-paymentcalendar$
Listing releases matching ^paymentcalendar-raw$
Listing releases matching ^paymentcalendar-grafana-dashboard$
Listing releases matching ^paymentcalendar-rumsk1$
Listing releases matching ^paymentcalendar-rumsk2$
Upgrading release=paymentcalendar, chart=rshb-charts/base
FAILED RELEASES:
NAME
paymentcalendar
in deploy/helmfile.yaml: failed processing release paymentcalendar: 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: paymentcalendar (15 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-suap-dev (13 bytes)
  18: --values (8 bytes)
  19: /tmp/helmfile1798435654/isys-suap-dev-paymentcalendar-values-6cc5748c6b (71 bytes)
  20: --values (8 bytes)
  21: /tmp/helmfile2896914382/isys-suap-dev-paymentcalendar-values-7c86cddcb4 (71 bytes)
  22: --history-max (13 bytes)
  23: 10 (2 bytes)
ERROR:
  exit status 1
EXIT STATUS
  1
STDERR:
  Error: UPGRADE FAILED: release paymentcalendar failed, and has been rolled back due to atomic being set: timed out waiting for the condition
COMBINED OUTPUT:
  Error: UPGRADE FAILED: release paymentcalendar failed, and has been rolled back 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=22909366 responseStatus=201 Created token=64_Wu2gA
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: command terminated with exit code 1