-
Notifications
You must be signed in to change notification settings - Fork 115
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
Suppress Java noise on Windows/AppVeyor #247
Conversation
Observations:
Conclusion: forcing the use of the Anaconda-installed OpenJDK doesn't make these messages go away. |
In 09dde55, only |
@GamzeUnlu95 would you please:
The intent: removing some of the files may break the code in other ways, but we may identify if the messages are associated with a single file. Please send me messages in Slack with the different exception messages you get, instead of posting here. @zikolach I recognize this is very crude. If you have an alternate suggestion for a debugging procedure, please do share… |
No matter which .dll/.so/.dynlib files are there or even none of them are there, the same message appears: tests\backend\test_jdbc.py Windows fatal exception: access violation. |
Hi @francescolovat @GamzeUnlu95 —would you please test the latest commit on this branch and see if pytest is now quiet on your computers? @zikolach I am requesting your review of the changes; please see the linked issue on JPype for more description. |
Hi @khaeru , thanks for the improvements. I've ran the command both with and without deleting the files .dll, .so, and .dynlib in
I don't know if |
@khaeru so main conclusion is that those messages started to appear after release of pytest 5.0.0 (2019-06-28), correct?
Would it make sense to try downgrading to pytest prior to version 5.0 to check if that was the case? I tried to find anything specifically related in jdk 11 docs. Should we also give a try running jvm with option |
Neither of these things are necessary. See this comment in the linked JPype issue, particularly:
In other words, this signal is something completely harmless that Java (not ixmp_source) always does, and which JPype does not currently hide from Python/ I already confirmed, through several of the debugging commits above, that disabling the pytest's |
Closes #229.
See jpype-project/jpype#561. To summarize:
faulthandler
module by default.faulthandler
. However, per this comment, these are intentional, and not fatal in Java—so the messages are spurious and not related to any error/failure.This PR
-p no:faulthandler
to the pytest options.How to review
PR checklist
Tests added.N/ADocumentation added.N/A, CI/internal changes only.Release notes updated.N/A, CI/internal changes only.