ci: integration-tests fail on Ubuntu 26 because /etc/init.d/mysql is removed
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker, github-actions, mariadb
- Domain
- ci-cd
Research direction
Read .github/workflows/test.yml, especially the integration-tests job and its services.mysql configuration. Confirm that the tests use the service container on port 8888 and that the Start MYSQL Server step invokes the missing host init script. Remove that step and check that the workflow no longer starts a separate host MySQL service.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 530
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 61
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OWASP/SecurityShepherd
-
ci: integration-tests fail on Ubuntu 26 because /etc/init.d/mysql is removedPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
OWASP/SecurityShepherd#1114 ·
Maintainers usually reply within 1 day
-
Setup fails with "No suitable driver found" when Tomcat started without database.propertiesPossibly taken @HusainMain claimed this 7 days ago. OpenBug Platform
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OWASP/SecurityShepherd#1082 · 1 comment ·
Maintainers usually reply within 1 day
-
DirectObjectBankLogin holds a challenge-pool connection while bankForm() borrows a second onePossibly taken @utafrali claimed this 7 days ago. OpenBug Levels
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OWASP/SecurityShepherd#1063 · 1 comment ·
Maintainers usually reply within 1 day
-
Bug WebApp
Difficulty 1/5 Under an hour Newbie friendliness 78/100
OWASP/SecurityShepherd#996 ·
Maintainers usually reply within 1 day
-
index.jsp: CTF countdown never clears, malformed deletePlayers error HTML, debug alert on success messagesMay be free again @Sagar07Kr claimed this 7 days ago, and no pull request is open. OpenBug WebApp
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
OWASP/SecurityShepherd#995 · 1 comment ·
Maintainers usually reply within 1 day
All issues in OWASP/SecurityShepherd
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ahmedmmordi/store-app#8 ·
-
jhipster heroku fails on heroku git:remote when reusing an existing app outside a git repositoryOpenarea: triage theme: undefined
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
jhipster/generator-jhipster#36018 ·
Maintainers usually reply within 1 day
-
component/zeebe kind/feature scope/broker
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day