Skip to content

ci: integration-tests fail on Ubuntu 26 because /etc/init.d/mysql is removed #1114

Closed

Description

@HusainMain

Problem

The integration-tests job in .github/workflows/test.yml fails on every pull request because the Start MYSQL Server step runs sudo /etc/init.d/mysql start, but the Actions runner image has migrated to Ubuntu 26.04, which no longer ships /etc/init.d/mysql.

Job integration-tests on run #1010 (PR #1091):

Start MYSQL Server
0s
1
Run sudo /etc/init.d/mysql start

8
sudo: '/etc/init.d/mysql': command not found

9
Error: Process completed with exit code 1.

Why it's safe to remove

The same workflow already defines a Docker service container (services.mysql) running mariadb:12.3 on port 8888 (lines 104-113). The tests connect to 127.0.0.1:8888, which Docker forwards to that container. The legacy host-level init.d/mysql step is redundant with the service container.

Evidence it's pre-existing, not PR-specific

Every open PR since Oct 31 hits the same failure, including maintainers' own PRs (#1046, #1045).

Fix

Remove lines 121-122 (Start MYSQL Server step) from .github/workflows/test.yml.

Found while waiting for PR #1091 (JDBC driver fix for #1082) to pass CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions