-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission issue on plugin release with CD workflow #3069
Comments
Ping @timja @jglick @jetersen @danielbeck , could you help us on that? Not sure how the CD stuff works under the hood for the permissions (as the error mentions HTTP/403, then it means that the |
@dduportal it worked for last two release in the same day. https://github.com/jenkinsci/metrics-plugin/releases/tag/4.1.6.1-358.vf46b_95ea_d2b_3 https://github.com/jenkinsci/metrics-plugin/runs/7517359266?check_suite_focus=true So I don't think it's a CD issue. More likely token or artifactory being foobar. |
yeah =/ I had a brief look and not sure |
@timja @alecharp what if we locally with one of your credentials, see if we get the same.
Potentially you could diagnose it further locally. |
I can do that. give me a minute. |
I get the same thing locally
|
So that points to an issue with https://github.com/jenkins-infra/repository-permissions-updater 🤔 Maybe it foobared the permissions for your path on releases repository? |
any other repository with https://github.com/jenkins-infra/repository-permissions-updater/blob/3b610c185a05afa891a42ec489a7bac0516703e7/permissions/plugin-metrics.yml#L12 have the issue as far as you know? |
Just checked the lats runs of the repository-permissions-updated in trusted.ci.jenkins.io and it did not fails since the last 10 days. The logs clearly indicates that @alecharp is identified as one of the maintainers of the So not sure where does the issue lies. |
Okay restart artifactory? 😅 |
That is a Saas system not managed by the infra-team alas. (I don't even have admin access to the WebUI). @daniel-beck @Wadeck are you able to help on this one given your current bandwidths? |
lel. @alecharp I know the reason why your getting 403: The thing is already uploaded: I guess another build did this and we just missed it! |
Correct! I see that there is even a release note for that build. I'm still surprise we get 403 for this but 🤷 Sorry for the noise everyone. |
Actually there is a checkbox in artifactory. That either reports 403 or 409 as I recall. Been a long time since I had a look at artifactory but I do remember fixing so that for artifacts already exist and not having permission to overwrite you would not get 403. |
Service(s)
GitHub, Other
Summary
During the CD workflow on
metrics
plugin, I got a authentication issue on repo.jenkins-ci.org to publish the binaries. See https://github.com/jenkinsci/metrics-plugin/runs/7517922189?check_suite_focus=true.The releases earlier didn't have any problem.
I checked the settings on the repository and the
MAVEN_USER
andMAVEN_TOKEN
were updated 20min (before the last try). I don't know if that is linked or not.Reproduction steps
No response
The text was updated successfully, but these errors were encountered: