Skip to content

⚠️ CI failed on Unit tests Windows x64 pymin_conda_forge_openblas (last failure: Aug 11, 2026) ⚠️ #34717

Closed

Description

@scikit-learn-bot

CI failed on Unit tests Windows x64 pymin_conda_forge_openblas (Aug 11, 2026)

  • Test Collection Failure

Activity

  1. added
    Needs Triage
    on Aug 11, 2026
  2. lesteve commented on Aug 11, 2026

    @lesteve
    Member

    August 11 is interesting: Windows fatal exception access violation build log

    Failing tests:

    FAILED cross_decomposition/tests/test_pls.py::test_singular_value_helpers[7-100-200] - worker 'gw1' crashed while running 'cross_decomposition/tests/test_pls.py::test_singular_value_helpers[7-100-200]'
    FAILED linear_model/tests/test_ransac.py::test_ransac_final_model_fit_sample_weight - worker 'gw0' crashed while running 'linear_model/tests/test_ransac.py::test_ransac_final_model_fit_sample_weight'
    FAILED linear_model/tests/test_bayes.py::test_bayesian_ridge_score_values - worker 'gw3' crashed while running 'linear_model/tests/test_bayes.py::test_bayesian_ridge_score_values'
    FAILED tests/test_common.py::test_estimators[LabelPropagation(max_iter=5)-check_classifiers_train] - worker 'gw6' crashed while running 'tests/test_common.py::test_estimators[LabelPropagation(max_iter=5)-check_classifiers_train]'
    FAILED tests/test_common.py::test_estimators[GaussianProcessClassifier()-check_classifiers_train] - worker 'gw5' crashed while running 'tests/test_common.py::test_estimators[GaussianProcessClassifier()-check_classifiers_train]'
    FAILED neural_network/tests/test_mlp.py::test_lbfgs_classification[X0-y0] - worker 'gw4' crashed while running 'neural_network/tests/test_mlp.py::test_lbfgs_classification[X0-y0]'
    FAILED tests/test_kernel_approximation.py::test_polynomial_count_sketch[0-1-500-0.1] - worker 'gw8' crashed while running 'tests/test_kernel_approximation.py::test_polynomial_count_sketch[0-1-500-0.1]'
    FAILED utils/tests/test_extmath.py::test_randomized_eigsh_compared_to_others[10] - worker 'gw9' crashed while running 'utils/tests/test_extmath.py::test_randomized_eigsh_compared_to_others[10]'
    FAILED decomposition/tests/test_dict_learning.py::test_max_iter - worker 'gw10' crashed while running 'decomposition/tests/test_dict_learning.py::test_max_iter'
    FAILED linear_model/tests/test_coordinate_descent.py::test_lasso_cv_positive_constraint - worker 'gw12' crashed while running 'linear_model/tests/test_coordinate_descent.py::test_lasso_cv_positive_constraint'
    FAILED tests/test_common.py::test_estimators[GaussianProcessClassifier()-check_classifiers_train(readonly_memmap=True)] - worker 'gw13' crashed while running 'tests/test_common.py::test_estimators[GaussianProcessClassifier()-check_classifiers_train(readonly_memmap=True)]'
    FAILED tests/test_common.py::test_estimators[LabelPropagation(max_iter=5)-check_classifiers_train(readonly_memmap=True)] - worker 'gw7' crashed while running 'tests/test_common.py::test_estimators[LabelPropagation(max_iter=5)-check_classifiers_train(readonly_memmap=True)]'
    FAILED tests/test_common.py::test_estimators[MLPClassifier(max_iter=100)-check_classifiers_train] - worker 'gw11' crashed while running 'tests/test_common.py::test_estimators[MLPClassifier(max_iter=100)-check_classifiers_train]'
    FAILED semi_supervised/tests/test_label_propagation.py::test_label_spreading_closed_form[float32-LabelPropagation-parameters0-0.1] - worker 'gw14' crashed while running 'semi_supervised/tests/test_label_propagation.py::test_label_spreading_closed_form[float32-LabelPropagation-parameters0-0.1]'
    FAILED tests/test_random_projection.py::test_inverse_transform[7-True-GaussianRandomProjection-1000-1000-coo_matrix] - worker 'gw15' crashed while running 'tests/test_random_projection.py::test_inverse_transform[7-True-GaussianRandomProjection-1000-1000-coo_matrix]'
    FAILED linear_model/tests/test_ridge.py::test_ridge_ground_truth_positive_test[0.001-True] - worker 'gw18' crashed while running 'linear_model/tests/test_ridge.py::test_ridge_ground_truth_positive_test[0.001-True]'
    FAILED metrics/tests/test_pairwise.py::test_cosine_distances - worker 'gw2' crashed while running 'metrics/tests/test_pairwise.py::test_cosine_distances'
    FAILED decomposition/tests/test_incremental_pca.py::test_explained_variances - worker 'gw17' crashed while running 'decomposition/tests/test_incremental_pca.py::test_explained_variances'
    = 18 failed, 23110 passed, 8630 skipped, 172 xfailed, 86 xpassed, 5292 warnings in 355.79s (0:05:55) =
    

    Relevant part of of the traceback maybe?

    ........................................................................ [  8%]
    ........................................................................ [  8%]
    Windows fatal exception: access violation
    
    Thread 0x0000224c (most recent call first):
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 327 in wait
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\joblib\externals\loky\backend\queues.py", line 147 in _feed
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 982 in run
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 1045 in _bootstrap_inner
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 1002 in _bootstrap
    
    Thread 0x00002188 (most recent call first):
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\multiprocessing\connection.py", line 828 in _exhaustive_wait
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\multiprocessing\connection.py", line 896 in wait
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\joblib\externals\loky\process_executor.py", line 681 in wait_result_broken_or_wakeup
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\joblib\externals\loky\process_executor.py", line 623 in run
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 1045 in _bootstrap_inner
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 1002 in _bootstrap
    
    Thread 0x00001ea0 (most recent call first):
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\multiprocessing\connection.py", line 695 in accept
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\multiprocessing\connection.py", line 480 in accept
      File "D:\a\scikit-learn\scikit-learn\sklearn\callback\_transport.py", line 119 in _accept
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 982 in run
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 1045 in _bootstrap_inner
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 1002 in _bootstrap
    
    Thread 0x00001080 (most recent call first):
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\multiprocessing\connection.py", line 695 in accept
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\multiprocessing\connection.py", line 480 in accept
      File "D:\a\scikit-learn\scikit-learn\sklearn\callback\_transport.py", line 119 in _accept
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 982 in run
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 1045 in _bootstrap_inner
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 1002 in _bootstrap
    
    Thread 0x00000840 (most recent call first):
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\multiprocessing\connection.py", line 695 in accept
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\multiprocessing\connection.py", line 480 in accept
      File "D:\a\scikit-learn\scikit-learn\sklearn\callback\_transport.py", line 119 in _accept
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 982 in run
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 1045 in _bootstrap_inner
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\threading.py", line 1002 in _bootstrap
    
    Thread 0x00000f1c (most recent call first):
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 534 in read
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 567 in from_io
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 1160 in _thread_receiver
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 341 in run
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 411 in _perform_spawn
    
    Current thread 0x00002540 (most recent call first):
      File "D:\a\scikit-learn\scikit-learn\sklearn\datasets\_samples_generator.py", line 781 in make_regression
      File "D:\a\scikit-learn\scikit-learn\sklearn\utils\_param_validation.py", line 218 in wrapper
      File "D:\a\scikit-learn\scikit-learn\sklearn\cross_decomposition\tests\test_pls.py", line 498 in test_singular_value_helpers
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\python.py", line 167 in pytest_pyfunc_call
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_callers.py", line 121 in _multicall
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_hooks.py", line 512 in __call__
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\python.py", line 1707 in runtest
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\runner.py", line 184 in pytest_runtest_call
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_callers.py", line 121 in _multicall
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_hooks.py", line 512 in __call__
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\runner.py", line 250 in <lambda>
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\runner.py", line 361 in from_call
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\runner.py", line 249 in call_and_report
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\runner.py", line 139 in runtestprotocol
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\runner.py", line 118 in pytest_runtest_protocol
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_callers.py", line 121 in _multicall
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_hooks.py", line 512 in __call__
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\xdist\remote.py", line 227 in run_one_test
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\xdist\remote.py", line 206 in pytest_runtestloop
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_callers.py", line 121 in _multicall
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_hooks.py", line 512 in __call__
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\main.py", line 384 in _main
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\main.py", line 330 in wrap_session
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\_pytest\main.py", line 377 in pytest_cmdline_main
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_callers.py", line 121 in _multicall
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\pluggy\_hooks.py", line 512 in __call__
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\xdist\remote.py", line 427 in <module>
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 1291 in executetask
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 341 in run
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 411 in _perform_spawn
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 389 in integrate_as_primary_thread
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 1273 in serve
      File "C:\Users\runneradmin\miniconda3\envs\testvenv\Lib\site-packages\execnet\gateway_base.py", line 1806 in serve
      File "<string>", line 8 in <module>
      File "<string>", line 1 in <module>
    ........................................................................ [  8%]
    .......[gw1] node down: Not properly terminated
    F
    replacing crashed worker gw1
    
    
  3. lesteve commented on Aug 11, 2026

    @lesteve
    Member

    Looks like this is happening on PRs as well, e.g. this build log for this PR commit.

  4. AnneBeyer commented on Aug 11, 2026

    @AnneBeyer
    Member

    Looks like this is happening on PRs as well, e.g. this build log for this PR commit.

    Re-triggering the CI made it go away though. 🤷

  5. lesteve commented on Aug 11, 2026

    @lesteve
    Member

    Yup this is not deterministic but still annoying that it affects PRs and main (in other words, this is not a global random seed kind of issue), I guess we can wait a bit to see how often this happens.

    A wild-guess: this may have been caused by the lock-file update on Monday https://github.com/scikit-learn/scikit-learn/pull/34690/changes#diff-33c0aff24bf5c37f702ac2b37bcf6c29df85523b603314a4b58ed52e79d5a675, maybe OpenBLAS 0.3.33 -> 0.3.34.

    Let's try to nerd-snipe the maintainer on triage duty and see what happens @jeremiedbb 😜.

  6. scikit-learn-bot commented on Aug 12, 2026

    @scikit-learn-bot
    ContributorAuthor

    CI is no longer failing! ✅

    Successful run on Aug 21, 2026

  7. added and removed
    Needs Triage
    on Aug 14, 2026
  8. betatim commented on Aug 18, 2026

    @betatim
    Member

    I bumped into this problem as well in #34769. Asking AI to investigate the failure it found this issue and hypothesized that maybe it has something to do with callbacks because of where the workers were when they crashed (_accept()). This reminded me of #34734

    After more digging by the AI I think the callback issue isn't the cause here.

  9. lesteve commented on Aug 19, 2026

    @lesteve
    Member

    Honestly it's completely fine to wait and see how often this happens, but it definitely seem to happen often enough so that I have seen it in a few PRs. If I was on triage 1 and I was annoyed enough about it, here is the kind of thing I would try:

    • how to get a C stack-trace to get more information where the problem comes from. There is probably an pytest or Python option (faulthandler or something) to get the C stack-trace, I don't know it off the top of my head, maybe it doesn't work on Windows though, not sure.
    • push 10 times in a PR branch to see how often this happens and hopefully get a C stack-trace with the previous option if it exists.
    • revert 🔒 🤖 CI Update lock files for main CI build(s) 🔒 🤖 #34690 with the best wild guess hypothesis being that the last lock-file caused the issue. It could also be a different things like a vibe-coded GHA Windows image update that caused this random crashes who knows 🤷

    Footnotes

    1. full disclosure: I am on triage next week 😅 . ↩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions