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

This commit is contained in:
riastradh 2021-06-17 12:16:09 +00:00
parent 8d791e8417
commit 8166eec586
1 changed files with 17 additions and 1 deletions

View File

@ -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>
# 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()