I think this is the most common random test failure that I've been seeing over the past several weeks.
https://qa.drupal.org/pifr/test/722558
(hopefully no one will retest this)
The error reported is:
POST http://drupaltestbot1848/checkout/admin/structure/types/manage/article/fields/node.article.a8hlhovd/field returned 0 (0 bytes).
This one is at:
ImageFieldDisplayTest.php line 266
Drupal\image\Tests\ImageFieldDisplayTest->testImageFieldDefaultImage()
Then this PHP exception:
array_flip(): Can only flip STRING and INTEGER values!
Stack trace:
array_flip(Array)
Drupal\Core\Entity\FieldableDatabaseStorageController->loadMultiple(Array)
Drupal\Core\Entity\FieldableDatabaseStorageController->load(NULL)
entity_load('file', NULL, )
file_load(NULL)
Drupal\image\Tests\ImageFieldDisplayTest->testImageFieldDefaultImage()
Drupal\simpletest\TestBase->run()
simpletest_script_run_one_test('387', 'Drupal\image\Tests\ImageFieldDisplayTest')
This one is reported at:
FieldableDatabaseStorageController.php line 149
Drupal\Core\Entity\FieldableDatabaseStorageController->loadMultiple()
Full review log is attached and screen shot of qa.drupal.org error output.
Comments
Comment #1
jhodgdonLooking at the log, it appears there is another error:
Fatal error: Call to a member function isPermanent() on a non-object in /var/lib/drupaltestbot/sites/default/files/checkout/core/modules/image/lib/Drupal/image/Tests/ImageFieldDisplayTest.php on line 272
I have no idea why the errors in the log and on the screen are not the same...
Comment #2
jhodgdonComment #3
sunThe root cause is in ImageFieldDisplayTest.php:258:
But WebTestBase::drupalGetTestFiles() just simply copies some files around.
In turn, this failure is most likely caused by the testbot running out of disk space, which is something I've seen very very often in the recent past; sometimes even with OS-level error messages: ("No space left on device.")
I'm not sure when or why testbots started to show this disk space problem, but something definitely does not appear to work correctly. Most likely, a disk clean-up process is assumed to run at some point, but does not.
Comment #4
berdirYeah, disk full happens sometimes, but this test is failing very frequently and always at almost the same place, this can't use that much more disk than anything else and then not be followed by other test fails?
We have an issue open for this on already, though: #2174997: Random fail in ImageFieldDisplayTest
Comment #5
jhodgdonThat is so weird. When I filed this issue, I searched Drupal Core for all issues tagged "Random test failure", and I swear that one didn't come up. Should I file "Possible random fail in searching the issue queue"? :) Sorry about that...
Comment #6
jhodgdonOh I see. Sun just fixed the issue tags. :)