Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Investigate why debug check on tests-mysql container fails #9793

Closed
kmanijak opened this issue Jun 12, 2023 · 0 comments · Fixed by #9794
Closed

Investigate why debug check on tests-mysql container fails #9793

kmanijak opened this issue Jun 12, 2023 · 0 comments · Fixed by #9794
Labels
tool: monorepo infrastructure Pull requests that update GitHub Actions code.

Comments

@kmanijak
Copy link
Contributor

Description

Unit test PHP job on GitHub actions started to fail on 11 June.

That was due to debug check:

npm run wp-env run tests-mysql "mysql --version"

which resulted in the following:

OCI runtime exec failed: exec failed: unable to start container process: exec: "mysql": executable file not found in $PATH: unknown
✖ Command failed with exit code 126
Command failed with exit code 126
Error: Process completed with exit code 1.

That problem prevented PHP unit tests from being run. Example job.

In #9791 the problematic line was temporarily disabled, so the PHP tests could be run, however there is no clear reason why the check started fail (no changes in terms of @wordpress/env version which provides the container, nor the image or runner version).

This issues is to debug the problem and re-enable the commented line.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tool: monorepo infrastructure Pull requests that update GitHub Actions code.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant