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
still seeing some build config watch timing issues #117
Comments
The associated job actually completes in jenkins, though the associated build in openshift is never marked as being complete. Its status is still |
@bparees seen it again for the first time in 3 days. Captured more of the log this time. It occurred after a Jenkins restart. I believe it disproves my theory of 2 BuildConfigWatchers running:
I'm not wondering if this log occurring before BuildConfigWatcher running is indicative:
In other words, Jenkins loaded the existing job before sync plugin pulled it from openshift and attempted to load it. I'll pay attention to some start up sequences on restart when the error does not occur and see if there is validation. If this is validated, then if we can't coordinate with Jenkins, then we just need some error handling on the collision and confirmation the job does in fact exist, where we proceed happily if it does. |
Sure enough, the loaded all jobs message from jenkins comes before waiting for jenkins to be started from sync plugin when things come up cleanly:
I can start working on a fix along with my other current threads. |
Ah, that makes sense... we don't normally have scenarios where jenkins is starting w/ the jobs already existing (but certainly w/ persistent storage it is a scenario we need to worry about). thanks @gabemontero |
(by "we don't normally have scenarios like that" i mean, we don't normally test them which is probably why no one has seen/reported this) |
Using v0.1.7 of the plugin in the openshift jenkins 2 centos image. Ran
openshift v1.5.0-alpha.2+8de00d3-555
kubernetes v1.5.2+43a9be4
oc create
on a jenkins strategy BCwaited for jenkins to get auto provisioned
oc start-build
on the BCget this error in the jenkins log:
It has been intermittent for me (I've seen this twice in the last week or so). I'll try to gather some sync plugin trace with existing version, or add a debug jar, if I can repro with any consistency.
The text was updated successfully, but these errors were encountered: