Payment paypal - 7.x-1.x

Test status
StatusResult
Last receivedWed, 09/12/2012 - 20:01:48
Last requestedWed, 09/12/2012 - 20:02:03
Last testedWed, 09/12/2012 - 20:02:57
Test count2
Environment status
MySQLfail
Code reviewfail
Overall Resultfail
Branch information
Identifier7.x-1.x
ProjectPayment paypal
LinkProject information
SummaryFAILED: [[Coder]]: [Code review] 26 minor(s), 0 critical(s), and 12 normal(s); [[SimpleTest]]: [MySQL] Failed to run tests: failed attempting to get list of tests from 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
[13:02:01] Log initialized (/var/lib/drupaltestbot/sites/default/files/review.test_338213.pifr_simpletest.1347480121.log)
[13:02:01] Review timestamp: (Wed, 09/12/2012 - 13:02)
[13:02:01] Review host: (drupaltestbot654-mysql)
[13:02:01] Operations:Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => install
    [7] => review
)

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

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

                    [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/payment.git
                                )

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

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

                            [vcs_identifier] => 7.x-1.0-rc3
                        )

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

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

                )

        )

    [files] => Array
        (
        )

)

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

[13:02:01] Invoking operation [setup]...
[13:02:01] Command [chmod -R u+rw sites/default/files/checkout 2>&1] succeeded.
[13:02:01] Command [rm -rf sites/default/files/checkout 2>&1] succeeded.
[13:02:01] Command [rm -rf sites/default/files/review 2>&1] succeeded.
[13:02:01] Database backend [mysql] loaded.
[13:02:01] Invoking operation [fetch]...
[13:02:01] Invoking operation [checkout]...
[13:02:01] Version control system backend [git] loaded.
[13:02:03] Command [git clone 'git://git.drupal.org/project/drupal.git' 'checkout' --reference /var/cache/git/reference 2>&1] succeeded.
[13:02:03] Command [git --work-tree='checkout' --git-dir='checkout/.git' checkout '7.x' 2>&1] succeeded.
[13:02:03] Command [git --work-tree='checkout' --git-dir='checkout/.git' status 2>&1] succeeded.
[13:02:03] Command [git --work-tree='checkout' --git-dir='checkout/.git' log --oneline -1 2>&1] succeeded.
[13:02:03] Main branch [7.x] checkout [complete].
[13:02:28] Command [git clone 'git://git.drupal.org/project/payment.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment' --reference /var/cache/git/reference 2>&1] succeeded.
[13:02:28] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment/.git' checkout '7.x-1.0-alpha6' 2>&1] succeeded.
[13:02:28] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment/.git' status 2>&1] succeeded.
[13:02:28] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment/.git' log --oneline -1 2>&1] succeeded.
[13:02:28] Dependency branch [7.x-1.0-alpha6] checkout [complete].
[13:02:29] Command [git clone 'git://git.drupal.org/project/entity.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/entity' --reference /var/cache/git/reference 2>&1] succeeded.
[13:02:29] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/entity' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/entity/.git' checkout '7.x-1.0-rc3' 2>&1] succeeded.
[13:02:29] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/entity' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/entity/.git' status 2>&1] succeeded.
[13:02:29] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/entity' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/entity/.git' log --oneline -1 2>&1] succeeded.
[13:02:29] Dependency branch [7.x-1.0-rc3] checkout [complete].
[13:02:35] Command [git clone 'git://git.drupal.org/project/payment_paypal.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment_paypal' --reference /var/cache/git/reference 2>&1] succeeded.
[13:02:35] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment_paypal' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment_paypal/.git' checkout '7.x-1.x' 2>&1] succeeded.
[13:02:35] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment_paypal' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment_paypal/.git' status 2>&1] succeeded.
[13:02:35] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment_paypal' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment_paypal/.git' log --oneline -1 2>&1] succeeded.
[13:02:35] Dependency branch [7.x-1.x] checkout [complete].
[13:02:35] Invoking operation [check]...
[13:02:35] Ignoring operation [check].
[13:02:35] Invoking operation [apply]...
[13:02:35] Ignoring operation [apply].
[13:02:35] Invoking operation [syntax]...
[13:02:35] Command [php -l -f './sites/default/modules/payment_paypal/includes/controller/WPP/paypal.direct_payment.controller.inc' 2>&1] succeeded.
[13:02:35] Command [php -l -f './sites/default/modules/payment_paypal/includes/controller/WPS/paypal.express_checkout.controller.inc' 2>&1] succeeded.
[13:02:35] Command [php -l -f './sites/default/modules/payment_paypal/includes/controller/paypal.controller.inc' 2>&1] succeeded.
[13:02:35] Command [php -l -f './sites/default/modules/payment_paypal/includes/views/payment_paypal.views.inc' 2>&1] succeeded.
[13:02:35] Command [php -l -f './sites/default/modules/payment_paypal/includes/views/payment_paypal.views_default.inc' 2>&1] succeeded.
[13:02:35] Command [php -l -f './sites/default/modules/payment_paypal/includes/views/PaymentPaypalViewsHandlerFieldTransactionData.inc' 2>&1] succeeded.
[13:02:35] Command [php -l -f './sites/default/modules/payment_paypal/includes/theme/payment_paypal.theme.inc' 2>&1] succeeded.
[13:02:35] Command [php -l -f './sites/default/modules/payment_paypal/payment_paypal.module' 2>&1] succeeded.
[13:02:35] Command [php -l -f './sites/default/modules/payment_paypal/payment_paypal.install' 2>&1] succeeded.
[13:02:35] Command [php -l -f './sites/default/modules/payment_paypal/payment_paypal.offsite.inc' 2>&1] succeeded.
[13:02:36] Command [php -l -f './sites/default/modules/payment_paypal/payment_paypal.paypal.inc' 2>&1] succeeded.
[13:02:36] Command [php -l -f './sites/default/modules/payment_paypal/payment_paypal.admin.inc' 2>&1] succeeded.
[13:02:36] Command [php -l -f './sites/default/modules/payment_paypal/payment_paypal.form.inc' 2>&1] succeeded.
[13:02:36] Checked [13 of 13] relevant file(s) for syntax.
[13:02:36] Invoking operation [install]...
[13:02:48] Invoking operation [review]...
[13:02:52] Scanning sites/default/files/checkout/sites/default/modules/payment_paypal for .test files.
[13:02:52] Scanning sites/default/files/checkout/sites/default/modules/payment_paypal for /Tests/*.php files.
[13:02:52] Cleaning run-tests.sh environment.
[13:02:53] Command [/usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot654-mysql/checkout' --file  --clean 2>&1] succeeded.
[13:02:53] No test files found.  Skipping execution of run_tests.sh.
[13:02:53] Command [/usr/bin/php ./scripts/run-tests.sh --php /usr/bin/php --url 'http://drupaltestbot654-mysql/checkout' --file  --list 2>&1] failed
  Duration 0 seconds
  Directory [/var/lib/drupaltestbot/sites/default/files/checkout]
  Status [255]
 Output: [PHP Fatal error:  Class 'XtoolsWebTestCase' not found in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment/payment/tests/payment_test/tests/PaymentWebTestCase.test on line 3

Fatal error: Class 'XtoolsWebTestCase' not found in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/payment/payment/tests/payment_test/tests/PaymentWebTestCase.test on line 3].
[13:02:53] Encountered error on [review], details:
array (
  '@reason' => 'failed attempting to get list of tests from run-tests.sh',
)
[13:02:53] Review complete. test_id=338213 result code=8 details=Array
(
    [@reason] => failed attempting to get list of tests from run-tests.sh
)

[13:02:53] 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
26 minor(s), 0 critical(s), and 12 normal(s)

Non-pass

Test nameMinorCriticalNormal
Expandincludes/controller/paypal.controller.inc001
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpaypal.controller.inc-1N/A
Expandincludes/theme/payment_paypal.theme.inc202
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.theme.inc-1N/A
There should be no trailing spacesOtherpayment_paypal.theme.inc17N/A
Control statements should have one space between the control keyword and opening parenthesisOtherpayment_paypal.theme.inc19N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOtherpayment_paypal.theme.inc21N/A
Expandincludes/views/payment_paypal.views.inc101
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.views.inc-1N/A
There should be no trailing spacesOtherpayment_paypal.views.inc4N/A
Expandpayment_paypal.admin.inc101
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.admin.inc-1N/A
There should be no trailing spacesOtherpayment_paypal.admin.inc12N/A
Expandpayment_paypal.form.inc001
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.form.inc-1N/A
Expandpayment_paypal.install302
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.install-1N/A
There should be no trailing spacesOtherpayment_paypal.install9N/A
There should be no trailing spacesOtherpayment_paypal.install136N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherpayment_paypal.install142N/A
There should be no trailing spacesOtherpayment_paypal.install147N/A
Expandpayment_paypal.module102
MessageGroupFilenameLineFunctionStatus
missing space after commaOtherpayment_paypal.module173N/A
missing space after commaOtherpayment_paypal.module210N/A
There should be no trailing spacesOtherpayment_paypal.module437N/A
Expandpayment_paypal.offsite.inc101
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.offsite.inc-1N/A
There should be no trailing spacesOtherpayment_paypal.offsite.inc56N/A
Expandpayment_paypal.paypal.inc601
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.paypal.inc-1N/A
There should be no trailing spacesOtherpayment_paypal.paypal.inc4N/A
There should be no trailing spacesOtherpayment_paypal.paypal.inc10N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOtherpayment_paypal.paypal.inc56N/A
There should be no trailing spacesOtherpayment_paypal.paypal.inc143N/A
@see references should be separated by "," followed by a single space and with no trailing punctuationOtherpayment_paypal.paypal.inc143N/A
There should be no trailing spacesOtherpayment_paypal.paypal.inc198N/A

All

Test nameMinorCriticalNormal
Expandincludes/controller/paypal.controller.inc001
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpaypal.controller.inc-1N/A
Expandincludes/controller/WPP/paypal.direct_payment.controller.inc300
MessageGroupFilenameLineFunctionStatus
@file description should be on the following line (Drupal Docs)Otherpaypal.direct_payment.controller.inc4N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOtherpaypal.direct_payment.controller.inc117N/A
There should be no trailing spacesOtherpaypal.direct_payment.controller.inc134N/A
Expandincludes/controller/WPS/paypal.express_checkout.controller.inc600
MessageGroupFilenameLineFunctionStatus
@file description should be on the following line (Drupal Docs)Otherpaypal.express_checkout.controller.inc4N/A
@see should always be followed by a filename, a URL, class/interface name (optionally including method), or a function name including ().Otherpaypal.express_checkout.controller.inc87N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOtherpaypal.express_checkout.controller.inc111N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOtherpaypal.express_checkout.controller.inc152N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOtherpaypal.express_checkout.controller.inc342N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOtherpaypal.express_checkout.controller.inc434N/A
Expandincludes/theme/payment_paypal.theme.inc202
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.theme.inc-1N/A
There should be no trailing spacesOtherpayment_paypal.theme.inc17N/A
Control statements should have one space between the control keyword and opening parenthesisOtherpayment_paypal.theme.inc19N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOtherpayment_paypal.theme.inc21N/A
Expandincludes/views/PaymentPaypalViewsHandlerFieldTransactionData.inc200
MessageGroupFilenameLineFunctionStatus
There should be no trailing spacesOtherPaymentPaypalViewsHandlerFieldTransactionData.inc9N/A
There should be no trailing spacesOtherPaymentPaypalViewsHandlerFieldTransactionData.inc41N/A
Expandincludes/views/payment_paypal.views.inc101
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.views.inc-1N/A
There should be no trailing spacesOtherpayment_paypal.views.inc4N/A
Leafincludes/views/payment_paypal.views_default.inc000
Expandpayment_paypal.admin.inc101
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.admin.inc-1N/A
There should be no trailing spacesOtherpayment_paypal.admin.inc12N/A
Expandpayment_paypal.form.inc001
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.form.inc-1N/A
Expandpayment_paypal.install302
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.install-1N/A
There should be no trailing spacesOtherpayment_paypal.install9N/A
There should be no trailing spacesOtherpayment_paypal.install136N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherpayment_paypal.install142N/A
There should be no trailing spacesOtherpayment_paypal.install147N/A
Expandpayment_paypal.module102
MessageGroupFilenameLineFunctionStatus
missing space after commaOtherpayment_paypal.module173N/A
missing space after commaOtherpayment_paypal.module210N/A
There should be no trailing spacesOtherpayment_paypal.module437N/A
Expandpayment_paypal.offsite.inc101
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.offsite.inc-1N/A
There should be no trailing spacesOtherpayment_paypal.offsite.inc56N/A
Expandpayment_paypal.paypal.inc601
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherpayment_paypal.paypal.inc-1N/A
There should be no trailing spacesOtherpayment_paypal.paypal.inc4N/A
There should be no trailing spacesOtherpayment_paypal.paypal.inc10N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOtherpayment_paypal.paypal.inc56N/A
There should be no trailing spacesOtherpayment_paypal.paypal.inc143N/A
@see references should be separated by "," followed by a single space and with no trailing punctuationOtherpayment_paypal.paypal.inc143N/A
There should be no trailing spacesOtherpayment_paypal.paypal.inc198N/A