fix_fetch_web_resource-2537500-1.patch

Test status
StatusResult
Last receivedWed, 07/22/2015 - 10:08:00
Last requestedWed, 07/22/2015 - 10:08:01
Last testedWed, 07/22/2015 - 10:11:54
Test count1
Environment status
PHP 5.5 MySQLfail
File information
Filefix_fetch_web_resource-2537500-1.patch
BranchCollect - 8.x-1.x
LinkIssue Link
SummaryFAILED: [[SimpleTest]]: [PHP 5.5 MySQL] Failed to run tests: PHP Fatal error encountered during run_tests.sh. See review log for details..
Details

PHP 5.5 MySQL

  1. Setup environment
  2. Detect an invalid patch URL
  3. Detect invalid repository information
  4. Detect invalid patch format
  5. Detect a non-applicable patch
  6. Detect invalid PHP syntax
  7. Detect a Drupal installation failure
  8. Detect a test run failure
    Ensure that you can install SimpleTest locally and invoke tests using the command line script.
  9. Detect a failing test
  10. Complete test suite with all tests passing
Review log
[03:08:01] Log initialized (/var/lib/drupaltestbot/sites/default/files/review.test_1101978.pifr_simpletest.fix_fetch_web_resource-2537500-1.patch.1437559681.log)
[03:08:01] Review timestamp: (Wed, 07/22/2015 - 03:08)
[03:08:01] Review host: (ec2-52-10-99-150)
[03:08:01] Operations:Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => install
    [7] => review
)

[03:08:01] Result Codes: Array
(
    [fail] => 9
    [pass] => 10
)

[03:08:01] Environment variables and review information initialized.
[03:08:01] core_url = [git://git.drupal.org/project/drupal.git];  Test repository = [git://git.drupal.org/project/collect.git]
[03:08:01] Project directory is [collect]
[03:08:01] Review started.
[03:08:01] Test: Array
(
    [test_id] => 1101978
    [review] => Array
        (
            [plugin] => pifr_simpletest
            [argument] => Array
                (
                    [test.title] => 
                    [test.directory.review] => Array
                        (
                            [0] => sites/default/modules/collect
                        )

                    [test.directory.apply] => 
                    [test.directory.dependency] => 
                    [test.files] => Array
                        (
                        )

                    [test.extensions] => Array
                        (
                            [0] => php
                            [1] => inc
                            [2] => install
                            [3] => module
                            [4] => test
                        )

                    [drupal.core.version] => 8
                    [drupal.core.url] => git://git.drupal.org/project/drupal.git
                    [drupal.modules] => Array
                        (
                        )

                    [drupal.user] => admin
                    [drupal.pass] => 
                    [drupal.variables] => Array
                        (
                        )

                    [simpletest.tests] => Array
                        (
                        )

                    [simpletest.db] => 
                    [phpversion] => 5.5
                    [test.php.version] => 5.5
                )

        )

    [vcs] => Array
        (
            [main] => Array
                (
                    [repository] => Array
                        (
                            [type] => git
                            [url] => git://git.drupal.org/project/drupal.git
                        )

                    [vcs_identifier] => 8.0.x
                )

            [dependencies] => Array
                (
                    [1] => Array
                        (
                            [repository] => Array
                                (
                                    [type] => git
                                    [url] => git://git.drupal.org/project/search_api.git
                                )

                            [vcs_identifier] => 8.x-1.0-alpha6
                        )

                    [2] => Array
                        (
                            [repository] => Array
                                (
                                    [type] => git
                                    [url] => git://git.drupal.org/project/inmail.git
                                )

                            [vcs_identifier] => 8.x-1.x
                        )

                    [3] => Array
                        (
                            [repository] => Array
                                (
                                    [type] => git
                                    [url] => git://git.drupal.org/project/collect.git
                                )

                            [vcs_identifier] => 8.x-1.x
                        )

                )

        )

    [files] => Array
        (
            [0] => https://www.drupal.org/files/issues/fix_fetch_web_resource-2537500-1.patch
        )

)

[03:08:01] Operations: Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => install
    [7] => review
)

