Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flaky test_local_directory #6934

Closed
hendrikmakait opened this issue Aug 23, 2022 · 0 comments · Fixed by #6954
Closed

flaky test_local_directory #6934

hendrikmakait opened this issue Aug 23, 2022 · 0 comments · Fixed by #6954
Assignees
Labels
flaky test Intermittent failures on CI.

Comments

@hendrikmakait
Copy link
Member

hendrikmakait commented Aug 23, 2022

____________________________ test_local_directory _____________________________

s = <Scheduler 'tcp://127.0.0.1:55342', workers: 0, cores: 0, tasks: 0>

    @gen_cluster(nthreads=[])
    async def test_local_directory(s):
        with tmpfile() as fn:
            with dask.config.set(temporary_directory=fn):
                w = await Worker(s.address)
>               assert w.local_directory.startswith(fn)
E               AssertionError: assert False
E                +  where False = <built-in method startswith of str object at 0x000001C1E395E670>('C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpyw3554ym.')
E                +    where <built-in method startswith of str object at 0x000001C1E395E670> = 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpyw3554ym\\dask-worker-space\\worker-vv9ala7j'.startswith
E                +      where 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpyw3554ym\\dask-worker-space\\worker-vv9ala7j' = <Worker 'tcp://127.0.0.1:55343', status: running, stored: 0, running: 0/2, ready: 0, comm: 0, waiting: 0>.local_directory

distributed\tests\test_worker.py:1373: AssertionError
---------------------------- Captured stdout call -----------------------------
Dumped cluster state to test_cluster_dump\test_local_directory.yaml
---------------------------- Captured stderr call -----------------------------
2022-08-23 11:15:32,173 - distributed.diskutils - ERROR - Failed to remove 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpyw3554ym\\dask-worker-space\\worker-vv9ala7j' (failed in <built-in function scandir>): [WinError 3] The system cannot find the path specified: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpyw3554ym\\dask-worker-space\\worker-vv9ala7j'
2022-08-23 11:15:32,173 - distributed.diskutils - ERROR - Failed to remove 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpyw3554ym\\dask-worker-space\\worker-vv9ala7j' (failed in <built-in function rmdir>): [WinError 2] The system cannot find the file specified: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpyw3554ym\\dask-worker-space\\worker-vv9ala7j'

https://github.com/dask/distributed/runs/7967444014?check_suite_focus=true#step:11:1267

See also: #6935

Notes:

  • So far, this has only appeared on windows-latest, 3.10.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky test Intermittent failures on CI.
Projects
None yet
1 participant