Skip to content

4688 intermittent ci failures error invoking driver compilation phase - #4776

Merged
ajpotts merged 1 commit into
Bears-R-Us:mainfrom
ajpotts:4688_intermittent_CI_failures_error_invoking_driver_compilation_phase
Aug 9, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:mainfrom
ajpotts:4688_intermittent_CI_failures_error_invoking_driver_compilation_phase

Conversation

@ajpotts

@ajpotts ajpotts commented Aug 8, 2025 •

Copy link
Copy Markdown
Contributor

The purpose of this PR is to reduce the RAM usage for the multi-dimensional unit tests running the CI. It adds a script that will comment out a list of modules from the ServerModules.cfg that do not need to be tested in the multi-dimensional case. It also adds a pytest skip to any unit tests that depend on these modules when arkouda is compiled for the multidimesional case.

@ajpotts
ajpotts force-pushed the 4688_intermittent_CI_failures_error_invoking_driver_compilation_phase branch 3 times, most recently from baaa480 to f6015cb Compare August 8, 2025 21:44
@ajpotts

ajpotts commented Aug 8, 2025

Copy link
Copy Markdown
Contributor Author

I ran an experiment where I was able to get this PR to compile in the multi-dimensional case with these changes: #4593

@ajpotts
ajpotts marked this pull request as ready for review August 8, 2025 21:52
@ajpotts
ajpotts requested review from 1RyanK, drculhane, e-kayrakli, jaketrookman and vasslitvinov and removed request for vasslitvinov August 8, 2025 21:52

@vasslitvinov vasslitvinov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

I am not excited about splitting out pytest -c pytest.opts.ini. While this wins 20 or 30 seconds of wall time (a lot of sleep() there), this win might not be worth the added complexity.

@ajpotts

ajpotts commented Aug 8, 2025

Copy link
Copy Markdown
Contributor Author

@vasslitvinov Separating out pytest -c pytest.opts.ini is actually so the tests can run when CheckpointMsg is not compiled.

@jaketrookman jaketrookman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ajpotts
ajpotts force-pushed the 4688_intermittent_CI_failures_error_invoking_driver_compilation_phase branch from f6015cb to 173dfd9 Compare August 9, 2025 00:18
@ajpotts
ajpotts force-pushed the 4688_intermittent_CI_failures_error_invoking_driver_compilation_phase branch from 173dfd9 to f60f832 Compare August 9, 2025 00:44
@ajpotts
ajpotts merged commit 5697150 into Bears-R-Us:main Aug 9, 2025
@vasslitvinov

Copy link
Copy Markdown
Contributor

In retrospect, another solution is to have trim_server_modules.sh also remove the affected tests, i.e., checkpoint_test.py and comm_diagnostics_test.py, from pytest.ini. This is more direct than the relationship between max rank and whether these modules are compiled.

drculhane pushed a commit to drculhane/arkouda that referenced this pull request Aug 20, 2025
…Bears-R-Us#4776)

The purpose of this PR is to reduce the RAM usage for the
multi-dimensional unit tests running the CI. It adds a script that will
comment out a list of modules from the `ServerModules.cfg` that do not
need to be tested in the multi-dimensional case. It also adds a pytest
skip to any unit tests that depend on these modules when arkouda is
compiled for the multidimesional case.

Co-authored-by: ajpotts <[email protected]>
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.

3 participants