Bug 41721

Summary: CI must fail early if 01-installation.t is failing
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Jonathan Druart <jonathan.druart>
Status: RESOLVED MOVED QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: jacob.omara
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jonathan Druart 2026-01-27 09:15:46 UTC
Logging that in bugzilla to ease searching the root cause.

If the 01-installation.t selenium tests fail then the DB does not contain the necessary data for the test suite to run correctly.
We must abort early to not cause confusion.
Most of the Perl tests will fail with:

14:22:40 koha-1      | #     DBD::mysql::st execute failed: Table 'koha_kohadev.systempreferences' doesn't exist at /kohadevbox/koha/Koha/Database.pm line 139.


Cypress tests will fail with:

15:54:18 koha-1      | Because this error occurred during a `before all` hook we are skipping all of the remaining tests." type="CypressError"><![CDATA[CypressError: `cy.task('query')` failed with the following error:
15:54:18 koha-1      | 
15:54:18 koha-1      | > Table 'koha_kohadev.systempreferences' doesn't exist

See https://gitlab.com/koha-community/koha-misc4dev/-/issues/99