$ date
--- stdout ---
Sun Nov 17 11:47:04 UTC 2024
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-SemanticGenealogy.git repo --depth=1 -b REL1_39
--- 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
--- stdout ---
--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.
--- end ---
$ git show-ref refs/heads/REL1_39
--- stdout ---
37ab8c5c182102d857f97cc5287c097fc6fda199 refs/heads/REL1_39
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"braces": {
"name": "braces",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1098094,
"name": "braces",
"dependency": "braces",
"title": "Uncontrolled resource consumption in braces",
"url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg",
"severity": "high",
"cwe": [
"CWE-400",
"CWE-1050"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<3.0.3"
}
],
"effects": [],
"range": "<3.0.3",
"nodes": [
"node_modules/braces"
],
"fixAvailable": true
},
"debug": {
"name": "debug",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1096793,
"name": "debug",
"dependency": "debug",
"title": "Regular Expression Denial of Service in debug",
"url": "https://github.com/advisories/GHSA-gxpj-cx7g-858c",
"severity": "low",
"cwe": [
"CWE-400"
],
"cvss": {
"score": 3.7,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": ">=3.2.0 <3.2.7"
}
],
"effects": [],
"range": "3.2.0 - 3.2.6",
"nodes": [
"node_modules/debug"
],
"fixAvailable": true
},
"eslint-plugin-compat": {
"name": "eslint-plugin-compat",
"severity": "high",
"isDirect": false,
"via": [
"semver"
],
"effects": [],
"range": "3.6.0-0 - 4.1.4",
"nodes": [
"node_modules/eslint-plugin-compat"
],
"fixAvailable": true
},
"micromatch": {
"name": "micromatch",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1098681,
"name": "micromatch",
"dependency": "micromatch",
"title": "Regular Expression Denial of Service (ReDoS) in micromatch",
"url": "https://github.com/advisories/GHSA-952p-6rrq-rcjv",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<4.0.8"
}
],
"effects": [],
"range": "<4.0.8",
"nodes": [
"node_modules/micromatch"
],
"fixAvailable": true
},
"semver": {
"name": "semver",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1098562,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=7.0.0 <7.5.2"
},
{
"source": 1098563,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<5.7.2"
},
{
"source": 1098564,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=6.0.0 <6.3.1"
}
],
"effects": [
"eslint-plugin-compat"
],
"range": "<=5.7.1 || 6.0.0 - 6.3.0 || 7.0.0 - 7.5.1",
"nodes": [
"node_modules/eslint-plugin-mediawiki/node_modules/semver",
"node_modules/eslint-plugin-node/node_modules/semver",
"node_modules/normalize-package-data/node_modules/semver",
"node_modules/semver"
],
"fixAvailable": true
},
"word-wrap": {
"name": "word-wrap",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1097681,
"name": "word-wrap",
"dependency": "word-wrap",
"title": "word-wrap vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-j8xg-fqg3-53r7",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<1.2.4"
}
],
"effects": [],
"range": "<1.2.4",
"nodes": [
"node_modules/word-wrap"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 1,
"moderate": 2,
"high": 3,
"critical": 0,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 350,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 350
}
}
}
--- end ---
$ /usr/bin/composer install
--- stderr ---
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 41 installs, 0 updates, 0 removals
- Locking composer/installers (dev-main a24c987)
- Locking composer/semver (3.3.2)
- Locking composer/spdx-licenses (1.5.8)
- Locking data-values/common (1.1.0)
- Locking data-values/data-values (dev-master 4c557b2)
- Locking data-values/interfaces (1.0.0)
- Locking data-values/validators (1.0.0)
- Locking jeroen/file-fetcher (6.1.0)
- Locking justinrainbow/json-schema (5.x-dev feb2ca6)
- Locking mediawiki/http-request (dev-master 5c0ca08)
- Locking mediawiki/mediawiki-codesniffer (v39.0.0)
- Locking mediawiki/minus-x (1.1.1)
- Locking mediawiki/parser-hooks (dev-master 35e4513)
- Locking mediawiki/semantic-media-wiki (dev-master 60d6f62)
- Locking onoi/blob-store (dev-master 7753172)
- Locking onoi/cache (dev-master 9a8e3ea)
- Locking onoi/callback-container (dev-master 70d2266)
- Locking onoi/event-dispatcher (dev-master 2af64e3)
- Locking onoi/message-reporter (dev-master 5381702)
- Locking param-processor/param-processor (dev-master 0850dc2)
- Locking php-parallel-lint/php-console-color (v1.0.1)
- Locking php-parallel-lint/php-console-highlighter (v1.0.0)
- Locking php-parallel-lint/php-parallel-lint (v1.3.2)
- Locking psr/container (dev-master 7079847)
- Locking psr/log (1.1.4)
- Locking seld/jsonlint (1.11.0)
- Locking serialization/serialization (dev-master dc380fe)
- Locking squizlabs/php_codesniffer (3.6.2)
- Locking symfony/console (5.4.x-dev c4ba980)
- Locking symfony/css-selector (5.4.x-dev 4f7f3c3)
- Locking symfony/deprecation-contracts (dev-main 63afe74)
- Locking symfony/polyfill-ctype (1.x-dev a3cc8b0)
- Locking symfony/polyfill-intl-grapheme (1.x-dev b912392)
- Locking symfony/polyfill-intl-normalizer (1.x-dev 3833d72)
- Locking symfony/polyfill-mbstring (1.x-dev 2369cb9)
- Locking symfony/polyfill-php73 (1.x-dev 0f68c03)
- Locking symfony/polyfill-php80 (1.x-dev 60328e3)
- Locking symfony/service-contracts (dev-main 5ad3869)
- Locking symfony/string (6.4.x-dev 73a5e66)
- Locking wikimedia/cdb (3.0.0)
- Locking wikimedia/textcat (2.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 41 installs, 0 updates, 0 removals
- Downloading composer/installers (dev-main a24c987)
- Downloading serialization/serialization (dev-master dc380fe)
- Downloading data-values/data-values (dev-master 4c557b2)
- Downloading data-values/validators (1.0.0)
- Downloading param-processor/param-processor (dev-master 0850dc2)
- Downloading onoi/message-reporter (dev-master 5381702)
- Downloading onoi/event-dispatcher (dev-master 2af64e3)
- Downloading onoi/callback-container (dev-master 70d2266)
- Downloading onoi/cache (dev-master 9a8e3ea)
- Downloading onoi/blob-store (dev-master 7753172)
- Downloading mediawiki/parser-hooks (dev-master 35e4513)
- Downloading mediawiki/http-request (dev-master 5c0ca08)
- Downloading jeroen/file-fetcher (6.1.0)
- Downloading mediawiki/semantic-media-wiki (dev-master 60d6f62)
0/14 [>---------------------------] 0%
6/14 [============>---------------] 42%
13/14 [==========================>-] 92%
14/14 [============================] 100%
In PluginManager.php line 740:
composer/installers contains a Composer plugin which is blocked by your all
ow-plugins config. You may add it to the list if you consider it safe.
You can run "composer config --no-plugins allow-plugins.composer/installers
[true|false]" to enable it (true) or disable it explicitly and suppress th
is exception (false)
See https://getcomposer.org/allow-plugins
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
--- 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 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 1792, in run
"composer": self.composer_audit(),
^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 183, in composer_audit
self.ensure_composer_lock()
File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 142, in ensure_composer_lock
self.check_call(["composer", "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/composer', 'install']' returned non-zero exit status 1.