Closed mfbalin closed 1 week ago
To trigger regression tests:
@dgl-bot run [instance-type] [which tests] [compare-with-branch]
;
For example: @dgl-bot run g4dn.4xlarge all dmlc/master
or @dgl-bot run c5.9xlarge kernel,api dmlc/master
@Rhett-Ying Did the tests get enabled for our Linux CI or not, I can't parse the output of the CI.
EDIT: I forgot to enable building by default.
The tests passed on Linux and were skipped on Windows. I don't have a way to test whether it will be skipped on a system that does not support io_uring though. I am hoping that it works.
@Rhett-Ying
=================================== FAILURES ===================================
__________________________________ test_sign ___________________________________
def test_sign():
script = os.path.join(EXAMPLE_ROOT, "sign.py")
out = subprocess.run(["python", str(script)], capture_output=True)
assert (
out.returncode == 0
), f"stdout: {out.stdout.decode('utf-8')}\nstderr: {out.stderr.decode('utf-8')}"
stdout = out.stdout.decode("utf-8")
> assert float(stdout[-5:]) > 0.7
E AssertionError: assert 0.689 > 0.7
E + where 0.689 = float('.689\n')
tests/examples/test_sparse_examples.py:101: AssertionError
- generated xml file: /home/ubuntu/jenkins/workspace/dgl_PR-7506/pytest_backend.xml -
============================ slowest 100 durations =============================
25.62s call tests/examples/test_sparse_examples.py::test_twirls
17.99s call tests/examples/test_sparse_examples.py::test_hgnn
17.00s call tests/examples/test_sparse_examples.py::test_hypergraphatt
13.43s call tests/examples/test_sampling_examples.py::test_node_classification
13.05s call tests/examples/test_sparse_examples.py::test_gcnii
8.61s call tests/examples/test_sampling_examples.py::test_link_prediction
7.34s call tests/examples/test_sparse_examples.py::test_gat
5.64s call tests/examples/test_sparse_examples.py::test_gcn
5.42s call tests/examples/test_sparse_examples.py::test_appnp
5.02s call tests/examples/test_sparse_examples.py::test_c_and_s
4.79s call tests/examples/test_sparse_examples.py::test_sign
4.69s call tests/examples/test_sparse_examples.py::test_sgc
(24 durations < 0.005s hidden. Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED tests/examples/test_sparse_examples.py::test_sign - AssertionError: assert 0.689 > 0.7
+ where 0.689 = float('.689\n')
=================== 1 failed, 11 passed in 128.68s (0:02:08) ===================
FAIL: sparse examples on gpu
@dgl-bot
@Rhett-Ying
=================================== FAILURES =================================== __________________________________ test_sign ___________________________________ def test_sign(): script = os.path.join(EXAMPLE_ROOT, "sign.py") out = subprocess.run(["python", str(script)], capture_output=True) assert ( out.returncode == 0 ), f"stdout: {out.stdout.decode('utf-8')}\nstderr: {out.stderr.decode('utf-8')}" stdout = out.stdout.decode("utf-8") > assert float(stdout[-5:]) > 0.7 E AssertionError: assert 0.689 > 0.7 E + where 0.689 = float('.689\n') tests/examples/test_sparse_examples.py:101: AssertionError - generated xml file: /home/ubuntu/jenkins/workspace/dgl_PR-7506/pytest_backend.xml - ============================ slowest 100 durations ============================= 25.62s call tests/examples/test_sparse_examples.py::test_twirls 17.99s call tests/examples/test_sparse_examples.py::test_hgnn 17.00s call tests/examples/test_sparse_examples.py::test_hypergraphatt 13.43s call tests/examples/test_sampling_examples.py::test_node_classification 13.05s call tests/examples/test_sparse_examples.py::test_gcnii 8.61s call tests/examples/test_sampling_examples.py::test_link_prediction 7.34s call tests/examples/test_sparse_examples.py::test_gat 5.64s call tests/examples/test_sparse_examples.py::test_gcn 5.42s call tests/examples/test_sparse_examples.py::test_appnp 5.02s call tests/examples/test_sparse_examples.py::test_c_and_s 4.79s call tests/examples/test_sparse_examples.py::test_sign 4.69s call tests/examples/test_sparse_examples.py::test_sgc (24 durations < 0.005s hidden. Use -vv to show these durations.) =========================== short test summary info ============================ FAILED tests/examples/test_sparse_examples.py::test_sign - AssertionError: assert 0.689 > 0.7 + where 0.689 = float('.689\n') =================== 1 failed, 11 passed in 128.68s (0:02:08) =================== FAIL: sparse examples on gpu
This issue happens in rare. just re-run it.
Description
Checklist
Please feel free to remove inapplicable items for your PR.
Changes