sriov, tests: xfail vlan test
Testing sriov+vlan with ping is flaky.
Issue was already seen on ipv4 and ipv6 ping
tests, and it is tracked here:
Until it is solved, this commit xfail vlan+sriov test,
meaning it will fail but won't fail the whole lane.
@@ -895,15 +895,18 @@ var _ = Describe("[Serial]SRIOV", func() {
It("should be able to ping between two VMIs with the same VLAN over SRIOV network", func() {
_, vlanedVMI2 := createSriovVMs(sriovVlanNetworkName, sriovVlanNetworkName, cidrVlaned1, "192.168.0.2/24")
+ assert.XFail("suspected cloud-init issue: https://github.com/kubevirt/kubevirt/issues/4642", func() {
By("pinging from vlanedVMI2 and the anonymous vmi over vlan")
Eventually(func() error {
return libnet.PingFromVMConsole(vlanedVMI2, cidrToIP(cidrVlaned1))
}, 15*time.Second, time.Second).ShouldNot(HaveOccurred())
})
+ })
It("should NOT be able to ping between Vlaned VMI and a non Vlaned VMI", func() {
_, nonVlanedVMI := createSriovVMs(sriovVlanNetworkName, sriovnet3, cidrVlaned1, "192.168.0.3/24")
+ assert.XFail("suspected cloud-init issue: https://github.com/kubevirt/kubevirt/issues/4642", func() {
By("pinging between nonVlanedVMIand the anonymous vmi")
Eventually(func() error {
return libnet.PingFromVMConsole(nonVlanedVMI, cidrToIP(cidrVlaned1))
@@ -912,6 +915,7 @@ var _ = Describe("[Serial]SRIOV", func() {
})
})
})
+})
var _ = Describe("[Serial]Macvtap", func() {
var err error
