-
Notifications
You must be signed in to change notification settings - Fork 318
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
Intermittent pytest-xdist failures on Mac CI runners #1491
Comments
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 12, 2022
…#1491), don't use plt.show() in tests, add explanatory comments to conftest.py
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 12, 2022
…#1491), don't use plt.show() in tests, add explanatory comments to conftest.py
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 15, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * cache modflow executables (conformant to MODFLOW-USGS/executables#7) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts (and postprocessing CI step) * separate workflows for benchmarks, examples and regression tests (allow independent scheduling/testing)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 15, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * cache modflow executables (conformant to MODFLOW-USGS/executables#7) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts (and postprocessing CI step) * separate workflows for benchmarks, examples and regression tests (allow independent scheduling/testing)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 16, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job to (creates artifact benchmarks-<workflow run ID>) * cache modflow executables (per MODFLOW-USGS/executables#7)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 16, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job to (creates artifact benchmarks-<workflow run ID>) * cache modflow executables (per MODFLOW-USGS/executables#7)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 16, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * cache modflow executables (per MODFLOW-USGS/executables#7)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 16, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * cache modflow executables (per MODFLOW-USGS/executables#7) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address #1479la) * reenable PathlineFile.get_destination_pathline_data() benchmark
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 16, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * cache modflow executables (per MODFLOW-USGS/executables#7) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 17, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * cache modflow executables (per MODFLOW-USGS/executables#7) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization * update ci.yml usages to commit.yml * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * update to codecov action v3 * decrease coverage precision to 2 places (avoid small deltas)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 17, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * cache modflow executables (+ invalidation on new release) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization * update ci.yml usages to commit.yml * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * update to codecov action v3 * decrease coverage precision to 2 places (avoid small deltas)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 17, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * cache modflow executables (+ invalidation on new release) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization * update ci.yml usages to commit.yml * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * update to codecov action v3 * decrease coverage precision to 2 places (avoid small deltas)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 17, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * define reusable action to cache modflow exes (+ invalidation on new release) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization * update ci.yml usages to commit.yml * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * update to codecov action v3 * decrease coverage precision to 2 places (avoid small deltas)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 18, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * define actions to cache modflow exes (+ invalidate on new release) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization * update ci.yml usages to commit.yml * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * update to codecov action v3 * decrease coverage precision to 2 places (avoid small deltas)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 18, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * define actions to cache modflow exes (+ invalidate on new release) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization * update ci.yml usages to commit.yml * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * update to codecov action v3 * decrease coverage precision to 2 places (avoid small deltas)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 18, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * define actions to cache modflow exes (+ invalidate on new release) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization * update ci.yml usages to commit.yml * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * update to codecov action v3 * decrease coverage precision to 2 places (avoid small deltas)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 18, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * define actions to cache modflow exes (+ invalidate on new release) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization * update ci.yml usages to commit.yml * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * update to codecov action v3 * decrease coverage precision to 2 places (avoid small deltas)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 18, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * define actions to cache modflow exes (+ invalidate on new release) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization * update ci.yml usages to commit.yml * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * update to codecov action v3 * decrease coverage precision to 2 places (avoid small deltas)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 18, 2022
* workaround intermittent macos CI matplotlib failures (modflowpy#1491) * don't use plt.show() in tests * add explanatory comments to conftest.py * skip ex-gwtgwt-mt3dms-p10 mf6 example test (MODFLOW-USGS/modflow6#1008) * give test_mt3d.py::test_mfnwt_CrnkNic more retries * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * separate CI workflows for benchmarks, examples and regression test * name benchmark artifacts benchmarks-<system>-python version>-<workflow run ID> * add postprocess_benchmarks.py to scripts/ * add benchmark postprocessing CI job (creates artifact benchmarks-<workflow run ID>) * define actions to cache modflow exes (+ invalidate on new release) * move sort to child classes' __init__() from _ModpathSeries.get_data() (address modflowpy#1479) * reenable PathlineFile.get_destination_pathline_data() benchmark * add test that PathlineFile sorts on initialization * update ci.yml usages to commit.yml * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * update to codecov action v3 * decrease coverage precision to 2 places (avoid small deltas)
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 19, 2022
* fix ci.yml -> commit.yml * fix modflowpy#1491: workaround intermittent macos CI matplotlib failures * fix modflowpy#1479: sort in child's ctor instead of _ModpathSeries.get_data() * don't plt.show() in tests * add comments to conftest.py * give test_mt3d.py::test_mfnwt_CrnkNic more retries * skip ex-gwtgwt-mt3dms-p10 mf6 example (per MODFLOW-USGS/modflow6#1008) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts/ * separate CI workflows for benchmarks, examples and regression tests * name benchmark CI artifacts benchmarks-<system>-python version>-<run ID> * add CI job to post-process benchmarks (creates artifact benchmarks-<run ID>) * add cross-platform CI action to cache modflow exes & invalidate on new release * reenable PathlineFile.get_destination_pathline_data() benchmark * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * decrease coverage precision to 1 decimal place (avoid small deltas) * update to codecov action v3
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 19, 2022
* fix ci.yml -> commit.yml * fix modflowpy#1491: workaround intermittent macos CI matplotlib failures * fix modflowpy#1479: sort in child's ctor instead of _ModpathSeries.get_data() * don't plt.show() in tests * add comments to conftest.py * give test_mt3d.py::test_mfnwt_CrnkNic more retries * skip ex-gwtgwt-mt3dms-p10 mf6 example (per MODFLOW-USGS/modflow6#1008) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts/ * separate CI workflows for benchmarks, examples and regression tests * name benchmark CI artifacts benchmarks-<system>-python version>-<run ID> * add CI job to post-process benchmarks (creates artifact benchmarks-<run ID>) * add cross-platform CI action to cache modflow exes & invalidate on new release * reenable PathlineFile.get_destination_pathline_data() benchmark * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * decrease coverage precision to 1 decimal place (avoid small deltas) * update to codecov action v3
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 19, 2022
* fix ci.yml -> commit.yml * fix modflowpy#1491: workaround intermittent macos CI matplotlib failures * fix modflowpy#1479: sort in child's ctor instead of _ModpathSeries.get_data() * don't plt.show() in tests * add comments to conftest.py * give test_mt3d.py::test_mfnwt_CrnkNic more retries * skip ex-gwtgwt-mt3dms-p10 mf6 example (per MODFLOW-USGS/modflow6#1008) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts/ * separate CI workflows for benchmarks, examples and regression tests * name benchmark CI artifacts benchmarks-<system>-python version>-<run ID> * add CI job to post-process benchmarks (creates artifact benchmarks-<run ID>) * add cross-platform CI action to cache modflow exes & invalidate on new release * reenable PathlineFile.get_destination_pathline_data() benchmark * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * decrease coverage precision to 1 decimal place (avoid small deltas) * update to codecov action v3
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Aug 20, 2022
* fix ci.yml -> commit.yml * fix modflowpy#1491: workaround intermittent macos CI matplotlib failures * fix modflowpy#1479: sort in child's ctor instead of _ModpathSeries.get_data() * don't plt.show() in tests * add comments to conftest.py * give test_mt3d.py::test_mfnwt_CrnkNic more retries * skip ex-gwtgwt-mt3dms-p10 mf6 example (per MODFLOW-USGS/modflow6#1008) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts/ * separate CI workflows for benchmarks, examples and regression tests * name benchmark CI artifacts benchmarks-<system>-python version>-<run ID> * add CI job to post-process benchmarks (creates artifact benchmarks-<run ID>) * add cross-platform CI action to cache modflow exes & invalidate on new release * reenable PathlineFile.get_destination_pathline_data() benchmark * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * decrease coverage precision to 1 decimal place (avoid small deltas) * update to codecov action v3
jdhughes-usgs
pushed a commit
that referenced
this issue
Aug 22, 2022
* fix ci.yml -> commit.yml * fix #1491: workaround intermittent macos CI matplotlib failures * fix #1479: sort in child's ctor instead of _ModpathSeries.get_data() * don't plt.show() in tests * add comments to conftest.py * give test_mt3d.py::test_mfnwt_CrnkNic more retries * skip ex-gwtgwt-mt3dms-p10 mf6 example (per MODFLOW-USGS/modflow6#1008) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts/ * separate CI workflows for benchmarks, examples and regression tests * name benchmark CI artifacts benchmarks-<system>-python version>-<run ID> * add CI job to post-process benchmarks (creates artifact benchmarks-<run ID>) * add cross-platform CI action to cache modflow exes & invalidate on new release * reenable PathlineFile.get_destination_pathline_data() benchmark * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * decrease coverage precision to 1 decimal place (avoid small deltas) * update to codecov action v3
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Dec 14, 2022
* fix ci.yml -> commit.yml * fix modflowpy#1491: workaround intermittent macos CI matplotlib failures * fix modflowpy#1479: sort in child's ctor instead of _ModpathSeries.get_data() * don't plt.show() in tests * add comments to conftest.py * give test_mt3d.py::test_mfnwt_CrnkNic more retries * skip ex-gwtgwt-mt3dms-p10 mf6 example (per MODFLOW-USGS/modflow6#1008) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts/ * separate CI workflows for benchmarks, examples and regression tests * name benchmark CI artifacts benchmarks-<system>-python version>-<run ID> * add CI job to post-process benchmarks (creates artifact benchmarks-<run ID>) * add cross-platform CI action to cache modflow exes & invalidate on new release * reenable PathlineFile.get_destination_pathline_data() benchmark * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * decrease coverage precision to 1 decimal place (avoid small deltas) * update to codecov action v3
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Dec 14, 2022
* fix ci.yml -> commit.yml * fix modflowpy#1491: workaround intermittent macos CI matplotlib failures * fix modflowpy#1479: sort in child's ctor instead of _ModpathSeries.get_data() * don't plt.show() in tests * add comments to conftest.py * give test_mt3d.py::test_mfnwt_CrnkNic more retries * skip ex-gwtgwt-mt3dms-p10 mf6 example (per MODFLOW-USGS/modflow6#1008) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts/ * separate CI workflows for benchmarks, examples and regression tests * name benchmark CI artifacts benchmarks-<system>-python version>-<run ID> * add CI job to post-process benchmarks (creates artifact benchmarks-<run ID>) * add cross-platform CI action to cache modflow exes & invalidate on new release * reenable PathlineFile.get_destination_pathline_data() benchmark * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * decrease coverage precision to 1 decimal place (avoid small deltas) * update to codecov action v3
wpbonelli
added a commit
that referenced
this issue
Dec 14, 2022
* fix ci.yml -> commit.yml * fix #1491: workaround intermittent macos CI matplotlib failures * fix #1479: sort in child's ctor instead of _ModpathSeries.get_data() * don't plt.show() in tests * add comments to conftest.py * give test_mt3d.py::test_mfnwt_CrnkNic more retries * skip ex-gwtgwt-mt3dms-p10 mf6 example (per MODFLOW-USGS/modflow6#1008) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts/ * separate CI workflows for benchmarks, examples and regression tests * name benchmark CI artifacts benchmarks-<system>-python version>-<run ID> * add CI job to post-process benchmarks (creates artifact benchmarks-<run ID>) * add cross-platform CI action to cache modflow exes & invalidate on new release * reenable PathlineFile.get_destination_pathline_data() benchmark * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * decrease coverage precision to 1 decimal place (avoid small deltas) * update to codecov action v3
wpbonelli
added a commit
to wpbonelli/flopy
that referenced
this issue
Dec 14, 2022
* fix ci.yml -> commit.yml * fix modflowpy#1491: workaround intermittent macos CI matplotlib failures * fix modflowpy#1479: sort in child's ctor instead of _ModpathSeries.get_data() * don't plt.show() in tests * add comments to conftest.py * give test_mt3d.py::test_mfnwt_CrnkNic more retries * skip ex-gwtgwt-mt3dms-p10 mf6 example (per MODFLOW-USGS/modflow6#1008) * rename release/ to scripts/ * move pull_request_prepare.py to scripts/ * add postprocess_benchmarks.py to scripts/ * separate CI workflows for benchmarks, examples and regression tests * name benchmark CI artifacts benchmarks-<system>-python version>-<run ID> * add CI job to post-process benchmarks (creates artifact benchmarks-<run ID>) * add cross-platform CI action to cache modflow exes & invalidate on new release * reenable PathlineFile.get_destination_pathline_data() benchmark * don't upload coverage after smoke tests, benchmarks, regression tests and example tests * upload coverage on PR as well as push (fix codecov bot comments) * decrease coverage precision to 1 decimal place (avoid small deltas) * update to codecov action v3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mac CI runners sometimes see worker crashes, e.g.
worker 'gw2' crashed...
. Seems to trace back to matplotlib'sgca()
andgcf()
. The culprit is usuallytest_binarygrid_util.py::test_mfgrddisv_modelgrid
, I'm not yet sure why.Examples:
This may be related to a known
pytest-xdist
issue where tests almost always run in the main thread, but are not guaranteed to. Related discussions:pytest-xdist
breaks asyncio-based code expecting to be run in the main thread pytest-dev/pytest-xdist#620Matplotlib is not thread-safe, but it does not require the caller to be on the main thread. Perhaps there is a weird limitation on the Mac backends.
If above is the root cause, a possible workaround is to check if the test is on the main thread and skip if not, e.g.:
An alternative could be to add a pytest marker and separate CI job just for testing plot functions and run them serially on CI. There aren't that many so it shouldn't increase CI runtimes much.
Update: trying
agg
non-interactive backend for Mac CI in #1495The text was updated successfully, but these errors were encountered: