-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
BUG: Dask distributed integration tests failing on Travis #1540
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
Interestingly they only seems to be failing on Python 2.7. |
I was not able to reproduce immediately on my local environment. I'll try
to reproduce with the travis-ci environment next time.
…On Thu, Aug 31, 2017 at 1:21 PM, Stephan Hoyer ***@***.***> wrote:
Interestingly they only seems to be failing on Python 2.7.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1540 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASszGSLrI9B_pCt-jDD1w8PGPYiI0opks5sdut8gaJpZM4PIVDJ>
.
|
One bit that may be helpful: this is arising in aospy's tests, e.g. here. But, they're only occurring in our 'py27-min' environment (and are doing so with 100% consistency); never in our full 'py27' environment.
|
I've identified the problem and will have a fix soon. There was another
issue with this release so I'll probably issue a micro-release shortly.
…On Thu, Aug 31, 2017 at 2:43 PM, Spencer Hill ***@***.***> wrote:
One bit that may be helpful: this is arising in aospy's tests, e.g. here
<https://travis-ci.org/spencerahill/aospy/builds/270528201?utm_source=github_status&utm_medium=notification>.
But, they're only occurring in our 'py27-min' environment (and are doing so
with 100% consistency); never in our full 'py27' environment.
environment-py27-min.yml
<https://github.com/spencerahill/aospy/blob/develop/ci/environment-py27-min.yml>
:
name: test_env
channels:
- conda-forge
dependencies:
- python=2.7
- scipy
- netCDF4
- xarray
- dask
- distributed
- pip:
- coveralls
- pytest-cov
environment-py27.yml
<https://github.com/spencerahill/aospy/blob/develop/ci/environment-py27.yml>
name: test_env
channels:
- conda-forge
dependencies:
- python=2.7
- scipy
- netCDF4
- xarray
- dask
- distributed
- pytest
- future
- matplotlib
- ipython
- pip:
- coveralls
- pytest-cov
- pytest-catchlog
- runipy
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1540 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASszAePI7b7ThHzz5iQA7k9Ku9roRdpks5sdv7NgaJpZM4PIVDJ>
.
|
shortly -> within a few days
…On Thu, Aug 31, 2017 at 3:14 PM, Matthew Rocklin ***@***.***> wrote:
I've identified the problem and will have a fix soon. There was another
issue with this release so I'll probably issue a micro-release shortly.
On Thu, Aug 31, 2017 at 2:43 PM, Spencer Hill ***@***.***>
wrote:
> One bit that may be helpful: this is arising in aospy's tests, e.g. here
> <https://travis-ci.org/spencerahill/aospy/builds/270528201?utm_source=github_status&utm_medium=notification>.
> But, they're only occurring in our 'py27-min' environment (and are doing so
> with 100% consistency); never in our full 'py27' environment.
>
> environment-py27-min.yml
> <https://github.com/spencerahill/aospy/blob/develop/ci/environment-py27-min.yml>
> :
>
> name: test_env
> channels:
> - conda-forge
> dependencies:
> - python=2.7
> - scipy
> - netCDF4
> - xarray
> - dask
> - distributed
> - pip:
> - coveralls
> - pytest-cov
>
> environment-py27.yml
> <https://github.com/spencerahill/aospy/blob/develop/ci/environment-py27.yml>
>
> name: test_env
> channels:
> - conda-forge
> dependencies:
> - python=2.7
> - scipy
> - netCDF4
> - xarray
> - dask
> - distributed
> - pytest
> - future
> - matplotlib
> - ipython
> - pip:
> - coveralls
> - pytest-cov
> - pytest-catchlog
> - runipy
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1540 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AASszAePI7b7ThHzz5iQA7k9Ku9roRdpks5sdv7NgaJpZM4PIVDJ>
> .
>
|
In dask#1328 we started allowing Python 2 to use unicode keys, mostly to support Julia. However this change missed a the pack_data function used in worker.py which still only checked for string-based keys. This arose any time whenever a task depended on a unicode key. Fixes pydata/xarray#1540
This should be resolved in dask/distributed#1370 |
To properly debug this I had to make an async test (most dask.distributed
testing does this, search for gen_cluster if curious). This was harder
than I would have liked with xarray. We might consider switching some
things around to be agnostic to synchronous/asynchronous APIs in the near
to moderate future (admittedly, most of this work is probably on me).
…On Thu, Aug 31, 2017 at 3:14 PM, Matthew Rocklin ***@***.***> wrote:
shortly -> within a few days
On Thu, Aug 31, 2017 at 3:14 PM, Matthew Rocklin ***@***.***>
wrote:
> I've identified the problem and will have a fix soon. There was another
> issue with this release so I'll probably issue a micro-release shortly.
>
> On Thu, Aug 31, 2017 at 2:43 PM, Spencer Hill ***@***.***>
> wrote:
>
>> One bit that may be helpful: this is arising in aospy's tests, e.g. here
>> <https://travis-ci.org/spencerahill/aospy/builds/270528201?utm_source=github_status&utm_medium=notification>.
>> But, they're only occurring in our 'py27-min' environment (and are doing so
>> with 100% consistency); never in our full 'py27' environment.
>>
>> environment-py27-min.yml
>> <https://github.com/spencerahill/aospy/blob/develop/ci/environment-py27-min.yml>
>> :
>>
>> name: test_env
>> channels:
>> - conda-forge
>> dependencies:
>> - python=2.7
>> - scipy
>> - netCDF4
>> - xarray
>> - dask
>> - distributed
>> - pip:
>> - coveralls
>> - pytest-cov
>>
>> environment-py27.yml
>> <https://github.com/spencerahill/aospy/blob/develop/ci/environment-py27.yml>
>>
>> name: test_env
>> channels:
>> - conda-forge
>> dependencies:
>> - python=2.7
>> - scipy
>> - netCDF4
>> - xarray
>> - dask
>> - distributed
>> - pytest
>> - future
>> - matplotlib
>> - ipython
>> - pip:
>> - coveralls
>> - pytest-cov
>> - pytest-catchlog
>> - runipy
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub
>> <#1540 (comment)>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/AASszAePI7b7ThHzz5iQA7k9Ku9roRdpks5sdv7NgaJpZM4PIVDJ>
>> .
>>
>
>
|
In #1328 we started allowing Python 2 to use unicode keys, mostly to support Julia. However this change missed a the pack_data function used in worker.py which still only checked for string-based keys. This arose any time whenever a task depended on a unicode key. Fixes pydata/xarray#1540
I've merged that PR. If you're testing against git-master then you might want to try retriggering tests. |
I'm surprised that my |
@mrocklin I suspect it's because you have admin access to the "pydata" GitHub org |
Recent builds on travis are failing for the integration tests for dask distributed (example). Those tests are:
test_dask_distributed_integration_test[h5netcdf]
test_dask_distributed_integration_test[netcdf4]
The traceback includes this detail:
Distributed v.1.18.1 was released 5 days ago so there must have been a breaking change that has been passed down to us.
cc @shoyer, @mrocklin
The text was updated successfully, but these errors were encountered: