-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Remove DB files after tests #9192
base: 4.6
Are you sure you want to change the base?
Conversation
I have tried before cleaning the db files after the tests but unfortunately there are hidden dependencies among tests that's why tests are failing. |
Like what? I have cleared the files and there are no errors |
sqlite tests are failing in github actions |
Oh, I didn't look. Everything worked on the local PC. Now I will try to find the reason EDIT: I tried deleting after the class test. But it seems It is unclear why a new connection was needed? In addition, it is // Checks if tableExists() works.
$config = config(Database::class)->{$this->DBGroup};
$config['database'] = $dbName;
$db = db_connect($config);
$result = $db->tableExists('not_exist'); |
Why? |
Now it is clear that the tests are incorrectly configured. |
Because we need to connect to the new database that has been created. |
I don't know why this error happens in GitHub Actions.
|
DatabaseLive tests pass on my mac. (fix-delete-db-after-tests $)$ vendor/bin/phpunit --group DatabaseLive
PHPUnit 11.3.5 by Sebastian Bergmann and contributors.
Runtime: PHP 8.2.20
Configuration: /Users/kenji/work/codeigniter/official/CodeIgniter4/phpunit.xml
..S......................................................................................SSS...S...........S..... 113 / 770 ( 14%)
...............................................................................................SSSSSSSSSSSSSSSSSS 226 / 770 ( 29%)
SSSSSSSSSSSSSSSS....S............................................................................................ 339 / 770 ( 44%)
S................................................................................................................ 452 / 770 ( 58%)
................................................................................................................. 565 / 770 ( 73%)
.....................................................SS.......................................................... 678 / 770 ( 88%)
SSSSSSSSSSSS................................................................................ 770 / 770 (100%)
Time: 00:44.455, Memory: 82.50 MB
OK, but some tests were skipped!
Tests: 770, Assertions: 1481, Skipped: 56. |
Mine are passing too. Perhaps because of the different work What happens if you execute |
I'm using $ ./spark config:check Database
CodeIgniter v4.5.5 Command Line Tool - Server Time: 2024-09-17 04:47:18 UTC+00:00
Config\Database#36 (4) (
public 'filesPath' -> string (65) "/Users/kenji/work/codeigniter/official/CodeIgniter4/app/Database/"
public 'defaultGroup' -> string (7) "default"
public 'default' -> array (20) [
'DSN' => string (0) ""
'hostname' => string (9) "localhost"
'username' => string (4) "root"
'password' => string (0) ""
'database' => string (3) "ci4"
'DBDriver' => string (6) "SQLSRV"
'DBPrefix' => string (0) ""
'pConnect' => boolean false
'DBDebug' => boolean true
'charset' => string (7) "utf8mb4"
'DBCollat' => string (18) "utf8mb4_general_ci"
'swapPre' => string (0) ""
'encrypt' => boolean false
'compress' => boolean false
'strictOn' => boolean false
'failover' => array (0) []
'port' => integer 3306
'numberNative' => boolean false
'foundRows' => boolean false
'dateFormat' => array (3) [
'date' => string (5) "Y-m-d"
'datetime' => string (11) "Y-m-d H:i:s"
'time' => string (5) "H:i:s"
]
]
public 'tests' -> array (20) [
'DSN' => string (0) ""
'hostname' => string (9) "127.0.0.1"
'username' => string (0) ""
'password' => string (0) ""
'database' => string (8) ":memory:"
'DBDriver' => string (7) "SQLite3"
'DBPrefix' => string (3) "db_"
'pConnect' => boolean false
'DBDebug' => boolean true
'charset' => string (4) "utf8"
'DBCollat' => string (0) ""
'swapPre' => string (0) ""
'encrypt' => boolean false
'compress' => boolean false
'strictOn' => boolean false
'failover' => array (0) []
'port' => integer 3306
'foreignKeys' => boolean true
'busyTimeout' => integer 1000
'dateFormat' => array (3) [
'date' => string (5) "Y-m-d"
'datetime' => string (11) "Y-m-d H:i:s"
'time' => string (5) "H:i:s"
]
]
)
Config Caching: Disabled |
It surely fails. Because we have test code that depend on the test method order. |
Ah, we don't use
|
--- a/app/Config/Database.php
+++ b/app/Config/Database.php
@@ -166,7 +166,7 @@ class Database extends Config
'hostname' => '127.0.0.1',
'username' => '',
'password' => '',
- 'database' => ':memory:',
+ 'database' => 'database.db',
'DBDriver' => 'SQLite3',
'DBPrefix' => 'db_', // Needed to ensure we're working correctly with prefixes live. DO NOT REMOVE FOR CI DEVS
'pConnect' => false, (fix-delete-db-after-tests *$)$ vendor/bin/phpunit --group DatabaseLive
PHPUnit 11.3.5 by Sebastian Bergmann and contributors.
Runtime: PHP 8.2.20
Configuration: /Users/kenji/work/codeigniter/official/CodeIgniter4/phpunit.xml
..S......................................................................................SSS...S...........S..... 113 / 770 ( 14%)
...............................................................................................SSSSSSSSSSSSSSSSSS 226 / 770 ( 29%)
SSSSSSSSSSSSSSSS....S......................EEEEEEEEEEEEEEEEE..................................................... 339 / 770 ( 44%)
S................................................................................................................ 452 / 770 ( 58%)
................................................................................................................. 565 / 770 ( 73%)
.....................................................SS.......................................................... 678 / 770 ( 88%)
SSSSSSSSSSSS................................................................................ 770 / 770 (100%)
Time: 01:23.384, Memory: 82.50 MB
There were 17 errors:
1) CodeIgniter\Database\Live\SelectTest::testSelectAllByDefault
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
2) CodeIgniter\Database\Live\SelectTest::testSelectSingleColumn
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
3) CodeIgniter\Database\Live\SelectTest::testSelectMultipleColumns
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
4) CodeIgniter\Database\Live\SelectTest::testSelectMax
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
5) CodeIgniter\Database\Live\SelectTest::testSelectMaxWithAlias
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
6) CodeIgniter\Database\Live\SelectTest::testSelectMin
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
7) CodeIgniter\Database\Live\SelectTest::testSelectMinWithAlias
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
8) CodeIgniter\Database\Live\SelectTest::testSelectAvg
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
9) CodeIgniter\Database\Live\SelectTest::testSelectAvgWithAlias
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
10) CodeIgniter\Database\Live\SelectTest::testSelectSum
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
11) CodeIgniter\Database\Live\SelectTest::testSelectSumWithAlias
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
12) CodeIgniter\Database\Live\SelectTest::testSelectCount
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
13) CodeIgniter\Database\Live\SelectTest::testSelectCountWithAlias
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
14) CodeIgniter\Database\Live\SelectTest::testSelectDistinctWorkTogether
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
15) CodeIgniter\Database\Live\SelectTest::testSelectDistinctCanBeTurnedOff
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
16) CodeIgniter\Database\Live\SelectTest::testSelectWithMultipleWheresOnSameColumn
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
17) CodeIgniter\Database\Live\SelectTest::testSelectWithMultipleWheresOnSameColumnAgain
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:692
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
CodeIgniter\Database\Exceptions\DatabaseException: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:164
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
Caused by
Exception: attempt to write a readonly database
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/SQLite3/Connection.php:158
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:738
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/BaseConnection.php:652
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/Forge.php:663
/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php:174
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:867
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Database/MigrationRunner.php:290
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:147
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:114
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/DatabaseTestTrait.php:60
/Users/kenji/work/codeigniter/official/CodeIgniter4/system/Test/CIUnitTestCase.php:251
ERRORS!
Tests: 770, Assertions: 1452, Errors: 17, Skipped: 56. |
4959fb7
to
6c75af6
Compare
At this stage, only test_com.sitedb.web can be deleted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can go to develop
?
Description
After all the tests, the database files remain. They should be deleted.