-
Notifications
You must be signed in to change notification settings - Fork 518
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
Appveyor tests are always "passing" #4
Comments
Does anyone have a Windows box that they can test this on? |
…re code when tests fail. Need to call sys.exit (references Pyomo/pyomo#4)
Ah, I think I know what the problem is. We are testing Pyomo trunk against the latest PyUtilib release. So the various fixes I have been making in PyUtilib that are referenced above are not even being tested on appveyor (or travis). |
It looks like the series of fixes I've made on PyUtilib trunk (starting at PyUtilib/pyutilib@dfa78b4) along with the updates to the appveyor (and travis) script to install PyUtilib trunk (6cc8409) have fixed this. Now we just need to understand why the test script output on appveyor is a few thousand lines of empty space. Something I am going to leave for another day... |
It looks like the tee keyword for pyutilib.subprocess.run has a strange interaction with the appveyor console output. If you look at the raw log file, all of the test output is there. It's just the live output that appveyor is directing to the webpage is nothing bu blank lines. @jsiirola will have to investigate this further, as I think he has done the most work on output redirection in that function. Also, this should technically be reopened as a pyutilib issue at this point. |
There is a new branch for PyUtilib, issue-22, that is focused on addressing this issues. Once this branch is resolved, we should generate a new PyUtilib release, which will allow us to close this issue. |
This was resolved, right? |
I'll let @jsiirola comment. I think he fixed the Appveyor tests, but not by fixing the PyUtilib issue-22. (Right?) |
This is definitely fixed for Pyomo. I will close this issue. I am not sure on the status of PyUtilib/pyutilib#22. |
Merge master into solver-rewrite
solver class, memory reallocation, and regularization
Update Pyomo fork with units fixes
The root cause may be the return value for test.pyomo.exe. I suspect that it's not returning a nonzero value when a test fails.
The text was updated successfully, but these errors were encountered: