Skip to content
Snippets Groups Projects
Commit 76929b7f authored by auphelia's avatar auphelia
Browse files

[Jenkins] remove xfail marker from zyngbuild tests

parent 2a322f66
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,6 @@ from finn.util.test import get_build_env
@pytest.mark.board
@pytest.mark.end2end
@pytest.mark.xfail
def test_end2end_access_board():
build_env = get_build_env("zynq", 5)
if build_env["ip"] == "":
......
......@@ -671,9 +671,11 @@ class TestEnd2End:
@pytest.mark.slow
@pytest.mark.vivado
@pytest.mark.vitis
@pytest.mark.xfail
@pytest.mark.parametrize("kind", ["zynq", "alveo"])
def test_build(self, topology, wbits, abits, QONNX_export, kind):
# temporarily adding skip for alveo builds
if kind == "alveo":
pytest.skip("Alveo tests temporarily excluded")
if kind == "alveo" and ("VITIS_PATH" not in os.environ):
pytest.skip("VITIS_PATH not set")
prev_chkpt_name = get_checkpoint_name(
......@@ -694,9 +696,11 @@ class TestEnd2End:
@pytest.mark.slow
@pytest.mark.vivado
@pytest.mark.vitis
@pytest.mark.xfail
@pytest.mark.parametrize("kind", ["zynq", "alveo"])
def test_make_pynq_driver(self, topology, wbits, abits, QONNX_export, kind):
# temporarily adding skip for alveo builds
if kind == "alveo":
pytest.skip("Alveo tests temporarily excluded")
if kind == "alveo" and ("VITIS_PATH" not in os.environ):
pytest.skip("VITIS_PATH not set")
prev_chkpt_name = get_checkpoint_name(
......@@ -710,8 +714,10 @@ class TestEnd2End:
)
@pytest.mark.parametrize("kind", ["zynq", "alveo"])
@pytest.mark.xfail
def test_deploy(self, topology, wbits, abits, QONNX_export, kind):
# temporarily adding skip for alveo builds
if kind == "alveo":
pytest.skip("Alveo tests temporarily excluded")
prev_chkpt_name = get_checkpoint_name(
topology, wbits, abits, QONNX_export, "driver_" + kind
)
......@@ -734,8 +740,10 @@ class TestEnd2End:
)
@pytest.mark.parametrize("kind", ["zynq", "alveo"])
@pytest.mark.xfail
def test_run_on_hw(self, topology, wbits, abits, QONNX_export, kind):
# temporarily adding skip for alveo builds
if kind == "alveo":
pytest.skip("Alveo tests temporarily excluded")
prev_chkpt_name = get_checkpoint_name(
topology, wbits, abits, QONNX_export, "deploy_" + kind
)
......@@ -759,8 +767,10 @@ class TestEnd2End:
assert np.isclose(y, output_tensor_npy).all()
@pytest.mark.parametrize("kind", ["zynq", "alveo"])
@pytest.mark.xfail
def test_throughput_hw(self, topology, wbits, abits, QONNX_export, kind):
# temporarily adding skip for alveo builds
if kind == "alveo":
pytest.skip("Alveo tests temporarily excluded")
prev_chkpt_name = get_checkpoint_name(
topology, wbits, abits, QONNX_export, "deploy_" + kind
)
......@@ -819,7 +829,6 @@ class TestEnd2End:
ret[largest_bsize]["throughput[images/s]"],
)
@pytest.mark.xfail
def test_upload_results_to_dashboard(self, topology, wbits, abits, QONNX_export):
# ToDo: Extend the dashboard to also upload QONNX exported models?
if QONNX_export:
......
......@@ -182,7 +182,6 @@ def test_end2end_cybsec_mlp_export(QONNX_export):
@pytest.mark.slow
@pytest.mark.vivado
@pytest.mark.end2end
@pytest.mark.xfail
@pytest.mark.parametrize("QONNX_export", [False, True])
def test_end2end_cybsec_mlp_build(QONNX_export):
model_file = get_checkpoint_name("export", QONNX_export)
......@@ -230,7 +229,6 @@ def test_end2end_cybsec_mlp_build(QONNX_export):
@pytest.mark.end2end
@pytest.mark.xfail
@pytest.mark.parametrize("QONNX_export", [False, True])
def test_end2end_cybsec_mlp_run_on_hw(QONNX_export):
build_env = get_build_env(build_kind, target_clk_ns)
......
......@@ -80,7 +80,6 @@ def test_end2end_ext_weights_download():
@pytest.mark.slow
@pytest.mark.vivado
@pytest.mark.end2end
@pytest.mark.xfail
def test_end2end_ext_weights_build():
model_file = get_checkpoint_name("download")
load_test_checkpoint_or_skip(model_file)
......@@ -114,7 +113,6 @@ def test_end2end_ext_weights_build():
@pytest.mark.board
@pytest.mark.end2end
@pytest.mark.xfail
def test_end2end_ext_weights_dataset():
# make sure we have local copies of mnist dataset files
subprocess.check_output(["mkdir", "-p", mnist_local])
......@@ -131,7 +129,6 @@ def test_end2end_ext_weights_dataset():
@pytest.mark.end2end
@pytest.mark.xfail
def test_end2end_ext_weights_run_on_hw():
build_env = get_build_env(build_kind, target_clk_ns)
deploy_dir = get_checkpoint_name("build")
......
......@@ -360,8 +360,6 @@ def test_fpgadataflow_ipstitch_vitis_end2end(board, period_ns, extw):
@pytest.mark.fpgadataflow
@pytest.mark.slow
@pytest.mark.vivado
# temporarily marked as xfail
@pytest.mark.xfail
def test_fpgadataflow_ipstitch_zynqbuild_end2end(board):
model = create_two_fc_model()
if model.graph.node[0].op_type == "StreamingDataflowPartition":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment