You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… in PLC, re-enables full CI testing (#3167)
closes#3124
* Adds check to avoid allocating and copying zero-length device vectors. This prevents the seg fault shown below.
* Removes the special case to ignore seg faults in CI scripts
* Adds a test to reproduce seg fault locally (see output below).
This PR addresses the problem shown below:
```
================================= test session starts =================================
platform linux -- Python 3.8.15, pytest-7.2.0, pluggy-1.0.0 -- /opt/conda/envs/test/bin/python3.8
cachedir: .pytest_cache
rapids_pytest_benchmark: 0.0.14
benchmark: 3.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /cugraph/python/pylibcugraph, configfile: pytest.ini
plugins: cov-4.0.0, rapids-pytest-benchmark-0.0.14, benchmark-3.2.3
collected 9 items / 8 deselected / 1 selected
python/pylibcugraph/pylibcugraph/tests/test_graph_sg.py::test_SGGraph_create_from_cudf
get edgelist...edgelist = src dst wgt
0 0 1 0.0
1 1 2 0.1
2 2 4 0.2
done
create Graph...done
created SGGraph plc_graph=<pylibcugraph.graphs.SGGraph object at 0x7fb7e35f30f0>
PASSED
=========================== 1 passed, 8 deselected in 1.69s ===========================
Segmentation fault (core dumped)
```
@cjnolet found a work-around for us, so this should pass CI and can be merged after rapidsai/raft#1224
Authors:
- Rick Ratzel (https://github.com/rlratzel)
- Chuck Hastings (https://github.com/ChuckHastings)
- Corey J. Nolet (https://github.com/cjnolet)
- AJ Schmidt (https://github.com/ajschmidt8)
Approvers:
- AJ Schmidt (https://github.com/ajschmidt8)
- Chuck Hastings (https://github.com/ChuckHastings)
- Brad Rees (https://github.com/BradReesWork)
URL: #3167
CI crashes with a seg fault on pytest teardown.
This is blocking cugraph from merging PRs.
The text was updated successfully, but these errors were encountered: