Skip to content

test: fix command tests that may hang on linux due to sudo (#10107) #14717

test: fix command tests that may hang on linux due to sudo (#10107)

test: fix command tests that may hang on linux due to sudo (#10107) #14717

Triggered via push April 13, 2026 10:43
Status Success
Total duration 21m 48s
Artifacts 9

test-phpunit.yml

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

Annotations

1 error and 20 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.5228s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testPaginateWithQueryBuilder
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L989
Took 1.0545s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.5865s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.6820s 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.5941s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.6000s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L240
Took 1.3665s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/SaveModelTest.php#L270
Took 1.3819s from 0.5000s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewEntityWithDate
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 1.3866s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/FindModelTest.php#L39
Took 1.4661s from 0.5000s limit to run CodeIgniter\\Models\\FindModelTest::testFindReturnsEntityWithCasts
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/SaveModelTest.php#L36
Took 1.4712s from 0.5000s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewRecordObject
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.7249s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 1.8495s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 2.1331s 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.1949s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 4.0831s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L85
Took 0.5188s 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.7112s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1418s 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.3108s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
136 KB
sha256:0881fec1b583b4f7392fc22593a86735c5aaa869a480c6ea79f92a9909d3f085
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.4 MB
sha256:a4004bd4cbdeed0ffd60931bebda845eb5176efacceee8332e27fc545267757c
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.4 MB
sha256:19153766a3c8704e55a85a8f45b508ecf20011a7ea0e3e5bfdf99bad4e7492ec
database-live-tests-php-8.2-db-OCI88.0 Expired
13.5 MB
sha256:81815218b0ee820b0f9036694f06f8427d246ceb70b25c31a52133fc1f9a610d
database-live-tests-php-8.2-db-Postgre8.0 Expired
13 MB
sha256:1164ea9c054a214e54837cbd7ba79623aa6bba4c82128dc02fb141974a2a639f
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.1 MB
sha256:f5e6c31c9bc28142e8fc3a23fed982558814cf7568537365b70dc1440d478c9a
database-live-tests-php-8.2-db-SQLite38.0 Expired
13 MB
sha256:a85848316b29484622dd6c8930e86d0d1561eaa7ce2ea91ac405304acdcc2c59
sanity-tests-php-8.2-db-none Expired
30.6 MB
sha256:f1096e45c8a6cca2eb9035250cfa3aee11aba241e7f60750f2b0aa2c3d6fc036
separate-process-tests-php-8.2-db-none Expired
3.25 MB
sha256:667fb1a01f74b0ccf7df4ef309081268ef7b7ac4284052b7c5c141df532b9cf8