2545972.151.patch

Test status
StatusResult
Last receivedMon, 08/31/2015 - 20:29:59
Last requestedMon, 08/31/2015 - 22:16:19
Last testedMon, 08/31/2015 - 22:16:23
Test count1
Environment status
PHP 5.5 MySQLfail
File information
File2545972.151.patch
BranchDrupal core - 8.0.x
LinkIssue Link
SummaryFAILED: [[SimpleTest]]: [PHP 5.5 MySQL] Invalid PHP syntax in core/modules/comment/src/Tests/CommentTokenReplaceTest.php.
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
    Check the syntax of your PHP files.
  7. Detect a Drupal installation failure
  8. Detect a test run failure
  9. Detect a failing test
  10. Complete test suite with all tests passing
Review log
[15:16:19] Log initialized (/var/lib/drupaltestbot/sites/default/files/review.test_1136993.pifr_simpletest.2545972.151.patch.1441059379.log)
[15:16:19] Review timestamp: (Mon, 08/31/2015 - 15:16)
[15:16:19] Review host: (ec2-54-191-113-78)
[15:16:19] Operations:Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => install
    [7] => review
)

[15:16:19] Result Codes: Array
(
    [fail] => 9
    [pass] => 10
)

[15:16:19] Environment variables and review information initialized.
[15:16:19] core_url = [git://git.drupal.org/project/drupal.git];  Test repository = [git://git.drupal.org/project/drupal.git]
[15:16:19] Review started.
[15:16:19] Test: Array
(
    [test_id] => 1136993
    [review] => Array
        (
            [plugin] => pifr_simpletest
            [argument] => Array
                (
                    [test.title] => 
                    [test.directory.review] => Array
                        (
                            [0] => 
                        )

                    [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
                (
                )

        )

    [files] => Array
        (
            [0] => https://www.drupal.org/files/issues/2545972.151.patch
        )

)

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

[15:16:19] Invoking operation [setup]...
[15:16:19] Command [chmod -R u+rw sites/default/files/checkout 2>&1] succeeded.
[15:16:19] Command [rm -rf sites/default/files/checkout 2>&1] succeeded.
[15:16:19] Command [rm -rf /tmp/po* 2>&1] succeeded.
[15:16:19] Command [rm -rf sites/default/files/review 2>&1] succeeded.
[15:16:19] Database backend [mysql] loaded.
[15:16:19] Invoking operation [fetch]...
[15:16:19] Fetched [2545972.151.patch].
[15:16:19] Invoking operation [checkout]...
[15:16:19] Version control system backend [git] loaded.
[15:16:21] Command [git clone 'git://git.drupal.org/project/drupal.git' 'checkout' --reference /var/cache/git/reference 2>&1] succeeded.
[15:16:22] Command [git --work-tree='checkout' --git-dir='checkout/.git' checkout '8.0.x' 2>&1] succeeded.
[15:16:22] Command [git --work-tree='checkout' --git-dir='checkout/.git' status 2>&1] succeeded.
[15:16:22] 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: [82db483 Issue #2549393 by alexpott, dawehner, lauriii, andypost, xjm: Remove SafeMarkup::escape() and rely more on Twig autoescaping].
[15:16:22] Main branch [8.0.x] checkout [complete].
[15:16:22] Invoking operation [check]...
[15:16:22] Invoking operation [apply]...
[15:16:22] Command [git apply --check -p1 /var/lib/drupaltestbot/sites/default/files/review/2545972.151.patch 2>&1] succeeded.
[15:16:22] Command [git apply -v -p1 /var/lib/drupaltestbot/sites/default/files/review/2545972.151.patch 2>&1] succeeded.
[15:16:22] Applied [2545972.151.patch] to:
 > core/includes/form.inc
 > core/includes/schema.inc
 > core/lib/Drupal/Component/Utility/SafeMarkup.php
 > core/lib/Drupal/Component/Utility/UrlHelper.php
 > core/lib/Drupal/Component/Utility/Xss.php
 > core/lib/Drupal/Core/Controller/TitleResolverInterface.php
 > core/lib/Drupal/Core/Entity/EntityListBuilder.php
 > core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/SelectionBase.php
 > core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php
 > core/lib/Drupal/Core/Extension/ThemeHandler.php
 > core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php
 > core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BasicStringFormatter.php
 > core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php
 > core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php
 > core/lib/Drupal/Core/Field/WidgetBase.php
 > core/lib/Drupal/Core/Form/form.api.php
 > core/lib/Drupal/Core/Menu/menu.api.php
 > core/lib/Drupal/Core/Render/Element/Checkbox.php
 > core/lib/Drupal/Core/Render/Element/Radio.php
 > core/lib/Drupal/Core/Session/AccountInterface.php
 > core/lib/Drupal/Core/Utility/Token.php
 > core/modules/action/action.views_execution.inc
 > core/modules/aggregator/src/Plugin/views/argument/Fid.php
 > core/modules/aggregator/src/Plugin/views/argument/Iid.php
 > core/modules/block/src/BlockViewBuilder.php
 > core/modules/block/src/Controller/BlockLibraryController.php
 > core/modules/block/src/Controller/CategoryAutocompleteController.php
 > core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php
 > core/modules/color/color.module
 > core/modules/comment/comment.module
 > core/modules/comment/src/CommentTypeListBuilder.php
 > core/modules/comment/src/Plugin/views/argument/UserUid.php
 > core/modules/comment/src/Tests/CommentTokenReplaceTest.php
 > core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php
 > core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php
 > core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php
 > core/modules/config_translation/src/Tests/ConfigTranslationOverviewTest.php
 > core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php
 > core/modules/contact/src/ContactFormListBuilder.php
 > core/modules/contact/src/Controller/ContactController.php
 > core/modules/dblog/src/Controller/DbLogController.php
 > core/modules/entity_reference/src/ConfigurableEntityReferenceItem.php
 > core/modules/field/src/Tests/String/UuidFormatterTest.php
 > core/modules/field_ui/src/FieldConfigListBuilder.php
 > core/modules/field_ui/src/Form/FieldConfigEditForm.php
 > core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
 > core/modules/file/src/Plugin/views/argument/Fid.php
 > core/modules/filter/src/FilterFormatFormBase.php
 > core/modules/filter/src/FilterFormatListBuilder.php
 > core/modules/filter/src/Plugin/Filter/FilterHtml.php
 > core/modules/filter/src/Tests/FilterUnitTest.php
 > core/modules/help/src/Controller/HelpController.php
 > core/modules/language/src/Form/NegotiationConfigureForm.php
 > core/modules/locale/src/Form/TranslateEditForm.php
 > core/modules/locale/src/Form/TranslationStatusForm.php
 > core/modules/node/src/Controller/NodePreviewController.php
 > core/modules/node/src/NodeListBuilder.php
 > core/modules/node/src/NodeTypeForm.php
 > core/modules/node/src/Plugin/Search/NodeSearch.php
 > core/modules/node/src/Plugin/views/argument/Nid.php
 > core/modules/node/src/Plugin/views/argument/Type.php
 > core/modules/node/src/Plugin/views/argument/Vid.php
 > core/modules/node/src/Plugin/views/row/Rss.php
 > core/modules/node/src/Tests/NodeTitleXSSTest.php
 > core/modules/options/src/Plugin/views/argument/NumberListField.php
 > core/modules/options/src/Plugin/views/argument/StringListField.php
 > core/modules/path/src/Form/EditForm.php
 > core/modules/quickedit/src/MetadataGenerator.php
 > core/modules/shortcut/src/Form/SwitchShortcutSet.php
 > core/modules/system/src/Form/ModulesListForm.php
 > core/modules/system/src/Tests/Form/ElementTest.php
 > core/modules/system/tests/modules/database_test/src/Form/DatabaseTestForm.php
 > core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxesRadiosForm.php
 > core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php
 > core/modules/system/tests/modules/test_page_test/src/Controller/Test.php
 > core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php
 > core/modules/taxonomy/src/Plugin/views/argument/IndexTid.php
 > core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php
 > core/modules/taxonomy/src/Plugin/views/argument/Taxonomy.php
 > core/modules/taxonomy/src/Plugin/views/argument/VocabularyVid.php
 > core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php
 > core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
 > core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php
 > core/modules/text/src/TextProcessed.php
 > core/modules/tracker/src/Controller/TrackerUserTab.php
 > core/modules/tracker/tracker.pages.inc
 > core/modules/update/src/Form/UpdateManagerUpdate.php
 > core/modules/user/src/AccountForm.php
 > core/modules/user/src/Form/UserPermissionsForm.php
 > core/modules/user/src/Plugin/Condition/UserRole.php
 > core/modules/user/src/Plugin/views/access/Permission.php
 > core/modules/user/src/Plugin/views/access/Role.php
 > core/modules/user/src/Plugin/views/argument/RolesRid.php
 > core/modules/user/src/Plugin/views/argument/Uid.php
 > core/modules/user/src/Plugin/views/argument_validator/User.php
 > core/modules/user/src/Plugin/views/field/Roles.php
 > core/modules/user/src/Plugin/views/filter/Permissions.php
 > core/modules/user/src/Tests/Views/AccessPermissionTest.php
 > core/modules/user/src/UserListBuilder.php
 > core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php
 > core/modules/user/user.module
 > core/modules/views/src/Plugin/views/HandlerBase.php
 > core/modules/views/src/Plugin/views/PluginBase.php
 > core/modules/views/src/Plugin/views/ViewsHandlerInterface.php
 > core/modules/views/src/Plugin/views/area/Result.php
 > core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
 > core/modules/views/src/Plugin/views/argument/FieldList.php
 > core/modules/views/src/Plugin/views/argument/ListString.php
 > core/modules/views/src/Plugin/views/argument/StringArgument.php
 > core/modules/views/src/Plugin/views/display/Attachment.php
 > core/modules/views/src/Plugin/views/display/Block.php
 > core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
 > core/modules/views/src/Plugin/views/display/Feed.php
 > core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
 > core/modules/views/src/Plugin/views/field/FieldPluginBase.php
 > core/modules/views/src/Plugin/views/field/MachineName.php
 > core/modules/views/src/Plugin/views/field/Serialized.php
 > core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
 > core/modules/views/src/Plugin/views/filter/InOperator.php
 > core/modules/views/src/Plugin/views/filter/NumericFilter.php
 > core/modules/views/src/Plugin/views/filter/StringFilter.php
 > core/modules/views/src/Plugin/views/row/EntityRow.php
 > core/modules/views/src/Tests/SearchIntegrationTest.php
 > core/modules/views/src/Views.php
 > core/modules/views/views.module
 > core/modules/views_ui/src/Tests/RowUITest.php
 > core/modules/views_ui/src/Tests/XssTest.php
 > core/modules/views_ui/src/ViewEditForm.php
 > core/modules/views_ui/src/ViewListBuilder.php
 > core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
 > core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
 > core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
 > core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php
 > core/tests/Drupal/Tests/Core/Render/RendererTest.php
[15:16:22] Invoking operation [syntax]...
[15:16:22] Command [php -l -f './core/includes/form.inc' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/includes/schema.inc' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Component/Utility/SafeMarkup.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Component/Utility/UrlHelper.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Component/Utility/Xss.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Controller/TitleResolverInterface.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Entity/EntityListBuilder.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/SelectionBase.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Extension/ThemeHandler.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BasicStringFormatter.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Field/WidgetBase.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Form/form.api.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Menu/menu.api.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Render/Element/Checkbox.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Render/Element/Radio.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Session/AccountInterface.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/lib/Drupal/Core/Utility/Token.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/action/action.views_execution.inc' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/aggregator/src/Plugin/views/argument/Fid.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/aggregator/src/Plugin/views/argument/Iid.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/block/src/BlockViewBuilder.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/block/src/Controller/BlockLibraryController.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/block/src/Controller/CategoryAutocompleteController.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/color/color.module' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/comment/comment.module' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/comment/src/CommentTypeListBuilder.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/comment/src/Plugin/views/argument/UserUid.php' 2>&1] succeeded.
[15:16:22] Command [php -l -f './core/modules/comment/src/Tests/CommentTokenReplaceTest.php' 2>&1] failed
  Duration 0 seconds
  Directory [/var/lib/drupaltestbot/sites/default/files/checkout]
  Status [255]
 Output: [PHP Fatal error:  Cannot use Drupal\Component\Utility\UrlHelper as UrlHelper because the name is already in use in ./core/modules/comment/src/Tests/CommentTokenReplaceTest.php on line 12

Fatal error: Cannot use Drupal\Component\Utility\UrlHelper as UrlHelper because the name is already in use in ./core/modules/comment/src/Tests/CommentTokenReplaceTest.php on line 12
Errors parsing ./core/modules/comment/src/Tests/CommentTokenReplaceTest.php].
[15:16:22] Encountered error on [syntax], details:
array (
  '@filename' => 'core/modules/comment/src/Tests/CommentTokenReplaceTest.php',
)
[15:16:22] Review complete. test_id=1136993 result code=6 details=Array
(
    [@filename] => core/modules/comment/src/Tests/CommentTokenReplaceTest.php
)

[15:16:22] Static variables reset.