Bug#987816: dask.distributed: FTBFS due to a build-time test failure

2021-05-21 Thread Stefano Rivera
Control: tag -1 + unreproducible
Control: forwarded -1 https://github.com/dask/distributed/issues/4839

Hi Andrej (2021.04.30_05:27:41_-0400)
> While rebuilding your package for Apertis, I found that it fails to
> build because a few of the build-time tests fail. I rebuilt the package
> in Debian and received the same result.

> __ test_process_time 
> ___
> ___ test_thread_time 
> ___

I tried to reproduce this, twice, and these tests passed, no FTBFS.

The particular numbers in those tests look like they were pulled out of
thin air.

I do however see test failures in the autopkgtest, which are somewhat
flaky.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



Bug#987816: dask.distributed: FTBFS due to a build-time test failure

2021-04-30 Thread Andrej Shadura
Source: dask.distributed
Version: 2021.01.0+ds.1-2
Severity: important
Tags: ftbfs
User: de...@lists.apertis.org
Usertags: apertis-ftbfs
X-Debbugs-Cc: de...@lists.apertis.org

Dear Maintainer,

While rebuilding your package for Apertis, I found that it fails to
build because a few of the build-time tests fail. I rebuilt the package
in Debian and received the same result.

__ test_process_time 
___

def test_process_time():
start = metrics.process_time()
run_for(0.05)
dt = metrics.process_time() - start
>   assert 0.03 <= dt <= 0.2
E   assert 0.03 <= 0.0257041389835

distributed/tests/test_metrics.py:27: AssertionError
___ test_thread_time 
___

def test_thread_time():
start = metrics.thread_time()
run_for(0.05)
dt = metrics.thread_time() - start
>   assert 0.03 <= dt <= 0.2
E   assert 0.03 <= 0.02791333997788

distributed/tests/test_metrics.py:48: AssertionError
…

Please find the full bug report in the attachment.

-- 
Cheers,
  Andrej


dask.distributed_amd64-2021-04-30T08:46:30Z.gz
Description: application/gzip