googlecode import: Analyze and fix errors
Almost every mercurial origins is in error since the last googlecode import on mercurial. This is for referencing, analyzing and fixing those issues.
Here is the incomplete output:
$ ./kibana_fetch_logs.py > hg-loader-error-logs-from-kibana-20180215-20180216.txt
$ cat hg-loader-error-logs-from-kibana-20180215-20180216.txt| ./group_by_exception.py --loader-type hg | jq .
{
...
"googlecode": {
"total": 123129,
"errors": {
"FileNotFoundError(2, \"No usable temporary director": 123066, # that's swh/infra/puppet/puppet-swh-site#694
"OSError(28, 'No space left on device')": 27, # that's swh/infra/puppet/puppet-swh-site#694 in another part of the loading
"PatoolError('error extracting /srv/storage/space/m": 19,
"CommandError(b'bundle', b'-t', b'none-v2', b'-a', ": 17,
}
},
...
}
Migrated from T965 (view on Phabricator)