Bug 1390865
| Summary: | Pipeline stages display abnormally on web console | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yanping Zhang <yanpzhan> | ||||||||
| Component: | Build | Assignee: | Jimmi Dyson <jdyson> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Wang Haoran <haowang> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 3.4.0 | CC: | aos-bugs, jokerman, mmccomas, spadgett, tdawson, yanpzhan | ||||||||
| Target Milestone: | --- | Keywords: | Regression | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: |
Cause: Multiple Jenkins builds were triggered for single OpenShift Build.
Consequence: Build details appeared to sync inconsistently.
Fix: Ensure only a single Jenkins build is triggered for each OpenShift build.
Result: Build details sync properly and console displays pipeline properly.
|
Story Points: | --- | ||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2017-01-18 12:48:43 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: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Yanping Zhang
2016-11-02 07:06:22 UTC
yanpzhan can you check if there were two jobs started in the Jenkins console for this build? I suspect two Jenkins jobs are trying to sync status back to the same OpenShift build, causing the flicker you're seeing. Also please attach the log for the Jenkins pod to see if there are any errors. Checked again. Indeed as you said: after I approved stage 1, two jenkins jobs are running on jenkins console which causing the flicker, and after a while 3 jenkins jobs showing on jenkins console, but I didn't start andy jenkins job manually. Could see that nodejs pod number increased: # oc get pod NAME READY STATUS RESTARTS AGE jenkins-1-bthzs 1/1 Running 0 21m mongodb-1-mqzhs 1/1 Running 0 21m nodejs-5f0f2217a1c5 1/1 Running 0 2m # oc get pod NAME READY STATUS RESTARTS AGE jenkins-1-bthzs 1/1 Running 0 25m mongodb-1-mqzhs 1/1 Running 0 25m nodejs-5f0f2217a1c5 1/1 Running 0 6m nodejs-5f31e6fcbc56 1/1 Running 0 4m # oc get pod NAME READY STATUS RESTARTS AGE jenkins-1-bthzs 1/1 Running 0 31m mongodb-1-mqzhs 1/1 Running 0 31m nodejs-5f0f2217a1c5 1/1 Running 0 12m nodejs-5f31e6fcbc56 1/1 Running 0 9m nodejs-5f8f0d1b0074 1/1 Running 0 3m Attach jenkins log. Created attachment 1217301 [details]
jenkins-jobs
Created attachment 1217302 [details]
jenkinslog
This appears to be a sync pipeline issue. Assigning to Jimmi. Jimmi, let us know if there is anything we can do to help. Please try with latest Jenkins image - cannot reproduce with that, console runs smoothly for me. Tested on OCP v3.4.0.26 with latest jenkins images: # docker images|grep jenkins registry.ops.openshift.com/openshift3/jenkins-2-rhel7 <none> d126876bf60a 2 days ago 677.4 MB Now the pipeline stages show well on web console, the issue is fixed, so move the bug to Verified. 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, 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/RHBA-2017:0066 |