You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error on Azure CI (Windows instance) with numpy 1.19.0 #16913
I just wanted to report this as I assume this is something others may have started observing (but it is quite hard to pin-point that numpy is the issue... or at least looks like it is).
Looking forward to hearing from you,
and happy to do any change to my azure pipeline setup if that can help troubleshooting the problem.
It failed consistently many times.. at that point I thought about asking Azure developers (my initial guess was that perhaps something had changed in their VMs setup).
I see :) I got an email that 1.9.1 has been released. I am going to try to retrigger the Azure pipeline which would now install the latest version and see if that works, will let you know
And it built just fine. No longer segfaults! I'll re-run it a few times just to be sure. Feel free to ping me when the 32-bit OpenBLAS Win64 libs are up and I can easily remove these lines and re-test.
OpenBLAS is still broken on the most recent release of Windows. It is very nonstandard to even get good debugging information because of the mixed to tool chain, at least for me.
FYI with OpenBLAS 0.3.16 it seems like the OPENBLAS_CORETYPE=prescott workaround I had in place on Azure ended up being probelmatic, so if anyone is using that workaround and sees problems with the latest NumPy pip-pre wheels you might need to remove the workaround!
Activity
mattip commentedon Jul 20, 2020
Does it fail consistently or only once in a while? Do you have any windows developers who can try to build the project on a local machine?
mrava87 commentedon Jul 20, 2020
Hi,
thanks!
It failed consistently many times.. at that point I thought about asking Azure developers (my initial guess was that perhaps something had changed in their VMs setup).
This link has the discussion I had with a Microsoft developer who spotted the problem could have been numpy: https://developercommunity.visualstudio.com/content/problem/1102472/azure-pipeline-error-with-windows-vm.html?childToView=1119179#comment-1119179
Unfortunately I do not have anyone that can try building the project on a local windows machine :(
mattip commentedon Jul 20, 2020
Then we will need a clear set of steps to reproduce
mrava87 commentedon Jul 20, 2020
Would the azure-pipelines.yml work?
Here is what we use (https://github.com/equinor/pylops/blob/master/azure-pipelines.yml) commented out at the moment... you can see that it is a pretty standard setup, using Python 3.7, installing dependencies in requirements-dev.txt file (https://github.com/equinor/pylops/blob/master/requirements-dev.txt) and then running the tests.
As I mentioned already, if I comment this out and force numpy 1.18.5 everything runs, seems like it is the new 1.19 to break
bashtage commentedon Jul 20, 2020
What is the windows version major and minor version of the image running on Azure? i.e., what does
systeminfoprint forOS Version?mrava87 commentedon Jul 21, 2020
I could find the details of the Azure VMs used in Azure Pipelines here: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml and the link to installed software https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md
I am not sure how to run
systeminfoon a Azure pipeline, any suggestions?bashtage commentedon Jul 21, 2020
It runs from the command line and dumps the output to terminal, so you can add it to your run as a command.
bashtage commentedon Jul 21, 2020
You could do this in a PR that runs on CI to see what it says. I am asking since there have been issues with the 19041 build of Windows and pip NumPy.
bashtage commentedon Jul 21, 2020
The answer was in the second link:
OS Version: 10.0.17763 Build 1282
bashtage commentedon Jul 21, 2020
So my idea bears no fruit.
mrava87 commentedon Jul 21, 2020
You say you know there are some issues with the latest pip wheels for Windows, is it probably connected to that?
bashtage commentedon Jul 21, 2020
It is actually (probably) a Windows bug introduced in 19041. But you are on a much older version so this is not the issue.
It doesn't affect Conda NumPy, only pip NumPy because it seems to be some issue with Windows and OpenBlas.
mrava87 commentedon Jul 22, 2020
I see :) I got an email that 1.9.1 has been released. I am going to try to retrigger the Azure pipeline which would now install the latest version and see if that works, will let you know
mrava87 commentedon Jul 22, 2020
Sadly still fails with 1.19.1 https://dev.azure.com/matteoravasi/PyLops/_build/results?buildId=45&view=logs&j=50448a2f-9550-51a0-b6c4-5ec64224dd81&t=a6a6804f-7af1-5f53-b76b-b46f500d6778 :(
bashtage commentedon Jul 22, 2020
A bug in OpenBlas.
Here is a reproducing example:
The no symbols debugging information is:
Note that the array has to be pretty big (10k passes, 12k does not) to trigger the bug.
29 remaining items
larsoner commentedon Jul 24, 2020
I just verbatim copied most of https://github.com/numpy/numpy/blob/master/azure-steps-windows.yml using
masterbranch of NumPy to first reproduce the error, and was successful in having it segfault.I then switched to
mattip/issue-16913and it fails with a URL download error for:https://anaconda.org/multibuild-wheels-staging/openblas-libs/v0.3.9-452-g349b722d/download/openblas-v0.3.9-452-g349b722d-win_amd64-gcc_7_1_0.zip
larsoner commentedon Jul 24, 2020
... looks like there is no 32-bit OpenBLAS for 64-bit Windows in:
https://anaconda.org/multibuild-wheels-staging/openblas-libs/files
I guess I could add the tag to get it to use 64-bit OpenBLAS?
bashtage commentedon Jul 24, 2020
2 are there and 1 is still being built. Should be up within the hour.
larsoner commentedon Jul 24, 2020
In the meantime I added:
And it built just fine. No longer segfaults! I'll re-run it a few times just to be sure. Feel free to ping me when the 32-bit OpenBLAS Win64 libs are up and I can easily remove these lines and re-test.
bashtage commentedon Jul 24, 2020
Any change you run the full test suite :-)
larsoner commentedon Jul 24, 2020
Looks like the 32 bit ones are up, and that also works.
I'll give the full test suite a run now
larsoner commentedon Jul 24, 2020
It gets a weird test collection error involving
f2py:https://dev.azure.com/mne-tools/mne-python/_build/results?buildId=8372&view=logs&j=a846d25a-e32c-5640-1b53-e815fab94407&t=14a4ea33-5055-5caa-db84-413553e060fb
bashtage commentedon Jul 24, 2020
You shouldn't waste any more time on this other issue - I can wait until next week and test the weekly which will hopefully have the BLAS.
charris commentedon Jul 24, 2020
Note that we can run the nightly builds at anytime by pushing a commit to the master branch.
bashtage commentedon Jul 24, 2020
Ok, I'll wait until I see a new one to see if the issue with Windows 10 2004 is fixed.
charris commentedon Sep 8, 2020
@bashtage Any update on this?
bashtage commentedon Sep 8, 2020
OpenBLAS is still broken on the most recent release of Windows. It is very nonstandard to even get good debugging information because of the mixed to tool chain, at least for me.
larsoner commentedon Jul 13, 2021
FYI with OpenBLAS 0.3.16 it seems like the
OPENBLAS_CORETYPE=prescottworkaround I had in place on Azure ended up being probelmatic, so if anyone is using that workaround and sees problems with the latest NumPy pip-pre wheels you might need to remove the workaround!