This run took 79 seconds.
$ date --- stdout --- Sat May 27 02:38:24 UTC 2023 --- end --- $ git clone file:///srv/git/oojs-ui.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 --- stdout --- --- end --- $ grr init --- stdout --- Installed commit-msg hook. --- end --- $ git show-ref refs/heads/master --- stdout --- 3c2fee1e97c992668ffbad96928a7e651d52f9f2 refs/heads/master --- end --- $ /usr/bin/npm audit --json --legacy-peer-deps --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "gulp-util": { "name": "gulp-util", "severity": "critical", "isDirect": false, "via": [ "lodash.template" ], "effects": [ "remap-istanbul" ], "range": ">=1.1.0", "nodes": [ "node_modules/gulp-util" ], "fixAvailable": { "name": "karma-remap-istanbul", "version": "0.0.2", "isSemVerMajor": true } }, "karma-remap-istanbul": { "name": "karma-remap-istanbul", "severity": "critical", "isDirect": true, "via": [ "remap-istanbul" ], "effects": [], "range": ">=0.0.3", "nodes": [ "node_modules/karma-remap-istanbul" ], "fixAvailable": { "name": "karma-remap-istanbul", "version": "0.0.2", "isSemVerMajor": true } }, "lodash.template": { "name": "lodash.template", "severity": "critical", "isDirect": false, "via": [ { "source": 1090114, "name": "lodash.template", "dependency": "lodash.template", "title": "Prototype Pollution in lodash", "url": "https://github.com/advisories/GHSA-jf85-cpcp-j695", "severity": "critical", "cwe": [ "CWE-20" ], "cvss": { "score": 9.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" }, "range": "<4.5.0" } ], "effects": [ "gulp-util" ], "range": "<4.5.0", "nodes": [ "node_modules/lodash.template" ], "fixAvailable": { "name": "karma-remap-istanbul", "version": "0.0.2", "isSemVerMajor": true } }, "meow": { "name": "meow", "severity": "high", "isDirect": false, "via": [ "trim-newlines" ], "effects": [], "range": "3.4.0 - 5.0.0", "nodes": [ "node_modules/gulp-util/node_modules/meow" ], "fixAvailable": true }, "remap-istanbul": { "name": "remap-istanbul", "severity": "critical", "isDirect": false, "via": [ "gulp-util" ], "effects": [ "karma-remap-istanbul" ], "range": "<=0.9.6", "nodes": [ "node_modules/remap-istanbul" ], "fixAvailable": { "name": "karma-remap-istanbul", "version": "0.0.2", "isSemVerMajor": true } }, "socket.io-parser": { "name": "socket.io-parser", "severity": "high", "isDirect": false, "via": [ { "source": 1092102, "name": "socket.io-parser", "dependency": "socket.io-parser", "title": "Insufficient validation when decoding a Socket.IO packet", "url": "https://github.com/advisories/GHSA-cqmj-92xf-r6r9", "severity": "high", "cwe": [], "cvss": { "score": 0, "vectorString": null }, "range": ">=4.0.4 <4.2.3" } ], "effects": [], "range": "4.0.4 - 4.2.2", "nodes": [ "node_modules/socket.io-parser" ], "fixAvailable": true }, "trim-newlines": { "name": "trim-newlines", "severity": "high", "isDirect": false, "via": [ { "source": 1091360, "name": "trim-newlines", "dependency": "trim-newlines", "title": "Uncontrolled Resource Consumption in trim-newlines", "url": "https://github.com/advisories/GHSA-7p7h-4mm5-852v", "severity": "high", "cwe": [ "CWE-400" ], "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.1" } ], "effects": [ "meow" ], "range": "<3.0.1", "nodes": [ "node_modules/gulp-util/node_modules/trim-newlines" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 0, "high": 3, "critical": 4, "total": 7 }, "dependencies": { "prod": 4, "dev": 734, "optional": 12, "peer": 0, "peerOptional": 0, "total": 737 } } } --- end --- $ /usr/bin/composer install --- stderr --- No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file. Loading composer repositories with package information Info from https://repo.packagist.org: [37;44m#StandWith[30;43mUkraine[0m Updating dependencies Lock file operations: 64 installs, 0 updates, 0 removals - Locking composer/pcre (3.1.0) - Locking composer/semver (3.3.2) - Locking composer/spdx-licenses (1.5.7) - Locking composer/xdebug-handler (3.0.3) - Locking doctrine/deprecations (v1.0.0) - Locking doctrine/instantiator (1.5.0) - Locking felixfbecker/advanced-json-rpc (v3.2.1) - Locking mediawiki/mediawiki-codesniffer (v41.0.0) - Locking mediawiki/mediawiki-phan-config (0.12.1) - Locking mediawiki/minus-x (1.1.1) - Locking mediawiki/phan-taint-check-plugin (4.0.0) - Locking microsoft/tolerant-php-parser (v0.1.1) - Locking myclabs/deep-copy (1.11.1) - Locking netresearch/jsonmapper (v4.2.0) - Locking nikic/php-parser (v4.15.5) - Locking phan/phan (5.4.1) - Locking phar-io/manifest (2.0.3) - Locking phar-io/version (3.2.1) - 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 phpdocumentor/reflection-common (2.2.0) - Locking phpdocumentor/reflection-docblock (5.3.0) - Locking phpdocumentor/type-resolver (1.7.1) - Locking phpstan/phpdoc-parser (1.21.0) - Locking phpunit/php-code-coverage (9.2.26) - Locking phpunit/php-file-iterator (3.0.6) - Locking phpunit/php-invoker (3.1.1) - Locking phpunit/php-text-template (2.0.4) - Locking phpunit/php-timer (5.0.3) - Locking phpunit/phpunit (9.5.28) - Locking psr/container (1.1.2) - Locking psr/log (1.1.4) - Locking sabre/event (5.1.4) - Locking sebastian/cli-parser (1.0.1) - Locking sebastian/code-unit (1.0.8) - Locking sebastian/code-unit-reverse-lookup (2.0.3) - Locking sebastian/comparator (4.0.8) - Locking sebastian/complexity (2.0.2) - Locking sebastian/diff (4.0.5) - Locking sebastian/environment (5.1.5) - Locking sebastian/exporter (4.0.5) - Locking sebastian/global-state (5.0.5) - Locking sebastian/lines-of-code (1.0.3) - Locking sebastian/object-enumerator (4.0.4) - Locking sebastian/object-reflector (2.0.4) - Locking sebastian/recursion-context (4.0.5) - Locking sebastian/resource-operations (3.0.3) - Locking sebastian/type (3.2.1) - Locking sebastian/version (3.0.2) - Locking squizlabs/php_codesniffer (3.7.2) - Locking symfony/console (v5.4.23) - Locking symfony/deprecation-contracts (v2.5.2) - Locking symfony/polyfill-ctype (v1.27.0) - Locking symfony/polyfill-intl-grapheme (v1.27.0) - Locking symfony/polyfill-intl-normalizer (v1.27.0) - Locking symfony/polyfill-mbstring (v1.27.0) - Locking symfony/polyfill-php73 (v1.27.0) - Locking symfony/polyfill-php80 (v1.27.0) - Locking symfony/service-contracts (v2.5.2) - Locking symfony/string (v5.4.22) - Locking theseer/tokenizer (1.2.1) - Locking tysonandre/var_representation_polyfill (0.1.3) - Locking webmozart/assert (1.11.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 64 installs, 0 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] 0 [--->------------------------] - Installing composer/pcre (3.1.0): Extracting archive - Installing symfony/polyfill-php80 (v1.27.0): Extracting archive - Installing squizlabs/php_codesniffer (3.7.2): Extracting archive - Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive - Installing composer/spdx-licenses (1.5.7): Extracting archive - Installing composer/semver (3.3.2): Extracting archive - Installing mediawiki/mediawiki-codesniffer (v41.0.0): Extracting archive - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive - Installing symfony/polyfill-ctype (v1.27.0): Extracting archive - Installing symfony/string (v5.4.22): Extracting archive - Installing symfony/deprecation-contracts (v2.5.2): Extracting archive - Installing psr/container (1.1.2): Extracting archive - Installing symfony/service-contracts (v2.5.2): Extracting archive - Installing symfony/polyfill-php73 (v1.27.0): Extracting archive - Installing symfony/console (v5.4.23): Extracting archive - Installing sabre/event (5.1.4): Extracting archive - Installing netresearch/jsonmapper (v4.2.0): Extracting archive - Installing microsoft/tolerant-php-parser (v0.1.1): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing phpstan/phpdoc-parser (1.21.0): Extracting archive - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive - Installing doctrine/deprecations (v1.0.0): Extracting archive - Installing phpdocumentor/type-resolver (1.7.1): Extracting archive - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive - Installing psr/log (1.1.4): Extracting archive - Installing composer/xdebug-handler (3.0.3): Extracting archive - Installing phan/phan (5.4.1): Extracting archive - Installing mediawiki/phan-taint-check-plugin (4.0.0): Extracting archive - Installing mediawiki/mediawiki-phan-config (0.12.1): Extracting archive - Installing mediawiki/minus-x (1.1.1): Extracting archive - Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive - Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive - Installing php-parallel-lint/php-parallel-lint (v1.3.2): Extracting archive - Installing sebastian/version (3.0.2): Extracting archive - Installing sebastian/type (3.2.1): Extracting archive - Installing sebastian/resource-operations (3.0.3): Extracting archive - Installing sebastian/recursion-context (4.0.5): Extracting archive - Installing sebastian/object-reflector (2.0.4): Extracting archive - Installing sebastian/object-enumerator (4.0.4): Extracting archive - Installing sebastian/global-state (5.0.5): Extracting archive - Installing sebastian/exporter (4.0.5): Extracting archive - Installing sebastian/environment (5.1.5): Extracting archive - Installing sebastian/diff (4.0.5): Extracting archive - Installing sebastian/comparator (4.0.8): Extracting archive - Installing sebastian/code-unit (1.0.8): Extracting archive - Installing sebastian/cli-parser (1.0.1): Extracting archive - Installing phpunit/php-timer (5.0.3): Extracting archive - Installing phpunit/php-text-template (2.0.4): Extracting archive - Installing phpunit/php-invoker (3.1.1): Extracting archive - Installing phpunit/php-file-iterator (3.0.6): Extracting archive - Installing theseer/tokenizer (1.2.1): Extracting archive - Installing nikic/php-parser (v4.15.5): Extracting archive - Installing sebastian/lines-of-code (1.0.3): Extracting archive - Installing sebastian/complexity (2.0.2): Extracting archive - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive - Installing phpunit/php-code-coverage (9.2.26): Extracting archive - Installing phar-io/version (3.2.1): Extracting archive - Installing phar-io/manifest (2.0.3): Extracting archive - Installing myclabs/deep-copy (1.11.1): Extracting archive - Installing doctrine/instantiator (1.5.0): Extracting archive - Installing phpunit/phpunit (9.5.28): Extracting archive 0/55 [>---------------------------] 0% 10/55 [=====>----------------------] 18% 19/55 [=========>------------------] 34% 28/55 [==============>-------------] 50% 38/55 [===================>--------] 69% 48/55 [========================>---] 87% 55/55 [============================] 100%9 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 39 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- --- end --- Upgrading n:grunt-banana-checker from 0.10.0 -> 0.11.0 Upgrading n:stylelint-config-wikimedia from 0.14.0 -> 0.15.0 $ /usr/bin/npm install --- stderr --- npm WARN skipping integrity check for git dependency ssh://git@github.com/jdforrester/grunt-promise-q.git npm WARN deprecated gulp-util@3.0.7: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead: npm WARN deprecated npm i nyc npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives. npm WARN deprecated core-js@3.21.0: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. --- stdout --- added 735 packages, and audited 736 packages in 7s 86 packages are looking for funding run `npm fund` for details 7 vulnerabilities (3 high, 4 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. --- end --- $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- $ ./node_modules/.bin/grunt stylelint --- stdout --- Running "stylelint:dev" (stylelint) task demos/styles/demo.css 430:2 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 432:2 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 649:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 697:2 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables src/themes/apex/elements.less 318:4 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 335:4 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables src/themes/apex/widgets.less 680:2 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 682:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables src/themes/wikimediaui/elements.less 18:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 378:4 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 388:4 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables src/themes/wikimediaui/widgets.less 530:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 532:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 912:2 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 914:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 15 problems (15 errors, 0 warnings) ⚠ 15 warnings Warning: Task "stylelint:dev" failed. Use --force to continue. Aborted due to warnings. --- end --- Traceback (most recent call last): File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 1070, in _handle_stylelint files = grunt.expand_glob(gf.get_file_list('stylelint')) File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/grunt.py", line 107, in get_file_list if not isinstance(data[gf_key], list): KeyError: 'src' $ /usr/bin/npm ci --legacy-peer-deps --- stderr --- npm WARN skipping integrity check for git dependency ssh://git@github.com/jdforrester/grunt-promise-q.git npm WARN deprecated gulp-util@3.0.7: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead: npm WARN deprecated npm i nyc npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives. npm WARN deprecated core-js@3.21.0: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. --- stdout --- added 735 packages, and audited 736 packages in 7s 86 packages are looking for funding run `npm fund` for details 7 vulnerabilities (3 high, 4 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. --- end --- $ /usr/bin/npm test --- stdout --- > oojs-ui@0.47.0 test > npm run minify:svg:src && grunt test > oojs-ui@0.47.0 minify:svg:src > svgo --config=.svgo.config.js --pretty --quiet --recursive --folder ./src/themes/wikimediaui/images/ Running "eslint:all" (eslint) task /src/repo/Gruntfile.js 505:17 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 509:17 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 513:17 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 635:19 warning Found non-literal argument in require security/detect-non-literal-require /src/repo/src/Window.js 566:1 warning This line has a length of 106. Maximum allowed is 100 max-len /src/repo/src/mixins/GroupElement.js 76:3 warning Potential timing attack, left side: true security/detect-possible-timing-attacks 99:3 warning Potential timing attack, left side: true security/detect-possible-timing-attacks /src/repo/src/mixins/LabelElement.js 100:17 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp ✖ 8 problems (0 errors, 8 warnings) Running "stylelint:dev" (stylelint) task demos/styles/demo.css 430:2 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 432:2 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 649:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 697:2 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables src/themes/apex/elements.less 318:4 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 335:4 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables src/themes/apex/widgets.less 680:2 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 682:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables src/themes/wikimediaui/elements.less 18:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 378:4 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 388:4 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables src/themes/wikimediaui/widgets.less 530:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 532:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 912:2 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 914:3 ✖ Needless disable for "plugin/no-unsupported-browser-features" --report-needless-disables 15 problems (15 errors, 0 warnings) ⚠ 15 warnings Warning: Task "stylelint:dev" failed. Use --force to continue. Aborted due to warnings. --- end --- Traceback (most recent call last): File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 1400, in main libup.run(args.repo, args.output, args.branch) File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 1338, in run self.npm_upgrade(plan) File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 1049, in npm_upgrade self.npm_test() File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 287, in npm_test self.check_call(['npm', 'test']) File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/shell2.py", line 54, in check_call res.check_returncode() File "/usr/lib/python3.9/subprocess.py", line 460, in check_returncode raise CalledProcessError(self.returncode, self.args, self.stdout, subprocess.CalledProcessError: Command '['/usr/bin/npm', 'test']' returned non-zero exit status 3.