-
Notifications
You must be signed in to change notification settings - Fork 1.1k
pytest node crashes on windows in cirq_google serialization tests #5067
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
Comments
I've also seen this error, but at the time chalked it up to Github Actions runner instability. Seeing that it's still coming up - and that it's in the infinite recursion test - suggests I should revisit my code here. |
It does say right in the test it's doing something sketchy :-)
|
#4315 for context on what this test is about. The deserialization half of this test is fine - it will try to locate the recursively-defined operation in the constants map, fail, and error out. The serialization half intentionally forces a Given all of that, I feel pretty safe labeling this particular bit of malicious code as de-fanged 😝 Good to keep an eye on this, but at the moment it seems like only a minor nuisance. |
Closing because this crash does not seem to occur anymore, and I can't find the "Maliciously modify …" comment in the code. (Which is too bad, because that's a hilarious comment.) (If someone thinks that's the wrong call, please add a comment here and reopen it.) |
Description of the issue
I've seen a few pytest failures on windows in cirq-google serialization tests:
I've seen this happen both in 3.7 tests and in 3.9 tests. Seems to be intermittent.
The text was updated successfully, but these errors were encountered: