Running with gitlab-runner 15.10.1 (dcfb4b66)
  on runner-bastion-git2 57294368, system ID: s_0003c6ba8826
section_start:1689037861:resolve_secrets
Resolving secrets
section_end:1689037861:resolve_secrets
section_start:1689037861:prepare_executor
Preparing the "docker" executor
Using Docker executor with image containers.ethitter.com:443/docker/images/php:7.0 ...
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:7.0 ...
Using docker image sha256:b0dd5cb60edc925ba49415cf2bfa5e6f5b555c032abd81f4d8e6abdb1f989ca9 for containers.ethitter.com:443/docker/images/php:7.0 with digest containers.ethitter.com:443/docker/images/php@sha256:74c7d7db34ba2babdb5d76ebd4fc8e9bbf10bb580799ad5f54d9030a8fe4f8b7 ...
section_end:1689037877:prepare_executor
section_start:1689037877:prepare_script
Preparing environment
Running on runner-57294368-project-9-concurrent-1 via git2...
section_end:1689037879:prepare_script
section_start:1689037879: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)...
Removing gl-secret-detection-report.json

Skipping Git submodules setup
section_end:1689037881:get_sources
section_start:1689037881:restore_cache
Restoring cache
Checking cache for default-protected...
Downloading cache.zip from https://sfo2.digitaloceanspaces.com/eth-gitlab-runners-2/project/9/default-protected 
Successfully extracted cache
section_end:1689037882:restore_cache
section_start:1689037882:step_script
Executing "step_script" stage of the job script
Using docker image sha256:b0dd5cb60edc925ba49415cf2bfa5e6f5b555c032abd81f4d8e6abdb1f989ca9 for containers.ethitter.com:443/docker/images/php:7.0 with digest containers.ethitter.com:443/docker/images/php@sha256:74c7d7db34ba2babdb5d76ebd4fc8e9bbf10bb580799ad5f54d9030a8fe4f8b7 ...
$ 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: 29 installs, 0 updates, 0 removals
  - Locking doctrine/instantiator (1.0.5)
  - Locking myclabs/deep-copy (1.7.0)
  - Locking phar-io/manifest (1.0.1)
  - Locking phar-io/version (1.0.1)
  - Locking phpdocumentor/reflection-common (1.0.1)
  - Locking phpdocumentor/reflection-docblock (4.3.4)
  - Locking phpdocumentor/type-resolver (0.5.1)
  - Locking phpspec/prophecy (v1.10.3)
  - Locking phpunit/php-code-coverage (5.3.2)
  - Locking phpunit/php-file-iterator (1.4.5)
  - Locking phpunit/php-text-template (1.2.1)
  - Locking phpunit/php-timer (1.0.9)
  - Locking phpunit/php-token-stream (2.0.2)
  - Locking phpunit/phpunit (6.1.4)
  - Locking phpunit/phpunit-mock-objects (4.0.4)
  - Locking sebastian/code-unit-reverse-lookup (1.0.2)
  - Locking sebastian/comparator (2.1.3)
  - Locking sebastian/diff (2.0.1)
  - Locking sebastian/environment (3.1.0)
  - Locking sebastian/exporter (3.1.5)
  - Locking sebastian/global-state (2.0.0)
  - Locking sebastian/object-enumerator (3.0.4)
  - Locking sebastian/object-reflector (1.1.2)
  - Locking sebastian/recursion-context (3.0.1)
  - Locking sebastian/resource-operations (1.0.0)
  - Locking sebastian/version (2.0.1)
  - Locking symfony/polyfill-ctype (v1.19.0)
  - Locking theseer/tokenizer (1.1.3)
  - Locking webmozart/assert (1.9.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 29 installs, 0 updates, 0 removals
  - Downloading symfony/polyfill-ctype (v1.19.0)
  - Downloading webmozart/assert (1.9.1)
  - Downloading phpdocumentor/reflection-common (1.0.1)
  - Downloading phpdocumentor/type-resolver (0.5.1)
  - Downloading phpdocumentor/reflection-docblock (4.3.4)
  - Downloading phpunit/php-token-stream (2.0.2)
  - Downloading sebastian/version (2.0.1)
  - Downloading sebastian/resource-operations (1.0.0)
  - Downloading sebastian/recursion-context (3.0.1)
  - Downloading sebastian/object-reflector (1.1.2)
  - Downloading sebastian/object-enumerator (3.0.4)
  - Downloading sebastian/global-state (2.0.0)
  - Downloading sebastian/exporter (3.1.5)
  - Downloading sebastian/environment (3.1.0)
  - Downloading sebastian/diff (2.0.1)
  - Downloading sebastian/comparator (2.1.3)
  - Downloading phpunit/php-text-template (1.2.1)
  - Downloading doctrine/instantiator (1.0.5)
  - Downloading phpunit/phpunit-mock-objects (4.0.4)
  - Downloading phpunit/php-timer (1.0.9)
  - Downloading phpunit/php-file-iterator (1.4.5)
  - Downloading theseer/tokenizer (1.1.3)
  - Downloading sebastian/code-unit-reverse-lookup (1.0.2)
  - Downloading phpunit/php-code-coverage (5.3.2)
  - Downloading phpspec/prophecy (v1.10.3)
  - Downloading phar-io/version (1.0.1)
  - Downloading phar-io/manifest (1.0.1)
  - Downloading myclabs/deep-copy (1.7.0)
  - Downloading phpunit/phpunit (6.1.4)
  - Installing symfony/polyfill-ctype (v1.19.0): Extracting archive
  - Installing webmozart/assert (1.9.1): Extracting archive
  - Installing phpdocumentor/reflection-common (1.0.1): Extracting archive
  - Installing phpdocumentor/type-resolver (0.5.1): Extracting archive
  - Installing phpdocumentor/reflection-docblock (4.3.4): Extracting archive
  - Installing phpunit/php-token-stream (2.0.2): Extracting archive
  - Installing sebastian/version (2.0.1): Extracting archive
  - Installing sebastian/resource-operations (1.0.0): Extracting archive
  - Installing sebastian/recursion-context (3.0.1): Extracting archive
  - Installing sebastian/object-reflector (1.1.2): Extracting archive
  - Installing sebastian/object-enumerator (3.0.4): Extracting archive
  - Installing sebastian/global-state (2.0.0): Extracting archive
  - Installing sebastian/exporter (3.1.5): Extracting archive
  - Installing sebastian/environment (3.1.0): Extracting archive
  - Installing sebastian/diff (2.0.1): Extracting archive
  - Installing sebastian/comparator (2.1.3): Extracting archive
  - Installing phpunit/php-text-template (1.2.1): Extracting archive
  - Installing doctrine/instantiator (1.0.5): Extracting archive
  - Installing phpunit/phpunit-mock-objects (4.0.4): Extracting archive
  - Installing phpunit/php-timer (1.0.9): Extracting archive
  - Installing phpunit/php-file-iterator (1.4.5): Extracting archive
  - Installing theseer/tokenizer (1.1.3): Extracting archive
  - Installing sebastian/code-unit-reverse-lookup (1.0.2): Extracting archive
  - Installing phpunit/php-code-coverage (5.3.2): Extracting archive
  - Installing phpspec/prophecy (v1.10.3): Extracting archive
  - Installing phar-io/version (1.0.1): Extracting archive
  - Installing phar-io/manifest (1.0.1): Extracting archive
  - Installing myclabs/deep-copy (1.7.0): Extracting archive
  - Installing phpunit/phpunit (6.1.4): Extracting archive
5 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
7 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
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
7 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 6.1.4 by Sebastian Bergmann and contributors.

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

Time: 1.53 seconds, Memory: 34.00MB

OK (14 tests, 16 assertions)
section_end:1689037898:step_script
section_start:1689037898: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:1689037899:archive_cache
section_start:1689037899:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1689037900:cleanup_file_variables
Job succeeded