This run took 17 seconds.
$ date --- stdout --- Mon Apr 22 08:21:28 UTC 2024 --- end --- $ git clone file:///srv/git/wikimedia-slimapp.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 --- 98e55c8a6d5403685751098d35295b82e4879eab refs/heads/master --- end --- Upgrading c:php-parallel-lint/php-parallel-lint from 1.3.2 -> 1.4.0 Upgrading c:mediawiki/mediawiki-codesniffer from 41.0.0 -> 43.0.0 $ /usr/bin/composer update --- stderr --- Loading composer repositories with package information Updating dependencies Lock file operations: 3 installs, 16 updates, 0 removals - Upgrading composer/semver (3.3.2 => 3.4.0) - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0) - Upgrading doctrine/instantiator (1.5.0 => 2.0.0) - Upgrading mediawiki/mediawiki-codesniffer (v41.0.0 => v43.0.0) - Upgrading nikic/php-parser (v5.0.0 => v5.0.2) - Upgrading phar-io/manifest (2.0.3 => 2.0.4) - Upgrading php-parallel-lint/php-parallel-lint (v1.3.2 => v1.4.0) - Locking phpcsstandards/phpcsextra (1.1.2) - Locking phpcsstandards/phpcsutils (1.0.9) - Upgrading phpunit/php-code-coverage (9.2.30 => 9.2.31) - Upgrading sebastian/cli-parser (1.0.1 => 1.0.2) - Upgrading sebastian/diff (4.0.5 => 4.0.6) - Upgrading sebastian/exporter (4.0.5 => 4.0.6) - Upgrading sebastian/global-state (5.0.6 => 5.0.7) - Upgrading sebastian/resource-operations (3.0.3 => 3.0.4) - Upgrading squizlabs/php_codesniffer (3.7.2 => 3.8.1) - Upgrading symfony/polyfill-ctype (v1.28.0 => v1.29.0) - Upgrading symfony/polyfill-php80 (v1.28.0 => v1.29.0) - Upgrading theseer/tokenizer (1.2.2 => 1.2.3) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 46 installs, 0 updates, 0 removals - Downloading monolog/monolog (1.23.0) - Downloading bd808/monolog-udp2log-handler (v1.0.1) - Downloading slim/slim (2.6.3) - Downloading slim/views (0.1.3) - Downloading wikimedia/simplei18n (v1.0.1) 0/5 [>---------------------------] 0% 5/5 [============================] 100% - Installing squizlabs/php_codesniffer (3.8.1): Extracting archive - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive - Installing psr/log (1.1.4): Extracting archive - Installing monolog/monolog (1.23.0): Extracting archive - Installing bd808/monolog-udp2log-handler (v1.0.1): Extracting archive - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive - Installing phpcsstandards/phpcsutils (1.0.9): Extracting archive - Installing phpcsstandards/phpcsextra (1.1.2): Extracting archive - Installing composer/spdx-licenses (1.5.8): Extracting archive - Installing composer/semver (3.4.0): Extracting archive - Installing mediawiki/mediawiki-codesniffer (v43.0.0): Extracting archive - Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive - Installing symfony/polyfill-ctype (v1.29.0): Extracting archive - Installing phpmailer/phpmailer (v6.9.1): Extracting archive - Installing sebastian/version (3.0.2): Extracting archive - Installing sebastian/type (3.2.1): Extracting archive - Installing sebastian/resource-operations (3.0.4): 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.7): Extracting archive - Installing sebastian/exporter (4.0.6): Extracting archive - Installing sebastian/environment (5.1.5): Extracting archive - Installing sebastian/diff (4.0.6): 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.2): 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.3): Extracting archive - Installing nikic/php-parser (v5.0.2): Extracting archive - Installing sebastian/lines-of-code (1.0.4): Extracting archive - Installing sebastian/complexity (2.0.3): Extracting archive - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive - Installing phpunit/php-code-coverage (9.2.31): Extracting archive - Installing phar-io/version (3.2.1): Extracting archive - Installing phar-io/manifest (2.0.4): Extracting archive - Installing myclabs/deep-copy (1.11.1): Extracting archive - Installing doctrine/instantiator (2.0.0): Extracting archive - Installing phpunit/phpunit (9.6.16): Extracting archive - Installing slim/slim (2.6.3): Extracting archive - Installing slim/views (0.1.3): Extracting archive - Installing twig/twig (v1.44.7): Extracting archive - Installing wikimedia/simplei18n (v1.0.1): Extracting archive 0/44 [>---------------------------] 0% 20/44 [============>---------------] 45% 30/44 [===================>--------] 68% 44/44 [============================] 100% Package slim/views is abandoned, you should avoid using it. No replacement was suggested. Generating autoload files 34 packages you are using are looking for funding. Use the `composer fund` command to find out more! No security vulnerability advisories found --- stdout --- PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils --- end --- Previously failing phpcs rules: set() $ vendor/bin/phpcs --report=json --- stdout --- ................... 19 / 19 (100%) {"totals":{"errors":0,"warnings":0,"fixable":0},"files":{"\/src\/repo\/src\/Auth\/UserManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Auth\/UserData.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/bootstrap.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/HeaderMiddleware.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/TwigExtension.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Dao\/AbstractDaoTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Config.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/CsrfMiddleware.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Mailer.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/Auth\/PasswordTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/ConfigTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/ParsoidClient.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Auth\/AuthManager.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/AbstractApp.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Controller.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Auth\/Password.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Dao\/AbstractDao.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/tests\/FormTest.php":{"errors":0,"warnings":0,"messages":[]},"\/src\/repo\/src\/Form.php":{"errors":0,"warnings":0,"messages":[]}}} Time: 420ms; Memory: 8MB --- end --- Error, invalid JSON, skipping $ /usr/bin/composer install --- stderr --- Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Package slim/views is abandoned, you should avoid using it. No replacement was suggested. Generating autoload files 34 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- --- end --- $ /usr/bin/composer test --- stderr --- > parallel-lint . --exclude vendor > phpunit $PHPUNIT_ARGS Script phpunit $PHPUNIT_ARGS handling the test event returned with error code 1 --- stdout --- PHP 8.2.7 | 10 parallel jobs ................... 19/19 (100%) Checked 19 files in 0.1 seconds No syntax error found PHPUnit 9.6.16 by Sebastian Bergmann and contributors. Runtime: PHP 8.2.7 Configuration: /src/repo/phpunit.xml.dist .....................FFF........ 32 / 32 (100%) Time: 00:00.082, Memory: 6.00 MB There were 3 failures: 1) Wikimedia\Slimapp\FormTest::testExpectDateTime with data set #0 ('2014-12-08', 'Y-m-d', true) Form should be valid Failed asserting that false is true. /src/repo/tests/FormTest.php:164 2) Wikimedia\Slimapp\FormTest::testExpectDateTime with data set #1 ('2014-12-08 23:02', 'Y-m-d H:i', true) Form should be valid Failed asserting that false is true. /src/repo/tests/FormTest.php:164 3) Wikimedia\Slimapp\FormTest::testExpectDateTime with data set #2 ('11:37', 'H:i', true) Form should be valid Failed asserting that false is true. /src/repo/tests/FormTest.php:164 FAILURES! Tests: 32, Assertions: 97, Failures: 3. --- end --- Traceback (most recent call last): File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1584, 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 1523, in run self.composer_upgrade(plan) File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 870, in composer_upgrade self.composer_test() File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 307, in composer_test self.check_call(['composer', 'test']) File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/shell2.py", line 54, 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', 'test']' returned non-zero exit status 1.