PHPunit:PHP7.1:MySQL
Passed Started
by
@ethitter
Erick Hitter
This job is archived. Only the complete pipeline can be retried.
1Running with gitlab-runner 13.12.0 (7a6612da)2 on runner-bastion-git2 572943684Using Docker executor with image containers.ethitter.com:443/docker/images/php:7.1 ...5Starting service mysql:5.6 ...6Pulling docker image mysql:5.6 ...7Using docker image sha256:3045d3a6e718a5429041301b0c2b5acfb2768b8bb5a94a1e26d589c1f2f4bd51 for mysql:5.6 with digest mysql@sha256:1d96ea86f9173607f1534c05041bf18dba691ded86d2ab51f6fd4533377fac39 ...8Waiting for services to be up and running...9Authenticating with credentials from job payload (GitLab Registry)10Pulling docker image containers.ethitter.com:443/docker/images/php:7.1 ...11Using docker image sha256:618bc3351c9d18b94a4d6a28e4730a99d8fa6b29741a4a0def9f739721ad780a for containers.ethitter.com:443/docker/images/php:7.1 with digest containers.ethitter.com:443/docker/images/php@sha256:9f64e0560ea483c3eccc9bb1ba247af00539c838c3fe49be2189f3d9ed8da2d2 ...13Running on runner-57294368-project-34-concurrent-0 via runner-57294368-gitlab-1622520220-a844d2ed...15Fetching changes...16Initialized empty Git repository in /builds/wp-plugins/wp-redis-user-session-storage/.git/17Created fresh repository.18Checking out d6351579 as master...19Skipping Git submodules setup21Checking cache for default...22Downloading cache.zip from https://sfo2.digitaloceanspaces.com/eth-gitlab-runners-2/project/34/default 23Successfully extracted cache25Using docker image sha256:618bc3351c9d18b94a4d6a28e4730a99d8fa6b29741a4a0def9f739721ad780a for containers.ethitter.com:443/docker/images/php:7.1 with digest containers.ethitter.com:443/docker/images/php@sha256:9f64e0560ea483c3eccc9bb1ba247af00539c838c3fe49be2189f3d9ed8da2d2 ...26$ bash bin/install-wp-tests.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD mysql $WP_VERSION true27+ install_wp28+ '[' -d /tmp/wordpress/ ']'29+ mkdir -p /tmp/wordpress/30+ [[ latest == \n\i\g\h\t\l\y ]]31+ [[ latest == \t\r\u\n\k ]]32+ '[' latest == latest ']'33+ local ARCHIVE_NAME=latest34+ download https://wordpress.org/latest.tar.gz /tmp/wordpress.tar.gz35++ which curl36+ '[' /usr/bin/curl ']'37+ curl -s https://wordpress.org/latest.tar.gz38+ tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C /tmp/wordpress/39+ download https://raw.github.com/markoheijnen/wp-mysqli/master/db.php /tmp/wordpress//wp-content/db.php40++ which curl41+ '[' /usr/bin/curl ']'43+ install_test_suite44++ uname -s45+ [[ Linux == \D\a\r\w\i\n ]]46+ local ioption=-i47+ '[' '!' -d /tmp/wordpress-tests-lib ']'48+ mkdir -p /tmp/wordpress-tests-lib49+ svn co --quiet https://develop.svn.wordpress.org/tags/5.7.2/tests/phpunit/includes/ /tmp/wordpress-tests-lib/includes50+ svn co --quiet https://develop.svn.wordpress.org/tags/5.7.2/tests/phpunit/data/ /tmp/wordpress-tests-lib/data51+ '[' '!' -f wp-tests-config.php ']'52+ download https://develop.svn.wordpress.org/tags/5.7.2/wp-tests-config-sample.php /tmp/wordpress-tests-lib/wp-tests-config.php53++ which curl54+ '[' /usr/bin/curl ']'56++ echo /tmp/wordpress/57++ sed 's:/\+$::'58+ WP_CORE_DIR=/tmp/wordpress59+ sed -i 's:dirname( __FILE__ ) . '\''/src/'\'':'\''/tmp/wordpress/'\'':' /tmp/wordpress-tests-lib/wp-tests-config.php60+ sed -i s/youremptytestdbnamehere/wordpress_tests/ /tmp/wordpress-tests-lib/wp-tests-config.php61+ sed -i s/yourusernamehere/root/ /tmp/wordpress-tests-lib/wp-tests-config.php62+ sed -i s/yourpasswordhere/mysql/ /tmp/wordpress-tests-lib/wp-tests-config.php63+ sed -i 's|localhost|mysql|' /tmp/wordpress-tests-lib/wp-tests-config.php64+ install_db65+ '[' true = true ']'66+ return 067$ if [[ $(php -v) =~ "PHP 7." ]]; then # collapsed multi-line command68Changed current directory to /root/.composer69./composer.json has been created70Running composer update phpunit/phpunit71Loading composer repositories with package information72Updating dependencies73Lock file operations: 29 installs, 0 updates, 0 removals74 - Locking doctrine/instantiator (1.4.0)75 - Locking myclabs/deep-copy (1.10.2)76 - Locking phar-io/manifest (1.0.1)77 - Locking phar-io/version (1.0.1)78 - Locking phpdocumentor/reflection-common (2.1.0)79 - Locking phpdocumentor/reflection-docblock (4.3.4)80 - Locking phpdocumentor/type-resolver (1.0.1)81 - Locking phpspec/prophecy (v1.10.3)82 - Locking phpunit/php-code-coverage (5.3.2)83 - Locking phpunit/php-file-iterator (1.4.5)84 - Locking phpunit/php-text-template (1.2.1)85 - Locking phpunit/php-timer (1.0.9)86 - Locking phpunit/php-token-stream (2.0.2)87 - Locking phpunit/phpunit (6.1.4)88 - Locking phpunit/phpunit-mock-objects (4.0.4)89 - Locking sebastian/code-unit-reverse-lookup (1.0.2)90 - Locking sebastian/comparator (2.1.3)91 - Locking sebastian/diff (2.0.1)92 - Locking sebastian/environment (3.1.0)93 - Locking sebastian/exporter (3.1.3)94 - Locking sebastian/global-state (2.0.0)95 - Locking sebastian/object-enumerator (3.0.4)96 - Locking sebastian/object-reflector (1.1.2)97 - Locking sebastian/recursion-context (3.0.1)98 - Locking sebastian/resource-operations (1.0.0)99 - Locking sebastian/version (2.0.1)100 - Locking symfony/polyfill-ctype (v1.23.0)101 - Locking theseer/tokenizer (1.1.3)102 - Locking webmozart/assert (1.9.1)103Writing lock file104Installing dependencies from lock file (including require-dev)105Package operations: 29 installs, 0 updates, 0 removals106 - Downloading symfony/polyfill-ctype (v1.23.0)107 - Downloading webmozart/assert (1.9.1)108 - Downloading phpdocumentor/reflection-common (2.1.0)109 - Downloading phpdocumentor/type-resolver (1.0.1)110 - Downloading phpdocumentor/reflection-docblock (4.3.4)111 - Downloading phpunit/php-token-stream (2.0.2)112 - Downloading sebastian/version (2.0.1)113 - Downloading sebastian/resource-operations (1.0.0)114 - Downloading sebastian/recursion-context (3.0.1)115 - Downloading sebastian/object-reflector (1.1.2)116 - Downloading sebastian/object-enumerator (3.0.4)117 - Downloading sebastian/global-state (2.0.0)118 - Downloading sebastian/exporter (3.1.3)119 - Downloading sebastian/environment (3.1.0)120 - Downloading sebastian/diff (2.0.1)121 - Downloading sebastian/comparator (2.1.3)122 - Downloading phpunit/php-text-template (1.2.1)123 - Downloading doctrine/instantiator (1.4.0)124 - Downloading phpunit/phpunit-mock-objects (4.0.4)125 - Downloading phpunit/php-timer (1.0.9)126 - Downloading phpunit/php-file-iterator (1.4.5)127 - Downloading theseer/tokenizer (1.1.3)128 - Downloading sebastian/code-unit-reverse-lookup (1.0.2)129 - Downloading phpunit/php-code-coverage (5.3.2)130 - Downloading phpspec/prophecy (v1.10.3)131 - Downloading phar-io/version (1.0.1)132 - Downloading phar-io/manifest (1.0.1)133 - Downloading myclabs/deep-copy (1.10.2)134 - Downloading phpunit/phpunit (6.1.4)135 0/29 [>---------------------------] 0%136 6/29 [=====>----------------------] 20%137 14/29 [=============>--------------] 48%138 24/29 [=======================>----] 82%139 29/29 [============================] 100% - Installing symfony/polyfill-ctype (v1.23.0): Extracting archive140 - Installing webmozart/assert (1.9.1): Extracting archive141 - Installing phpdocumentor/reflection-common (2.1.0): Extracting archive142 - Installing phpdocumentor/type-resolver (1.0.1): Extracting archive143 - Installing phpdocumentor/reflection-docblock (4.3.4): Extracting archive144 - Installing phpunit/php-token-stream (2.0.2): Extracting archive145 - Installing sebastian/version (2.0.1): Extracting archive146 - Installing sebastian/resource-operations (1.0.0): Extracting archive147 - Installing sebastian/recursion-context (3.0.1): Extracting archive148 - Installing sebastian/object-reflector (1.1.2): Extracting archive149 - Installing sebastian/object-enumerator (3.0.4): Extracting archive150 - Installing sebastian/global-state (2.0.0): Extracting archive151 - Installing sebastian/exporter (3.1.3): Extracting archive152 - Installing sebastian/environment (3.1.0): Extracting archive153 - Installing sebastian/diff (2.0.1): Extracting archive154 - Installing sebastian/comparator (2.1.3): Extracting archive155 - Installing phpunit/php-text-template (1.2.1): Extracting archive156 - Installing doctrine/instantiator (1.4.0): Extracting archive157 - Installing phpunit/phpunit-mock-objects (4.0.4): Extracting archive158 - Installing phpunit/php-timer (1.0.9): Extracting archive159 - Installing phpunit/php-file-iterator (1.4.5): Extracting archive160 - Installing theseer/tokenizer (1.1.3): Extracting archive161 - Installing sebastian/code-unit-reverse-lookup (1.0.2): Extracting archive162 - Installing phpunit/php-code-coverage (5.3.2): Extracting archive163 - Installing phpspec/prophecy (v1.10.3): Extracting archive164 - Installing phar-io/version (1.0.1): Extracting archive165 - Installing phar-io/manifest (1.0.1): Extracting archive166 - Installing myclabs/deep-copy (1.10.2): Extracting archive167 - Installing phpunit/phpunit (6.1.4): Extracting archive168 0/19 [>---------------------------] 0%169 10/19 [==============>-------------] 52%170 19/19 [============================] 100%171 19/19 [============================] 100%5 package suggestions were added by new dependencies, use `composer suggest` to see details.172Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.173Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.174Generating autoload files1758 packages you are using are looking for funding.176Use the `composer fund` command to find out more!177$ find . -type "f" -iname "*.php" | xargs -L "1" php -l178No syntax errors detected in ./inc/class-wp-redis-user-session-storage.php179No syntax errors detected in ./tests/bootstrap.php180No syntax errors detected in ./tests/test-sample.php181No syntax errors detected in ./wp-redis-user-session-storage.php182$ phpunit183Installing...184Running as single site... To run multisite, use -c tests/phpunit/multisite.xml185Not running ajax tests. To execute these, use --group ajax.186Not running ms-files tests. To execute these, use --group ms-files.187Not running external-http tests. To execute these, use --group external-http.188PHPUnit 6.1.4 by Sebastian Bergmann and contributors.189Time: 812 ms, Memory: 28.00MB190No tests executed!192Creating cache default...193WARNING: /root/.composer: no matching files 194WARNING: /root/.composer: no matching files 195Archive is up to date! 196Created cache198Job succeeded