dask / dask/distributed

Flaky `test_scatter_compute_lose`

Open
#6,730 0 comments 0 reactions 0 assignees View on GitHub
flaky test regression
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

Might be a recent regression:

image

```
__________________________ test_scatter_compute_lose ___________________________
c =
s =
a =
b =
@gen_cluster(client=True)
asyncdeftest_scatter_compute_lose(c, s, a, b):
[x] = await c.scatter([[1, 2, 3, 4]], workers=a.address)
y = c.submit(inc, 1, workers=b.address)
z = c.submit(slowadd, x, y, delay=0.2)
await asyncio.sleep(0.1)
await a.close()
with pytest.raises(CancelledError):
> await wait(z)
E Failed: DID NOT RAISE
distributed/tests/test_client.py:3942: Failed
----------------------------- Captured stderr call -----------------------------
2022-07-15 17:50:19,265 - distributed.worker - WARNING - Compute Failed
Key: slowadd-12ea486410272c2ea75c5d36876e43d0
Function: slowadd
args: ([1, 2, 3, 4], 2)
kwargs: {'delay': 0.2}
Exception: 'TypeError(\'can only concatenate list (not "int") to list\')'
```
https://github.com/dask/distributed/runs/7362409614?check_suite_focus=true#step:11:1271

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.