Hide Forgot
oc v3.6.170 I see a jenkins build running which updates every second. We are updating the build's .metadata.annotations.openshift.io/jenkins-status-json Inside that annotation it appears that queueDurationMillis and endTimeMillis are updated. I'm going to attach the build json, build pod json, and build pod logs as attachments (easier to read and private)
This is the sync plugin updating the status of the build as the pipeline progresses. My understanding is that this is working as designed, but will let Gabe comment since he's the expert.
Sam - fyi - this is what I was pinging you about on freenode. The sync plugin is currently updating the annotation for pipeline build status that the console consumes every second. That frequency of etcd updates is being called out here. How bad of an impact would it be to the console's visualization of pipeline builds if that frequency was say every 10 seconds? Or only updated as the build transitions from 1 stage to the next? thanks, gabe
It shouldn't be too bad, although we're currently using it for the duration that we show in the console pipeline visualization. So we're either need to show less granularity -- "less than a minute" instead of 17s -- or calculate the duration on the client. Either way I'm confident we can do something in the console if this changes.
quick update ... v0.1.25 of the sync plugin is available in the update center and the centos openshift jenkins image will contain it by EOB today. WRT rhel, per conversation I had with Justin Pierce, certainly it will be at least a week, probably more, before we could entertain building post 3.6 rhel images, given the post 3.6 GA settling that is still occurring. I'll make a note to try and update this bug once 3.7 / 3.6.1 images start happening and if one of those has this fix.
PR: https://github.com/openshift/jenkins/pull/341
Have done some regression test with sync plugin 0.1.26, no issues found, will verify this bug.
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/RHSA-2017:3188