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
Research direction
Read .github/workflows/test.yml and inspect the integration-tests job, especially its MySQL service and Start MYSQL Server step. The issue reports that the step fails because /etc/init.d/mysql is missing, while the service container already serves the tests on port 8888. Remove the redundant step and confirm the integration tests pass using the configured 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
-
Setup fails with "No suitable driver found" when Tomcat started without database.propertiesPossibly taken @HusainMain claimed this 8 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 8 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 8 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
-
[BUG] NoSQL Injection 1 only answers once per Tomcat run: the servlet closes the shared MongoClientPossibly taken A pull request linked to this issue is open or already merged. OpenBug Levels
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OWASP/SecurityShepherd#992 · 1 comment ·
Maintainers usually reply within 1 day
All issues in OWASP/SecurityShepherd
Similar issues
-
bug key bindings source editor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Visual COBOL: missing 11.0 and 12.0, and 9.0 date differs from Rocket Software's lifecycle pageOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
endoflife-date/endoflife.date#11561 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
conductor-oss/conductor#1824 ·
Maintainers usually reply within 5 days
-
Type: Possible bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
AntennaPod/AntennaPod#8887 · 1 comment ·
Maintainers usually reply within 1 day