Need to remove disk usage post build from STD-CI

Description

Disk usage plugin sometimes causes jobs to run endlessly.
Today I have also seen that on the main Jenkins page, I can see builds that are still running and stuck on calculating disk space but if I look for this specific build in the job's page, it seems like it has been completed (either failed or succeeded).

Activity

Show:

Former user June 6, 2017 at 11:13 AM

plugin removed

Former user June 5, 2017 at 1:16 PM

Tested plugin removal on Staging, it worked as expected and the plugin is gone.

I got the following warning from Jenkins:
You have data stored in an older format and/or unreadable data.
CannotResolveClassException: hudson.plugins.disk_usage.DiskUsageProperty

This doesn't affect jobs themselves and there's an action to discard this unreadable data from job configs.

Former user June 5, 2017 at 11:53 AM

The plugin is still present in puppet:
https://gerrit.ovirt.org/gitweb?p=infra-puppet.git;a=blob;f=hieradata/common.yaml;h=b37a7532e475784fb63e75532a800446653c9f57;hb=refs/heads/production#l78

The way to remove it is:
1) remove plugin from the above file to ensure it's not re-installed
2) stop jenkins
3) remove the plugin from disk (our manifest can't do that)
4) start jenkins

I'll do a quick test on staging and restart Jenkins this week

Former user June 5, 2017 at 11:18 AM

I looked at the Jenkins and saw that this plugin in pending uninstallation.
This looks like a serious bug unless it is waiting for the next restart.
When are planing the next Jenkins restart? You need to meake sure that after the restart, this pluging had been uninstalled. If it hadn't been uninstalled, please try to manually remove the folder from the file-system and restart the service again.

Former user June 5, 2017 at 11:02 AM

I'm almost sure that Barak had told me that he is going to remove this plugin but looks like it is still there.

Fixed

Details

Assignee

Reporter

Priority

Created June 5, 2017 at 11:01 AM
Updated July 2, 2017 at 2:08 PM
Resolved June 6, 2017 at 11:13 AM

Flag notifications