Closed (fixed)
Project:
Drupal.org Testbots
Component:
unexplained test failure
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2012 at 20:44 UTC
Updated:
15 Mar 2012 at 04:40 UTC
The test at http://qa.drupal.org/pifr/test/216803 shows the following output. The test works locally. I have no idea where to start looking for test errors.
[13:23:00] Command [/usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot654-mysql/checkout' --file sites/default/modules/video/tests/transcoder_localcommand.test 2>&1] succeeded
Duration: 3 seconds
Directory: [/var/lib/drupaltestbot/sites/default/files/checkout]
Completion status: [0]
Output: [Drupal test run
---------------
Tests to be run:
- Local command transcoder (LocalCommandTranscoderTestCase)
Test run started: Fri, 01/27/2012 - 20:22
Test summary:
-------------
Test run duration: 2 sec].
Comments
Comment #1
rfayWell, the page shows the failure as a fatal, but doesn't give any clue on fatals what the problem was. I wonder if there's a way we could sort that out. Anyway, your situation is that you've assumed the use of krumo() but devel is not a dependency, so is not being loaded.
[error] [client 10.20.0.126] PHP Fatal error: Call to undefined function krumo() in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/gist_filter/gist_filter.module on line 103Comment #2
Jorrit commentedThat error does not seem to be related to the test I gave. There is no relation between the gist_filter module and the video module. I do not see any references to gist in the test log.
Comment #3
jthorson commentedThe test you gave is the video module's 6.x-5.x test ... Your Gist input filter 7.x-1.x test is at http://qa.drupal.org/pifr/test/209778
Comment #4
jthorson commentedComment #5
rfayI think the problem is this
PHP Fatal error: Class 'ContentCrudTestCase' not found in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/cck/tests/fieldgroup.test on line 3, referer: http://drupaltestbot699.osuosl.test/checkout/?q=adminWhat happens is that the cck 6.x-3.x is being used and its tests are broken (and simpletest 6.x is still running things it shouldn't run):
This was on drupaltestbot699
Comment #6
rfayActually, the problem here is not that simpletest is running the cck tests, but just going to admin/build/testing causes this #fail.
Comment #7
jthorson commentedMy bad ... I assumed from the 'no reference to gist' comment that the OP was expecting there to be one.
I'll take a closer look over the weekend.
Comment #8
jthorson commentedCommand [/usr/bin/php ./scripts/run-tests.sh --concurrency 8 --php /usr/bin/php --url 'http://drupaltestbot699-mysql/checkout' --file sites/default/modules/video/tests/transcoder_localcommand.test 2>&1]Based on the above, the cck tests are not being passed to run-tests.sh ... rfay, can you elaborate on your comment in #6?
Comment #9
rfay@jthorson, after the test ran, I disabled the testbot and visited the checkout site and attempted to manually run admin/build/testing. I had an immediate fatal WSOD described in #5 .
I believe this would be fixed when we deploy the new Project Dependency that gets the *recommended* release of CCK instead of the most recent.
Comment #10
Jorrit commentedThanks for the investigation. It seems that issue #1415164: Testbot reports error in unrelated test is not entirely solved by using test bot 699.
Comment #11
rfayI'll be using video as a specific testing example for #1344316: Use recommended release rather than just sorting
Comment #12
jthorson commentedBased on the log in the test result, the fix in #1415164: Testbot reports error in unrelated test is operating properly ... before that, you would have seen the run-tests command include cck test files in the --file arguments. We just happen to have stumbled on a new issue with the same symptom. :)
Comment #13
Jorrit commentedI already thought so, thanks for checking. Is there a way in which I can work around this bug?
I think quite some modules depend on CCK. It seems no tests can be run when CCK is installed, so is it possible to have the test bot apply a patch to CCK before the tests are run? The CCK modules seems to be unmaintained, version 3 has been in alpha for almost 10 months and version 2 has seen no release for over a year.
Comment #14
rfayI think you just need me to get that new Project Dependency rolled out :-) Here's hoping it will be soon.
Comment #15
jthorson commentedPostponing pending the next release of Project Dependency.
Comment #16
rfayJust verified that video 6.x-5.x-dev seems to get the correct dependencies with currently committed project_dependency code. Cost a few hours to debug the problem, but it turned out to be my database being out of date.
Comment #17
rfaySeems fixed with the new deployment of Project Dependency 6.x-1.0-beta1 tonight. Here's the test: http://qa.drupal.org/pifr/test/216803