[JIRA] (JENKINS-58179) Jenkins builds disappearing from Unix machine due to open shift sync plugin issue

15 views
Skip to first unread message

arielman22@gmail.com (JIRA)

unread,
Jul 18, 2019, 6:48:02 AM7/18/19
to jenkinsc...@googlegroups.com
Ariel M updated an issue
 
Jenkins / Bug JENKINS-58179
Jenkins builds disappearing from Unix machine due to open shift sync plugin issue
Change By: Ariel M
Summary: Some Jenkins builds disappeared in jenkins history (also not exists in disk) disappearing from Unix machine due to open shift sync plugin issue
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

arielman22@gmail.com (JIRA)

unread,
Jul 18, 2019, 6:50:01 AM7/18/19
to jenkinsc...@googlegroups.com
Ariel M updated an issue
In some Jenkins, the builds are automatically deleted because of the open shift sync plugin. from the log:

 

{{INFO: onDeleted job/ocp-oc-cd-for-fit/job/ocp-oc-cd-for-fit-oc-cd-ocp/4272/
Jun 27, 2019 7:28:07 AM io.fabric8.jenkins.openshiftsync.JenkinsUtils deleteRun
INFO: Deleting run: ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4272
Jun 27, 2019 7:28:07 AM io.fabric8.jenkins.openshiftsync.JenkinsUtils deleteRun
WARNING: Unable to delete run ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4272:ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4272: /pciuser/tools/jenkins/jenkins-production/jobs/ocp-oc-cd-for-fit/jobs/ocp-oc-cd-for-fit-oc-cd-ocp/builds/4272 looks to have already been deleted; siblings: [4259, 4138, 3351, 4271, 3753, 4277, lastUnstableBuild, 4139, 4276, legacyIds, 4280, 3385, 49, 4260, 3722, lastStableBuild, 4275, lastFailedBuild, 4279, 3220, 3413, 4270, {color:#de350b}******4254, lastUnsuccessfulBuild, 3404, 4220, lastSuccessfulBuild, 4215, 4278]

Jun 27, 2019 7:28:07 AM io.fabric8.jenkins.openshiftsync.JenkinsUtils deleteRun
INFO
deleteRunINFO : Deleting run: ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp # 4271
INFO
4271INFO : Deleting run: ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp # 4270
Jun
4270Jun 27, 2019 7:28:51 AM io.fabric8.jenkins.openshiftsync.JenkinsUtils deleteRun******{color}WARNING: Unable to delete run ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4270:ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4270: /pciuser/tools/jenkins/jenkins-production/jobs/ocp-oc-cd-for-fit/jobs/ocp-oc-cd-for-fit-oc-cd-ocp/builds/4270 looks to have already been deleted; siblings: [4259, 4138, 3351, 3753, 4277, lastUnstableBuild, 4139, 4276, legacyIds, 4280, 3385, 49, 4260, 3722, lastStableBuild, 4275, lastFailedBuild, 4279, 3220, 3413, 4254, lastUnsuccessfulBuild, 3404, 4220, lastSuccessfulBuild, 4215, 4278]
Jun 27, 2019 7:28:51 AM io.fabric8.jenkins.openshiftsync.BuildWatcher reconcileRunsAndBuilds}}

arielman22@gmail.com (JIRA)

unread,
Jul 18, 2019, 6:50:01 AM7/18/19
to jenkinsc...@googlegroups.com
Ariel M updated an issue
I have an issue in specific In some Jenkins (version , the builds are automatically deleted because of the open shift sync plugin. from the log:

  2

{{INFO: onDeleted job/ocp-oc-cd-for-fit/job/ocp-oc-cd-for-fit-oc-cd-ocp/4272/
Jun 27, 2019 7:28:07 AM io
. 138 fabric8 . 1) jenkins.openshiftsync.JenkinsUtils deleteRun

INFO: Deleting run: ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4272
Jun 27 , where some version disappeared in Jenkins history 2019 7:28:07 AM io . I've checked in the disk fabric8.jenkins.openshiftsync.JenkinsUtils deleteRun
WARNING: Unable to delete run ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4272:ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4272: /pciuser/tools/jenkins/jenkins-production/jobs/ocp-oc-cd-for-fit/jobs/ocp-oc-cd-for-fit-oc-cd-ocp/builds/4272 looks to have already been deleted; siblings: [4259
, and it's missing there as well 4138, 3351, 4271, 3753, 4277, lastUnstableBuild, 4139, 4276, legacyIds, 4280, 3385, 49, 4260, 3722, lastStableBuild, 4275, lastFailedBuild, 4279, 3220, 3413, 4270, {color:#de350b}******4254, lastUnsuccessfulBuild, 3404, 4220, lastSuccessfulBuild, 4215, 4278]
Jun 27, 2019 7:28:07 AM io
. how can I investigate what happened? fabric8.jenkins.openshiftsync.JenkinsUtils deleteRun
INFO: Deleting run: ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4271
The difference between this case INFO: Deleting run: ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4270
Jun 27, 2019 7:28:51 AM io.fabric8.jenkins.openshiftsync.JenkinsUtils deleteRun******{color}WARNING: Unable
to the others is here I can't understand why build were delete run ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4270:ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4270: /pciuser/tools/jenkins/jenkins-production/jobs/ocp-oc-cd-for-fit/jobs/ocp-oc-cd-for-fit-oc-cd-ocp/builds/4270 looks to have already been deleted from the Unix machine ; siblings: [4259, 4138, 3351, 3753, 4277, lastUnstableBuild, 4139, 4276, legacyIds, 4280, 3385, 49, 4260, 3722, lastStableBuild, 4275, lastFailedBuild, 4279, 3220, 3413, 4254, lastUnsuccessfulBuild, 3404, 4220, lastSuccessfulBuild, 4215, 4278]
Jun 27, 2019 7:28:51 AM io
. does it have anything with Jenkins configuration? fabric8.jenkins.openshiftsync.BuildWatcher reconcileRunsAndBuilds}}

arielman22@gmail.com (JIRA)

unread,
Jul 18, 2019, 6:50:02 AM7/18/19
to jenkinsc...@googlegroups.com

arielman22@gmail.com (JIRA)

unread,
Jul 18, 2019, 6:51:12 AM7/18/19
to jenkinsc...@googlegroups.com
Ariel M updated an issue
Change By: Ariel M
Component/s: openshift-sync-plugin
Component/s: core

arielman22@gmail.com (JIRA)

unread,
Jul 18, 2019, 6:52:02 AM7/18/19
to jenkinsc...@googlegroups.com
Ariel M updated an issue
In some Jenkins, the some builds are automatically getting deleted because of the from job page and unix machine. we suspect it's some issue with open shift sync plugin. from the jenkins log:

 

{{INFO: onDeleted job/ocp-oc-cd-for-fit/job/ocp-oc-cd-for-fit-oc-cd-ocp/4272/
Jun 27, 2019 7:28:07 AM io.fabric8.jenkins.openshiftsync.JenkinsUtils deleteRun

INFO: Deleting run: ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4272
Jun 27, 2019 7:28:07 AM io.fabric8.jenkins.openshiftsync.JenkinsUtils deleteRun
WARNING: Unable to delete run ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4272:ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4272: /pciuser/tools/jenkins/jenkins-production/jobs/ocp-oc-cd-for-fit/jobs/ocp-oc-cd-for-fit-oc-cd-ocp/builds/4272 looks to have already been deleted; siblings: [4259, 4138, 3351, 4271, 3753, 4277, lastUnstableBuild, 4139, 4276, legacyIds, 4280, 3385, 49, 4260, 3722, lastStableBuild, 4275, lastFailedBuild, 4279, 3220, 3413, 4270, {color:#de350b}******4254, lastUnsuccessfulBuild, 3404, 4220, lastSuccessfulBuild, 4215, 4278] Jun 27, 2019 7:28:07 AM io.fabric8.jenkins.openshiftsync.JenkinsUtils deleteRunINFO: Deleting run: ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4271INFO: Deleting run: ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4270Jun 27, 2019 7:28:51 AM io.fabric8.jenkins.openshiftsync.JenkinsUtils deleteRun******{color}WARNING: Unable to delete run ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4270:ocp-oc-cd-for-fit/ocp-oc-cd-for-fit-oc-cd-ocp #4270: /pciuser/tools/jenkins/jenkins-production/jobs/ocp-oc-cd-for-fit/jobs/ocp-oc-cd-for-fit-oc-cd-ocp/builds/4270 looks to have already been deleted; siblings: [4259, 4138, 3351, 3753, 4277, lastUnstableBuild, 4139, 4276, legacyIds, 4280, 3385, 49, 4260, 3722, lastStableBuild, 4275, lastFailedBuild, 4279, 3220, 3413, 4254, lastUnsuccessfulBuild, 3404, 4220, lastSuccessfulBuild, 4215, 4278]
Jun 27, 2019 7:28:51 AM io.fabric8.jenkins.openshiftsync.BuildWatcher reconcileRunsAndBuilds}}

gmontero@redhat.com (JIRA)

unread,
Jul 18, 2019, 7:44:01 AM7/18/19
to jenkinsc...@googlegroups.com

gmontero@redhat.com (JIRA)

unread,
Jul 18, 2019, 7:49:02 AM7/18/19
to jenkinsc...@googlegroups.com
Gabe Montero commented on Bug JENKINS-58179
 
Re: Jenkins builds disappearing from Unix machine due to open shift sync plugin issue

A couple of points Ariel:

 

 

a) actually I've just transferred ownership of the openshift/jenkins stuff to another team within RedHat.  I've assigned one of those developers here.

b) that said, you've encountered a known feature with our sync plugin, where the sync plugin will delete associated runs for build the openshift build controller deletes on the openshift side

 

You can control pruning on the openshift side via https://docs.openshift.com/container-platform/3.11/dev_guide/builds/advanced_build_operations.html#build-pruning

 

there are no separate controls on the sync plugin side to turn on and off .... but you can work with Vibhav about requesting a new feature if the openshift side controls are not sufficient

arielman22@gmail.com (JIRA)

unread,
Sep 5, 2019, 4:19:02 AM9/5/19
to jenkinsc...@googlegroups.com
Ariel M commented on Bug JENKINS-58179

Gabe/Vibhav, could it be related to open sync version? we are currently working with 1.0.37. any change updating to 1.0.41 will solve the issue?

vibhav.bobde@gmail.com (JIRA)

unread,
Sep 5, 2019, 5:18:03 AM9/5/19
to jenkinsc...@googlegroups.com

Hello Ariel,

A few things: 

1> Did you have Openshift Builds associated with the Jenkins job.

2> Have you deleted the Jenkins Build wrt to the Run ? 

3> If you have, then this is expected behaviour.

4> If not please check out https://docs.openshift.com/container-platform/3.11/dev_guide/builds/advanced_build_operations.html#build-pruning and let us know what you are experiencing.

4> To enable migration and disablement of pruning, we are currnetly working on a disable-pruning mechanism and would be adding it to the next release.

 

Regards,

Vibhav

arielman22@gmail.com (JIRA)

unread,
Sep 5, 2019, 5:26:03 AM9/5/19
to jenkinsc...@googlegroups.com
Ariel M edited a comment on Bug JENKINS-58179
Gabe/Vibhav, could it be related to open sync version? we are currently working with 1.0.37. any change Chance updating to 1.0.41 will solve the issue?

arielman22@gmail.com (JIRA)

unread,
Sep 5, 2019, 7:05:02 AM9/5/19
to jenkinsc...@googlegroups.com
Ariel M commented on Bug JENKINS-58179

I don't think it's related to openshift... I've opened new case for it:
https://issues.jenkins-ci.org/browse/JENKINS-59239

BTW, I've found one case where they said "the whole problem disappears after I uninstalled the JobConfigHistoryPlugin":
_https://issues.jenkins-ci.org/browse/JENKINS-50595_

arielman22@gmail.com (JIRA)

unread,
Sep 5, 2019, 7:29:03 AM9/5/19
to jenkinsc...@googlegroups.com
Ariel M edited a comment on Bug JENKINS-58179
I don't think it's related to openshift... I've opened new case for it:
https://issues.jenkins-ci.org/browse/JENKINS-59239

BTW, I've found one case where they said "the whole _problem disappears after I uninstalled the JobConfigHistoryPlugin":_
_https https ://issues.jenkins-ci.org/browse/JENKINS-50595_

arielman22@gmail.com (JIRA)

unread,
Sep 24, 2019, 4:48:02 PM9/24/19
to jenkinsc...@googlegroups.com
Ariel M updated an issue
Change By: Ariel M
Comment:
I don't think it's related to openshift... I've opened new case for it:
https://issues.jenkins-ci.org/browse/JENKINS-59239

BTW, I've found one case where they said "the whole _problem disappears after I uninstalled the JobConfigHistoryPlugin":_
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages