Skip to content

Add attrs argument to DataTree constructor #13334

Add attrs argument to DataTree constructor

Add attrs argument to DataTree constructor #13334

Triggered via pull request July 13, 2024 22:03
Status Failure
Total duration 15m 1s
Artifacts 11

ci.yaml

on: pull_request
detect ci trigger
2s
detect ci trigger
Event File
2s
Event File
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

27 errors, 2 warnings, and 31 notices
ubuntu-latest py3.9 bare-minimum: xarray/tests/test_formatting.py#L631
TestFormatting.test_datatree_print_empty_node_with_attrs assert "<xarray.Data...t'>\nGroup: /" == '<xarray.Data... has attrs' <xarray.DataTree 'root'> - Group: / ? - + Group: / - Dimensions: () - Data variables: - *empty* - Attributes: - note: has attrs
ubuntu-latest py3.9 bare-minimum: xarray/tests/test_datatree_mapping.py#L280
TestMapOverSubTree.test_keep_attrs_on_empty_nodes AssertionError: assert {} == {'foo': 'bar'} Right contains 1 more item: {'foo': 'bar'} Full diff: + {} - { - 'foo': 'bar', - }
ubuntu-latest py3.9 bare-minimum
Process completed with exit code 1.
macos-latest py3.9: xarray/tests/test_datatree_mapping.py#L280
TestMapOverSubTree.test_keep_attrs_on_empty_nodes AssertionError: assert {} == {'foo': 'bar'} Right contains 1 more item: {'foo': 'bar'} Full diff: + {} - { - 'foo': 'bar', - }
macos-latest py3.9: xarray/tests/test_formatting.py#L631
TestFormatting.test_datatree_print_empty_node_with_attrs assert "<xarray.Data...t'>\nGroup: /" == '<xarray.Data... has attrs' <xarray.DataTree 'root'> - Group: / ? - + Group: / - Dimensions: () - Data variables: - *empty* - Attributes: - note: has attrs
macos-latest py3.9
Process completed with exit code 1.
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_datatree_mapping.py#L280
TestMapOverSubTree.test_keep_attrs_on_empty_nodes AssertionError: assert {} == {'foo': 'bar'} Right contains 1 more item: {'foo': 'bar'} Full diff: + {} - { - 'foo': 'bar', - }
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_formatting.py#L631
TestFormatting.test_datatree_print_empty_node_with_attrs assert "<xarray.Data...t'>\nGroup: /" == '<xarray.Data... has attrs' <xarray.DataTree 'root'> - Group: / ? - + Group: / - Dimensions: () - Data variables: - *empty* - Attributes: - note: has attrs
ubuntu-latest py3.11 all-but-dask
Process completed with exit code 1.
macos-latest py3.12: xarray/tests/test_datatree_mapping.py#L280
TestMapOverSubTree.test_keep_attrs_on_empty_nodes AssertionError: assert {} == {'foo': 'bar'} Right contains 1 more item: {'foo': 'bar'} Full diff: + {} - { - 'foo': 'bar', - }
macos-latest py3.12: xarray/tests/test_formatting.py#L631
TestFormatting.test_datatree_print_empty_node_with_attrs assert "<xarray.Data...t'>\nGroup: /" == '<xarray.Data... has attrs' <xarray.DataTree 'root'> - Group: / ? - + Group: / - Dimensions: () - Data variables: - *empty* - Attributes: - note: has attrs
macos-latest py3.12
Process completed with exit code 1.
ubuntu-latest py3.9 min-all-deps: xarray/tests/test_formatting.py#L631
TestFormatting.test_datatree_print_empty_node_with_attrs assert "<xarray.Data...t'>\nGroup: /" == '<xarray.Data... has attrs' <xarray.DataTree 'root'> - Group: / ? - + Group: / - Dimensions: () - Data variables: - *empty* - Attributes: - note: has attrs
ubuntu-latest py3.9 min-all-deps: xarray/tests/test_datatree_mapping.py#L280
TestMapOverSubTree.test_keep_attrs_on_empty_nodes AssertionError: assert {} == {'foo': 'bar'} Right contains 1 more item: {'foo': 'bar'} Full diff: + {} - { - 'foo': 'bar', - }
ubuntu-latest py3.9 min-all-deps
Process completed with exit code 1.
ubuntu-latest py3.9: xarray/tests/test_datatree_mapping.py#L280
TestMapOverSubTree.test_keep_attrs_on_empty_nodes AssertionError: assert {} == {'foo': 'bar'} Right contains 1 more item: {'foo': 'bar'} Full diff: + {} - { - 'foo': 'bar', - }
ubuntu-latest py3.9: xarray/tests/test_formatting.py#L631
TestFormatting.test_datatree_print_empty_node_with_attrs assert "<xarray.Data...t'>\nGroup: /" == '<xarray.Data... has attrs' <xarray.DataTree 'root'> - Group: / ? - + Group: / - Dimensions: () - Data variables: - *empty* - Attributes: - note: has attrs
ubuntu-latest py3.9
Process completed with exit code 1.
ubuntu-latest py3.12: xarray/tests/test_datatree_mapping.py#L280
TestMapOverSubTree.test_keep_attrs_on_empty_nodes AssertionError: assert {} == {'foo': 'bar'} Right contains 1 more item: {'foo': 'bar'} Full diff: + {} - { - 'foo': 'bar', - }
ubuntu-latest py3.12: xarray/tests/test_formatting.py#L631
TestFormatting.test_datatree_print_empty_node_with_attrs assert "<xarray.Data...t'>\nGroup: /" == '<xarray.Data... has attrs' <xarray.DataTree 'root'> - Group: / ? - + Group: / - Dimensions: () - Data variables: - *empty* - Attributes: - note: has attrs
ubuntu-latest py3.12
Process completed with exit code 1.
windows-latest py3.9: xarray\tests\test_datatree_mapping.py#L280
TestMapOverSubTree.test_keep_attrs_on_empty_nodes AssertionError: assert {} == {'foo': 'bar'} Right contains 1 more item: {'foo': 'bar'} Full diff: + {} - { - 'foo': 'bar', - }
windows-latest py3.9: xarray\tests\test_formatting.py#L631
TestFormatting.test_datatree_print_empty_node_with_attrs assert "<xarray.Data...t'>\nGroup: /" == '<xarray.Data... has attrs' <xarray.DataTree 'root'> - Group: / ? - + Group: / - Dimensions: () - Data variables: - *empty* - Attributes: - note: has attrs
windows-latest py3.9
Process completed with exit code 1.
windows-latest py3.12: xarray\tests\test_datatree_mapping.py#L280
TestMapOverSubTree.test_keep_attrs_on_empty_nodes AssertionError: assert {} == {'foo': 'bar'} Right contains 1 more item: {'foo': 'bar'} Full diff: + {} - { - 'foo': 'bar', - }
windows-latest py3.12: xarray\tests\test_formatting.py#L631
TestFormatting.test_datatree_print_empty_node_with_attrs assert "<xarray.Data...t'>\nGroup: /" == '<xarray.Data... has attrs' <xarray.DataTree 'root'> - Group: / ? - + Group: / - Dimensions: () - Data variables: - *empty* - Attributes: - note: has attrs
windows-latest py3.12
Process completed with exit code 1.
All 9 runs failed: test_datatree_print_empty_node_with_attrs (xarray.tests.test_formatting.TestFormatting): xarray.tests.test_formatting.TestFormatting#L0
artifacts/Test results for Linux-3.11 all-but-dask/pytest.xml [took 0s] artifacts/Test results for Linux-3.12/pytest.xml [took 0s] artifacts/Test results for Linux-3.9 bare-minimum/pytest.xml [took 0s] artifacts/Test results for Linux-3.9 min-all-deps/pytest.xml [took 0s] artifacts/Test results for Linux-3.9/pytest.xml [took 0s] artifacts/Test results for Windows-3.12/pytest.xml [took 0s] artifacts/Test results for Windows-3.9/pytest.xml [took 0s] artifacts/Test results for macOS-3.12/pytest.xml [took 0s] artifacts/Test results for macOS-3.9/pytest.xml [took 0s]
All 9 runs failed: test_keep_attrs_on_empty_nodes (xarray.tests.test_datatree_mapping.TestMapOverSubTree): xarray.tests.test_datatree_mapping.TestMapOverSubTree#L0
artifacts/Test results for Linux-3.11 all-but-dask/pytest.xml [took 0s] artifacts/Test results for Linux-3.12/pytest.xml [took 0s] artifacts/Test results for Linux-3.9 bare-minimum/pytest.xml [took 0s] artifacts/Test results for Linux-3.9 min-all-deps/pytest.xml [took 0s] artifacts/Test results for Linux-3.9/pytest.xml [took 0s] artifacts/Test results for Windows-3.12/pytest.xml [took 0s] artifacts/Test results for Windows-3.9/pytest.xml [took 0s] artifacts/Test results for macOS-3.12/pytest.xml [took 0s] artifacts/Test results for macOS-3.9/pytest.xml [took 0s]
1603 skipped tests found (test 1 to 697)
There are 1603 skipped tests, see "Raw output" for the list of skipped tests 1 to 697.
1603 skipped tests found (test 698 to 1382)
There are 1603 skipped tests, see "Raw output" for the list of skipped tests 698 to 1382.
1603 skipped tests found (test 1383 to 1603)
There are 1603 skipped tests, see "Raw output" for the list of skipped tests 1383 to 1603.
20290 tests found (test 1 to 866)
There are 20290 tests, see "Raw output" for the list of tests 1 to 866.
20290 tests found (test 867 to 1552)
There are 20290 tests, see "Raw output" for the list of tests 867 to 1552.
20290 tests found (test 1553 to 2232)
There are 20290 tests, see "Raw output" for the list of tests 1553 to 2232.
20290 tests found (test 2233 to 2914)
There are 20290 tests, see "Raw output" for the list of tests 2233 to 2914.
20290 tests found (test 2915 to 3448)
There are 20290 tests, see "Raw output" for the list of tests 2915 to 3448.
20290 tests found (test 3449 to 4060)
There are 20290 tests, see "Raw output" for the list of tests 3449 to 4060.
20290 tests found (test 4061 to 4697)
There are 20290 tests, see "Raw output" for the list of tests 4061 to 4697.
20290 tests found (test 4698 to 5399)
There are 20290 tests, see "Raw output" for the list of tests 4698 to 5399.
20290 tests found (test 5400 to 6176)
There are 20290 tests, see "Raw output" for the list of tests 5400 to 6176.
20290 tests found (test 6177 to 6914)
There are 20290 tests, see "Raw output" for the list of tests 6177 to 6914.
20290 tests found (test 6915 to 7686)
There are 20290 tests, see "Raw output" for the list of tests 6915 to 7686.
20290 tests found (test 7687 to 8420)
There are 20290 tests, see "Raw output" for the list of tests 7687 to 8420.
20290 tests found (test 8421 to 9255)
There are 20290 tests, see "Raw output" for the list of tests 8421 to 9255.
20290 tests found (test 9256 to 10137)
There are 20290 tests, see "Raw output" for the list of tests 9256 to 10137.
20290 tests found (test 10138 to 10900)
There are 20290 tests, see "Raw output" for the list of tests 10138 to 10900.
20290 tests found (test 10901 to 11743)
There are 20290 tests, see "Raw output" for the list of tests 10901 to 11743.
20290 tests found (test 11744 to 12606)
There are 20290 tests, see "Raw output" for the list of tests 11744 to 12606.
20290 tests found (test 12607 to 13386)
There are 20290 tests, see "Raw output" for the list of tests 12607 to 13386.
20290 tests found (test 13387 to 14016)
There are 20290 tests, see "Raw output" for the list of tests 13387 to 14016.
20290 tests found (test 14017 to 14635)
There are 20290 tests, see "Raw output" for the list of tests 14017 to 14635.
20290 tests found (test 14636 to 15247)
There are 20290 tests, see "Raw output" for the list of tests 14636 to 15247.
20290 tests found (test 15248 to 15941)
There are 20290 tests, see "Raw output" for the list of tests 15248 to 15941.
20290 tests found (test 15942 to 16567)
There are 20290 tests, see "Raw output" for the list of tests 15942 to 16567.
20290 tests found (test 16568 to 17355)
There are 20290 tests, see "Raw output" for the list of tests 16568 to 17355.
20290 tests found (test 17356 to 18045)
There are 20290 tests, see "Raw output" for the list of tests 17356 to 18045.
20290 tests found (test 18046 to 18753)
There are 20290 tests, see "Raw output" for the list of tests 18046 to 18753.
20290 tests found (test 18754 to 19538)
There are 20290 tests, see "Raw output" for the list of tests 18754 to 19538.
20290 tests found (test 19539 to 20290)
There are 20290 tests, see "Raw output" for the list of tests 19539 to 20290.

Artifacts

Produced during runtime
Name Size
Event File Expired
3.77 KB
Test results for Linux-3.11 all-but-dask Expired
163 KB
Test results for Linux-3.12 Expired
148 KB
Test results for Linux-3.12 flaky Expired
666 Bytes
Test results for Linux-3.9 Expired
148 KB
Test results for Linux-3.9 bare-minimum Expired
124 KB
Test results for Linux-3.9 min-all-deps Expired
166 KB
Test results for Windows-3.12 Expired
153 KB
Test results for Windows-3.9 Expired
152 KB
Test results for macOS-3.12 Expired
149 KB
Test results for macOS-3.9 Expired
149 KB