Currently, we've got a dedicated sqlite testbot ready for on-demand core testing. However, we need to be able to pass the 'confirmation' stage before it can be used. (Disclaimer: Some of the corners cut to make this actually work are, to be blunt, ugly!)
Unfortunately, the confirmation test fails due to simpletest failing the NonDefaultBlockAdmin test with a 'failed to find test tables to drop' test failure. I suspect this is a problem within simpletest & run-tests.sh, and not PIFR directly.
Looking at the server after the test runs, it almost appears that the simpletest tables are being created in a seperate sqlite database file, which may explain the 'failed to drop' error (i.e. the aren't in the site db to be dropped).
We could use:
1) Independent verification whether this is repeatable through UI based testing on an sqlite-based installation
2) A volunteer to build up a vagrant testbot (I can provide details on how to convert it to sqlite), and troubleshoot what's actually going on here. Start with https://drupal.org/node/2144475
3) A patch to drush which will enable 'drush si' to be passed a db_url parameter relative to the server root, instead of directory in which it was executed (which will get rid of the worst of the PIFR workarounds).
Comments
Comment #1
jthorson CreditAttribution: jthorson commentedComment #2
jthorson CreditAttribution: jthorson commentedOnce the vagrant testbot is built, you'll need to perform the following to convert it to sqlite:
If the puppet build fails, try adding "pluginsync=true" to the puppet.conf file.
Comment #3
andypostTrying to run sqlite install locally: core installed fine but tests mostly fails in cache_bootstrap clear.
Probably that's because simpletest creates new db-file for each test
There's a lot of exceptions when trying to run tests:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 17 database schema has changed: DELETE FROM {cache_bootstrap} WHERE (cid IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => variables ) in Drupal\Core\Database\Connection->query() (line 568 of /home/andypost/www/core8/core/lib/Drupal/Core/Database/Connection.php).
Comment #4
isntall CreditAttribution: isntall at Drupal Association commentedComment #5
jthorson CreditAttribution: jthorson commentedDifferent circus, different monkeys.
Comment #6
Mixologic