-
Notifications
You must be signed in to change notification settings - Fork 5
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
Tests sometimes fail/timeout in github actions #210
Comments
First, I propose to add log by default, so we can see what fails. Looks like on timeout pytest does not dump the log. |
One of the errors that were dumped was this one |
I managed to reproduce one of the failures locally: This is not the only test I saw failing in actions, but the one that it hangs on (or after?) the most often, I think. |
Timeout seems to happen here, at least sometimes:
|
I see this too, and it happens in a variety of ways. But the cause I see is always an anomaly during sparql query: dict changing in iteration or something else. Dumping the graph into turtle and querying it directly does not seem to show any problems. I suspect some issue in pyparsing/rdflib dealing in-memory object. Is this what you see too? |
If this is, as it seems, an issue of rdflib and pyparsing, it has broader impact than just our project. |
The pyparsing, hence rdflib is not thread safe. It's a known fact. I created a related issue for oda_hub some time ago. Maybe, the async test doesn't completely mimic how it works in real world? |
Ah ok. In what way would it not? |
A volatile issue, but annoying. It started to arise very often
Example
Any ideas how to debug it?
The text was updated successfully, but these errors were encountered: