git: 819961c5808b - main - Temporarily skip sys.geom.class.multipath.failloop.failloop in CI

Li-Wen Hsu lwhsu at FreeBSD.org
Tue Sep 28 18:06:29 UTC 2021


The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=819961c5808b053c626648e202dec42a19ebe7a6

commit 819961c5808b053c626648e202dec42a19ebe7a6
Author:     Li-Wen Hsu <lwhsu at FreeBSD.org>
AuthorDate: 2021-09-28 18:02:27 +0000
Commit:     Li-Wen Hsu <lwhsu at 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


More information about the dev-commits-src-main mailing list