Skip to content

CI Segfault in the testing of the metrics #21339

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

Closed
glemaitre opened this issue Oct 15, 2021 · 0 comments
Closed

CI Segfault in the testing of the metrics #21339

glemaitre opened this issue Oct 15, 2021 · 0 comments

Comments

@glemaitre
Copy link
Member

glemaitre commented Oct 15, 2021

We recently moved DistanceMetric into metrics module: #21177

In #21337, a segfault happened in some of the tests. We should probably investigate if this is reproducible and linked to something introduced in #21337

A potential change is the following:
https://github.com/scikit-learn/scikit-learn/pull/21177/files#r723212793

The other changes are just moving files.

Link to the build that is failing:
https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=33615&view=logs&jobId=cdb9ac20-7056-5f9a-0c7e-7c443f61f8a0&j=cdb9ac20-7056-5f9a-0c7e-7c443f61f8a0&t=9e067a35-42f8-5d7a-14d3-926d2bc32e73

The tests that are failing are:

=================================== FAILURES ===================================
______________________ metrics/tests/test_dist_metrics.py ______________________
[gw1] linux -- Python 3.7.1 /usr/share/miniconda/envs/testvenv/bin/python
worker 'gw1' crashed while running 'metrics/tests/test_dist_metrics.py::test_cdist[X11-X21-euclidean]'
______________________ metrics/tests/test_dist_metrics.py ______________________
[gw2] linux -- Python 3.7.1 /usr/share/miniconda/envs/testvenv/bin/python
worker 'gw2' crashed while running 'metrics/tests/test_dist_metrics.py::test_cdist[X11-X21-cityblock]'
______________________ metrics/tests/test_dist_metrics.py ______________________
[gw3] linux -- Python 3.7.1 /usr/share/miniconda/envs/testvenv/bin/python
worker 'gw3' crashed while running 'metrics/tests/test_dist_metrics.py::test_cdist[X11-X21-seuclidean]'
______________________ metrics/tests/test_dist_metrics.py ______________________
[gw0] linux -- Python 3.7.1 /usr/share/miniconda/envs/testvenv/bin/python
worker 'gw0' crashed while running 'metrics/tests/test_dist_metrics.py::test_pdist[X11-X21-euclidean]'
______________________ metrics/tests/test_dist_metrics.py ______________________
[gw5] linux -- Python 3.7.1 /usr/share/miniconda/envs/testvenv/bin/python
worker 'gw5' crashed while running 'metrics/tests/test_dist_metrics.py::test_cdist[X11-X21-hamming]'
______________________ metrics/tests/test_dist_metrics.py ______________________
[gw4] linux -- Python 3.7.1 /usr/share/miniconda/envs/testvenv/bin/python
worker 'gw4' crashed while running 'metrics/tests/test_dist_metrics.py::test_cdist_bool_metric[X1_bool1-X2_bool1-matching]'
______________________ metrics/tests/test_dist_metrics.py ______________________
[gw6] linux -- Python 3.7.1 /usr/share/miniconda/envs/testvenv/bin/python
worker 'gw6' crashed while running 'metrics/tests/test_dist_metrics.py::test_pdist[X11-X21-seuclidean]'
______________________ metrics/tests/test_dist_metrics.py ______________________
[gw7] linux -- Python 3.7.1 /usr/share/miniconda/envs/testvenv/bin/python
worker 'gw7' crashed while running 'metrics/tests/test_dist_metrics.py::test_cdist[X11-X21-braycurtis]'
______________________ metrics/tests/test_dist_metrics.py ______________________
[gw8] linux -- Python 3.7.1 /usr/share/miniconda/envs/testvenv/bin/python
worker 'gw8' crashed while running 'metrics/tests/test_dist_metrics.py::test_pdist[X11-X21-cityblock]'
______________________ metrics/tests/test_dist_metrics.py ______________________
[gw9] linux -- Python 3.7.1 /usr/share/miniconda/envs/testvenv/bin/python
worker 'gw9' crashed while running 'metrics/tests/test_dist_metrics.py::test_pdist_bool_metrics[X1_bool1-matching]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant