
Says it in the title, sometimes the test bot fails a patch with an error in the Party CRUD Test Case, it says the test failed due to a fatal error. Often just retesting the patch fixes it.
This is irritating. We should fix it.
Test Links
http://qa.drupal.org/pifr/test/300398
http://qa.drupal.org/pifr/test/321668
http://qa.drupal.org/pifr/test/321893
http://qa.drupal.org/pifr/test/328213
Comments
Comment #1
captaindav CreditAttribution: captaindav commentedWhy don't you comment out part of the test and commit, then we could hone in on where the problem is?
Comment #2
rlmumfordIt really is exceptionally intermittent, It's happens maybe 1 our of 7 times, so ensuring we've found the problem could be arduous that way. Next time I spot it, I'll pull apart the QA logs more.
Comment #3
rlmumfordThese are the 2 fails
I also noticed this at the bottom of the full log:
Comment #4
andrewbelcher CreditAttribution: andrewbelcher commentedI'm stumped... I tried putting an exit in modules/field/field.module on line 936 and it doesn't seem to get run at all...
Comment #5
andrewbelcher CreditAttribution: andrewbelcher commentedMarking this down as I've not seen it in a while and I suspect it may be test server related... Need some more examples, so if you see it happen, please post post a link in this issue.
Comment #5.0
andrewbelcher CreditAttribution: andrewbelcher commentedAdded a failed QA link
Comment #5.1
rlmumfordUpdated issue summary.
Comment #6
andrewbelcher CreditAttribution: andrewbelcher commentedI've posted a support request on the testbot issue queue to see if people who know it better than me have any pointers!
Also marking as critical as it seems to be happening a lot more...
#1760296: field_get_items() causing fatal error on testbot but doesn't get called locally
Comment #7
joachim CreditAttribution: joachim commentedAn intermittent test sounds like a race condition to me.
Have you turned out verbose output so you can see the pages the test sees?
On D7 there's the very useful debug() too, which shows up in the test results.
Comment #8
andrewbelcher CreditAttribution: andrewbelcher commentedI have never been able to reproduce this issue locally. What's even weirder is that locally, an exit in the function that's reporting the problem has never been run. It seems like there is something different happening when it fails, but I can't figure it out.
I have looked through all the verbose output and like I said, can't see anything what-so-ever...
What kind of thing did you have in mind? The only 'race condition' I can see potentially happening in there is where we create a party through the UI and then check it exits by checking that it was created using
$this->assertRaw('Party 1', t('Test Party found'));
. We do a similar for delete.However, I thought tests got run in separate databases?
Even more than that, surely that should just result in a failed test? Or actually it should succeed without it necessarily having succeeded. It certainly shouldn't throw a fatal error in a piece of code that doesn't even seem to be getting run normally?
Comment #8.0
andrewbelcher CreditAttribution: andrewbelcher commentedAdded link
Comment #9
rlmumfordWe had this fixed, but it's come up again on a new test bot, one to keep an eye on. I can force retests on qa.d.o so I don't think this is critical anymore. Let's just keep an eye out.
Comment #9.0
rlmumfordAdded test link