Bug 1981957

Summary: Sync plugin v1.0.47 takes a very long time to pick up new builds
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: JenkinsAssignee: Akram Ben Aissi <abenaiss>
Status: CLOSED ERRATA QA Contact: Jitendar Singh <jitsingh>
Severity: medium Docs Contact:
Priority: high    
Version: 4.9CC: aos-bugs, gmontero, pbhattac
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:39:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Kaplan 2021-07-13 19:14:20 UTC
Description of problem:

If a JenkinsPipeline strategy build is created via `oc new-app` or `oc new-build`, it can take several minutes for Jenkins to run the build when using v1.0.47 of the sync plugin.

This is a regression from v1.0.46, when new builds are picked up instantly by the sync plugin


Version-Release number of selected component (if applicable): v1.0.47


How reproducible: Always


Steps to Reproduce:
1. Install Jenkins on OCP via the provided template (ephemeral OK)
2. Update the sync plugin to v1.0.47 in the Jenkins console
3. Create a Jenkins Pipeline build via oc new-app:

$ oc new-app https://github.com/gabemontero/test-jenkins-bc-env-var-override.git --strategy=pipeline --build-env=FOO1=BAR1


Actual results:

Jenkins takes several minutes to pick up the build and start the pipeline


Expected results:

Jenkins starts the pipeline in less than 1 minute with a cluster under low load.


Additional info:

See https://github.com/openshift/jenkins/pull/1297#issuecomment-877387292

Comment 1 Gabe Montero 2021-07-20 19:00:45 UTC
As this bug is specific to v1.0.47 of the sync plugin, and that version will never be incorporated into any OCP release (and we don't do errata for upstream releases of plugins), marking this no doc.

Also, will immediately verify when the PR merges.

Jitender can handle verification with 1925524

Comment 6 errata-xmlrpc 2021-10-18 17:39:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759

Comment 7 errata-xmlrpc 2021-10-18 17:52:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759