Date: Tue, 28 Sep 2021 18:06:28 GMT From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 819961c5808b - main - Temporarily skip sys.geom.class.multipath.failloop.failloop in CI Message-ID: <202109281806.18SI6S8m029850@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=819961c5808b053c626648e202dec42a19ebe7a6 commit 819961c5808b053c626648e202dec42a19ebe7a6 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2021-09-28 18:02:27 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2021-09-28 18:02:27 +0000 Temporarily skip sys.geom.class.multipath.failloop.failloop in CI This test case uses `dtrace -c` but it has some issues at the moment While here, add a checker for dtrace executes successfully or not to provide a more informative error message. PR: 258763 Sponsored by: The FreeBSD Foundation --- tests/sys/geom/class/multipath/failloop.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/sys/geom/class/multipath/failloop.sh b/tests/sys/geom/class/multipath/failloop.sh index f9a1417ae37f..b089f0f53d11 100755 --- a/tests/sys/geom/class/multipath/failloop.sh +++ b/tests/sys/geom/class/multipath/failloop.sh @@ -36,6 +36,10 @@ failloop_head() } failloop_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/258763" + fi + sysctl -n kern.geom.notaste > kern.geom.notaste.txt load_gnop load_gmultipath @@ -59,6 +63,9 @@ failloop_body() # The dd command should've failed ... atf_check_equal 1 $dd_status # and triggered 1 or 2 path restores + if [ ! -f restore_count ]; then + atf_fail "dtrace didn't execute succfully" + fi if [ `cat restore_count` -gt 2 ]; then atf_fail "gmultipath restored paths too many times" fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109281806.18SI6S8m029850>