2570355-17.patch

Test status
StatusResult
Last receivedMon, 09/21/2015 - 10:24:59
Last requestedMon, 09/21/2015 - 10:41:44
Last testedMon, 09/21/2015 - 10:41:47
Test count1
Environment status
PHP 5.5 MySQLfail
File information
File2570355-17.patch
BranchDrupal core - 8.0.x
LinkIssue Link
SummaryFAILED: [[SimpleTest]]: [PHP 5.5 MySQL] Invalid PHP syntax in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.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
[03:41:44] Log initialized (/var/lib/drupaltestbot/sites/default/files/review.test_1156073.pifr_simpletest.2570355-17.patch.1442832104.log)
[03:41:44] Review timestamp: (Mon, 09/21/2015 - 03:41)
[03:41:44] Review host: (ec2-52-88-182-40)
[03:41:44] Operations:Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => install
    [7] => review
)

[03:41:44] Result Codes: Array
(
    [fail] => 9
    [pass] => 10
)

[03:41:44] Environment variables and review information initialized.
[03:41:44] core_url = [git://git.drupal.org/project/drupal.git];  Test repository = [git://git.drupal.org/project/drupal.git]
[03:41:44] Review started.
[03:41:44] Test: Array
(
    [test_id] => 1156073
    [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/2570355-17.patch
        )

)

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

[03:41:44] Invoking operation [setup]...
[03:41:44] Command [chmod -R u+rw sites/default/files/checkout 2>&1] succeeded.
[03:41:44] Command [rm -rf sites/default/files/checkout 2>&1] succeeded.
[03:41:44] Command [rm -rf /tmp/po* 2>&1] succeeded.
[03:41:44] Command [rm -rf sites/default/files/review 2>&1] succeeded.
[03:41:44] Database backend [mysql] loaded.
[03:41:44] Invoking operation [fetch]...
[03:41:44] Fetched [2570355-17.patch].
[03:41:44] Invoking operation [checkout]...
[03:41:44] Version control system backend [git] loaded.
[03:41:46] Command [git clone 'git://git.drupal.org/project/drupal.git' 'checkout' --reference /var/cache/git/reference 2>&1] succeeded.
[03:41:46] Command [git --work-tree='checkout' --git-dir='checkout/.git' checkout '8.0.x' 2>&1] succeeded.
[03:41:47] Command [git --work-tree='checkout' --git-dir='checkout/.git' status 2>&1] succeeded.
[03:41:47] 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: [8b60468 Issue #2568171 by Cottser, dawehner, hussainweb, Wim Leers, cilefen, znerol: Upgrade to Twig 1.22 and implement our own cache class].
[03:41:47] Main branch [8.0.x] checkout [complete].
[03:41:47] Invoking operation [check]...
[03:41:47] Invoking operation [apply]...
[03:41:47] Command [git apply --check -p1 /var/lib/drupaltestbot/sites/default/files/review/2570355-17.patch 2>&1] succeeded.
[03:41:47] Command [git apply -v -p1 /var/lib/drupaltestbot/sites/default/files/review/2570355-17.patch 2>&1] succeeded.
[03:41:47] Applied [2570355-17.patch] to:
 > core/includes/form.inc
 > core/includes/install.core.inc
 > core/includes/install.inc
 > core/includes/unicode.inc
 > core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
 > core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
 > core/lib/Drupal/Core/Extension/module.api.php
 > core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php
 > core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php
 > core/lib/Drupal/Core/Form/FormValidator.php
 > core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php
 > core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php
 > core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php
 > core/modules/aggregator/aggregator.install
 > core/modules/aggregator/src/Controller/AggregatorController.php
 > core/modules/aggregator/src/Form/OpmlFeedAdd.php
 > core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php
 > core/modules/block_content/src/Controller/BlockContentController.php
 > core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
 > core/modules/block_content/src/Plugin/views/area/ListingEmpty.php
 > core/modules/color/color.install
 > core/modules/color/color.module
 > core/modules/comment/src/CommentManager.php
 > core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
 > core/modules/config_translation/src/Controller/ConfigTranslationController.php
 > core/modules/config_translation/src/FormElement/DateFormat.php
 > core/modules/contact/src/Controller/ContactController.php
 > core/modules/content_translation/content_translation.install
 > core/modules/content_translation/content_translation.module
 > core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php
 > core/modules/dblog/dblog.module
 > core/modules/entity_reference/src/Tests/EntityReferenceAdminTest.php
 > core/modules/field_ui/src/Form/EntityDisplayFormBase.php
 > core/modules/field_ui/src/Tests/ManageDisplayTest.php
 > core/modules/file/file.install
 > core/modules/filter/src/FilterPermissions.php
 > core/modules/filter/src/Plugin/Filter/FilterHtml.php
 > core/modules/forum/src/Form/Overview.php
 > core/modules/forum/src/ForumUninstallValidator.php
 > core/modules/image/src/ImageStyleListBuilder.php
 > core/modules/image/src/Plugin/Field/FieldType/ImageItem.php
 > core/modules/language/src/Element/LanguageConfiguration.php
 > core/modules/language/src/Form/LanguageAddForm.php
 > core/modules/language/src/Form/LanguageFormBase.php
 > core/modules/language/src/Form/NegotiationBrowserForm.php
 > core/modules/language/src/Form/NegotiationUrlForm.php
 > core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php
 > core/modules/locale/locale.batch.inc
 > core/modules/locale/locale.bulk.inc
 > core/modules/locale/locale.install
 > core/modules/locale/src/Form/LocaleSettingsForm.php
 > core/modules/locale/src/Form/TranslationStatusForm.php
 > core/modules/locale/src/Tests/LocaleImportFunctionalTest.php
 > core/modules/locale/src/Tests/LocaleUpdateInterfaceTest.php
 > core/modules/menu_ui/src/MenuForm.php
 > core/modules/node/node.install
 > core/modules/node/src/NodeTypeListBuilder.php
 > core/modules/node/src/Tests/NodeTypeTest.php
 > core/modules/path/src/Controller/PathController.php
 > core/modules/responsive_image/src/ResponsiveImageStyleForm.php
 > core/modules/search/src/SearchPageListBuilder.php
 > core/modules/shortcut/src/Form/SetCustomize.php
 > core/modules/shortcut/src/Form/SwitchShortcutSet.php
 > core/modules/simpletest/simpletest.install
 > core/modules/system/src/Controller/DbUpdateController.php
 > core/modules/system/src/Controller/SystemController.php
 > core/modules/system/src/Controller/SystemInfoController.php
 > core/modules/system/src/Form/CronForm.php
 > core/modules/system/src/Form/DateFormatFormBase.php
 > core/modules/system/src/Form/PerformanceForm.php
 > core/modules/system/src/Form/SiteMaintenanceModeForm.php
 > core/modules/system/src/Plugin/Block/SystemBrandingBlock.php
 > core/modules/system/src/Plugin/Block/SystemPoweredByBlock.php
 > core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
 > core/modules/system/src/Tests/System/SiteMaintenanceTest.php
 > core/modules/system/system.install
 > core/modules/system/system.module
 > core/modules/taxonomy/src/Form/OverviewTerms.php
 > core/modules/taxonomy/src/VocabularyListBuilder.php
 > core/modules/update/src/Form/UpdateManagerInstall.php
 > core/modules/update/src/Form/UpdateReady.php
 > core/modules/update/src/UpdateSettingsForm.php
 > core/modules/update/update.install
 > core/modules/update/update.manager.inc
 > core/modules/update/update.module
 > core/modules/user/src/AccountForm.php
 > core/modules/user/src/AccountSettingsForm.php
 > core/modules/user/src/Controller/UserController.php
 > core/modules/user/src/Form/UserLoginForm.php
 > core/modules/user/src/RegisterForm.php
 > core/modules/user/src/Tests/UserLoginTest.php
 > core/modules/user/src/Tests/UserPasswordResetTest.php
 > core/modules/user/user.api.php
 > core/modules/views/src/Plugin/Block/ViewsBlockBase.php
 > core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php
 > core/modules/views/src/Plugin/Menu/Form/ViewsMenuLinkForm.php
 > core/modules/views/src/Plugin/views/display/Block.php
 > core/modules/views/src/Plugin/views/field/FieldPluginBase.php
 > core/modules/views_ui/src/ViewEditForm.php
[03:41:47] Invoking operation [syntax]...
[03:41:47] Command [php -l -f './core/includes/form.inc' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/includes/install.core.inc' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/includes/install.inc' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/includes/unicode.inc' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/lib/Drupal/Core/Extension/module.api.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/lib/Drupal/Core/Form/FormValidator.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/aggregator/aggregator.install' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/aggregator/src/Controller/AggregatorController.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/aggregator/src/Form/OpmlFeedAdd.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/block_content/src/Controller/BlockContentController.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/block_content/src/Plugin/Block/BlockContentBlock.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/block_content/src/Plugin/views/area/ListingEmpty.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/color/color.install' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/color/color.module' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/comment/src/CommentManager.php' 2>&1] succeeded.
[03:41:47] Command [php -l -f './core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php' 2>&1] failed
  Duration 0 seconds
  Directory [/var/lib/drupaltestbot/sites/default/files/checkout]
  Status [255]
 Output: [PHP Parse error:  syntax error, unexpected ':', expecting ')' in ./core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php on line 197

Parse error: syntax error, unexpected ':', expecting ')' in ./core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php on line 197
Errors parsing ./core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php].
[03:41:47] Encountered error on [syntax], details:
array (
  '@filename' => 'core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php',
)
[03:41:47] Review complete. test_id=1156073 result code=6 details=Array
(
    [@filename] => core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
)

[03:41:47] Static variables reset.