CI: Measure TestGrid Flakiness workflow fails due to DNS resolution error for testgrid-data.k8s.io#22119
Conversation
…rror for testgrid-data.k8s.io Signed-off-by: Akash Kumar <meakash7902@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AkashKumar7902 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @AkashKumar7902. Thanks for your PR. I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Fixes #21912
What changed
http://testgrid-data.k8s.iohost to the officialhttps://testgrid-api.prow.k8s.ioAPI.permissions: read-allwith the least-privilege permissions the scheduled job needs:contents: readandissues: write.Why
The scheduled Measure TestGrid Flakiness workflow fails before analysis because
testgrid-data.k8s.iono longer resolves. Repairing the endpoint alone is not enough: the periodic commands use--create-issue, while the existing read-only token cannot create the intended flake issues.Impact
The nightly analysis can fetch results for its four configured TestGrid tabs and create missing
type/flakeissues. The workflow receives no repository permissions beyond reading contents and managing issues.Testing
go test ./...fromtools/testgrid-analysismake verify-yamllintPATH="/opt/homebrew/bin:$PATH" make verify-lintLive, non-writing smoke tests for all configured tabs:
The live checks deliberately omitted
--create-issue, so validation did not write to GitHub.