Obtaining file:///testbed
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Preparing editable metadata (pyproject.toml): started
  Preparing editable metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: xarray
  Building editable for xarray (pyproject.toml): started
  Building editable for xarray (pyproject.toml): finished with status 'done'
  Created wheel for xarray: filename=xarray-0.0.0-0.editable-py3-none-any.whl size=12587 sha256=cdb7c7ea73a56a7664d7e135e601c67ffd15196d6eb1408ae9157fca4248e8a2
  Stored in directory: /tmp/pip-ephem-wheel-cache-wnk2tq_6/wheels/49/5f/4f/01b7d31ea6ddac9643da788242d33e5fd3467d95d17b032c6b
Successfully built xarray
Installing collected packages: xarray
  Attempting uninstall: xarray
    Found existing installation: xarray 2025.10.2.dev28+g97f3a7465
    Uninstalling xarray-2025.10.2.dev28+g97f3a7465:
      Successfully uninstalled xarray-2025.10.2.dev28+g97f3a7465
Successfully installed xarray-0.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
=== Running FAIL_TO_PASS tests ===
============================= test session starts ==============================
platform linux -- Python 3.11.14, pytest-9.0.1, pluggy-1.6.0
rootdir: /testbed
configfile: pyproject.toml
plugins: hypothesis-6.147.0, asyncio-1.3.0, cov-7.0.0, env-1.2.0, mypy-plugins-3.2.0, timeout-2.4.0, xdist-3.8.0, zarr-3.1.3
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 18 items

xarray/tests/test_backends_chunks.py .....FFFFFF.FFFFFF                  [100%]

=================================== FAILURES ===================================
____________ test_build_grid_chunks[2-10-region5-expected_chunks5] _____________
/testbed/xarray/tests/test_backends_chunks.py:27: in test_build_grid_chunks
    assert grid_chunks == expected_chunks
E   assert (3,) == (2,)
E     
E     At index 0 diff: 3 != 2
E     Use -v to get more diff
____________ test_build_grid_chunks[4-10-region6-expected_chunks6] _____________
/testbed/xarray/tests/test_backends_chunks.py:27: in test_build_grid_chunks
    assert grid_chunks == expected_chunks
E   assert (3,) == (3, 1)
E     
E     Right contains one more item: 1
E     Use -v to get more diff
____ test_align_nd_chunks[nd_v_chunks0-nd_backend_chunks0-expected_chunks0] ____
/testbed/xarray/tests/test_backends_chunks.py:43: in test_align_nd_chunks
    assert aligned_nd_chunks == expected_chunks
E   assert ((2, 1, 1, 2, 2),) == ((3, 3, 2),)
E     
E     At index 0 diff: (2, 1, 1, 2, 2) != (3, 3, 2)
E     Use -v to get more diff
____ test_align_nd_chunks[nd_v_chunks1-nd_backend_chunks1-expected_chunks1] ____
/testbed/xarray/tests/test_backends_chunks.py:43: in test_align_nd_chunks
    assert aligned_nd_chunks == expected_chunks
