Skip to content
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

⚠️ Nightly upstream-dev CI failed ⚠️ #5077

Closed
github-actions bot opened this issue Mar 26, 2021 · 10 comments
Closed

⚠️ Nightly upstream-dev CI failed ⚠️ #5077

github-actions bot opened this issue Mar 26, 2021 · 10 comments
Labels
CI Continuous Integration tools upstream issue

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Mar 26, 2021

Workflow Run URL

Python 3.9 Test Summary Info
FAILED xarray/tests/test_dask.py::test_map_blocks_error - AttributeError: 'di...
FAILED xarray/tests/test_dask.py::test_map_blocks[obj0] - AttributeError: 'di...
FAILED xarray/tests/test_dask.py::test_map_blocks[obj1] - AttributeError: 'di...
FAILED xarray/tests/test_dask.py::test_map_blocks_convert_args_to_list[obj0]
FAILED xarray/tests/test_dask.py::test_map_blocks_convert_args_to_list[obj1]
FAILED xarray/tests/test_dask.py::test_map_blocks_dask_args - AttributeError:...
FAILED xarray/tests/test_dask.py::test_map_blocks_add_attrs[obj0] - Attribute...
FAILED xarray/tests/test_dask.py::test_map_blocks_add_attrs[obj1] - Attribute...
FAILED xarray/tests/test_dask.py::test_map_blocks_change_name - AttributeErro...
FAILED xarray/tests/test_dask.py::test_map_blocks_kwargs[obj0] - AttributeErr...
FAILED xarray/tests/test_dask.py::test_map_blocks_kwargs[obj1] - AttributeErr...
FAILED xarray/tests/test_dask.py::test_map_blocks_to_array - AttributeError: ...
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>0]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>1]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>2]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>3]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>4]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>5]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>6]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>7]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>0]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>1]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>2]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>3]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>4]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>5]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>6]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>7]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_ds_with_template[obj0]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_ds_with_template[obj1]
FAILED xarray/tests/test_dask.py::test_map_blocks_template_convert_object - A...
FAILED xarray/tests/test_dask.py::test_map_blocks_errors_bad_template[obj0]
FAILED xarray/tests/test_dask.py::test_map_blocks_errors_bad_template[obj1]
FAILED xarray/tests/test_dask.py::test_map_blocks_errors_bad_template_2 - Att...
FAILED xarray/tests/test_dask.py::test_map_blocks_object_method[obj0] - Attri...
FAILED xarray/tests/test_dask.py::test_map_blocks_object_method[obj1] - Attri...
FAILED xarray/tests/test_dask.py::test_map_blocks_hlg_layers - AttributeError...
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_line_plot
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_pcolormesh_plot
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_contour_plot
@github-actions github-actions bot added the CI Continuous Integration tools label Mar 26, 2021
@keewis
Copy link
Collaborator

keewis commented Mar 26, 2021

cc @spencerkclark

@mathause
Copy link
Collaborator

See Unidata/cftime#236

@mathause
Copy link
Collaborator

mathause commented Mar 26, 2021

Minimal example:

import pandas as pd
import cftime

time_1 = cftime.DatetimeGregorian(2000, 1, 1)
time_2 = cftime.DatetimeProlepticGregorian(2001, 1, 1)

s = pd.Series([time_1, time_2])

s.rank(method="dense", numeric_only=False)

