Skip to content

test: fix command tests that may hang on linux due to sudo #14706

test: fix command tests that may hang on linux due to sudo

test: fix command tests that may hang on linux due to sudo #14706

Triggered via pull request April 12, 2026 20:26
Status Success
Total duration 22m 48s
Artifacts 9

test-phpunit.yml

on: pull_request
Setup PHP Version for Code Coverage
4s
Setup PHP Version for Code Coverage
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls  /  coveralls
57s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

1 error and 21 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L761
Took 0.5314s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testPaginateWithQueryBuilder
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L989
Took 1.0596s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.5234s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.5197s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L47
Took 0.5032s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L85
Took 0.5191s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.6331s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L127
Took 3.1420s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDbWithDots
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L109
Took 3.1427s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDb
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1456s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 3.3176s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 1.4151s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L48
Took 1.4238s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/ValidationModelRuleGroupTest.php#L50
Took 1.4691s from 0.5000s limit to run CodeIgniter\\Models\\ValidationModelRuleGroupTest::testValid
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/EventsModelTest.php#L37
Took 1.4991s from 0.5000s limit to run CodeIgniter\\Models\\EventsModelTest::testInsertEvent
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/OCI8/LastInsertIDTest.php#L43
Took 1.5049s from 0.5000s limit to run CodeIgniter\\Database\\Live\\OCI8\\LastInsertIDTest::testGetInsertIDWithInsert
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.6769s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 2.1680s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1680
Took 2.1920s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 2.3835s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 4.1326s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
134 KB
sha256:a0eabdcbbe81bb5c32e28ec31b1d06442a622a33fdf0e77a2585064139316197
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.4 MB
sha256:508ff148cd22c5f961b521ddbf809ab8aa69333752259b7a9c64a8a068286fb5
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.4 MB
sha256:117239284d8b85d247f9bd744c48cf5738458db1301c9c7b1f7c382708454333
database-live-tests-php-8.2-db-OCI88.0 Expired
13.5 MB
sha256:1b7c83d8f58c3644a36767fc913995b2f433458d139425c62f63f0eade8112ad
database-live-tests-php-8.2-db-Postgre8.0 Expired
13 MB
sha256:0c0a9d9a483f58303e7c3cc155a898c9a9f3819128e8d45f658a3601fdf075b1
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.1 MB
sha256:8ef54f0429e4a33121c97e0836c2866c6deb8ce96237b3d1df26b7c425057452
database-live-tests-php-8.2-db-SQLite38.0 Expired
13 MB
sha256:7f45126b8c68636ea5c2a269eec33fe95ed49ccb54a664bc46e381fb3d9226a0
sanity-tests-php-8.2-db-none Expired
30.5 MB
sha256:8090c2650237c97e8cd62e2334182d4cf763bebfae9f5bade042944d8eacf2cc
separate-process-tests-php-8.2-db-none Expired
3.25 MB
sha256:83b5fe99b94b7cd9b36de22fdda57b235c48f5141a6af6a149469099c05601ef