Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
SQLite fails 100% of time on Drupal\migrate_drupal_ui\Tests\d6\MigrateUpgrade6Test and Drupal\migrate_drupal_ui\Tests\d7\MigrateUpgrade7Test. See https://www.drupal.org/pift-ci-job/564979. PHP version is unimportant.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#4 | 2840972-4.patch | 1.09 KB | alexpott |
Comments
Comment #2
alexpottRunning locally the exception is thrown with
SQLSTATE[HY000] [14] unable to open database file
/Volumes/devdisk/dev/sites/drupal8alt.dev/core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php line 120...
So this is now not happening on testbot for some reason.
Comment #3
alexpottSo if you do
On a testbot then it'll write a file "wrong" to the root directory. Basically php can write anywhere on the disk. This must have been part of the recent permission changes.
Comment #4
alexpottThe attached patch passes on a local DrupalCI and running the test without DrupalCI.
Comment #5
alexpottThis fail was caused by a change in permissions on DrupalCI. This change has been reverted so for now this has been fixed by #2841024: Investigate overly permissive permission issues in containers.
Comment #6
xjmComment #7
alexpottThis is happening again. Whilst we could go with #4 I don't think that that is good option because that'd just be hiding a permissions error.
Comment #8
MixologicThis regression was refixed today.