Kkubevirt-bote2e, net, sriov: Fix mem hotplug flake
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
net, e2e, SR-IOV: Add memory hotplug test Signed-off-by: Orel Misan <omisan@redhat.com> Signed-off-by: Nir Dothan <ndothan@redhat.com> | 7 个月前 | |
Also update sig network and test OWNERS Signed-off-by: Ryan Hallisey <rhallisey@nvidia.com> | 3 年前 | |
e2e, net, passt: Fix incorrect labels The passt label was mistakenly added to the generic net binding test instead of the specific passt test. Move the label to the correct test. Signed-off-by: Nir Dothan <ndothan@redhat.com> | 6 个月前 | |
e2e, netbinding: Dont override binding registration In some testing setups, KubeVirt is configured by external operators e.g [HCO](https://github.com/kubevirt/hyperconverged-cluster-operator). In those setups, this e2e suite should not override preconfigured values, in particular network binding plugins. This change makes this suite respect existing configuration, and only registering network binding plugins, if they are not already registered. Signed-off-by: Nir Dothan <ndothan@redhat.com> | 8 个月前 | |
e2e, net, passt: Fix incorrect labels The passt label was mistakenly added to the generic net binding test instead of the specific passt test. Move the label to the correct test. Signed-off-by: Nir Dothan <ndothan@redhat.com> | 6 个月前 | |
e2e, netbinding: Dont override binding registration In some testing setups, KubeVirt is configured by external operators e.g [HCO](https://github.com/kubevirt/hyperconverged-cluster-operator). In those setups, this e2e suite should not override preconfigured values, in particular network binding plugins. This change makes this suite respect existing configuration, and only registering network binding plugins, if they are not already registered. Signed-off-by: Nir Dothan <ndothan@redhat.com> | 8 个月前 | |
refactor: inline tests/network SIGDescribe func Signed-off-by: Daniel Hiller <dhiller@redhat.com> | 1 年前 | |
refactor: simplify SIG function signature Originating due to a review comment. Signed-off-by: Daniel Hiller <dhiller@redhat.com> | 1 年前 | |
tests, kvconfig: remove patchWorkloadUpdateMethodAndRolloutStrategy Previously there existed several copies of that function throughout tests. This commit removes those functions and instead adds additional kvconfig builder options to update the WorkloadUpdateStrategy and the patchWorkloadUpdateMethodAndRolloutRunStrategy. Signed-off-by: Adi Aloni <aaloni@redhat.com> | 9 个月前 | |
tests, kvconfig: remove patchWorkloadUpdateMethodAndRolloutStrategy Previously there existed several copies of that function throughout tests. This commit removes those functions and instead adds additional kvconfig builder options to update the WorkloadUpdateStrategy and the patchWorkloadUpdateMethodAndRolloutRunStrategy. Signed-off-by: Adi Aloni <aaloni@redhat.com> | 9 个月前 | |
net, libnet, interface: Move/rename assertLinkStateCmd func for reuse Moves the old assertLinkStateCmd function to libnet so that it can be reused in tests other than link_state. Also renames it to NewLinkStateAssersionCmd to better reflect what it does. Signed-off-by: Ananya Banerjee <anbanerj@redhat.com> | 10 个月前 | |
tests: Remove SkipIfUseFlannel Using kube-network-policies with Flannel allows to use Network policies. (this is the official suggestion by Flannel) Signed-off-by: Or Shoval <oshoval@redhat.com> | 9 个月前 | |
tests: drop flags.KubeVirtOcPath As much as we love OpenShift, we don't need to test or even use its command line tool oc in KubeVirt. Let us simplify our command line dealings by dropping it. Signed-off-by: Dan Kenigsberg <danken@redhat.com> | 1 年前 | |
consistent copyright notice Red Hat is willing to mark these files as copyrighted by the KubeVirt Authors. This is a follow-up of commit e36bb0bd79976 sed -i 's/\(20.., \)*20.. Red Hat, Inc./The KubeVirt Authors./' git grep -l '20.. Red Hat, Inc.'|grep -v staging|grep -v vendor|grep -v kubevirtci Signed-off-by: Dan Kenigsberg <danken@redhat.com> | 1 年前 | |
Use alpine VMI Image for liveness probe test. Cirros is not supported on s390x, so the probe test fails on s390x architecture. To maintain consistency and enable support on s390x, replace cirros with an alpine-based VMI image. Signed-off-by: Vamsi Krishna Siddu <vamsikrishna.siddu@ibm.com> | 10 个月前 | |
consistent copyright notice Red Hat is willing to mark these files as copyrighted by the KubeVirt Authors. This is a follow-up of commit e36bb0bd79976 sed -i 's/\(20.., \)*20.. Red Hat, Inc./The KubeVirt Authors./' git grep -l '20.. Red Hat, Inc.'|grep -v staging|grep -v vendor|grep -v kubevirtci Signed-off-by: Dan Kenigsberg <danken@redhat.com> | 1 年前 | |
e2e, net, sriov: Fix mem hotplug flake The test is currently flaking. It uses ConsitsOf instead of Contains, to analyze the status which is currently showing 2 interfaces instead of one. The reason why the status includes two interfaces instead of one is as follows: The virt-handler's logic responsible for reporting interface status of SR-IOV devices is comprised of two steps: 1. Info is collected from the domain spec, while the MAC address is taken from the vmi.spec.domain.interfaces[].mac field (if exists) [1]. 2. Info from guest agent enriches the existing status entries in case the MAC address reported by GA can be correlated with the MAC address reported in the status [2]. Since the MAC address is unspecified in the spec, it is also unspecified in the status and is therefore not correlated. Since GA reporting is unrecognized, it is considered a guest only interface and is reported as an additional interface. This is a known issue https://github.com/kubevirt/kubevirt/issues/16422. In order to fix correlation, set explicit MAC address in the spec in order to mitigate #1 above, and enable correlation in #2. The failure below [3] demonstrates how 2 interfaces were reported and how ConsitsOf was not satified with the results despite including the all the data that the gstruct matcher was asserting. [1] https://github.com/kubevirt/kubevirt/blob/395bd0da05f8b8d39326eb1b90da90b574a16e2b/pkg/network/setup/netstat.go#L308 [2] https://github.com/kubevirt/kubevirt/blob/395bd0da05f8b8d39326eb1b90da90b574a16e2b/pkg/network/setup/netstat.go#L333 [3] https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/16391/pull-kubevirt-e2e-kind-sriov/2004191256049094656 Expected <[]v1.VirtualMachineInstanceNetworkInterface | len:2, cap:2>: [ { IP: "", MAC: "", Name: "sriov-network", IPs: nil, PodInterfaceName: "podafa4cdb1f64", InterfaceName: "", InfoSource: "domain, multus-status", QueueCount: 0, LinkState: "", }, { IP: "", MAC: "86:4b:dc:31:e5:c8", Name: "", IPs: nil, PodInterfaceName: "", InterfaceName: "eth0", InfoSource: "guest-agent", QueueCount: 0, LinkState: "", }, ] to consist of <[]*gstruct.FieldsMatcher | len:1, cap:1>: [ { Fields: { "Name": <*matchers.EqualMatcher | 0xc0073e61a0>{ Expected: <string>"sriov-network", }, "InfoSource": <*matchers.ContainSubstringMatcher | 0xc004b126c0>{Substr: "domain", Args: nil}, }, IgnoreExtras: true, IgnoreMissing: false, failures: [ <*errors.NestedError | 0xc007a8d080>{ Path: ".Name", Err: <*errors.errorString | 0xc007108820>{ s: "Expected\n <string>: \nto equal\n <string>: sriov-network", }, }, <*errors.NestedError | 0xc007a8d0a0>{ Path: ".InfoSource", Err: <*errors.errorString | 0xc007108920>{ s: "Expected\n <string>: guest-agent\nto contain substring\n <string>: domain", }, }, ], }, ] the extra elements were <[]v1.VirtualMachineInstanceNetworkInterface | len:1, cap:1>: [ { IP: "", MAC: "86:4b:dc:31:e5:c8", Name: "", IPs: nil, PodInterfaceName: "", InterfaceName: "eth0", InfoSource: "guest-agent", QueueCount: 0, LinkState: "", Signed-off-by: Nir Dothan <ndothan@redhat.com> | 5 个月前 | |
consistent copyright notice Red Hat is willing to mark these files as copyrighted by the KubeVirt Authors. This is a follow-up of commit e36bb0bd79976 sed -i 's/\(20.., \)*20.. Red Hat, Inc./The KubeVirt Authors./' git grep -l '20.. Red Hat, Inc.'|grep -v staging|grep -v vendor|grep -v kubevirtci Signed-off-by: Dan Kenigsberg <danken@redhat.com> | 1 年前 | |
e2e, netbinding: Dont override binding registration In some testing setups, KubeVirt is configured by external operators e.g [HCO](https://github.com/kubevirt/hyperconverged-cluster-operator). In those setups, this e2e suite should not override preconfigured values, in particular network binding plugins. This change makes this suite respect existing configuration, and only registering network binding plugins, if they are not already registered. Signed-off-by: Nir Dothan <ndothan@redhat.com> | 8 个月前 | |
test: console: manage prompt inside safe expecter Signed-off-by: Jed Lejosne <jed@redhat.com> | 8 个月前 | |
test: console: manage prompt inside safe expecter Signed-off-by: Jed Lejosne <jed@redhat.com> | 8 个月前 | |
e2e, net, vmi_networking: De quarantine IPv6 tests Dequarantine IPV6 tests on VMIs with masquerade binding. Signed-off-by: Ananya Banerjee <anbanerj@redhat.com> | 7 个月前 | |
test: console: manage prompt inside safe expecter Signed-off-by: Jed Lejosne <jed@redhat.com> | 8 个月前 |