Skip to content

debug output - #5111

Merged
TomAugspurger merged 1 commit into
dask:masterfrom
TomAugspurger:debug-partd
Jul 23, 2019
Merged

TomAugspurger merged 1 commit into
dask:masterfrom
TomAugspurger:debug-partd

Conversation

@TomAugspurger

Copy link
Copy Markdown
Member

No description provided.

@TomAugspurger

Copy link
Copy Markdown
Member Author

Apparently, AppVeyor has support for logging into the build worker. https://www.appveyor.com/docs/how-to/rdp-to-build-worker/ Testing it out.

@TomAugspurger

Copy link
Copy Markdown
Member Author

Well I reproduced it, but wasn't able to to figure out what's going wrong :/ Will try again later.

@TomAugspurger

Copy link
Copy Markdown
Member Author

I wonder if it's a race condition between the test and the atexit in partd.file. I may try monkey patching that to not remove files (I think pytest will clean up for us in the test context).

@TomAugspurger

Copy link
Copy Markdown
Member Author

Actually... I have no confidence that a monkeypatch will be serialized correctly between the processes...

@TomAugspurger

Copy link
Copy Markdown
Member Author

OK, trying with a user-specified pool=multiprocessing.pool.Pool() under the hypothesis that the failures were when the process pool closed before the assert about the files was made.

@TomAugspurger

Copy link
Copy Markdown
Member Author

I ran it successfully ~20 times with the Pool approach, so that may have been it.

I've reverted all the debug stuff and left just the change to the test. Merging if it passes, and will keep and eye out for sporadic failures.

@mrocklin

Copy link
Copy Markdown
Member

Woo! Go Tom!

There is no hero quite like a Windows-bug-squashing hero

@TomAugspurger

Copy link
Copy Markdown
Member Author

Seems like our appveyor builds are currently stuck in "queued". https://ci.appveyor.com/project/daskdev/dask/history. I'll let it sit for a bit to see if they start, but I may have broken something with my Remote Desktop debugging.

@TomAugspurger

Copy link
Copy Markdown
Member Author

Yay, they're running again (and this passed). Merging.

@TomAugspurger
TomAugspurger merged commit a5d3f80 into dask:master Jul 23, 2019
@TomAugspurger
TomAugspurger deleted the debug-partd branch July 23, 2019 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants