Storm Knowledge Base - 6.x-2.x

Test status
StatusResult
Last receivedSat, 01/21/2012 - 13:48:36
Last requestedSat, 01/21/2012 - 13:48:55
Last testedSat, 01/21/2012 - 13:49:01
Test count4
Environment status
MySQLfail
Code reviewfail
Overall Resultfail
Branch information
Identifier6.x-2.x
ProjectStorm Knowledge Base
LinkProject information
SummaryFAILED: [[SimpleTest]]: [MySQL] Failed to run tests: failed during invocation of run-tests.sh; [[Coder]]: [Code review] 7 minor(s), 0 critical(s), and 19 normal(s).
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
[06:48:39] Log initialized (/var/lib/drupaltestbot/sites/default/files/review.test_216668.pifr_simpletest.1327153719.log)
[06:48:39] Environment variables and review information initialized.
[06:48:39] core_url = [git://git.drupal.org/project/drupal.git];  Test repository = [git://git.drupal.org/project/stormknowledgebase.git]
[06:48:39] Project directory is [stormknowledgebase]
[06:48:39] Review started.
[06:48:39] Invoking operation [setup]...
[06:48:39] Command [rm -rf sites/default/files/checkout 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot]
  Completion status: [0]
  Output: no output.
[06:48:39] Command [rm -rf sites/default/files/review 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot]
  Completion status: [0]
  Output: no output.
[06:48:39] Database backend [mysql] loaded.
[06:48:39] Invoking operation [fetch]...
[06:48:39] Invoking operation [checkout]...
[06:48:39] Version control system backend [git] loaded.
[06:48:40] Command [git clone 'git://git.drupal.org/project/drupal.git' 'checkout' --reference /var/cache/git/reference 2>&1] succeeded
  Duration: 1 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files]
  Completion status: [0]
  Output: [Cloning into checkout...].
[06:48:40] Command [git --work-tree='checkout' --git-dir='checkout/.git' checkout '6.x' 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files]
  Completion status: [0]
  Output: [Switched to a new branch '6.x'
Branch 6.x set up to track remote branch 6.x from origin.].
[06:48:40] Command [git --work-tree='checkout' --git-dir='checkout/.git' status 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files]
  Completion status: [0]
  Output: [# On branch 6.x
nothing to commit (working directory clean)].
[06:48:40] Main branch [6.x] checkout [complete].
[06:48:41] Command [git clone 'git://git.drupal.org/project/storm.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/storm' --reference /var/cache/git/reference 2>&1] succeeded
  Duration: 1 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [Cloning into /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/storm...].
[06:48:41] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/storm' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/storm/.git' checkout '6.x-1.x' 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [Switched to a new branch '6.x-1.x'
Branch 6.x-1.x set up to track remote branch 6.x-1.x from origin.].
[06:48:41] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/storm' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/storm/.git' status 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [# On branch 6.x-1.x
nothing to commit (working directory clean)].
[06:48:41] Dependency branch [6.x-1.x] checkout [complete].
[06:48:47] Command [git clone 'git://git.drupal.org/project/stormknowledgebase.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/stormknowledgebase' --reference /var/cache/git/reference 2>&1] succeeded
  Duration: 6 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [Cloning into /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/stormknowledgebase...].
[06:48:47] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/stormknowledgebase' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/stormknowledgebase/.git' checkout '6.x-2.x' 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [Switched to a new branch '6.x-2.x'
Branch 6.x-2.x set up to track remote branch 6.x-2.x from origin.].
[06:48:47] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/stormknowledgebase' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/stormknowledgebase/.git' status 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [# On branch 6.x-2.x
nothing to commit (working directory clean)].
[06:48:47] Dependency branch [6.x-2.x] checkout [complete].
[06:48:48] 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
  Duration: 1 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [Cloning into /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/simpletest...].
[06:48:48] 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
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [Switched to a new branch '6.x-2.x'
Branch 6.x-2.x set up to track remote branch 6.x-2.x from origin.].
[06:48:48] 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
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [# On branch 6.x-2.x
nothing to commit (working directory clean)].
[06:48:48] Dependency branch [6.x-2.x] checkout [complete].
[06:48:48] Invoking operation [check]...
[06:48:48] Ignoring operation [check].
[06:48:48] Invoking operation [apply]...
[06:48:48] Ignoring operation [apply].
[06:48:48] Invoking operation [syntax]...
[06:48:48] Command [php -l -f './sites/default/modules/stormknowledgebase/stormknowledgebase.module' 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: [No syntax errors detected in ./sites/default/modules/stormknowledgebase/stormknowledgebase.module].
[06:48:48] Command [php -l -f './sites/default/modules/stormknowledgebase/stormknowledgebase.install' 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: [No syntax errors detected in ./sites/default/modules/stormknowledgebase/stormknowledgebase.install].
[06:48:48] Command [php -l -f './sites/default/modules/stormknowledgebase/stormknowledgebase.views.inc' 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: [No syntax errors detected in ./sites/default/modules/stormknowledgebase/stormknowledgebase.views.inc].
[06:48:48] Command [php -l -f './sites/default/modules/stormknowledgebase/stormknowledgebase.test' 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: [No syntax errors detected in ./sites/default/modules/stormknowledgebase/stormknowledgebase.test].
[06:48:48] Command [php -l -f './sites/default/modules/stormknowledgebase/stormknowledgebase.admin.inc' 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: [No syntax errors detected in ./sites/default/modules/stormknowledgebase/stormknowledgebase.admin.inc].
[06:48:48] Command [php -l -f './sites/default/modules/stormknowledgebase/stormknowledgebase.theme.inc' 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: [No syntax errors detected in ./sites/default/modules/stormknowledgebase/stormknowledgebase.theme.inc].
[06:48:48] Checked [6 of 6] relevant file(s) for syntax.
[06:48:48] Invoking operation [install]...
[06:48:51] Invoking operation [review]...
[06:48:51] Applying in /var/lib/drupaltestbot/sites/default/files/checkout file=sites/default/modules/simpletest/D6-core-simpletest.patch
[06:48:51] Command [git apply --check -p0 sites/default/modules/simpletest/D6-core-simpletest.patch 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: no output.
[06:48:51] Command [git apply -v -p0 sites/default/modules/simpletest/D6-core-simpletest.patch 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: [Checking patch install.php...
Checking patch includes/bootstrap.inc...
Checking patch includes/common.inc...
Applied patch install.php cleanly.
Applied patch includes/bootstrap.inc cleanly.
Applied patch includes/common.inc cleanly.].
[06:48:51] Completed Drupal 6 SimpleTest installation.
[06:48:53] Cleaning run-tests.sh environment:  /usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot654-mysql/checkout' --file sites/default/modules/stormknowledgebase/stormknowledgebase.test
[06:48:53] Command [/usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot654-mysql/checkout' --file sites/default/modules/stormknowledgebase/stormknowledgebase.test --clean 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
  Completion status: [0]
  Output: [Environment cleaned.
 - No leftover tables to remove.
 - No temporary directories to remove.].
[06:48:53] Initiating run-tests.sh with command:  /usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot654-mysql/checkout' --file sites/default/modules/stormknowledgebase/stormknowledgebase.test
[06:48:53] Command [/usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot654-mysql/checkout' --file sites/default/modules/stormknowledgebase/stormknowledgebase.test 2>&1] failed
  Duration 0 seconds
  Directory [/var/lib/drupaltestbot/sites/default/files/checkout]
  Status [255]
 Output: [PHP Fatal error:  Cannot redeclare class StormknowledgebaseTestCase in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/stormknowledgebase/stormknowledgebase.test on line 42].
[06:48:53] Encountered error on [review], details:
array (
  '@reason' => 'failed during invocation of run-tests.sh',
)
[06:48:53] Review complete. test_id=216668 result code=8 details=Array
(
    [@reason] => failed during invocation of run-tests.sh
)

[06:48: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
7 minor(s), 0 critical(s), and 19 normal(s)

Non-pass

Test nameMinorCriticalNormal
Expandstormknowledgebase.admin.inc102
MessageGroupFilenameLineFunctionStatus
There should be no trailing spacesOtherstormknowledgebase.admin.inc58N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherstormknowledgebase.admin.inc89N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherstormknowledgebase.admin.inc90N/A
Expandstormknowledgebase.install009
MessageGroupFilenameLineFunctionStatus
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install15N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install16N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install18N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install19N/A
Control statements should have one space between the control keyword and opening parenthesisOtherstormknowledgebase.install93N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install96N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install97N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install99N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install100N/A
Expandstormknowledgebase.module004
MessageGroupFilenameLineFunctionStatus
Use "elseif" in place of "else if"Otherstormknowledgebase.module50N/A
Use "elseif" in place of "else if"Otherstormknowledgebase.module59N/A
Use "elseif" in place of "else if"Otherstormknowledgebase.module68N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherstormknowledgebase.module160N/A
Expandstormknowledgebase.test201
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherstormknowledgebase.test-1N/A
There should be no trailing spacesOtherstormknowledgebase.test7N/A
There should be no trailing spacesOtherstormknowledgebase.test12N/A
Expandstormknowledgebase.theme.inc301
MessageGroupFilenameLineFunctionStatus
use quotes around a string literal array index, this is not only a style issue, but a known performance problemOtherstormknowledgebase.theme.inc18N/A
There should be no trailing spacesOtherstormknowledgebase.theme.inc31N/A
There should be no trailing spacesOtherstormknowledgebase.theme.inc34N/A
There should be no trailing spacesOtherstormknowledgebase.theme.inc61N/A
Expandstormknowledgebase.views.inc102
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherstormknowledgebase.views.inc-1N/A
There should be no trailing spacesOtherstormknowledgebase.views.inc11N/A
Use sentence case, not title case, for end-user strings. (Wikipedia)Otherstormknowledgebase.views.inc13N/A

All

Test nameMinorCriticalNormal
Expandstormknowledgebase.admin.inc102
MessageGroupFilenameLineFunctionStatus
There should be no trailing spacesOtherstormknowledgebase.admin.inc58N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherstormknowledgebase.admin.inc89N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherstormknowledgebase.admin.inc90N/A
Expandstormknowledgebase.install009
MessageGroupFilenameLineFunctionStatus
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install15N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install16N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install18N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install19N/A
Control statements should have one space between the control keyword and opening parenthesisOtherstormknowledgebase.install93N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install96N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install97N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install99N/A
Arrays should be formatted with a space separating each element and assignment operatorOtherstormknowledgebase.install100N/A
Expandstormknowledgebase.module004
MessageGroupFilenameLineFunctionStatus
Use "elseif" in place of "else if"Otherstormknowledgebase.module50N/A
Use "elseif" in place of "else if"Otherstormknowledgebase.module59N/A
Use "elseif" in place of "else if"Otherstormknowledgebase.module68N/A
Use uppercase for PHP constants, e.g. NULL, TRUE, FALSEOtherstormknowledgebase.module160N/A
Expandstormknowledgebase.test201
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherstormknowledgebase.test-1N/A
There should be no trailing spacesOtherstormknowledgebase.test7N/A
There should be no trailing spacesOtherstormknowledgebase.test12N/A
Expandstormknowledgebase.theme.inc301
MessageGroupFilenameLineFunctionStatus
use quotes around a string literal array index, this is not only a style issue, but a known performance problemOtherstormknowledgebase.theme.inc18N/A
There should be no trailing spacesOtherstormknowledgebase.theme.inc31N/A
There should be no trailing spacesOtherstormknowledgebase.theme.inc34N/A
There should be no trailing spacesOtherstormknowledgebase.theme.inc61N/A
Expandstormknowledgebase.views.inc102
MessageGroupFilenameLineFunctionStatus
@file block missing (Drupal Docs)Otherstormknowledgebase.views.inc-1N/A
There should be no trailing spacesOtherstormknowledgebase.views.inc11N/A
Use sentence case, not title case, for end-user strings. (Wikipedia)Otherstormknowledgebase.views.inc13N/A