Skip to content

Duckarray tests for constructors and properties #10893

Duckarray tests for constructors and properties

Duckarray tests for constructors and properties #10893

Triggered via pull request December 31, 2023 18:44
Status Failure
Total duration 24m 47s
Artifacts 8

ci.yaml

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

Annotations

37 errors and 1 warning
ubuntu-latest py3.9 bare-minimum
Process completed with exit code 1.
ubuntu-latest py3.10 all-but-dask: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[float64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
ubuntu-latest py3.10 all-but-dask: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[int64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
ubuntu-latest py3.10 all-but-dask: xarray/testing/duckarrays.py#L110
TestReductions.test_reduce_variable[sum-is_real_floating] AssertionError: Left and right Variable objects are not identical Differing values: L Array(1.008608e+08, dtype=float64) R array(1.008608e+08, dtype=float32) Falsifying example: test_reduce_variable( self=<xarray.tests.duckarrays.test_array_api.TestReductions object at 0x7fc1cfe85090>, method='sum', dtype_assumption=is_real_floating, data=data(...), ) Draw 1: <xarray.Variable (0: 3)> Array([33620276., 33620276., 33620276.], dtype=float32) Draw 2: ['0'] actual: <xarray.Variable ()> Array(1.00860828e+08, dtype=float64) expected: <xarray.Variable ()> array(1.0086083e+08, dtype=float32) You can reproduce this example by temporarily adding @reproduce_failure('6.92.2', b'AXicY2ZgZGQAAiYGCGBiZDQG0QABxwA/') as a decorator on your test case
ubuntu-latest py3.10 all-but-dask
Process completed with exit code 1.
ubuntu-latest py3.11: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[int64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
ubuntu-latest py3.11: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[float64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
ubuntu-latest py3.11: xarray/testing/duckarrays.py#L110
TestReductions.test_reduce_variable[sum-is_real_floating] AssertionError: Left and right Variable objects are not identical Differing values: L Array(16777225., dtype=float64) R array(16777224., dtype=float32) Falsifying example: test_reduce_variable( self=<xarray.tests.duckarrays.test_array_api.TestReductions object at 0x7f7662cf5c50>, method='sum', dtype_assumption=is_real_floating, data=data(...), ) Draw 1: <xarray.Variable (0: 5)> Array([3355445., 3355445., 3355445., 3355445., 3355445.], dtype=float32) Draw 2: ['0'] actual: <xarray.Variable ()> Array(16777225., dtype=float64) expected: <xarray.Variable ()> array(16777224., dtype=float32) You can reproduce this example by temporarily adding @reproduce_failure('6.92.2', b'AXicY2ZgZGQAAhYGKDA2NgVRAARrAKU=') as a decorator on your test case
ubuntu-latest py3.11
Process completed with exit code 1.
ubuntu-latest py3.9 min-all-deps: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[float64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
ubuntu-latest py3.9 min-all-deps: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[int64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
ubuntu-latest py3.9 min-all-deps
Process completed with exit code 1.
ubuntu-latest py3.9: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[float64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
ubuntu-latest py3.9: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[int64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
ubuntu-latest py3.9: xarray/testing/duckarrays.py#L110
TestReductions.test_reduce_variable[max-is_real_floating] hypothesis.errors.FailedHealthCheck: It looks like your strategy is filtering out a lot of data. Health check found 50 filtered examples but only 9 good ones. This will make your tests much slower, and also will probably distort the data generation quite a lot. You should adapt your strategy to filter less. This can also be caused by a low max_leaves parameter in recursive() calls See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.filter_too_much to the suppress_health_check settings for this test.
ubuntu-latest py3.9: xarray/testing/duckarrays.py#L110
TestReductions.test_reduce_variable[sum-is_real_floating] AssertionError: Left and right Variable objects are not identical Differing values: L Array(1.008608e+08, dtype=float64) R array(1.008608e+08, dtype=float32) Falsifying example: test_reduce_variable( self=<xarray.tests.duckarrays.test_array_api.TestReductions object at 0x7f7a2fd3b340>, method='sum', dtype_assumption=is_real_floating, data=data(...), ) Draw 1: <xarray.Variable (0: 3)> Array([33620276., 33620276., 33620276.], dtype=float32) Draw 2: ['0'] actual: <xarray.Variable ()> Array(1.00860828e+08, dtype=float64) expected: <xarray.Variable ()> array(1.0086083e+08, dtype=float32) You can reproduce this example by temporarily adding @reproduce_failure('6.92.2', b'AXicY2ZgZGQAAiYGCGBiZDQG0QABxwA/') as a decorator on your test case
ubuntu-latest py3.9
Process completed with exit code 1.
ubuntu-latest py3.10 flaky: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[int64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
ubuntu-latest py3.10 flaky: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[float64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
ubuntu-latest py3.10 flaky: xarray/testing/duckarrays.py#L110
TestReductions.test_reduce_variable[sum-is_real_floating] AssertionError: Left and right Variable objects are not identical Differing values: L Array(16777217., dtype=float64) R array(16777216., dtype=float32) Falsifying example: test_reduce_variable( self=<xarray.tests.duckarrays.test_array_api.TestReductions object at 0x7f31cd511870>, method='sum', dtype_assumption=is_real_floating, data=data(...), ) Draw 1: <xarray.Variable (0: 2)> Array([1.6777216e+07, 1.0000000e+00], dtype=float32) Draw 2: ['0'] actual: <xarray.Variable ()> Array(16777217., dtype=float64) expected: <xarray.Variable ()> array(16777216., dtype=float32) You can reproduce this example by temporarily adding @reproduce_failure('6.92.2', b'AXicY2ZgZGQAAjABAYxwNowBAAEhAAo=') as a decorator on your test case
ubuntu-latest py3.10 flaky
Process completed with exit code 1.
macos-latest py3.9: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[float64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
macos-latest py3.9: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[int64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
macos-latest py3.9: xarray/testing/duckarrays.py#L110
TestReductions.test_reduce_variable[sum-is_real_floating] AssertionError: Left and right Variable objects are not identical Differing values: L Array([16777221.], dtype=float64) R array([16777220.], dtype=float32) Falsifying example: test_reduce_variable( self=<xarray.tests.duckarrays.test_array_api.TestReductions object at 0x1564f4220>, method='sum', dtype_assumption=is_real_floating, data=data(...), ) Draw 1: <xarray.Variable (0: 3, 1: 1)> Array([[5592407.], [5592407.], [5592407.]], dtype=float32) Draw 2: ['0'] actual: <xarray.Variable (1: 1)> Array([16777221.], dtype=float64) expected: <xarray.Variable (1: 1)> array([16777220.], dtype=float32) You can reproduce this example by temporarily adding @reproduce_failure('6.92.2', b'AXicY2ZgZGRgABFAiokBBkJDw0GiDAwACTEBDQ==') as a decorator on your test case
macos-latest py3.9
Process completed with exit code 1.
windows-latest py3.9: xarray\tests\test_units.py#L4744
TestDataset.test_stacking_stacked[float64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
windows-latest py3.9: xarray\tests\test_units.py#L4744
TestDataset.test_stacking_stacked[int32-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
windows-latest py3.9: xarray\testing\duckarrays.py#L110
TestReductions.test_reduce_variable[sum-is_real_floating] AssertionError: Left and right Variable objects are not identical Differing values: L Array(17764146., dtype=float64) R array(17764144., dtype=float32) Falsifying example: test_reduce_variable( self=<xarray.tests.duckarrays.test_array_api.TestReductions object at 0x0000018EC8D78700>, method='sum', dtype_assumption=is_real_floating, data=data(...), ) Draw 1: <xarray.Variable (0: 3, 1: 6)> Array([[986897., 986897., 986897., 986897., 986897., 986897.], [986897., 986897., 986897., 986897., 986897., 986897.], [986897., 986897., 986897., 986897., 986897., 986897.]], dtype=float32) Draw 2: ['0', '1'] actual: <xarray.Variable ()> Array(17764146., dtype=float64) expected: <xarray.Variable ()> array(17764144., dtype=float32) You can reproduce this example by temporarily adding @reproduce_failure('6.92.2', b'AXicY2ZgZGRgABFAiomVAQr4+QVBokAIAAM9AEE=') as a decorator on your test case
windows-latest py3.9
Process completed with exit code 1.
windows-latest py3.11: xarray\tests\test_units.py#L4744
TestDataset.test_stacking_stacked[float64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
windows-latest py3.11: xarray\tests\test_units.py#L4744
TestDataset.test_stacking_stacked[int32-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
windows-latest py3.11: xarray\testing\duckarrays.py#L110
TestReductions.test_reduce_variable[sum-is_real_floating] AssertionError: Left and right Variable objects are not identical Differing values: L Array([[1.008608e+08]], dtype=float64) R array([[1.008608e+08]], dtype=float32) Falsifying example: test_reduce_variable( self=<xarray.tests.duckarrays.test_array_api.TestReductions object at 0x000001FE7710C690>, method='sum', dtype_assumption=is_real_floating, data=data(...), ) Draw 1: <xarray.Variable (0: 3, 1: 1, 2: 1)> Array([[[33620276.]], [[33620276.]], [[33620276.]]], dtype=float32) Draw 2: ['0'] actual: <xarray.Variable (1: 1, 2: 1)> Array([[1.00860828e+08]], dtype=float64) expected: <xarray.Variable (1: 1, 2: 1)> array([[1.0086083e+08]], dtype=float32) You can reproduce this example by temporarily adding @reproduce_failure('6.92.2', b'AXicY2ZgZGRgABGMIIKJAYSggImR0Rgkx8AAAANOAEc=') as a decorator on your test case
windows-latest py3.11
Process completed with exit code 1.
macos-latest py3.11: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[float64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
macos-latest py3.11: xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[int64-data-method_reorder_levels] ValueError: conflicting MultiIndex level / variable name(s): x y
macos-latest py3.11: xarray/testing/duckarrays.py#L110
TestReductions.test_reduce_variable[sum-is_real_floating] AssertionError: Left and right Variable objects are not identical Differing values: L Array(16777225., dtype=float64) R array(16777224., dtype=float32) Falsifying example: test_reduce_variable( self=<xarray.tests.duckarrays.test_array_api.TestReductions object at 0x15301e5d0>, method='sum', dtype_assumption=is_real_floating, data=data(...), ) Draw 1: <xarray.Variable (0: 5)> Array([3355445., 3355445., 3355445., 3355445., 3355445.], dtype=float32) Draw 2: ['0'] actual: <xarray.Variable ()> Array(16777225., dtype=float64) expected: <xarray.Variable ()> array(16777224., dtype=float32) You can reproduce this example by temporarily adding @reproduce_failure('6.92.2', b'AXicY2ZgZGQAAhYGKDA2NgVRAARrAKU=') as a decorator on your test case
macos-latest py3.11
Process completed with exit code 1.
ubuntu-latest py3.11
Failed to save: Unable to reserve cache with key Linux-X64-py3.11-2023-12-31-b6c03294fc0998c7c39677c0e6bd98c2ab2c6976d5514fb5cbab109cb1433eea-linux-64-xarray-tests-args-b172995-root-dcc80ee-file-5dc9d7ff7d218e4cccc7267b38bc76e2bde7ba771224b53a9a2ae301a03d349d, another job may be creating this cache. More details: Cache already exists. Scope: refs/pull/6903/merge, Key: Linux-X64-py3.11-2023-12-31-b6c03294fc0998c7c39677c0e6bd98c2ab2c6976d5514fb5cbab109cb1433eea-linux-64-xarray-tests-args-b172995-root-dcc80ee-file-5dc9d7ff7d218e4cccc7267b38bc76e2bde7ba771224b53a9a2ae301a03d349d, Version: a2d23e1ed2659ed82c2139af6b060439ac5345ea8dad0c956f30fdd3bfee6aca

Artifacts

Produced during runtime
Name Size
Event File Expired
29.2 KB
Test results for Linux-3.10 Expired
2.57 MB
Test results for Linux-3.11 Expired
2.57 MB
Test results for Linux-3.9 Expired
2.57 MB
Test results for Windows-3.11 Expired
2.56 MB
Test results for Windows-3.9 Expired
2.56 MB
Test results for macOS-3.11 Expired
2.57 MB
Test results for macOS-3.9 Expired
2.57 MB