E   assert ((2, 2, 2), (2, 1, 2)) == ((2, 4), (3, 2))
E     
E     At index 0 diff: (2, 2, 2) != (2, 4)
E     Use -v to get more diff
_____ test_grid_rechunk[enc_chunks0-region0-nd_v_chunks0-expected_chunks0] _____
/testbed/xarray/tests/test_backends_chunks.py:111: in test_grid_rechunk
    result = grid_rechunk(
/testbed/xarray/backends/chunks.py:171: in grid_rechunk
    nd_aligned_chunks = align_nd_chunks(nd_v_chunks_region, nd_backend_chunks)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/testbed/xarray/backends/chunks.py:19: in align_nd_chunks
    raise ValueError(
E   ValueError: The total size of the variable chunks and the backend chunks do not match.
_____ test_grid_rechunk[enc_chunks1-region1-nd_v_chunks1-expected_chunks1] _____
/testbed/xarray/tests/test_backends_chunks.py:116: in test_grid_rechunk
    assert result.chunks == expected_chunks
E   assert ((6, 6, 1),) == ((6, 7),)
E     
E     At index 0 diff: (6, 6, 1) != (6, 7)
E     Use -v to get more diff
_____ test_grid_rechunk[enc_chunks3-region3-nd_v_chunks3-expected_chunks3] _____
/testbed/xarray/tests/test_backends_chunks.py:111: in test_grid_rechunk
    result = grid_rechunk(
/testbed/xarray/backends/chunks.py:171: in grid_rechunk
    nd_aligned_chunks = align_nd_chunks(nd_v_chunks_region, nd_backend_chunks)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/testbed/xarray/backends/chunks.py:19: in align_nd_chunks
    raise ValueError(
E   ValueError: The total size of the variable chunks and the backend chunks do not match.
_____ test_grid_rechunk[enc_chunks4-region4-nd_v_chunks4-expected_chunks4] _____
/testbed/xarray/tests/test_backends_chunks.py:111: in test_grid_rechunk
    result = grid_rechunk(
/testbed/xarray/backends/chunks.py:171: in grid_rechunk
    nd_aligned_chunks = align_nd_chunks(nd_v_chunks_region, nd_backend_chunks)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/testbed/xarray/backends/chunks.py:19: in align_nd_chunks
    raise ValueError(
E   ValueError: The total size of the variable chunks and the backend chunks do not match.
_____ test_grid_rechunk[enc_chunks5-region5-nd_v_chunks5-expected_chunks5] _____
/testbed/xarray/tests/test_backends_chunks.py:111: in test_grid_rechunk
    result = grid_rechunk(
/testbed/xarray/backends/chunks.py:171: in grid_rechunk
    nd_aligned_chunks = align_nd_chunks(nd_v_chunks_region, nd_backend_chunks)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/testbed/xarray/backends/chunks.py:19: in align_nd_chunks
    raise ValueError(
E   ValueError: The total size of the variable chunks and the backend chunks do not match.
_____ test_grid_rechunk[enc_chunks6-region6-nd_v_chunks6-expected_chunks6] _____
/testbed/xarray/tests/test_backends_chunks.py:111: in test_grid_rechunk
    result = grid_rechunk(
/testbed/xarray/backends/chunks.py:171: in grid_rechunk
    nd_aligned_chunks = align_nd_chunks(nd_v_chunks_region, nd_backend_chunks)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/testbed/xarray/backends/chunks.py:19: in align_nd_chunks
    raise ValueError(
E   ValueError: The total size of the variable chunks and the backend chunks do not match.
_____ test_grid_rechunk[enc_chunks7-region7-nd_v_chunks7-expected_chunks7] _____
/testbed/xarray/tests/test_backends_chunks.py:111: in test_grid_rechunk
    result = grid_rechunk(
/testbed/xarray/backends/chunks.py:171: in grid_rechunk
    nd_aligned_chunks = align_nd_chunks(nd_v_chunks_region, nd_backend_chunks)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/testbed/xarray/backends/chunks.py:19: in align_nd_chunks
    raise ValueError(
E   ValueError: The total size of the variable chunks and the backend chunks do not match.
_____ test_grid_rechunk[enc_chunks8-region8-nd_v_chunks8-expected_chunks8] _____
/testbed/xarray/tests/test_backends_chunks.py:111: in test_grid_rechunk
    result = grid_rechunk(
/testbed/xarray/backends/chunks.py:171: in grid_rechunk
    nd_aligned_chunks = align_nd_chunks(nd_v_chunks_region, nd_backend_chunks)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/testbed/xarray/backends/chunks.py:19: in align_nd_chunks
    raise ValueError(
E   ValueError: The total size of the variable chunks and the backend chunks do not match.
==================================== PASSES ====================================
=========================== short test summary info ============================
PASSED xarray/tests/test_backends_chunks.py::test_build_grid_chunks[10-3-region0-expected_chunks0]
PASSED xarray/tests/test_backends_chunks.py::test_build_grid_chunks[10-3-region1-expected_chunks1]
PASSED xarray/tests/test_backends_chunks.py::test_build_grid_chunks[10-3-None-expected_chunks2]
PASSED xarray/tests/test_backends_chunks.py::test_build_grid_chunks[10-3-region3-expected_chunks3]
PASSED xarray/tests/test_backends_chunks.py::test_build_grid_chunks[10-3-region4-expected_chunks4]
PASSED xarray/tests/test_backends_chunks.py::test_grid_rechunk[enc_chunks2-region2-nd_v_chunks2-expected_chunks2]
FAILED xarray/tests/test_backends_chunks.py::test_build_grid_chunks[2-10-region5-expected_chunks5]
FAILED xarray/tests/test_backends_chunks.py::test_build_grid_chunks[4-10-region6-expected_chunks6]
FAILED xarray/tests/test_backends_chunks.py::test_align_nd_chunks[nd_v_chunks0-nd_backend_chunks0-expected_chunks0]
FAILED xarray/tests/test_backends_chunks.py::test_align_nd_chunks[nd_v_chunks1-nd_backend_chunks1-expected_chunks1]
FAILED xarray/tests/test_backends_chunks.py::test_grid_rechunk[enc_chunks0-region0-nd_v_chunks0-expected_chunks0]
FAILED xarray/tests/test_backends_chunks.py::test_grid_rechunk[enc_chunks1-region1-nd_v_chunks1-expected_chunks1]
FAILED xarray/tests/test_backends_chunks.py::test_grid_rechunk[enc_chunks3-region3-nd_v_chunks3-expected_chunks3]
FAILED xarray/tests/test_backends_chunks.py::test_grid_rechunk[enc_chunks4-region4-nd_v_chunks4-expected_chunks4]
FAILED xarray/tests/test_backends_chunks.py::test_grid_rechunk[enc_chunks5-region5-nd_v_chunks5-expected_chunks5]
FAILED xarray/tests/test_backends_chunks.py::test_grid_rechunk[enc_chunks6-region6-nd_v_chunks6-expected_chunks6]
FAILED xarray/tests/test_backends_chunks.py::test_grid_rechunk[enc_chunks7-region7-nd_v_chunks7-expected_chunks7]
FAILED xarray/tests/test_backends_chunks.py::test_grid_rechunk[enc_chunks8-region8-nd_v_chunks8-expected_chunks8]
========================= 12 failed, 6 passed in 0.89s =========================
Reward: 0
