Commit Graph

9 Commits

Author SHA1 Message Date
Hyeongju Johannes Lee
3c8fe3adfa e2e: add securityContext check to see if rootfs is read-only
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-10-13 15:39:59 +03:00
Hyeongju Johannes Lee
11b04425c2 dlb: add initcontainer to plugin
initcontainer enables vfs and configures vfs
 - only first pf is used to configure a vf
 - only one vf is configured from the pf
add dlb-initcontainer kustomize overlay
update CRD to have initImage
implment operator to run initcontainer
update e2e test to run initcontainer overlay
update envtest to test initimage

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-10-06 17:11:03 +03:00
Tuomas Katila
2fb11eccba e2e: Remove unnecessary namespace arguments from KubectlOrDie calls
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2022-08-31 17:09:47 +03:00
Mikko Ylinen
50b985dde5 bump go mod version to 1.18 and move to k8s.io v1.25.0-rc.0
the e2e framework in v1.25 also reguires us to move to gingko/v2
so make that change too.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-08-15 13:54:02 +03:00
Ed Bartosh
7f415f54a1 e2e-dlb: make tests working in Simics
- used different pods for PF and VF workloads
- increased waiting timeout to 200s
- used 'epoll' waiting mode for test apps
- decreased amount of packets from 128 to 8 for test apps
- output pod logs
- done small code optimisations

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2022-06-17 14:22:33 +03:00
Ed Bartosh
43da11571b Makefile: add e2e-dlb target
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2022-06-09 20:18:56 +03:00
Mikko Ylinen
8d20c62833 e2e: expect test workloads to finish successfully
WaitForFinish waits for pod to finish running, regardless of
success or failure. WaitForSuccess waits for pod to succeed
which is what we expect from our test workloads that try
to use the devices.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-05-19 14:14:11 +03:00
Mikko Ylinen
cbc521e505 move to k8s.io v1.24.0-rc.1
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-04-27 09:26:07 +03:00
Hyeongju Johannes Lee
91e1877180 e2e: add dlb test
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2021-12-02 01:14:17 -08:00