Running with gitlab-runner 15.10.1 (dcfb4b66)
  on runner-bastion-git2 57294368, system ID: s_0003c6ba8826
section_start:1689037987:resolve_secrets
Resolving secrets
section_end:1689037987:resolve_secrets
section_start:1689037987:prepare_executor
Preparing the "docker" executor
Using Docker executor with image containers.ethitter.com:443/docker/images/php:8.1 ...
Starting service mysql:5.6 ...
Pulling docker image mysql:5.6 ...
Using docker image sha256:dd3b2a5dcb48ff61113592ed5ddd762581be4387c7bc552375a2159422aa6bf5 for mysql:5.6 with digest mysql@sha256:20575ecebe6216036d25dab5903808211f1e9ba63dc7825ac20cb975e34cfcae ...
Waiting for services to be up and running (timeout 30 seconds)...
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image containers.ethitter.com:443/docker/images/php:8.1 ...
Using docker image sha256:ddaa08bc819f39a29645f7b59c096242b26b60052ae847c440a9b97ff572b709 for containers.ethitter.com:443/docker/images/php:8.1 with digest containers.ethitter.com:443/docker/images/php@sha256:d9597abcabfef07bc105d3cdca1bfbb15ca99920a12e2c4ec95a008a29644f28 ...
section_end:1689038004:prepare_executor
section_start:1689038004:prepare_script
Preparing environment
Running on runner-57294368-project-9-concurrent-0 via git2...
section_end:1689038005:prepare_script
section_start:1689038005:get_sources
Getting source from Git repository
Fetching changes...
Reinitialized existing Git repository in /builds/wp-plugins/automatically-paginate-posts/.git/
Checking out 7624e381 as detached HEAD (ref is master)...

Skipping Git submodules setup
section_end:1689038006:get_sources
section_start:1689038006:restore_cache
Restoring cache
Checking cache for default-protected...
cache.zip is up to date                            
Successfully extracted cache
section_end:1689038007:restore_cache
section_start:1689038007:step_script
Executing "step_script" stage of the job script
Using docker image sha256:ddaa08bc819f39a29645f7b59c096242b26b60052ae847c440a9b97ff572b709 for containers.ethitter.com:443/docker/images/php:8.1 with digest containers.ethitter.com:443/docker/images/php@sha256:d9597abcabfef07bc105d3cdca1bfbb15ca99920a12e2c4ec95a008a29644f28 ...
$ bash bin/install-wp-tests.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD mysql $WP_VERSION true
+ install_wp
+ '[' -d /tmp/wordpress/ ']'
+ mkdir -p /tmp/wordpress/
+ [[ latest == \n\i\g\h\t\l\y ]]
+ [[ latest == \t\r\u\n\k ]]
+ '[' latest == latest ']'
+ local ARCHIVE_NAME=latest
+ download https://wordpress.org/latest.tar.gz /tmp/wordpress.tar.gz
++ which curl
+ '[' /usr/bin/curl ']'
+ curl -s https://wordpress.org/latest.tar.gz
+ tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C /tmp/wordpress/
+ download https://raw.github.com/markoheijnen/wp-mysqli/master/db.php /tmp/wordpress//wp-content/db.php
++ which curl
+ '[' /usr/bin/curl ']'
+ curl -s https://raw.github.com/markoheijnen/wp-mysqli/master/db.php
+ install_test_suite
++ uname -s
+ [[ Linux == \D\a\r\w\i\n ]]
+ local ioption=-i
+ '[' '!' -d /tmp/wordpress-tests-lib ']'
+ mkdir -p /tmp/wordpress-tests-lib
+ svn co --quiet https://develop.svn.wordpress.org/tags/6.2.2/tests/phpunit/includes/ /tmp/wordpress-tests-lib/includes
+ svn co --quiet https://develop.svn.wordpress.org/tags/6.2.2/tests/phpunit/data/ /tmp/wordpress-tests-lib/data
+ '[' '!' -f wp-tests-config.php ']'
+ download https://develop.svn.wordpress.org/tags/6.2.2/wp-tests-config-sample.php /tmp/wordpress-tests-lib/wp-tests-config.php
++ which curl
+ '[' /usr/bin/curl ']'
+ curl -s https://develop.svn.wordpress.org/tags/6.2.2/wp-tests-config-sample.php
++ echo /tmp/wordpress/
++ sed 's:/\+$::'
+ WP_CORE_DIR=/tmp/wordpress
+ sed -i 's:dirname( __FILE__ ) . '\''/src/'\'':'\''/tmp/wordpress/'\'':' /tmp/wordpress-tests-lib/wp-tests-config.php
+ sed -i s/youremptytestdbnamehere/wordpress_tests/ /tmp/wordpress-tests-lib/wp-tests-config.php
+ sed -i s/yourusernamehere/root/ /tmp/wordpress-tests-lib/wp-tests-config.php
+ sed -i s/yourpasswordhere/mysql/ /tmp/wordpress-tests-lib/wp-tests-config.php
+ sed -i 's|localhost|mysql|' /tmp/wordpress-tests-lib/wp-tests-config.php
+ install_db
+ '[' true = true ']'
+ return 0
$ if [[ $(php -v) =~ "PHP 8." ]]; then # collapsed multi-line command
Changed current directory to /root/.composer
./composer.json has been created
Running composer update phpunit/phpunit
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 28 installs, 0 updates, 0 removals
  - Locking doctrine/instantiator (2.0.0)
  - Locking myclabs/deep-copy (1.11.1)
  - Locking nikic/php-parser (v4.16.0)
  - Locking phar-io/manifest (2.0.3)
  - Locking phar-io/version (3.2.1)
  - 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.6.10)
  - 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 theseer/tokenizer (1.2.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 28 installs, 0 updates, 0 removals
  - Downloading sebastian/version (3.0.2)
  - Downloading sebastian/type (3.2.1)
  - Downloading sebastian/resource-operations (3.0.3)
  - Downloading sebastian/recursion-context (4.0.5)
  - Downloading sebastian/object-reflector (2.0.4)
  - Downloading sebastian/object-enumerator (4.0.4)
  - Downloading sebastian/global-state (5.0.5)
  - Downloading sebastian/exporter (4.0.5)
  - Downloading sebastian/environment (5.1.5)
  - Downloading sebastian/diff (4.0.5)
  - Downloading sebastian/comparator (4.0.8)
  - Downloading sebastian/code-unit (1.0.8)
  - Downloading sebastian/cli-parser (1.0.1)
  - Downloading phpunit/php-timer (5.0.3)
  - Downloading phpunit/php-text-template (2.0.4)
  - Downloading phpunit/php-invoker (3.1.1)
  - Downloading phpunit/php-file-iterator (3.0.6)
  - Downloading theseer/tokenizer (1.2.1)
  - Downloading nikic/php-parser (v4.16.0)
  - Downloading sebastian/lines-of-code (1.0.3)
  - Downloading sebastian/complexity (2.0.2)
  - Downloading sebastian/code-unit-reverse-lookup (2.0.3)
  - Downloading phpunit/php-code-coverage (9.2.26)
  - Downloading phar-io/version (3.2.1)
  - Downloading phar-io/manifest (2.0.3)
  - Downloading myclabs/deep-copy (1.11.1)
  - Downloading doctrine/instantiator (2.0.0)
  - Downloading phpunit/phpunit (9.6.10)
  - 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.16.0): 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 (2.0.0): Extracting archive
  - Installing phpunit/phpunit (9.6.10): Extracting archive
6 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
25 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
$ composer global require yoast/phpunit-polyfills
Changed current directory to /root/.composer
Using version ^2.0 for yoast/phpunit-polyfills
./composer.json has been updated
Running composer update yoast/phpunit-polyfills
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking yoast/phpunit-polyfills (2.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Downloading yoast/phpunit-polyfills (2.0.0)
  - Installing yoast/phpunit-polyfills (2.0.0): Extracting archive
Generating autoload files
25 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
$ find . -type "f" -iname "*.php" | xargs -L "1" php -l
No syntax errors detected in ./assets/build/index.asset.php
No syntax errors detected in ./inc/class-block-editor.php
No syntax errors detected in ./automatically-paginate-posts.php
No syntax errors detected in ./tests/bootstrap.php
No syntax errors detected in ./tests/test-automatically-paginate-posts.php
$ phpunit
Installing...
Running as single site... To run multisite, use -c tests/phpunit/multisite.xml
Not running ajax tests. To execute these, use --group ajax.
Not running ms-files tests. To execute these, use --group ms-files.
Not running external-http tests. To execute these, use --group external-http.
PHPUnit 9.6.10 by Sebastian Bergmann and contributors.

..............                                                    14 / 14 (100%)

Time: 00:00.176, Memory: 36.50 MB

OK (14 tests, 16 assertions)
section_end:1689038022:step_script
section_start:1689038022:archive_cache
Saving cache for successful job
Creating cache default-protected...
WARNING: processPath: artifact path is not a subpath of project directory: /root/.composer 
WARNING: processPath: artifact path is not a subpath of project directory: /root/.composer 
Archive is up to date!                             
Created cache
section_end:1689038023:archive_cache
section_start:1689038023:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1689038023:cleanup_file_variables
Job succeeded