Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/if_wg tests/net/if_wg: Mark as flaky (PR kern/56252).



details:   https://anonhg.NetBSD.org/src/rev/d7b6ab34a462
branches:  trunk
changeset: 1021782:d7b6ab34a462
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jun 17 12:16:09 2021 +0000

description:
tests/net/if_wg: Mark as flaky (PR kern/56252).

diffstat:

 tests/net/if_wg/t_misc.sh |  18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diffs (74 lines):

diff -r fb5c5b0f73ca -r d7b6ab34a462 tests/net/if_wg/t_misc.sh
--- a/tests/net/if_wg/t_misc.sh Thu Jun 17 11:48:19 2021 +0000
+++ b/tests/net/if_wg/t_misc.sh Thu Jun 17 12:16:09 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_misc.sh,v 1.8 2021/06/16 23:45:52 riastradh Exp $
+#      $NetBSD: t_misc.sh,v 1.9 2021/06/17 12:16:09 riastradh Exp $
 #
 # Copyright (c) 2018 Ryota Ozaki <ozaki.ryota%gmail.com@localhost>
 # All rights reserved.
@@ -86,6 +86,10 @@
 
        $ping $ip_wg_peer
 
+       atf_expect_fail "PR kern/56252"
+
+       atf_expect_fail "PR kern/56252"
+
        # No reinitiation is performed
        atf_check -s exit:0 -o match:"$latest_handshake" \
            $HIJACKING wgconfig wg0 show peer peer0
@@ -113,6 +117,8 @@
            $HIJACKING wgconfig wg0 show peer peer0
 
        destroy_wg_interfaces
+
+       atf_fail "failed to trigger PR kern/56252"
 }
 
 wg_rekey_cleanup()
@@ -202,6 +208,8 @@
        export RUMP_SERVER=$SOCK_LOCAL
 
        destroy_wg_interfaces
+
+       atf_fail "failed to trigger PR kern/56252"
 }
 
 wg_handshake_timeout_cleanup()
@@ -263,6 +271,8 @@
        # and a session doesn't start
        $ping_fail $ip_wg_peer
 
+       atf_expect_fail "PR kern/56252"
+
        extract_new_packets $BUS > $outfile
        $DEBUG && cat $outfile
        # XXX length 64 indicates the message is a cookie message
@@ -286,6 +296,8 @@
            $HIJACKING wgconfig wg0
 
        destroy_wg_interfaces
+
+       atf_fail "failed to trigger PR kern/56252"
 }
 
 wg_cookie_cleanup()
@@ -342,6 +354,8 @@
        export RUMP_SERVER=$SOCK_LOCAL
        $ping_fail $ip_wg_peer
 
+       atf_expect_fail "PR kern/56252"
+
        extract_new_packets $BUS > $outfile
        $DEBUG && cat $outfile
 
@@ -380,6 +394,8 @@
        atf_check -s exit:0 -o not-match:"$ip_local.$port > $ip_peer.$port" cat $outfile
 
        destroy_wg_interfaces
+
+       atf_fail "failed to trigger PR kern/56252"
 }
 
 wg_mobility_cleanup()



Home | Main Index | Thread Index | Old Index