rank = series.rank(

def test_combine_by_coords_raises_for_differing_calendars():


Edit: To clarify - the example is supposed to raise a TypeError. For cftime master it raises a ValueError which pandas ignores.

@spencerkclark
Copy link
Member

FAILED xarray/tests/test_combine.py::test_combine_by_coords_raises_for_differing_calendars

Thanks for tracking this down @mathause and opening the issue upstream!

FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_line_plot
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_pcolormesh_plot
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_contour_plot

It looks like Unidata/cftime#235 may have broken some code in nc-time-axis. I'll open an issue in cftime tomorrow.

@mathause
Copy link
Collaborator

The other issues have to be fixed in cftime, right?

@spencerkclark
Copy link
Member

Yes, they need to be fixed upstream, either in nc-time-axis or cftime.

@andersy005
Copy link
Member

As of 3 days ago (April 29th), it appears that there are some outstanding issues with dask that need to be resolved, too

FAILED xarray/tests/test_dask.py::test_map_blocks_error - AttributeError: 'di...
FAILED xarray/tests/test_dask.py::test_map_blocks[obj0] - AttributeError: 'di...
FAILED xarray/tests/test_dask.py::test_map_blocks[obj1] - AttributeError: 'di...
FAILED xarray/tests/test_dask.py::test_map_blocks_convert_args_to_list[obj0]
FAILED xarray/tests/test_dask.py::test_map_blocks_convert_args_to_list[obj1]
FAILED xarray/tests/test_dask.py::test_map_blocks_dask_args - AttributeError:...
FAILED xarray/tests/test_dask.py::test_map_blocks_add_attrs[obj0] - Attribute...
FAILED xarray/tests/test_dask.py::test_map_blocks_add_attrs[obj1] - Attribute...
FAILED xarray/tests/test_dask.py::test_map_blocks_change_name - AttributeErro...
FAILED xarray/tests/test_dask.py::test_map_blocks_kwargs[obj0] - AttributeErr...
FAILED xarray/tests/test_dask.py::test_map_blocks_kwargs[obj1] - AttributeErr...
FAILED xarray/tests/test_dask.py::test_map_blocks_to_array - AttributeError: ...
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>0]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>1]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>2]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>3]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>4]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>5]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>6]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_transformations[<lambda>7]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>0]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>1]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>2]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>3]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>4]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>5]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>6]
FAILED xarray/tests/test_dask.py::test_map_blocks_ds_transformations[<lambda>7]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_ds_with_template[obj0]
FAILED xarray/tests/test_dask.py::test_map_blocks_da_ds_with_template[obj1]
FAILED xarray/tests/test_dask.py::test_map_blocks_template_convert_object - A...
FAILED xarray/tests/test_dask.py::test_map_blocks_errors_bad_template[obj0]
FAILED xarray/tests/test_dask.py::test_map_blocks_errors_bad_template[obj1]
FAILED xarray/tests/test_dask.py::test_map_blocks_errors_bad_template_2 - Att...
FAILED xarray/tests/test_dask.py::test_map_blocks_object_method[obj0] - Attri...
FAILED xarray/tests/test_dask.py::test_map_blocks_object_method[obj1] - Attri...

@keewis
Copy link
Collaborator

keewis commented May 2, 2021

we should try to resolve this before the release

@dcherian
Copy link
Contributor

dcherian commented May 5, 2021

>           if layer.collection_annotations is None:
E           AttributeError: 'dict' object has no attribute 'collection_annotations'

This looks like it comes from our HighLevelGraph manipulations here

# We're adding multiple new layers to the graph:
# The first new layer is the result of the computation on
# the array.
# Then we add one layer per variable, which extracts the
# result for that variable, and depends on just the first new
# layer.
new_layers[gname_l][key] = (operator.getitem, from_wrapper, name)
hlg = HighLevelGraph.from_collections(
gname,
graph,
dependencies=[arg for arg in npargs if dask.is_dask_collection(arg)],
)
for gname_l, layer in new_layers.items():
# This adds in the getitems for each variable in the dataset.
hlg.dependencies[gname_l] = {gname}
hlg.layers[gname_l] = layer

Maybe @crusaderky or @jrbourbeau can tell us what's going wrong?

@keewis
Copy link
Collaborator

keewis commented May 19, 2021

I've opened #5344 for the nc-time-axis / cftime issue and xfail'ed it in #5343. Closing to get notifications for other upstream-dev issues (once the CI works again).

@keewis keewis closed this as completed May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration tools upstream issue
Projects
None yet
Development

No branches or pull requests

5 participants