Page MenuHomePhabricator
Paste P8243

scap clean
ArchivedPublic

Authored by zeljkofilipin on Mar 20 2019, 1:46 PM.
Tags
None
Referenced Files
F28425359: raw.txt
Mar 20 2019, 1:55 PM
F28425308: raw.txt
Mar 20 2019, 1:48 PM
F28425297: raw.txt
Mar 20 2019, 1:46 PM
Subscribers
zfilipin@deploy1001:/srv/mediawiki-staging$ find . -mindepth 2 -maxdepth 2 -type f -path './php-*/README' -ctime +30 -exec dirname {} \;
./php-1.33.0-wmf.17
zfilipin@deploy1001:/srv/mediawiki-staging$ scap clean --delete 1.33.0-wmf.17
___ ____
⎛ ⎛ ,----
\ //==--'
_//|,.·//==--' ____________________________
_OO≣=- ︶ ᴹw ⎞_§ ______ ___\ ___\ ,\__ \/ __ \
(∞)_, ) ( | ______/__ \/ /__ / /_/ / /_/ /
¨--¨|| |- ( / ______\____/ \___/ \__^_/ .__/
««_/ «_/ jgs/bd808 /_/
13:36:52 Checking for new runtime errors locally
13:36:53 Started clean-l10nupdate-cache
13:36:53 Finished clean-l10nupdate-cache (duration: 00m 00s)
13:36:53 Started clean-l10nupdate-owned-files
13:36:53 Finished clean-l10nupdate-owned-files (duration: 00m 00s)
13:36:53 Started clean-ExtensionMessages
13:36:53 Unable to delete /srv/mediawiki-staging/wmf-config/ExtensionMessages-1.33.0-wmf.17.php, already missing
13:36:53 Finished clean-ExtensionMessages (duration: 00m 00s)
13:36:53 Started prune-git-branches
Received disconnect from 2620:0:861:3:208:80:154:85 port 29418:2: Too many authentication failures: 7
Authentication failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Received disconnect from 2620:0:861:3:208:80:154:85 port 29418:2: Too many authentication failures: 7
Authentication failed.
fatal: Could not read from remote repository.
...

Event Timeline

208.80.154.85 would be the IPv4 address of the host
It is gerrit.wikimedia.org

13:44:00 Started prune-git-branches
Received disconnect from 2620:0:861:3:208:80:154:85 port 29418:2: Too many authentication failures: 7
Authentication failed.

prune-git-branches comes from our scap plugin:

/operations/mediawiki-config(masteru=)$ git grep -A7 prune.git
scap/plugins/clean.py: with log.Timer('prune-git-branches', self.get_stats()):
scap/plugins/clean.py- # Prune all the submodules' remote branches
scap/plugins/clean.py- with utils.cd(self.branch_stage_dir):
scap/plugins/clean.py- submodule_cmd = 'git submodule foreach "{} ||:"'.format(
scap/plugins/clean.py- ' '.join(git_prune_cmd))
scap/plugins/clean.py- subprocess.check_output(submodule_cmd, shell=True)
scap/plugins/clean.py- if subprocess.call(git_prune_cmd) != 0:
scap/plugins/clean.py- logger.info('Failed to prune core branch')