Closed emteknetnz closed 4 years ago
@bergice Links to a few pull requests that also trigger this error:
Stack trace:
Worker information
hostname: 0768878a-23be-48cc-9538-b2e2438b2602@1.worker-org-77db9856dc-4bzds.gce-production-3
version: v6.2.17 https://github.com/travis-ci/worker/tree/bc420764f334fe0d096a417c80426f672f1b7d18
instance: travis-job-d9506fe0-48a2-4f7b-954e-4bac04287ea9 travis-ci-sardonyx-xenial-1553530528-f909ac5 (via amqp)
startup: 6.3085201s
0.14s0.01s0.00s0.01s
system_info
Build system information
0.01s0.00s0.81s0.20s0.05s0.00s0.04s0.00s0.01s0.01s0.01s0.01s0.01s0.00s0.00s0.02s0.00s0.01s0.24s0.00s0.00s0.00s0.01s0.00s0.10s0.01s0.78s0.00s0.00s6.03s0.00s2.39s0.00s2.22s
docker_mtu
resolvconf
services
1.06s$ sudo systemctl start mysql
git.checkout
0.65s$ git clone --depth=50 https://github.com/silverstripe/silverstripe-errorpage.git silverstripe/silverstripe-errorpage
0.01s
Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
Setting environment variables from .travis.yml
$ export COMPOSER_ROOT_VERSION="1.6.x-dev"
$ export DB=MYSQL
$ export RECIPE_VERSION=4.6.x-dev
$ export PHPUNIT_TEST=1
$ export PHPCS_TEST=1
$ export PDO=1
0.02s$ phpenv global 7.1 2>/dev/null
pearrc
Writing /home/travis/.pearrc
0.01s$ phpenv global 7.1
0.84s$ composer self-update
Updating to version 1.10.7 (stable channel).
Downloading (100%)
Use composer self-update --rollback to return to version 1.8.4
$ php --version
PHP 7.1.27 (cli) (built: Mar 13 2019 07:54:47) ( ZTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.1.27, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.7.0, Copyright (c) 2002-2019, by Derick Rethans
$ composer --version
Composer version 1.10.7 2020-06-03 10:03:56
before_script.1
0.04s$ phpenv rehash
before_script.2
0.02s$ phpenv config-rm xdebug.ini
before_script.3
0.02s$ echo 'memory_limit = 2G' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
before_script.4
0.00s$ export PATH=~/.composer/vendor/bin:$PATH
before_script.5
6.81s$ composer require --no-update --prefer-dist silverstripe/recipe-cms:$RECIPE_VERSION
before_script.6
1.07s$ composer require --no-update sminnee/phpunit-mock-objects:^3
before_script.7
0.00s$ if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:^2 --prefer-dist; fi
before_script.8
0.00s$ if [[ $DB == SQLITE ]]; then composer require --no-update silverstripe/sqlite3:^2 --prefer-dist; fi
before_script.9
1.11s$ if [[ $PHPCS_TEST ]]; then composer require squizlabs/php_codesniffer:^3 --no-update; fi
before_script.10
33.38s$ composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
5.80s$ if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit tests flush=1; fi
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.
E............... 16 / 16 (100%)
Time: 5.62 seconds, Memory: 58.00MB
There was 1 error:
1) SilverStripe\ErrorPage\Tests\ErrorPageFileExtensionTest::testErrorPage
BadMethodCallException: Object->__call(): the method 'getURL' does not exist on 'SilverStripe\ErrorPage\ErrorPage'
/home/travis/build/silverstripe/silverstripe-errorpage/vendor/silverstripe/framework/src/Core/CustomMethods.php:54
/home/travis/build/silverstripe/silverstripe-errorpage/vendor/silverstripe/assets/src/Shortcodes/FileShortcodeProvider.php:104
/home/travis/build/silverstripe/silverstripe-errorpage/tests/ErrorPageFileExtensionTest.php:68
/home/travis/build/silverstripe/silverstripe-errorpage/vendor/phpunit/phpunit/phpunit:52
ERRORS!
Tests: 16, Assertions: 41, Errors: 1.
The command "if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit tests flush=1; fi" exited with 2.
0.00s$ if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml -vvv; fi
The command "if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml -vvv; fi" exited with 0.
0.39s$ if [[ $PHPCS_TEST ]]; then composer run-script lint; fi
> vendor/bin/phpcs -s src/ tests/
The command "if [[ $PHPCS_TEST ]]; then composer run-script lint; fi" exited with 0.
Done. Your build exited with 1.
Looks like a regression called by this recently merged pull-request into assets
1.6
https://github.com/silverstripe/silverstripe-assets/pull/403/files#diff-9f64e6d06e51482d40162222fa703f1dR104travis kitchen-sink
2.6
fail https://travis-ci.org/github/silverstripe/cwp-recipe-kitchen-sink/jobs/700681574Pull Requests