-
Notifications
You must be signed in to change notification settings - Fork 158
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
[JENKINS-64800] Recursively check previous builds for changes during polling #185
base: master
Are you sure you want to change the base?
Conversation
@p4paul could you please review this when you have a chance? |
Close + Reopen to re-trigger CI. |
@p4paul @skumar7322 are either of you available to review this? |
Thanks, @stuartrowe for initiating this pull request. This change will throw the NPE when lastRun is null. Because of this, there are test failures in PollingTest, PerforceSCMSourceTest suit. |
@skumar7322 thanks for pointing that out, I had overlooked it somehow. Should be addressed now 🤞. |
@skumar7322 there seems to be an issue with |
@skumar7322 is there any update on the next planned release and a fix for JENKINS-64800? If not, can this PR please be revisited? |
Hi @stuartrowe this change looks good to me. I will run the tests on this and merge it once all is good. |
Hi @stuartrowe, The Following test cases failed while doing the merge. Could you please run these test on your system. |
Following are logs shared in https://issues.jenkins.io/browse/JENKINS-64800
|
Hi @skumar7322 I also see this failure on
and these errors:
I will start by looking into these 2 additional failures:
|
Fix for https://issues.jenkins.io/browse/JENKINS-64800.
My team recently ran into this issue because of problems with authentication against our company's LDAP servers.
In our case a run would fail at the p4 checkout stage because of the authentication issues. Subsequent polling tasks for the job would fail to find new changes because the last run didn't have an associated
TagAction
.As suggested in one of the comments on JENKINS-64800, our fix iterates through earlier builds in an attempt to find a baseline for polling.
Testing done
There aren't currently any unit tests related to polling. Instead my team created a manual test with the following steps:
We confirmed that this test failed with p4-plugin 1.14.1 and succeeded with the fix.
Submitter checklist