From 16dc1de31340d9e1e83e2658a41b4672d7aeae6d Mon Sep 17 00:00:00 2001 From: Hyunsu Cho Date: Wed, 30 Mar 2022 15:10:52 -0700 Subject: [PATCH 1/3] Enable faulthandler to show details when 0xC0000005 error occurs --- Jenkinsfile-win64 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile-win64 b/Jenkinsfile-win64 index 8a2df603b6da..5d13954b373f 100644 --- a/Jenkinsfile-win64 +++ b/Jenkinsfile-win64 @@ -153,9 +153,9 @@ def TestWin64() { conda activate ${env_name} && for /R %%i in (python-package\\dist\\*.whl) DO python -m pip install "%%i" """ echo "Running Python tests..." - bat "conda activate ${env_name} && python -m pytest -v -s -rxXs --fulltrace tests\\python" + bat "conda activate ${env_name} && python -X faulthandler -m pytest -v -s -rxXs --fulltrace tests\\python" bat """ - conda activate ${env_name} && python -m pytest -v -s -rxXs --fulltrace -m "(not slow) and (not mgpu)" tests\\python-gpu + conda activate ${env_name} && python -X faulthandler -m pytest -v -s -rxXs --fulltrace -m "(not slow) and (not mgpu)" tests\\python-gpu """ bat "conda env remove --name ${env_name}" deleteDir() From 3b24cbfb51074c3c15a40132e1626520cf52891f Mon Sep 17 00:00:00 2001 From: jiamingy Date: Thu, 31 Mar 2022 08:51:58 +0800 Subject: [PATCH 2/3] Remove modin from win dep. --- tests/ci_build/conda_env/win64_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ci_build/conda_env/win64_test.yml b/tests/ci_build/conda_env/win64_test.yml index 5d761ede8835..5fa57739d240 100644 --- a/tests/ci_build/conda_env/win64_test.yml +++ b/tests/ci_build/conda_env/win64_test.yml @@ -8,13 +8,13 @@ dependencies: - matplotlib - scikit-learn - pandas +- matplotlib - pytest - boto3 - hypothesis - jsonschema - cupy - python-graphviz -- modin-ray - pip - py-ubjson - cffi From f867bf5931efd4938e4fbf3509177b888535666e Mon Sep 17 00:00:00 2001 From: jiamingy Date: Thu, 31 Mar 2022 09:12:21 +0800 Subject: [PATCH 3/3] fix. --- tests/ci_build/conda_env/win64_test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/ci_build/conda_env/win64_test.yml b/tests/ci_build/conda_env/win64_test.yml index 5fa57739d240..3f62c034c6e0 100644 --- a/tests/ci_build/conda_env/win64_test.yml +++ b/tests/ci_build/conda_env/win64_test.yml @@ -8,7 +8,6 @@ dependencies: - matplotlib - scikit-learn - pandas -- matplotlib - pytest - boto3 - hypothesis