[03:08:01] Invoking operation [setup]...
[03:08:01] Command [chmod -R u+rw sites/default/files/checkout 2>&1] succeeded.
[03:08:01] Command [rm -rf sites/default/files/checkout 2>&1] succeeded.
[03:08:01] Command [rm -rf /tmp/po* 2>&1] succeeded.
[03:08:01] Command [rm -rf sites/default/files/review 2>&1] succeeded.
[03:08:01] Database backend [mysql] loaded.
[03:08:02] Invoking operation [fetch]...
[03:08:02] Fetched [fix_fetch_web_resource-2537500-1.patch].
[03:08:02] Invoking operation [checkout]...
[03:08:02] Version control system backend [git] loaded.
[03:08:04] Command [git clone 'git://git.drupal.org/project/drupal.git' 'checkout' --reference /var/cache/git/reference 2>&1] succeeded.
[03:08:05] Command [git --work-tree='checkout' --git-dir='checkout/.git' checkout '8.0.x' 2>&1] succeeded.
[03:08:05] Command [git --work-tree='checkout' --git-dir='checkout/.git' status 2>&1] succeeded.
[03:08:05] Command [git --work-tree='checkout' --git-dir='checkout/.git' log --oneline -1 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files]
  Completion status: [0]
  Output: [8b83aa0 Issue #2493911 by dawehner, larowlan, damiankloip, hussainweb, jibran, cilefen, benjy, iMiksu, mtdowling: Update guzzle, goutte and mink-goutte-driver to the latest release].
[03:08:05] Main branch [8.0.x] checkout [complete].
[03:08:20] Command [git clone 'git://git.drupal.org/project/search_api.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/search_api' --reference /var/cache/git/reference 2>&1] succeeded.
[03:08:20] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/search_api' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/search_api/.git' checkout '8.x-1.0-alpha6' 2>&1] succeeded.
[03:08:20] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/search_api' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/search_api/.git' status 2>&1] succeeded.
[03:08:20] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/search_api' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/search_api/.git' log --oneline -1 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [4dcef7c Issue #2510546 by Arla: Fixed DB backend text field name column length.].
[03:08:20] Dependency branch [8.x-1.0-alpha6] checkout [complete].
[03:08:34] Command [git clone 'git://git.drupal.org/project/inmail.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/inmail' --reference /var/cache/git/reference 2>&1] succeeded.
[03:08:34] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/inmail' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/inmail/.git' checkout '8.x-1.x' 2>&1] succeeded.
[03:08:34] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/inmail' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/inmail/.git' status 2>&1] succeeded.
[03:08:34] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/inmail' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/inmail/.git' log --oneline -1 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [9a38841 Fix link templates with leading slash.].
[03:08:34] Dependency branch [8.x-1.x] checkout [complete].
[03:08:50] Command [git clone 'git://git.drupal.org/project/collect.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/collect' --reference /var/cache/git/reference 2>&1] succeeded.
[03:08:50] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/collect' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/collect/.git' checkout '8.x-1.x' 2>&1] succeeded.
[03:08:50] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/collect' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/collect/.git' status 2>&1] succeeded.
[03:08:50] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/collect' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/collect/.git' log --oneline -1 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [a1c986c Issue #2536258 by mbovan: Collect Client Web Test Failing].
[03:08:50] Dependency branch [8.x-1.x] checkout [complete].
[03:08:50] Invoking operation [check]...
[03:08:50] Invoking operation [apply]...
[03:08:50] Command [git apply --check -p1 /var/lib/drupaltestbot/sites/default/files/review/fix_fetch_web_resource-2537500-1.patch 2>&1] succeeded.
[03:08:50] Command [git apply -v -p1 /var/lib/drupaltestbot/sites/default/files/review/fix_fetch_web_resource-2537500-1.patch 2>&1] succeeded.
[03:08:50] Applied [fix_fetch_web_resource-2537500-1.patch] to:
 > collect.services.yml
 > src/FetchWebResource.php
[03:08:50] Invoking operation [syntax]...
[03:08:50] Command [php -l -f './sites/default/modules/collect/src/FetchWebResource.php' 2>&1] succeeded.
[03:08:50] Checked [1 of 1] relevant file(s) for syntax.
[03:08:50] Invoking operation [install]...
[03:08:50] Invoking operation [review]...
[03:08:50] Scanning sites/default/files/checkout/sites/default/modules/collect for .test files.
[03:08:50] Scanning sites/default/files/checkout/sites/default/modules/collect for /Tests/*.php files.
[03:08:50] Cleaning run-tests.sh environment.
[03:08:51] Command [/usr/bin/php ./core/scripts/run-tests.sh --concurrency 27 --php /usr/bin/php --url http://ec2-52-10-99-150.us-west-2.compute.amazonaws.com/checkout --sqlite /tmpfs/pifr/test.sqlite --dburl mysql://drupaltestbot-my:g9VwBIfn1nsT@localhost/drupaltestbotmysql --keep-results --file sites/default/modules/collect/client/contact/src/Tests/ContactItemHandlerTest.php,sites/default/modules/collect/client/src/Tests/CollectClientWebTest.php,sites/default/modules/collect/client/tests/src/Unit/Plugin/QueueWorker/QueueWorkerTest.php,sites/default/modules/collect/common/src/Tests/CollectCommonKernelTest.php,sites/default/modules/collect/src/Tests/TypedDataProviderTest.php,sites/default/modules/collect/src/Tests/RelationWebTest.php,sites/default/modules/collect/src/Tests/RelationTest.php,sites/default/modules/collect/src/Tests/ProcessingWebTest.php,sites/default/modules/collect/src/Tests/ProcessingTest.php,sites/default/modules/collect/src/Tests/ModelTest.php,sites/default/modules/collect/src/Tests/ModelManagerTest.php,sites/default/modules/collect/src/Tests/JsonModelTest.php,sites/default/modules/collect/src/Tests/FieldDefinitionModelTest.php,sites/default/modules/collect/src/Tests/FetchUrlModelTest.php,sites/default/modules/collect/src/Tests/EntityWebTest.php,sites/default/modules/collect/src/Tests/DependencyInjectionTest.php,sites/default/modules/collect/src/Tests/ContainerTest.php,sites/default/modules/collect/src/Tests/CollectWebTest.php,sites/default/modules/collect/src/Tests/CollectJsonModelTest.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/DataType/Dummy.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/collect/Model/TestSpecializedDisplayModelPlugin.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/collect/Model/TestModelPlugin.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/collect/Processor/Spicer.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/collect/Processor/ContextCollector.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/collect/Relation/Hugs.php,sites/default/modules/collect/tests/modules/collect_test/src/TestResponseController.php,sites/default/modules/collect/tests/src/Unit/Plugin/rest/resource/CollectResourceTest.php --clean 2>&1] succeeded.
[03:08:51] Initiating run-tests.sh.
[03:11:54] Command [/usr/bin/php ./core/scripts/run-tests.sh --concurrency 27 --php /usr/bin/php --url http://ec2-52-10-99-150.us-west-2.compute.amazonaws.com/checkout --sqlite /tmpfs/pifr/test.sqlite --dburl mysql://drupaltestbot-my:g9VwBIfn1nsT@localhost/drupaltestbotmysql --keep-results --file sites/default/modules/collect/client/contact/src/Tests/ContactItemHandlerTest.php,sites/default/modules/collect/client/src/Tests/CollectClientWebTest.php,sites/default/modules/collect/client/tests/src/Unit/Plugin/QueueWorker/QueueWorkerTest.php,sites/default/modules/collect/common/src/Tests/CollectCommonKernelTest.php,sites/default/modules/collect/src/Tests/TypedDataProviderTest.php,sites/default/modules/collect/src/Tests/RelationWebTest.php,sites/default/modules/collect/src/Tests/RelationTest.php,sites/default/modules/collect/src/Tests/ProcessingWebTest.php,sites/default/modules/collect/src/Tests/ProcessingTest.php,sites/default/modules/collect/src/Tests/ModelTest.php,sites/default/modules/collect/src/Tests/ModelManagerTest.php,sites/default/modules/collect/src/Tests/JsonModelTest.php,sites/default/modules/collect/src/Tests/FieldDefinitionModelTest.php,sites/default/modules/collect/src/Tests/FetchUrlModelTest.php,sites/default/modules/collect/src/Tests/EntityWebTest.php,sites/default/modules/collect/src/Tests/DependencyInjectionTest.php,sites/default/modules/collect/src/Tests/ContainerTest.php,sites/default/modules/collect/src/Tests/CollectWebTest.php,sites/default/modules/collect/src/Tests/CollectJsonModelTest.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/DataType/Dummy.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/collect/Model/TestSpecializedDisplayModelPlugin.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/collect/Model/TestModelPlugin.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/collect/Processor/Spicer.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/collect/Processor/ContextCollector.php,sites/default/modules/collect/tests/modules/collect_test/src/Plugin/collect/Relation/Hugs.php,sites/default/modules/collect/tests/modules/collect_test/src/TestResponseController.php,sites/default/modules/collect/tests/src/Unit/Plugin/rest/resource/CollectResourceTest.php 2>&1] succeeded
  Duration: 183 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: [Drupal test run
---------------

Tests to be run:
  - Drupal\collect_client_contact\Tests\ContactItemHandlerTest
  - Drupal\collect_client\Tests\CollectClientWebTest
  - Drupal\Tests\collect_client\Unit\Plugin\QueueWorker\QueueWorkerTest
  - Drupal\collect_common\Tests\CollectCommonKernelTest
  - Drupal\collect\Tests\TypedDataProviderTest
  - Drupal\collect\Tests\RelationWebTest
  - Drupal\collect\Tests\RelationTest
  - Drupal\collect\Tests\ProcessingWebTest
  - Drupal\collect\Tests\ProcessingTest
  - Drupal\collect\Tests\ModelTest
  - Drupal\collect\Tests\ModelManagerTest
  - Drupal\collect\Tests\JsonModelTest
  - Drupal\collect\Tests\FieldDefinitionModelTest
  - Drupal\collect\Tests\FetchUrlModelTest
  - Drupal\collect\Tests\EntityWebTest
  - Drupal\collect\Tests\DependencyInjectionTest
  - Drupal\collect\Tests\ContainerTest
  - Drupal\collect\Tests\CollectWebTest
  - Drupal\collect\Tests\CollectJsonModelTest
  - Drupal\Tests\collect\Unit\Plugin\rest\resource\CollectResourceTest

Test run started:
  Wednesday, July 22, 2015 - 10:08

Test summary
------------

PHP Fatal error:  Call to undefined method Mock_ClientInterface_0769eeb3::post() in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/collect/client/src/Plugin/QueueWorker/CollectClientQueueWorker.php on line 234
PHP Warning:  Invalid argument supplied for foreach() in /var/lib/drupaltestbot/sites/default/files/checkout/core/scripts/run-tests.sh on line 590

Warning: Invalid argument supplied for foreach() in /var/lib/drupaltestbot/sites/default/files/checkout/core/scripts/run-tests.sh on line 590
Drupal\collect\Tests\ModelManagerTest                          5 passes
Drupal\Tests\collect\Unit\Plugin\rest\resource\CollectResour   2 passes
Drupal\collect\Tests\FetchUrlModelTest                         6 passes
Drupal\collect_common\Tests\CollectCommonKernelTest            6 passes
Drupal\collect\Tests\TypedDataProviderTest                    10 passes
Drupal\collect\Tests\FieldDefinitionModelTest                  9 passes
Drupal\collect\Tests\DependencyInjectionTest                   8 passes
Drupal\collect\Tests\RelationTest                             15 passes
Drupal\collect\Tests\ProcessingTest                            4 passes
Drupal\collect\Tests\JsonModelTest                             7 passes
Drupal\collect_client_contact\Tests\ContactItemHandlerTest    20 passes
Drupal\collect\Tests\CollectJsonModelTest                     31 passes
Drupal\collect\Tests\ContainerTest                            21 passes
Drupal\collect\Tests\ModelTest                                73 passes
Drupal\collect\Tests\ProcessingWebTest                        58 passes

Fatal error: Call to undefined method GuzzleHttp\Psr7\Response::json() in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/collect/client/src/Plugin/QueueWorker/CollectClientQueueWorker.php on line 286
FATAL Drupal\collect_client\Tests\CollectClientWebTest: test runner returned a non-zero error code (255).
Drupal\collect\Tests\RelationWebTest                         101 passes
Drupal\collect\Tests\CollectWebTest                          397 passes   2 fails
Drupal\collect\Tests\EntityWebTest                           458 passes

Test run duration: 3 min 2 sec].
[03:11:54] Encountered error on [review], details:
array (
  '@reason' => 'PHP Fatal error encountered during run_tests.sh.  See review log for details.',
)
[03:11:54] Review complete. test_id=1101978 result code=8 details=Array
(
    [@reason] => PHP Fatal error encountered during run_tests.sh.  See review log for details.
)

[03:11:54] Static variables reset.