https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/xarray-0.16.0 fails tests. Discovered on: x86 (internal ref: x86_at)
Created attachment 661155 [details] build.log.bz2 build log and emerge --info
Can you try to manually run this and let me know if it fails? pytest xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get Is it also a problem with 0.16.1?
gentoo-stable-x86 /tmp/portage/dev-python/xarray-0.16.0/work/xarray-0.16.0 # (x86) >: pytest xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get ======================================== test session starts ========================================= platform linux -- Python 3.7.9, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 PyQt5 5.14.2 -- Qt runtime 5.14.2 -- Qt compiled 5.14.2 rootdir: /tmp/portage/dev-python/xarray-0.16.0/work/xarray-0.16.0, configfile: setup.cfg plugins: hypothesis-5.24.4, qt-3.3.0 collected 1 item xarray/tests/test_backends.py F [100%] ============================================== FAILURES ============================================== ______________________________ test_no_warning_from_dask_effective_get _______________________________ @requires_scipy_or_netCDF4 def test_no_warning_from_dask_effective_get(): with create_tmp_file() as tmpfile: with pytest.warns(None) as record: ds = Dataset() ds.to_netcdf(tmpfile) > assert len(record) == 0 E assert 2 == 0 E + where 2 = len(WarningsChecker(record=True)) xarray/tests/test_backends.py:4352: AssertionError ========================================== warnings summary ========================================== /usr/lib/python3.7/site-packages/_pytest/config/__init__.py:1148 /usr/lib/python3.7/site-packages/_pytest/config/__init__.py:1148: PytestConfigWarning: Unknown config ini key: env self._warn_or_fail_if_strict("Unknown config ini key: {}\n".format(key)) -- Docs: https://docs.pytest.org/en/stable/warnings.html ====================================== short test summary info ======================================= FAILED xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get - assert 2 == 0 ==================================== 1 failed, 1 warning in 2.09s ==================================== 0.16.1 still fails the same, -- Docs: https://docs.pytest.org/en/stable/warnings.html ====================================== short test summary info ======================================= FAILED xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get - assert 2 == 0 == 1 failed, 3805 passed, 2977 skipped, 77 xfailed, 20 xpassed, 20014 warnings in 152.37s (0:02:32) == * ERROR: dev-python/xarray-0.16.1::gentoo failed (test phase): * Tests fail with python3.7
Same failure for x86.
(In reply to Thomas Deutschmann from comment #4) > Same failure for x86. What dev-python/dask version do you have installed?