Page MenuHomePhabricator
Paste P13258

scap sync-file for entire php dir
ActivePublic

Authored by brennen on Nov 10 2020, 8:32 PM.
Tags
None
Referenced Files
F33910792: scap sync-file for entire php dir
Nov 10 2020, 8:32 PM
Subscribers
None
brennen@deploy1001 /srv/mediawiki-staging (master u=) $ scap sync-file php-1.36.0-wmf.16 'Backport: [[gerrit:640487|language: Honor $wgTranslateNumerals, even if PHP does digit translation(T267614)]] and [[gerrit:640488|Downgrade the severity of the non-numeric argument to formatNum warnings (T267370, T267587)]]'
...
20:21:59 Checking for new runtime errors locally
find: ‘standard output’: Broken pipe
find: write error
20:22:28 Unhandled error:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scap/cli.py", line 341, in run
exit_status = app.main(app.extra_arguments)
File "/usr/lib/python2.7/dist-packages/scap/main.py", line 849, in main
return super(SyncFile, self).main(*extra_args)
File "/usr/lib/python2.7/dist-packages/scap/main.py", line 84, in main
self._before_cluster_sync()
File "/usr/lib/python2.7/dist-packages/scap/main.py", line 869, in _before_cluster_sync
lint.check_valid_syntax(abspath, utils.cpus_for_jobs())
File "/usr/lib/python2.7/dist-packages/scap/lint.py", line 50, in check_valid_syntax
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd) CalledProcessError: Command 'find -O2 '/srv/mediawiki-staging/php-1.36.0-wmf.16' -not -type d -name '*.php' -not -name 'autoload_static.php' -or -name '*.inc' | xargs -n1 -P30 -exec php -l >/dev/null 2>&1' returned non-zero exit status 124
20:22:28 sync-file failed: <CalledProcessError> Command 'find -O2 '/srv/mediawiki-staging/php-1.36.0-wmf.16' -not -type d -name '*.php' -not -name 'autoload_static.php' -or -name '*.inc' | xargs -n1 -P30 -exec php -l >/dev/null 2>&1' returned non-zero exit status 124