From: Tom Rini Date: Tue, 15 Oct 2024 18:28:26 +0000 (-0600) Subject: CI: Do not test "sleep" in QEMU X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/static/gitweb.css?a=commitdiff_plain;h=08128f05a671d1cfd6eb84169fdab81ff0e0d064;p=u-boot.git 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 --- diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index b66d49a62b..11f1d5ad20 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -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" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a52e15d0f..d938c7f31d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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