Closed jonesbusy closed 2 months ago
Still happen this morning when trying to restart the CD job
I confirm the RPu job works as expected and did update the permissions on Artifactory.
I'm checking 2 different paths:
Interesting: I can't find a permission set on Artifactory for the plugin, which most probably explains why the HTTP/403 as the token is present and used with success for authentication (otherwise the error would be HTTP/401).
I continue in this direction (as I'm not at ease with this system: need to learn code and logs :) )
Ping @timja @daniel-beck @MarkEWaite @NotMyFault if this behavior ring a bell, I would benefit from a bit of help as I'm not really at ease with the RPU process when it comes to initializing a repository.
On Artifactory, the group generatedv2-cd-jenkinsci_commons-math3-api-plugin
exists but it does not have any permissions associated.
Is the Artifactory permission set created by RPU or is it a manual bootstrap step requiring a human?
There is nothing manual here
We could revert https://github.com/jenkins-infra/repository-permissions-updater/pull/3938 if there's nothing clear in the logs
We could revert jenkins-infra/repository-permissions-updater#3938 if there's nothing clear in the logs
I was searching for the RPU log in trusted.ci but it looks like it was already cleaned up by the GC. Good idea: let's revert, et reinsert it to see the result
Triggered the build manually on trusted.ci: let's see
Triggered the build manually on trusted.ci: let's see
The permission scheme did appear after the build (using the reverted change).
@jonesbusy you should be able to trigger your release, can you confirm if it works or no?
@timja I believe the Groovy script change need to be revisited?
Thanks, all working as expected now : https://github.com/jenkinsci/commons-math3-api-plugin/actions/runs/10488442979/job/29050922506
On Artifactory, the group
generatedv2-cd-jenkinsci_commons-math3-api-plugin
exists but it does not have any permissions associated.
FWIW this should be apparent in -DdryRun
.
Hi, I just saw that something was broken by my PR. Is there any way of tracing what exactly was broken using stacktraces or messages?
Please contact me
@TheMeinerLP are you still interested in rewriting these groovy scripts in Java? I understand GSoC is over, but Hacktoberfest is still in progress :)
In case you're wondering what the errors are, I guess the best would be to run the tool with dryRun
as Daniel suggested, and compare the resulting JSONs before/after your changes.
I am still interested to rewrite it :D
The json looks so far correct some apply logic is not called on the end
FTR Artifactory admins (e.g. me) can run the tool with production-like options and then inspect what was sent to Artifactory without affecting actual granted permissions. Probably not a bad idea for the next iteration once the dry run looks good 😃
No anomalies of this magnitude appeared in the dry run at that time. That was the amazing thing. I will definitely come back to the offer
Service(s)
ci.jenkins.io
Summary
Hi,
This is the failed CD with 403 status code
https://github.com/jenkinsci/commons-math3-api-plugin/actions/runs/10469413524/job/28993165349
Hosting request: https://github.com/jenkins-infra/repository-permissions-updater/issues/4041 RPU PR: https://github.com/jenkins-infra/repository-permissions-updater/pull/4042
Contains all what's needed
The token are created on https://github.com/jenkinsci/commons-math3-api-plugin/settings/secrets/actions
Is there anything that I'm missing ?
Thanks
Reproduction steps
No response