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
PR status check continuous-integration/jenkins/pr-head
points to unconfigured-jenkins-location sometimes
#1665
Comments
@jbw976 Is this still an issue? I don't think I saw a PR in the last 2-3 weeks that had this issue and if they had this issue from previously, a force push fixed the issue. |
@galexrt yes i still see it and have been restarting the builds when it happens |
This happened last night again, this time on #1719. I've poked around the Jenkins config and googled a bunch and can not find a cause or resolution for this very annoying issue. |
@travisn what do you mean "restart the builds"? In most cases, the build on Jenkin's side is actually green, but in the Github PR the check is pointing to the broken EDIT: oh, starting a new build (not replaying) for the rook/rook pipeline on the correct PR branch does actually update the PR status when it's complete. That's good to know going forward. |
@jbw976 right, i've seen the PR status get updated after the build is restarted. |
By looking at the history of statuses for a given commit in a PR, we can see the history of status updates that in turn influence the status of the PR. Take this status history for example from #1769 that can be found in full at
Note that build 6 is in a success state, then a day later @DoubleDensity comes along and sets it to error with the uconfigured-jenkins-location URL but for build 5 (the previous build). Then I re-ran that PR's build to get build 7 completed and successful. Very odd that the @DoubleDensity account comes along and replays an old no longer valid build. The only way to update commit statuses according to the Github statuses docs is to have write permissions to the repo. I'm going to temporarily remove @DoubleDensity from the contributors team which should remove the write privileges. Let's see if PRs after this change no longer get error status updates with bogus URLs. |
I haven't seen this issue since removing the write permissions from the @DoubleDensity account. I'm going to close this issue since the massive annoyance of PRs going from green to red within a day seems to have been addressed. |
@jbw976 finally, thanks! Though we should look into updating the Jenkins regardless ;) |
PR #1582 is another example where the Jenkins build actually succeeded, but the Github UI is showing failure and pointing at http://unconfigured-jenkins-location/job/rook/job/rook/job/PR-1582/1/display/redirect. Note the
unconfigured-jenkins-location
in the URL (edited).Some notes on this issue can be found in #1582 (comment), but further discussion should occur in this issue.
We really need to understand:
continuous-integration/jenkins/pr-head
status checks/cc @ichekrygin @travisn
The text was updated successfully, but these errors were encountered: