Module Name: src Committed By: riastradh Date: Thu Jun 17 12:16:09 UTC 2021
Modified Files: src/tests/net/if_wg: t_misc.sh Log Message: tests/net/if_wg: Mark as flaky (PR kern/56252). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/net/if_wg/t_misc.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/net/if_wg/t_misc.sh diff -u src/tests/net/if_wg/t_misc.sh:1.8 src/tests/net/if_wg/t_misc.sh:1.9 --- src/tests/net/if_wg/t_misc.sh:1.8 Wed Jun 16 23:45:52 2021 +++ src/tests/net/if_wg/t_misc.sh Thu Jun 17 12:16:09 2021 @@ -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.ry...@gmail.com> # All rights reserved. @@ -86,6 +86,10 @@ wg_rekey_body() $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 @@ wg_rekey_body() $HIJACKING wgconfig wg0 show peer peer0 destroy_wg_interfaces + + atf_fail "failed to trigger PR kern/56252" } wg_rekey_cleanup() @@ -202,6 +208,8 @@ wg_handshake_timeout_body() export RUMP_SERVER=$SOCK_LOCAL destroy_wg_interfaces + + atf_fail "failed to trigger PR kern/56252" } wg_handshake_timeout_cleanup() @@ -263,6 +271,8 @@ wg_cookie_body() # 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 @@ wg_cookie_body() $HIJACKING wgconfig wg0 destroy_wg_interfaces + + atf_fail "failed to trigger PR kern/56252" } wg_cookie_cleanup() @@ -342,6 +354,8 @@ wg_mobility_body() 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 @@ wg_mobility_body() 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()