CI: Do not test "sleep" in QEMU
PATCH 1/1 CI: Do not test "sleep" in QEMU
When we have platforms being emulated by QEMU we cannot rely on the "sleep" command running for the expected wall-clock amount of time. Even with our current allowance for deviation from expected time, it will still fail from time to time. Exclude the sleep test here.
Signed-off-by Tom Rini <[email protected]>
--- .azure-pipelines.yml | 9 +++++++++ .gitlab-ci.yml | 9 +++++++++ 2 files changed, 18 insertions(+)
.azure-pipelines.yml +9 -0
@@ -400,12 +400,15 @@ stages: evb_ast2500: TEST_PY_BD: "evb-ast2500" TEST_PY_ID: "--id qemu" + TEST_PY_TEST_SPEC: "not sleep" evb_ast2600: TEST_PY_BD: "evb-ast2600" TEST_PY_ID: "--id qemu" + TEST_PY_TEST_SPEC: "not sleep" vexpress_ca9x4: TEST_PY_BD: "vexpress_ca9x4" TEST_PY_ID: "--id qemu" + TEST_PY_TEST_SPEC: "not sleep" integratorcp_cm926ejs: TEST_PY_BD: "integratorcp_cm926ejs" TEST_PY_ID: "--id qemu"
@@ -464,21 +467,27 @@ stages: r2dplus_i82557c: TEST_PY_BD: "r2dplus" TEST_PY_ID: "--id i82557c_qemu" + TEST_PY_TEST_SPEC: "not sleep" r2dplus_pcnet: TEST_PY_BD: "r2dplus" TEST_PY_ID: "--id pcnet_qemu" + TEST_PY_TEST_SPEC: "not sleep" r2dplus_rtl8139: TEST_PY_BD: "r2dplus" TEST_PY_ID: "--id rtl8139_qemu" + TEST_PY_TEST_SPEC: "not sleep" r2dplus_tulip: TEST_PY_BD: "r2dplus" TEST_PY_ID: "--id tulip_qemu" + TEST_PY_TEST_SPEC: "not sleep" sifive_unleashed_sdcard: TEST_PY_BD: "sifive_unleashed" TEST_PY_ID: "--id sdcard_qemu" + TEST_PY_TEST_SPEC: "not sleep" sifive_unleashed_spi-nor: TEST_PY_BD: "sifive_unleashed" TEST_PY_ID: "--id spi-nor_qemu" + TEST_PY_TEST_SPEC: "not sleep" xilinx_zynq_virt: TEST_PY_BD: "xilinx_zynq_virt" TEST_PY_ID: "--id qemu"
.gitlab-ci.yml +9 -0
@@ -306,12 +306,14 @@ sandbox trace_test.py: evb-ast2500 test.py: variables: TEST_PY_BD: "evb-ast2500" + TEST_PY_TEST_SPEC: "not sleep" TEST_PY_ID: "--id qemu" <<: *buildman_and_testpy_dfn evb-ast2600 test.py: variables: TEST_PY_BD: "evb-ast2600" + TEST_PY_TEST_SPEC: "not sleep" TEST_PY_ID: "--id qemu" <<: *buildman_and_testpy_dfn
@@ -323,6 +325,7 @@ sandbox_flattree test.py: vexpress_ca9x4 test.py: variables: TEST_PY_BD: "vexpress_ca9x4" + TEST_PY_TEST_SPEC: "not sleep" TEST_PY_ID: "--id qemu" <<: *buildman_and_testpy_dfn
@@ -432,36 +435,42 @@ qemu-xtensa-dc233c test.py: r2dplus_i82557c test.py: variables: TEST_PY_BD: "r2dplus" + TEST_PY_TEST_SPEC: "not sleep" TEST_PY_ID: "--id i82557c_qemu" <<: *buildman_and_testpy_dfn r2dplus_pcnet test.py: variables: TEST_PY_BD: "r2dplus" + TEST_PY_TEST_SPEC: "not sleep" TEST_PY_ID: "--id pcnet_qemu" <<: *buildman_and_testpy_dfn r2dplus_rtl8139 test.py: variables: TEST_PY_BD: "r2dplus" + TEST_PY_TEST_SPEC: "not sleep" TEST_PY_ID: "--id rtl8139_qemu" <<: *buildman_and_testpy_dfn r2dplus_tulip test.py: variables: TEST_PY_BD: "r2dplus" + TEST_PY_TEST_SPEC: "not sleep" TEST_PY_ID: "--id tulip_qemu" <<: *buildman_and_testpy_dfn sifive_unleashed_sdcard test.py: variables: TEST_PY_BD: "sifive_unleashed" + TEST_PY_TEST_SPEC: "not sleep" TEST_PY_ID: "--id sdcard_qemu" <<: *buildman_and_testpy_dfn sifive_unleashed_spi-nor test.py: variables: TEST_PY_BD: "sifive_unleashed" + TEST_PY_TEST_SPEC: "not sleep" TEST_PY_ID: "--id spi-nor_qemu" <<: *buildman_and_testpy_dfn
Signature · 1 line
2.43.0
Quoted 6 lines · Tom Rini
When we have platforms being emulated by QEMU we cannot rely on the "sleep" command running for the expected wall-clock amount of time. Even with our current allowance for deviation from expected time, it will still fail from time to time. Exclude the sleep test here.
Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom