Tiny-IDS | a tiny intrusion detection system - 6.x-1.x

Test status
StatusResult
Last receivedThu, 04/19/2012 - 17:24:31
Last requestedThu, 04/19/2012 - 17:25:04
Last testedThu, 04/19/2012 - 17:25:17
Test count2
Environment status
MySQLfail
Code reviewfail
Overall Resultfail
Branch information
Identifier6.x-1.x
ProjectTiny-IDS | a tiny intrusion detection system
LinkProject information
SummaryFAILED: [[Coder]]: [Code review] 3 minor(s), 5 critical(s), and 6 normal(s); [[SimpleTest]]: [MySQL] Failed to run tests: PHP Fatal error encountered during run_tests.sh. See review log for details..
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
[10:25:01] Log initialized (/var/lib/drupaltestbot/sites/default/files/review.test_257934.pifr_simpletest.1334856301.log)
[10:25:01] Review timestamp: (Thu, 04/19/2012 - 10:25)
[10:25:01] Review host: (drupaltestbot699-mysql)
[10:25:01] Operations:Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => install
    [7] => review
)

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

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

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

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

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

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

                            [vcs_identifier] => 6.x-2.x
                        )

                )

        )

    [files] => Array
        (
        )

)

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

[10:25:01] Invoking operation [setup]...
[10:25:01] Command [chmod -R u+w sites/default/files/checkout 2>&1] succeeded.
[10:25:01] Command [rm -rf sites/default/files/checkout 2>&1] succeeded.
[10:25:01] Command [rm -rf sites/default/files/review 2>&1] succeeded.
[10:25:02] Database backend [mysql] loaded.
[10:25:02] Invoking operation [fetch]...
[10:25:02] Invoking operation [checkout]...
[10:25:02] Version control system backend [git] loaded.
[10:25:03] Command [git clone 'git://git.drupal.org/project/drupal.git' 'checkout' --reference /var/cache/git/reference 2>&1] succeeded.
[10:25:03] Command [git --work-tree='checkout' --git-dir='checkout/.git' checkout '6.x' 2>&1] succeeded.
[10:25:03] Command [git --work-tree='checkout' --git-dir='checkout/.git' status 2>&1] succeeded.
[10:25:03] Main branch [6.x] checkout [complete].
[10:25:09] Command [git clone 'git://git.drupal.org/project/tinyids.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/tinyids' --reference /var/cache/git/reference 2>&1] succeeded.
[10:25:09] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/tinyids' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/tinyids/.git' checkout '6.x-1.x' 2>&1] succeeded.
[10:25:09] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/tinyids' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/tinyids/.git' status 2>&1] succeeded.
[10:25:09] Dependency branch [6.x-1.x] checkout [complete].
[10:25:11] Command [git clone 'git://git.drupal.org/project/simpletest.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/simpletest' --reference /var/cache/git/reference 2>&1] succeeded.
[10:25:11] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/simpletest' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/simpletest/.git' checkout '6.x-2.x' 2>&1] succeeded.
[10:25:11] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/simpletest' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/simpletest/.git' status 2>&1] succeeded.
[10:25:11] Dependency branch [6.x-2.x] checkout [complete].
[10:25:11] Invoking operation [check]...
[10:25:11] Ignoring operation [check].
[10:25:11] Invoking operation [apply]...
[10:25:11] Ignoring operation [apply].
[10:25:11] Invoking operation [syntax]...
[10:25:11] Command [php -l -f './sites/default/modules/tinyids/tinyids.test' 2>&1] succeeded.
[10:25:11] Command [php -l -f './sites/default/modules/tinyids/tinyids.api.php' 2>&1] succeeded.
[10:25:11] Command [php -l -f './sites/default/modules/tinyids/tinyids.module' 2>&1] succeeded.
[10:25:11] Command [php -l -f './sites/default/modules/tinyids/tinyids.admin.inc' 2>&1] succeeded.
[10:25:11] Command [php -l -f './sites/default/modules/tinyids/tinyids.install' 2>&1] succeeded.
[10:25:11] Checked [5 of 5] relevant file(s) for syntax.
[10:25:11] Invoking operation [install]...
[10:25:13] Invoking operation [review]...
[10:25:13] Applying in /var/lib/drupaltestbot/sites/default/files/checkout file=sites/default/modules/simpletest/D6-core-simpletest.patch
[10:25:13] Command [git apply --check -p0 sites/default/modules/simpletest/D6-core-simpletest.patch 2>&1] succeeded.
[10:25:13] Command [git apply -v -p0 sites/default/modules/simpletest/D6-core-simpletest.patch 2>&1] succeeded.
[10:25:13] Completed Drupal 6 SimpleTest installation.
[10:25:15] Cleaning run-tests.sh environment.
[10:25:15] Command [/usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot699-mysql/checkout' --file sites/default/modules/tinyids/tinyids.test --clean 2>&1] succeeded.
[10:25:15] Initiating run-tests.sh.
[10:25:15] Command [/usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot699-mysql/checkout' --file sites/default/modules/tinyids/tinyids.test 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: [Drupal test run
---------------

Tests to be run:
 - Tiny-IDS scanning functionality (TinyidsIntrusionRulesFunctionality)

Test run started: Thu, 04/19/2012 - 17:25

Test summary:
-------------

PHP Fatal error:  Call to undefined function tinyids_scan() in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/tinyids/tinyids.test on line 45

Test run duration: 0 sec].
[10:25:15] Command [/usr/bin/php ./scripts/run-tests.sh --php /usr/bin/php --url 'http://drupaltestbot699-mysql/checkout' --file sites/default/modules/tinyids/tinyids.test --list 2>&1] succeeded.
[10:25:15] Encountered error on [review], details:
array (
  '@reason' => 'PHP Fatal error encountered during run_tests.sh.  See review log for details.',
)
[10:25:15] Review complete. test_id=257934 result code=8 details=Array
(
    [@reason] => PHP Fatal error encountered during run_tests.sh.  See review log for details.
)

[10:25:15] 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
3 minor(s), 5 critical(s), and 6 normal(s)

Non-pass

Test nameMinorCriticalNormal
Expandtinyids.admin.inc240
MessageGroupFilenameLineFunctionStatus
Potential problem: FAPI elements '#title' and '#description' only accept filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.Othertinyids.admin.inc95N/A
Potential problem: FAPI elements '#title' and '#description' only accept filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.Othertinyids.admin.inc101N/A
Potential problem: FAPI elements '#title' and '#description' only accept filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.Othertinyids.admin.inc107N/A
Potential problem: FAPI elements '#title' and '#description' only accept filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.Othertinyids.admin.inc113N/A
@see should always be at the beginning of a line, never inline in other comments.Othertinyids.admin.inc262N/A
@see references should be separated by "," followed by a single space and with no trailing punctuationOthertinyids.admin.inc262N/A
Expandtinyids.module110
MessageGroupFilenameLineFunctionStatus
Potential problem: drupal_set_message() only accepts filtered text, be sure all !placeholders for $variables in t() are fully sanitized using check_plain(), filter_xss() or similar. (Drupal Docs)Othertinyids.module58N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOthertinyids.module152N/A
Expandtinyids.test006
MessageGroupFilenameLineFunctionStatus
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test56N/A
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test75N/A
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test92N/A
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test106N/A
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test125N/A
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test139N/A

All

Test nameMinorCriticalNormal
Expandtinyids.admin.inc240
MessageGroupFilenameLineFunctionStatus
Potential problem: FAPI elements '#title' and '#description' only accept filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.Othertinyids.admin.inc95N/A
Potential problem: FAPI elements '#title' and '#description' only accept filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.Othertinyids.admin.inc101N/A
Potential problem: FAPI elements '#title' and '#description' only accept filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.Othertinyids.admin.inc107N/A
Potential problem: FAPI elements '#title' and '#description' only accept filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.Othertinyids.admin.inc113N/A
@see should always be at the beginning of a line, never inline in other comments.Othertinyids.admin.inc262N/A
@see references should be separated by "," followed by a single space and with no trailing punctuationOthertinyids.admin.inc262N/A
Leaftinyids.api.php000
Leaftinyids.install000
Expandtinyids.module110
MessageGroupFilenameLineFunctionStatus
Potential problem: drupal_set_message() only accepts filtered text, be sure all !placeholders for $variables in t() are fully sanitized using check_plain(), filter_xss() or similar. (Drupal Docs)Othertinyids.module58N/A
in most cases, replace the string function with the drupal_ equivalent string functionsOthertinyids.module152N/A
Expandtinyids.test006
MessageGroupFilenameLineFunctionStatus
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test56N/A
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test75N/A
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test92N/A
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test106N/A
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test125N/A
Control statements should have one space between the control keyword and opening parenthesisOthertinyids.test139N/A