SRIOV Operator e2e test environment #54
Replies: 5 comments 7 replies
-
@martinkennelly @zshi-redhat @adrianchiris I was working on this recently. Here are some findings that I think it would be nice to share. I was able to run kind cluster, and pass PF into the container by moving the PF into container's netns with `ip link set netns <container_netns>. It turned out that there might be a bug in config-daemon. The code is checking the env variable After PF was moved to the container's netns, the tests that use It seems that for automation it will be necessary to create some mechanism to a) bind VFs to proper driver (or make it bind to kernel driver like |
Beta Was this translation helpful? Give feedback.
-
Just a quick update - I've worked on this last week, and been able to create the VF passing script and run all the tests properly using KIND. I should be able to create PR within a few days. |
Beta Was this translation helpful? Give feedback.
-
@ipatrykx I tried to follow your instruction for configuring kind #54 (comment), but with a mellanox interface, and i seem to have issues creating vfs from inside the kind nodes after adding them to the node netns.
Could you please provide us the steps you took to have a successful e2e tests? |
Beta Was this translation helpful? Give feedback.
-
PR posted #100 which implements e2e testing using KinD w/ one master and one worker node. Alsom golang script to ensure VFs remain in test netns. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@adrianchiris @zshi-redhat
During the additional K8s Network & Resource Management meeting we discussed adding e2e tests to each "SRIOV" related repositories. See Jan 26 Notes: https://docs.google.com/document/d/1bEyEh_K9lGwQWHgUHUH-vqodYd1W-LCWRGlW0-ZVR5A/edit
Our next steps is to deploy k8 with kind and attach a device and run e2e tests from this repo. We can document our progress/issues here.
DoD: e2e tests from this repo is executed successfully on our test environment with injected HW and document setup flow here to allow future automation.
Beta Was this translation helpful? Give feedback.
All reactions