#6780 Fedora Elections Jenkins uses a corrupt git repository for build, creates hundreds of failed jobs
Closed: Fixed Opened by jflory7.

The Fedora Elections Jenkins instance is not building correctly and fails a few hundred times since last week, when I first noticed the failed builds.

A short snippet of the output from the most recent failed build:

Started by an SCM change
Building remotely on EL7 (el7 EL el rhel RHEL rhel7 RHEL7) in workspace <https://jenkins.fedorainfracloud.org/job/elections/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
ERROR: Workspace has a .git repository, but it appears to be corrupt.
hudson.plugins.git.GitException: Error performing git command

Is there a way to fix the builds or at least disable emails? I am not sure why I receive emails about the failed builds.

cc: @pingou @ryanlerch


I wiped out the current workspace, let's see if it helps

Thanks for the quick reply – I'll keep an eye on it too. :thumbsup:

I tracked this down: It was a bunch of leaked redis-servers taking up memory/file descriptors on the el7 builder. Fixed that and it ran, but it has some import errors at the end you all will need to address.

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata