Skip to content

Testnode: only report git error when not configured

Jérome Perrin requested to merge fix/testnode-fetch-error-only-new into master

We report too many errors when git is unavailable.

Reporting errors at least could reveal a bug that testnode did not handle correctly some cases of repository corruption, when there was a stale lockfile:

Nexedi ERP5 screenshot with update error=fatal: Unable to create '/srv/slapgrid/slappart18/t/eet/slapos.core-repository/.git/index.lock': File exists. Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue. reference

Merge request reports