This repository was archived by the owner on May 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
This repository was archived by the owner on May 6, 2021. It is now read-only.
Jenkins idler is retaining stale data on active builds #143
Copy link
Copy link
Open
Description
Related to issue: openshiftio/openshift.io#2418
It appears that the issue reported in #2418 is caused by stale data relating to a completed build that is marked as active. The idler sees this build as active:
"Name": "ldimaggi-osiotest2",
"ID": "61ddf7b3-d141-402e-ae6a-30ee65f1879b",
"ActiveBuild": {
"metadata": {
"name": "march1test-2",
"\nnamespace": "ldimaggi-osiotest2",
"annotations": {
"openshift.io/build.number": "2",
"openshift.io/jenkins-namespace": "ldimaggi-o\nsiotest2-jenkins"
},
"Generation": 0
},
"status": {
"phase": "Running",
"startTimestamp": "2018-03-01T18:18:49Z",
"completionTimestamp\n": "2018-03-01T18:18:51.416135334Z"
},
"spec": {
"replicas": 0,
"Strategy": {
"Type": "JenkinsPipeline"
}
}
},
"DoneBuild": {
"metadata": {
"\nname": "march1test-1",
"namespace": "ldimaggi-osiotest2",
"annotations": {
"openshift.io/build.number": "1",
"openshift.io/jenkins-\nnamespace": "ldimaggi-osiotest2-jenkins"
},
"Generation": 0
},
"status": {
"phase": "Complete",
"startTimestamp": "2018-03-01T17:44:17\nZ",
"completionTimestamp": "2018-03-01T18:09:19Z"
},
"spec": {
"replicas": 0,
"Strategy": {
"Type": "JenkinsPipeline"
}
}
},
"JenkinsState\nList": null,
"JenkinsLastUpdate": "2018-03-02T13:26:41Z"
}
And - an active build prevents the idler from running.
But - no builds are active:
oc get builds -n ldimaggi-osiotest2
No resources found.