Skip to content
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

Build PR CI check stuck for jenkins-infra/contributor-spotlight #3888

Closed
krisstern opened this issue Jan 4, 2024 · 5 comments
Closed

Build PR CI check stuck for jenkins-infra/contributor-spotlight #3888

krisstern opened this issue Jan 4, 2024 · 5 comments
Assignees
Labels
helpdesk Infrastructure related issues management in Github

Comments

@krisstern
Copy link
Member

Service(s)

Helpdesk

Summary

The Build PR check seems to be stuck at incomplete for indefinitely in jenkins-infra/contributor-spotlight#65.

Screenshot 2024-01-05 at 2 46 27 AM

Reproduction steps

No response

@krisstern krisstern added the triage Incoming issues that need review label Jan 4, 2024
@jenkins-infra-helpdesk-app jenkins-infra-helpdesk-app bot added the helpdesk Infrastructure related issues management in Github label Jan 4, 2024
@dduportal dduportal self-assigned this Jan 5, 2024
@dduportal dduportal added this to the infra-team-sync-2024-01-09 milestone Jan 5, 2024
@dduportal dduportal removed the triage Incoming issues that need review label Jan 5, 2024
@dduportal
Copy link
Contributor

dduportal commented Jan 5, 2024

At first sight, this behavior is a consequence of the removal of the github-autostatus plugin (in #3880 (comment)) which was publishing each pipeline stage as a Github check by default.

We added branch protection rules relying on these checks resulting in this behavior.

Another example in jenkins-infra/helm-charts#1003:

Capture d’écran 2024-01-05 à 09 01 14

@dduportal
Copy link
Contributor

What to do about it:

  • Short term (cc @krisstern) if the check is not marked as "Required", and all the others checks are green, it means you can proceed to merge. Next PRs (opened after the 4th January) should not have this check anymore if i'm not mistaken
  • We'll have to update job configurations where we can afford punlishing steps such as jenkins-infra/contributor-spotlight
    to configure the github checks (the helm chart used for infra.ci jobs definition allows specifying custom check name along with enabling/disabling it)
  • For other jobs, we'll have to either relax branch protection constraint (e.g. rmeoving the disappeared checks) are add explicit publishCheck() in the related pipelines

@dduportal
Copy link
Contributor

@dduportal
Copy link
Contributor

We can close this issue: note for the users of infra.ci, please reopen with details if you see other jobs with the same problem.

@dduportal
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
helpdesk Infrastructure related issues management in Github
Projects
None yet
Development

No branches or pull requests

2 participants