Webform Service - 7.x-4.x

Test status
StatusResult
Last receivedTue, 10/09/2012 - 21:12:31
Last requestedTue, 10/09/2012 - 21:13:02
Last testedTue, 10/09/2012 - 21:13:31
Test count2
Environment status
MySQLfail
Code reviewfail
Overall Resultfail
Branch information
Identifier7.x-4.x
ProjectWebform Service
LinkProject information
SummaryFAILED: [[Coder]]: [Code review] 2 minor(s), 0 critical(s), and 9 normal(s); [[SimpleTest]]: [MySQL] Failed to run tests: failed during invocation of run-tests.sh.
Details

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
[14:13:01] Log initialized (/var/lib/drupaltestbot/sites/default/files/review.test_356928.pifr_simpletest.1349817181.log)
[14:13:01] Review timestamp: (Tue, 10/09/2012 - 14:13)
[14:13:01] Review host: (drupaltestbot659-mysql)
[14:13:01] Operations:Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => install
    [7] => review
)

[14:13:01] Result Codes: Array
(
    [fail] => 9
    [pass] => 10
)

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

                    [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] => 7
                    [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] => 
                )

        )

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

                    [vcs_identifier] => 7.x
                )

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

                            [vcs_identifier] => 7.x-4.x
                        )

                )

        )

    [files] => Array
        (
        )

)

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

[14:13:01] Invoking operation [setup]...
[14:13:01] Command [chmod -R u+rw sites/default/files/checkout 2>&1] succeeded.
[14:13:01] Command [rm -rf sites/default/files/checkout 2>&1] succeeded.
[14:13:01] Command [rm -rf sites/default/files/review 2>&1] succeeded.
[14:13:01] Database backend [mysql] loaded.
[14:13:01] Invoking operation [fetch]...
[14:13:01] Invoking operation [checkout]...
[14:13:01] Version control system backend [git] loaded.
[14:13:03] Command [git clone 'git://git.drupal.org/project/drupal.git' 'checkout' --reference /var/cache/git/reference 2>&1] succeeded.
[14:13:04] Command [git --work-tree='checkout' --git-dir='checkout/.git' checkout '7.x' 2>&1] succeeded.
[14:13:04] Command [git --work-tree='checkout' --git-dir='checkout/.git' status 2>&1] succeeded.
[14:13:04] Command [git --work-tree='checkout' --git-dir='checkout/.git' log --oneline -1 2>&1] succeeded.
[14:13:04] Main branch [7.x] checkout [complete].
[14:13:12] Command [git clone 'git://git.drupal.org/project/webform_service.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/webform_service' --reference /var/cache/git/reference 2>&1] succeeded.
[14:13:12] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/webform_service' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/webform_service/.git' checkout '7.x-4.x' 2>&1] succeeded.
[14:13:12] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/webform_service' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/webform_service/.git' status 2>&1] succeeded.
[14:13:12] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/webform_service' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/webform_service/.git' log --oneline -1 2>&1] succeeded.
[14:13:12] Dependency branch [7.x-4.x] checkout [complete].
[14:13:12] Invoking operation [check]...
[14:13:12] Ignoring operation [check].
[14:13:12] Invoking operation [apply]...
[14:13:12] Ignoring operation [apply].
[14:13:12] Invoking operation [syntax]...
[14:13:12] Command [php -l -f './sites/default/modules/webform_service/tests/ServicesResourceWebformTests.test' 2>&1] succeeded.
[14:13:12] Command [php -l -f './sites/default/modules/webform_service/resources/webform_resource.inc' 2>&1] succeeded.
[14:13:12] Command [php -l -f './sites/default/modules/webform_service/resources/submission_resource.inc' 2>&1] succeeded.
[14:13:12] Command [php -l -f './sites/default/modules/webform_service/webform_service.module' 2>&1] succeeded.
[14:13:12] Checked [4 of 4] relevant file(s) for syntax.
[14:13:12] Invoking operation [install]...
[14:13:24] Invoking operation [review]...
[14:13:28] Scanning sites/default/files/checkout/sites/default/modules/webform_service for .test files.
[14:13:28] Scanning sites/default/files/checkout/sites/default/modules/webform_service for /Tests/*.php files.
[14:13:28] Cleaning run-tests.sh environment.
[14:13:28] Command [/usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot659-mysql/checkout' --file sites/default/modules/webform_service/tests/ServicesResourceWebformTests.test --clean 2>&1] succeeded.
[14:13:28] Initiating run-tests.sh.
[14:13:29] Command [/usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot659-mysql/checkout' --file sites/default/modules/webform_service/tests/ServicesResourceWebformTests.test 2>&1] failed
  Duration 1 seconds
  Directory [/var/lib/drupaltestbot/sites/default/files/checkout]
  Status [255]
 Output: [PHP Fatal error:  Class 'ServicesWebTestCase' not found in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/webform_service/tests/ServicesResourceWebformTests.test on line 7

Fatal error: Class 'ServicesWebTestCase' not found in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/webform_service/tests/ServicesResourceWebformTests.test on line 7].
[14:13:29] Encountered error on [review], details:
array (
  '@reason' => 'failed during invocation of run-tests.sh',
)
[14:13:29] Review complete. test_id=356928 result code=8 details=Array
(
    [@reason] => failed during invocation of run-tests.sh
)

[14:13:29] Static variables reset.

Code review

  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 review run failure
  8. Detect coder flags
    Ensure that your code follows the Drupal standard and passes a coder review.
  9. Complete coder review with all passed
2 minor(s), 0 critical(s), and 9 normal(s)

Non-pass

Test nameMinorCriticalNormal
Expandresources/submission_resource.inc101
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Othersubmission_resource.inc-1N/A
Use an indent of 2 spaces, with no tabsOthersubmission_resource.inc45N/A
Expandresources/webform_resource.inc101
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherwebform_resource.inc-1N/A
Use an indent of 2 spaces, with no tabsOtherwebform_resource.inc57N/A
Expandtests/ServicesResourceWebformTests.test001
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)OtherServicesResourceWebformTests.test-1N/A
Expandwebform_service.module006
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherwebform_service.module-1N/A
Use "elseif" in place of "else if"Otherwebform_service.module51N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherwebform_service.module83N/A
Use "elseif" in place of "else if"Otherwebform_service.module88N/A
Use "elseif" in place of "else if"Otherwebform_service.module91N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherwebform_service.module378N/A

All

Test nameMinorCriticalNormal
Expandresources/submission_resource.inc101
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Othersubmission_resource.inc-1N/A
Use an indent of 2 spaces, with no tabsOthersubmission_resource.inc45N/A
Expandresources/webform_resource.inc101
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherwebform_resource.inc-1N/A
Use an indent of 2 spaces, with no tabsOtherwebform_resource.inc57N/A
Expandtests/ServicesResourceWebformTests.test001
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)OtherServicesResourceWebformTests.test-1N/A
Expandwebform_service.module006
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherwebform_service.module-1N/A
Use "elseif" in place of "else if"Otherwebform_service.module51N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherwebform_service.module83N/A
Use "elseif" in place of "else if"Otherwebform_service.module88N/A
Use "elseif" in place of "else if"Otherwebform_service.module91N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherwebform_service.module378N/A