Failure in browser_ui/5_package/maven_gradle_repository_spec.rb |Package Maven Repository with Gradle authentication_token_type: :ci_job_token, maven_header_name: "Job-Token" pushes and pulls a maven package via gradle using ci_job_token
The pipeline failures (which include all package managers) are something related to the runner startup, to pull the runner helper image
Pulling docker image registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-c1edb478 ...8WARNING: Failed to pull image with policy "always": Error response from daemon: manifest for registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-c1edb478 not found: manifest unknown: manifest unknown (manager.go:205:0s)10ERROR: Job failed (system failure): failed to pull image "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-c1edb478" with specified policies [always]: Error response from daemon: manifest for registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-c1edb478 not found: manifest unknown: manifest unknown (manager.go:205:0s)
the above screenshot points to a failure where the runtime configurations to build the package are not resolved. I was not able to reproduce this (screenshot) failure against found:main .
changed the title since this is happnening specifically with the Job Token. Ran locally and it passes with 3 different methods of authentication. The problem seems to happen after the package is published and when it is consumed by another project. Running it against staging to see if I can reproduce it.
reproduced the error in staging consistently and got
37Execution failed for task ':startScripts'.38> Could not resolve all files for configuration ':runtimeClasspath'.39 > Could not find com.gitlab.qa:maven_gradle:1.3.7.40 Searched in the following locations:41 - https://jcenter.bintray.com/com/gitlab/qa/maven_gradle/1.3.7/maven_gradle-1.3.7.pom42 - https://staging.gitlab.com:443/api/v4/projects/6255437/packages/maven/com/gitlab/qa/maven_gradle/1.3.7/maven_gradle-1.3.7.pom43 Required by:44 project :
Sofia Vistaschanged title from Failure in browser_ui/5_package/maven_gradle_repository_spec.rb |Package Maven Repository with Gradle publishes a maven package via gradle to Failure in browser_ui/5_package/maven_gradle_repository_spec.rb |Package Maven Repository with Gradle authentication_token_type: :ci_job_token, maven_header_name: "Job-Token" pushes and pulls a maven package via gradle using ci_job_token
changed title from Failure in browser_ui/5_package/maven_gradle_repository_spec.rb |Package Maven Repository with Gradle publishes a maven package via gradle to Failure in browser_ui/5_package/maven_gradle_repository_spec.rb |Package Maven Repository with Gradle authentication_token_type: :ci_job_token, maven_header_name: "Job-Token" pushes and pulls a maven package via gradle using ci_job_token
@sliaquat could you please check if this is still happening today? We have deployed a change in the database that disables job token scope by default in project's settings for new projects.
I've also enabled the feature flag that would allow users to opt-in if they want to.