Problem to solve
ERROR: Downloading artifacts from coordinator… forbidden host=cdn.artifacts.gitlab-static.net id=id responseStatus=403 Forbidden status=403 Forbidden token=token on self hosted runner
- Downloading job artifacts became impossible after Access token had been revoked on May 14
- successful package job
Runtime platform arch=amd64 os=linux pid=464950 revision=44feccdf version=17.0.0
./target/debug-infra.jar: found 1 matching artifact files and directories
Uploading artifacts as "archive" to coordinator... 201 Created id=6901779193 responseStatus=201 Created token=glcbt-65
- failed build job
ERROR: Downloading artifacts from coordinator... forbidden host=cdn.artifacts.gitlab-static.net id=6901779193 responseStatus=403 Forbidden status=403 Forbidden token=glcbt-65
FATAL: permission denied
Steps to reproduce
-
repo with sample app
-
pipeline
stages:
- test
- package
- build
cache:
key: maven
paths:
- .m2/repository/
variables:
MAVEN_OPTS: >-
-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository
MAVEN_CLI_OPTS: >-
--batch-mode
--errors
--fail-at-end
--show-version
test:
stage: test
script:
- mvn $MAVEN_CLI_OPTS test
package:
stage: package
needs:
- package
cache:
key: maven
paths:
- .m2/repository/
script:
- mvn $MAVEN_CLI_OPTS clean package
artifacts:
paths:
- ./target/demo-app.jar
expire_in: 1 hour
build:
stage: build
needs:
- package
variables:
DOCKER_USER: demo
IMAGE_NAME: debug-app
CONTAINER_IMAGE: ${DOCKER_USER}/${IMAGE_NAME}:${CI_COMMIT_SHORT_SHA}
IMAGE_TAG: latest
script:
- docker build -t ${CONTAINER_IMAGE} .
- docker tag ${CONTAINER_IMAGE} ${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_TAG}
Which troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
- Update runner binary to v17.0.0
- reregister the runner
Versions
Please select whether options apply, and add the version information.
- GitLab.com SaaS
Versions
- GitLab (Web:
/help
or self-managed system information): v17.0.0 - GitLab Runner, if self-hosted (Web
/admin/runners
or CLIgitlab-runner --version
): 17.0.0