Skip to content

Instantly share code, notes, and snippets.

@psorensen
Created March 10, 2017 19:35
Show Gist options
  • Select an option

  • Save psorensen/4ef6dac9b76a76fef4c4ea47d2bf7240 to your computer and use it in GitHub Desktop.

Select an option

Save psorensen/4ef6dac9b76a76fef4c4ea47d2bf7240 to your computer and use it in GitHub Desktop.
Worker information
hostname: i-0388d96-precise-production-2-worker-org-docker.travisci.net:d28a5fd8-3589-4295-975d-59cd61e40876
version: v2.5.0 https://github.com/travis-ci/worker/tree/da3a43228dffc0fcca5a46569ca786b22991979f
instance: e0656f8:travis:php
startup: 518.8849ms
system_info
Build system information
Build language: php
Build group: stable
Build dist: precise
Build id: 209646620
Job id: 209646625
travis-build version: 5e3ef60b0
Build image provisioning date and time
Thu Feb 5 15:09:33 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
fix.CVE-2015-7547
$ export DEBIAN_FRONTEND=noninteractive
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libc-bin libc-dev-bin libc6-dev
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc-bin libc-dev-bin libc6 libc6-dev
4 upgraded, 0 newly installed, 0 to remove and 262 not upgraded.
Need to get 8,840 kB of archives.
After this operation, 14.3 kB disk space will be freed.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.15 [2,943 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.15 [84.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-bin amd64 2.15-0ubuntu10.15 [1,177 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 amd64 2.15-0ubuntu10.15 [4,636 kB]
Fetched 8,840 kB in 0s (31.3 MB/s)
Preconfiguring packages ...
(Reading database ... 70845 files and directories currently installed.)
Preparing to replace libc6-dev 2.15-0ubuntu10.10 (using .../libc6-dev_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc-dev-bin 2.15-0ubuntu10.10 (using .../libc-dev-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc-bin 2.15-0ubuntu10.10 (using .../libc-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.15-0ubuntu10.15) ...
(Reading database ... 70844 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10.10 (using .../libc6_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.15-0ubuntu10.15) ...
Setting up libc-dev-bin (2.15-0ubuntu10.15) ...
Setting up libc6-dev (2.15-0ubuntu10.15) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
git.checkout
0.36s$ git clone --depth=50 --branch=master https://github.com/psorensen/tagger.git psorensen/tagger
Cloning into 'psorensen/tagger'...
remote: Counting objects: 54, done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 54 (delta 19), reused 43 (delta 13), pack-reused 0
Unpacking objects: 100% (54/54), done.
Checking connectivity... done.
$ cd psorensen/tagger
$ git checkout -qf 172ee0fe7e2a81cba43ffcb2481a1172317891e6
This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.
If you require sudo, add 'sudo: required' to your .travis.yml
See https://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.
Setting environment variables from .travis.yml
$ export WP_VERSION=3.7
$ export WP_MULTISITE=0
0.02s$ phpenv global 5.6 2>/dev/null
0.02s$ phpenv global 5.6
2.04s$ composer self-update 1.0.0
Updating to version 1.0.0.
Downloading: 100%
Use composer self-update --rollback to return to version 1d8f05f1dd0e390f253f79ea86cd505178360019
3.57s$ composer self-update
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Updating to version 1.4.1.
Downloading: 100%
Use composer self-update --rollback to return to version 1.0.0
$ php --version
PHP 5.6.5 (cli) (built: Feb 12 2015 01:41:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
with Xdebug v2.2.7, Copyright (c) 2002-2015, by Derick Rethans
$ composer --version
Composer version 1.4.1 2017-03-10 09:29:45
before_script.1
10.14s$ bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
+install_wp
+'[' -d /tmp/wordpress/ ']'
+mkdir -p /tmp/wordpress/
+[[ 3.7 == \n\i\g\h\t\l\y ]]
+[[ 3.7 == \t\r\u\n\k ]]
+'[' 3.7 == latest ']'
+local ARCHIVE_NAME=wordpress-3.7
+download https://wordpress.org/wordpress-3.7.tar.gz /tmp/wordpress.tar.gz
++which curl
+'[' /usr/bin/curl ']'
+curl -s https://wordpress.org/wordpress-3.7.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/3.7/tests/phpunit/includes/ /tmp/wordpress-tests-lib/includes
+svn co --quiet https://develop.svn.wordpress.org/tags/3.7/tests/phpunit/data/ /tmp/wordpress-tests-lib/data
+'[' '!' -f wp-tests-config.php ']'
+download https://develop.svn.wordpress.org/tags/3.7/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/3.7/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_test/ /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// /tmp/wordpress-tests-lib/wp-tests-config.php
+sed -i 's|localhost|localhost|' /tmp/wordpress-tests-lib/wp-tests-config.php
+install_db
+'[' false = true ']'
+PARTS=(${DB_HOST//\:/ })
+local PARTS
+local DB_HOSTNAME=localhost
+local DB_SOCK_OR_PORT=
+local EXTRA=
+'[' -z localhost ']'
++echo
++grep -e '^[0-9]\{1,\}$'
+'[' ']'
+'[' -z ']'
+'[' -z localhost ']'
+EXTRA=' --host=localhost --protocol=tcp'
+mysqladmin create wordpress_test --user=root --password= --host=localhost --protocol=tcp
before_script.2
0.00s$ export PATH="$HOME/.composer/vendor/bin:$PATH"
before_script.3
22.37s$ if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
composer global require "phpunit/phpunit=5.7.*"
else
composer global require "phpunit/phpunit=4.8.*"
fi
Changed current directory to /home/travis/.composer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 21 installs, 0 updates, 0 removals
- Installing symfony/yaml (v3.2.6): Downloading (100%)
- Installing sebastian/version (1.0.6): Downloading (100%)
- Installing sebastian/global-state (1.1.1): Downloading (100%)
- Installing sebastian/recursion-context (1.0.5): Downloading (100%)
- Installing sebastian/exporter (1.2.2): Downloading (100%)
- Installing sebastian/environment (1.3.8): Downloading (100%)
- Installing sebastian/diff (1.4.1): Downloading (100%)
- Installing sebastian/comparator (1.2.4): Downloading (100%)
- Installing doctrine/instantiator (1.0.5): Downloading (100%)
- Installing phpunit/php-text-template (1.2.1): Downloading (100%)
- Installing phpunit/phpunit-mock-objects (2.3.8): Downloading (100%)
- Installing phpunit/php-timer (1.0.9): Downloading (100%)
- Installing phpunit/php-file-iterator (1.4.2): Downloading (100%)
- Installing phpunit/php-token-stream (1.4.11): Downloading (100%)
- Installing phpunit/php-code-coverage (2.2.4): Downloading (100%)
- Installing webmozart/assert (1.2.0): Downloading (100%)
- Installing phpdocumentor/reflection-common (1.0): Downloading (100%)
- Installing phpdocumentor/type-resolver (0.2.1): Downloading (100%)
- Installing phpdocumentor/reflection-docblock (3.1.1): Downloading (100%)
- Installing phpspec/prophecy (v1.7.0): Downloading (100%)
- Installing phpunit/phpunit (4.8.35): Downloading (100%)
symfony/yaml suggests installing symfony/console (For validating YAML files using the lint command)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files
before_script.4
7.58s$ composer global require wp-coding-standards/wpcs
phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs
Changed current directory to /home/travis/.composer
Using version ^0.10.0 for wp-coding-standards/wpcs
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
- Installing squizlabs/php_codesniffer (2.8.1): Downloading (100%)
- Installing wp-coding-standards/wpcs (0.10.0): Downloading (100%)
Writing lock file
Generating autoload files
Config value "installed_paths" added successfully
1.85s$ phpunit
PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /tmp/wordpress/wp-includes/wp-db.php on line 1142
PHP Stack trace:
PHP 1. {main}() /tmp/wordpress-tests-lib/includes/install.php:0
PHP 2. require_once() /tmp/wordpress-tests-lib/includes/install.php:20
PHP 3. require_wp_db() /tmp/wordpress/wp-settings.php:72
PHP 4. wpdb->__construct() /tmp/wordpress/wp-includes/load.php:334
PHP 5. wpdb->db_connect() /tmp/wordpress/wp-includes/wp-db.php:540
PHP 6. mysql_connect() /tmp/wordpress/wp-includes/wp-db.php:1142
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /tmp/wordpress/wp-includes/wp-db.php on line 1142
Call Stack:
0.0002 256560 1. {main}() /tmp/wordpress-tests-lib/includes/install.php:0
0.0010 378176 2. require_once('/tmp/wordpress/wp-settings.php') /tmp/wordpress-tests-lib/includes/install.php:20
0.0123 2134728 3. require_wp_db() /tmp/wordpress/wp-settings.php:72
0.0139 2397232 4. wpdb->__construct() /tmp/wordpress/wp-includes/load.php:334
0.0140 2398528 5. wpdb->db_connect() /tmp/wordpress/wp-includes/wp-db.php:540
0.0140 2398672 6. mysql_connect() /tmp/wordpress/wp-includes/wp-db.php:1142
Installing...
sh: 1: -t: not found
Running as single site... To run multisite, use -c tests/phpunit/multisite.xml
PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /tmp/wordpress/wp-includes/wp-db.php on line 1142
PHP Stack trace:
PHP 1. {main}() /home/travis/.composer/vendor/phpunit/phpunit/phpunit:0
PHP 2. PHPUnit_TextUI_Command::main() /home/travis/.composer/vendor/phpunit/phpunit/phpunit:52
PHP 3. PHPUnit_TextUI_Command->run() /home/travis/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:100
PHP 4. PHPUnit_TextUI_Command->handleArguments() /home/travis/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:111
PHP 5. PHPUnit_TextUI_Command->handleBootstrap() /home/travis/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:598
PHP 6. PHPUnit_Util_Fileloader::checkAndLoad() /home/travis/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:779
PHP 7. PHPUnit_Util_Fileloader::load() /home/travis/.composer/vendor/phpunit/phpunit/src/Util/Fileloader.php:38
PHP 8. include_once() /home/travis/.composer/vendor/phpunit/phpunit/src/Util/Fileloader.php:56
PHP 9. require() /home/travis/build/psorensen/tagger/tests/bootstrap.php:25
PHP 10. require_once() /tmp/wordpress-tests-lib/includes/bootstrap.php:84
PHP 11. require_wp_db() /tmp/wordpress/wp-settings.php:72
PHP 12. wpdb->__construct() /tmp/wordpress/wp-includes/load.php:334
PHP 13. wpdb->db_connect() /tmp/wordpress/wp-includes/wp-db.php:540
PHP 14. mysql_connect() /tmp/wordpress/wp-includes/wp-db.php:1142
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /tmp/wordpress/wp-includes/wp-db.php on line 1142
Call Stack:
0.0002 242600 1. {main}() /home/travis/.composer/vendor/phpunit/phpunit/phpunit:0
0.0042 772352 2. PHPUnit_TextUI_Command::main() /home/travis/.composer/vendor/phpunit/phpunit/phpunit:52
0.0043 779448 3. PHPUnit_TextUI_Command->run() /home/travis/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:100
0.0043 782312 4. PHPUnit_TextUI_Command->handleArguments() /home/travis/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:111
0.0095 1409848 5. PHPUnit_TextUI_Command->handleBootstrap() /home/travis/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:598
0.0096 1419080 6. PHPUnit_Util_Fileloader::checkAndLoad() /home/travis/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:779
0.0096 1419256 7. PHPUnit_Util_Fileloader::load() /home/travis/.composer/vendor/phpunit/phpunit/src/Util/Fileloader.php:38
0.0096 1424288 8. include_once('/home/travis/build/psorensen/tagger/tests/bootstrap.php') /home/travis/.composer/vendor/phpunit/phpunit/src/Util/Fileloader.php:56
0.0100 1483792 9. require('/tmp/wordpress-tests-lib/includes/bootstrap.php') /home/travis/build/psorensen/tagger/tests/bootstrap.php:25
1.4755 2286968 10. require_once('/tmp/wordpress/wp-settings.php') /tmp/wordpress-tests-lib/includes/bootstrap.php:84
1.4870 4045272 11. require_wp_db() /tmp/wordpress/wp-settings.php:72
1.4885 4307496 12. wpdb->__construct() /tmp/wordpress/wp-includes/load.php:334
1.4885 4308824 13. wpdb->db_connect() /tmp/wordpress/wp-includes/wp-db.php:540
1.4885 4308968 14. mysql_connect() /tmp/wordpress/wp-includes/wp-db.php:1142
Not running ajax tests... To execute these, use --group ajax.
PHPUnit 4.8.35 by Sebastian Bergmann and contributors.
EEEEE
Time: 1.75 seconds, Memory: 26.75MB
There were 5 errors:
1) Tagger_Test::test_parse_csv
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
/tmp/wordpress/wp-includes/wp-db.php:1142
/tmp/wordpress-tests-lib/includes/testcase.php:25
2) Tagger_Test::test_get_post_contents
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
/tmp/wordpress/wp-includes/wp-db.php:1142
/tmp/wordpress-tests-lib/includes/testcase.php:25
3) Tagger_Test::test_tagger_analyze_content
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
/tmp/wordpress/wp-includes/wp-db.php:1142
/tmp/wordpress-tests-lib/includes/testcase.php:25
4) Tagger_Test::test_tagger_find_terms
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
/tmp/wordpress/wp-includes/wp-db.php:1142
/tmp/wordpress-tests-lib/includes/testcase.php:25
5) Tagger_Test::test_put_it_all_together
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
/tmp/wordpress/wp-includes/wp-db.php:1142
/tmp/wordpress-tests-lib/includes/testcase.php:25
FAILURES!
Tests: 5, Assertions: 0, Errors: 5.
The command "phpunit" exited with 2.
Done. Your build exited with 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment