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

CI: Pin PYTEST_WORKERS=1 for Windows builds due to memory errors #47318

Merged
merged 34 commits into from
Jun 21, 2022

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke commented Jun 12, 2022

  1. Running tests without xdist is okay
  2. It's not due to pyarrow v8 (I think)
  3. Same error with windows-2019 as windows-latest

@jbrockmendel
Copy link
Member

im not seeing a way to download the log file (which is too big to display in the browser)

@mroeschke
Copy link
Member Author

im not seeing a way to download the log file (which is too big to display in the browser)

https://github.com/pandas-dev/pandas/suites/6902339888/logs?attempt=2 is the direct download link for the 3.9 build

@jbrockmendel
Copy link
Member

Looks like you're doing trial/error to figure out what test is failing? LMK if i can be helpful

@mroeschke
Copy link
Member Author

Looks like you're doing trial/error to figure out what test is failing? LMK if i can be helpful

Yeah, I think there's a memory leak somewhere but for now I'm just skipping tests to hopefully skip the one that leaks. If you have time/ideas how to identify the leaking test(s) that would be helpful

@mroeschke
Copy link
Member Author

mroeschke commented Jun 19, 2022

@jbrockmendel the first PR merged into main that exhibited these failures was #47299. If you have a chance could you comb over that PR again to see if any change there could cause a memory leak?

@jbrockmendel
Copy link
Member

jbrockmendel commented Jun 19, 2022 via email

@mroeschke mroeschke marked this pull request as ready for review June 21, 2022 07:26
@simonjayhawkins
Copy link
Member

lgtm to get ci green(ish) for now.

@mroeschke
Copy link
Member Author

@simonjayhawkins should we backport to 1.4.x or just merge to main?

@simonjayhawkins
Copy link
Member

probably should backport as could miss things when ci is not green?

@mroeschke mroeschke changed the title CI/DEBUG: Windows 3.9 memory error CI: Pin PYTEST_WORKERS=1 for Windows builds due to memory errors Jun 21, 2022
@mroeschke mroeschke added this to the 1.4.3 milestone Jun 21, 2022
@mroeschke mroeschke added CI Continuous Integration Windows Windows OS labels Jun 21, 2022
@mroeschke
Copy link
Member Author

Okay merging to get the CI back to green for Windows builds

@mroeschke mroeschke merged commit 01b8cd2 into pandas-dev:main Jun 21, 2022
@mroeschke mroeschke deleted the ci/window_debug branch June 21, 2022 17:01
meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Jun 21, 2022
@simonjayhawkins
Copy link
Member

sure. have not seen windows failures on 1.4.x but if we don't know the root cause then no harm.

simonjayhawkins pushed a commit that referenced this pull request Jun 21, 2022
…ows builds due to memory errors) (#47445)

Backport PR #47318: CI: Pin PYTEST_WORKERS=1 for Windows builds due to memory errors

Co-authored-by: Matthew Roeschke <[email protected]>
simonjayhawkins added a commit that referenced this pull request Jun 23, 2022
…for Windows builds due to memory errors) (#47445)"

This reverts commit 2d370af.
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
…das-dev#47318)

* CI/DEBUG: Windows 3.9 memory error

* Try skipping some suspicious tests

* Try skipping this hanging test

* Check if can run okay on single process

* Trigger CI

* run in parallel again

* Log even more

* a little less debugging

* dont try new pyarrow

* Try one more time with pyarrow<8, simple

* Comment out pyarrow hack

* Restart, show setup and full traceback

* Also try the older windows

* generate debug log again

* change to latest

* dump log if failure

* Create separate log per os/version

* See if it was any dependencies bumped recently

* See if same errors happen without dependencies pinnning

* Skip plotting tests on windows

* Skip in frame as well

* Trigger another run

* Is it the non-nano?

* skip resample tests

* Just use 1 thread for windows

* Full run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Windows Windows OS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants