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
SQLite test failures on GitHub Actions #767
Comments
This demonstrates the tests failing 3 times before passing on the 4th attempt: https://github.com/farmOS/farmOS/actions/runs/7424363072 They seem to consistently fail with the following log:
|
I tested creating a branch that disables the SQLite tests entirely, and that passed (PostgreSQL and MariaDB worked). https://github.com/mstenta/farmOS/actions/runs/7424981157 I also tested creating a branch that comments out the https://github.com/mstenta/farmOS/actions/runs/7426500941 This was the PostgreSQL error:
Confusing.... 🤔 |
One more data point for the record: I just tagged and released farmOS 3.0.0, which triggered tests to run on the |
I wonder if this is at all related to https://www.drupal.org/project/drupal/issues/3405976 |
I don't think it is. The reason I was wondering is because that issue mentions that it caused tests to start failing on SQLite, and:
The "new transaction manager" bit piqued my interest, so I still wonder if that's related. But that specific issue seems to be related to XDebug 3.3.0. I tested with XDebug enabled on SQLite tests (because I encountered the reported issue locally with it disabled, so it made me wonder), and with XDebug pinned to 3.2.2, and encountered the same errors as before, so I don't think it's related. |
It's interesting that it sounds like the failures are just for that one test case. Is there anything special about what that test is doing? In case it lends any extra datapoints, I'm running the tests for my farmOS_wfs module against SQLite too without any particular problems yet. https://github.com/symbioquine/farmOS_wfs/actions/runs/8672159801/job/23782148327 |
Here is the specific line that is failing in the test:
The test overall is checking that updates to an asset's inventory are reflected in the JSON serialization of the asset in its API endpoint. In this case, it is first checking to be sure that the The fact that it passes/fails inconsistently is the most confusing part. And only with SQLite3... 🤔 |
Recently SQLite3 tests have been failing on GitHub Actions. However, they seem to be inconsistent, because sometimes they pass, although they fail more often than not.
Originally encountered in #765. See the last few comments in that thread.
The text was updated successfully, but these errors were encountered: