Auto DevOps / Buildpacks: job hangs at EXPORTING → Saving tmp-cnb-image-* (Node.js)
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The build gets stuck during the Buildpacks EXPORTING phase. Logs stop right after Saving tmp-cnb-image-***…. The image is not saved/pushed and the job never completes. I'm using local github-ce
===> EXPORTING
Adding layer 'heroku/nodejs:available_parallelism'
Adding layer 'heroku/nodejs:dist'
Adding layer 'heroku/nodejs:npm_runtime_config'
Adding layer 'heroku/nodejs:web_env'
Adding layer 'buildpacksio/lifecycle:launch.sbom'
Added 1/1 app layer(s)
Adding layer 'buildpacksio/lifecycle:launcher'
Adding layer 'buildpacksio/lifecycle:config'
Adding layer 'buildpacksio/lifecycle:process-types'
Adding label 'io.buildpacks.lifecycle.metadata'
Adding label 'io.buildpacks.build.metadata'
Adding label 'io.buildpacks.project.metadata'
Setting default process type 'web'
Saving tmp-cnb-image-895...
ERROR: failed to build: executing lifecycle: context canceled
WARNING: step_script could not run to completion because the timeout was exceeded. For more control over job and script timeouts see: https://docs.gitlab.com/ci/runners/configure_runners/#set-script-and-after_script-timeouts
ERROR: Job failed: execution took longer than 1h0m0s seconds
What i can do with this?
Here's my pipeline
stages:
- build
- test
- secret-detection
- deploy # dummy stage to follow the template guidelines
- review
- dast
- staging
- canary
- production
- incremental rollout 10%
- incremental rollout 25%
- incremental rollout 50%
- incremental rollout 100%
- performance
- cleanup
variables:
TEST_DISABLED: "true"
BROWSER_PERFORMANCE_DISABLED: "true"
LOAD_PERFORMANCE_DISABLED: "true"
SAST_DISABLED: "true"
DAST_DISABLED: "true"
REVIEW_DISABLED: "true"
SECRET_DETECTION_ENABLED: 'true'
CI_APPLICATION_REPOSITORY: "$CI_REGISTRY_IMAGE"
CS_IMAGE: "$CI_APPLICATION_REPOSITORY:$CI_APPLICATION_TAG"
CS_REGISTRY_USER: "$CI_REGISTRY_USER"
CS_REGISTRY_PASSWORD: "$CI_REGISTRY_PASSWORD"
secret_detection:
stage: secret-detection
include:
- template: Auto-DevOps.gitlab-ci.yml #https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
- local: 'cicd/deploy/deploy_base.yaml'
- local: 'cicd/deploy/deploy_sync.yaml'
- local: 'cicd/deploy/deploy_pull.yaml'
- local: 'cicd/deploy/deploy_release.yaml'
build:
stage: build
rules:
- if: '$CI_COMMIT_TAG'
variables:
CI_APPLICATION_TAG: "$CI_COMMIT_TAG"
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
variables:
CI_APPLICATION_TAG: "$CI_COMMIT_SHORT_SHA"
- if: '$CI_COMMIT_BRANCH'
variables:
CI_APPLICATION_TAG: "$CI_COMMIT_REF_SLUG"
Edited by 🤖 GitLab Bot 🤖