-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDOException: could not find driver, upon re-run job it ok #606
Comments
Please provide me either a minimal public repo or access to a private repo reproducing the issue. |
Thanks that'd be little difficult, since it is an enterprise application. I posted it to see if it is an issue known to your knowledge with self-hosted runners. |
Oddly, on the first job trigger, it also says |
Sorry to have kept this open. It is ok to close this as I can’t provide you with the sample repository unfortunately. |
ok. I will try to recreate it using the runner image you use this weekend with Laravel as the app. Will close it then. |
Recently I added the following to the workflow and since then the issue has not appeared. I am not sure if that is what caused PHP extensions to go dark sometimes. But let me post an update if that is helpful
|
da9dfe4 should fix this. Try without removing the tool cache directory and let me know if it works without that. |
Thanks for closing this, I ll post an update after 1-2 weeks. We are running the CI pretty much daily, 2 weeks should be enough time to see if this re-occurs. |
Describe the bug
We see PDO errors on first run, and second run upon manual re-run job always succeeds with the same workflow file
Version
v1
orv2
.v2
v1
Runners
Operating systems
linux
PHP versions
8.1
To Reproduce
Expected behavior
Setup PHP doesn't fail, but
phpunit
almost always fails whenever a push is made (first run). Interestingly, when we re-run manually by Re-run jobs, it succeeds.Screenshots/Logs
Additional context
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: