This run took 50 seconds.
$ date
--- stdout ---
Sun Dec 8 18:50:43 UTC 2024
--- end ---
$ git clone file:///srv/git/mediawiki-services-kartotherian.git repo --depth=1 -b master
--- stderr ---
Cloning into 'repo'...
--- stdout ---
--- end ---
$ git config user.name libraryupgrader
--- stdout ---
--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---
--- end ---
$ git submodule update --init
--- stderr ---
Submodule 'vendor/node-mapnik' (https://github.com/mapnik/node-mapnik.git) registered for path 'vendor/node-mapnik'
Cloning into '/src/repo/vendor/node-mapnik'...
--- stdout ---
Submodule path 'vendor/node-mapnik': checked out 'c17f136fedaa6173b31a87e8c9e00e87ed69eed7'
--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.
--- end ---
$ git show-ref refs/heads/master
--- stdout ---
6f21612eabd74477aa49a850abc87d6b34de3cd6 refs/heads/master
--- end ---
$ /usr/bin/npm audit --json
--- stderr ---
npm WARN audit 400 Bad Request - POST https://registry.npmjs.org/-/npm/v1/security/audits/quick - Bad Request
npm ERR! audit endpoint returned an error
--- stdout ---
{
"message": "400 Bad Request - POST https://registry.npmjs.org/-/npm/v1/security/audits/quick - Bad Request",
"method": "POST",
"uri": "https://registry.npmjs.org/-/npm/v1/security/audits/quick",
"headers": {
"date": [
"Sun, 08 Dec 2024 18:50:47 GMT"
],
"transfer-encoding": [
"chunked"
],
"connection": [
"keep-alive"
],
"cf-ray": [
"8eeef16bebe3f27c-IAD"
],
"cf-cache-status": [
"DYNAMIC"
],
"vary": [
"Accept-Encoding"
],
"server": [
"cloudflare"
],
"x-fetch-attempts": [
"1"
]
},
"statusCode": 400,
"body": {
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid package tree, run npm install to rebuild your package-lock.json"
}
}
--- end ---
Upgrading n:eslint from ^8 -> 8.57.0
$ /usr/bin/npm install
--- stderr ---
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/eslint - Not found
npm ERR! 404
npm ERR! 404 'eslint@8.57.0' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /cache/_logs/2024-12-08T18_50_48_216Z-debug-0.log
--- stdout ---
--- end ---
$ rm -rf package-lock.json node_modules
--- stdout ---
--- end ---
$ /usr/bin/npm install
--- stderr ---
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@kartotherian%2fosm-bright-source - Not found
npm ERR! 404
npm ERR! 404 '@kartotherian/osm-bright-source@^1.0.8-wmf.0' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /cache/_logs/2024-12-08T18_50_56_654Z-debug-0.log
--- stdout ---
--- end ---
Traceback (most recent call last):
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1182, in npm_upgrade
self.check_call(["npm", "install"])
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/shell2.py", line 59, in check_call
res.check_returncode()
File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/usr/bin/npm', 'install']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1868, in main
libup.run(args.repo, args.output, args.branch)
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1807, in run
self.npm_upgrade(plan)
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1185, in npm_upgrade
self.check_call(["npm", "install"])
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/shell2.py", line 59, in check_call
res.check_returncode()
File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/usr/bin/npm', 'install']' returned non-zero exit status 1.