Bug 41721 - CI must fail early if 01-installation.t is failing
Summary: CI must fail early if 01-installation.t is failing
Status: RESOLVED MOVED
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low major
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-27 09:15 UTC by Jonathan Druart
Modified: 2026-01-27 09:18 UTC (History)
1 user (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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