-
Notifications
You must be signed in to change notification settings - Fork 18
ci: metrics: metrics ci fails for networking tests #960
Comments
Let's start adding a little context (it would be great if we knew what the first PR that showed this was for instance). For reference then, we see this over on: clearcontainers/runtime#1091 It does not happen with a very simple hand run at my desk, so I'm thinking:
|
OK, I updated to the latest runtime/proxy/shim - and now it fails locally for me. Looks like we may have broken something. If I had to guess, then it is most likely around the 9p/tmpfs workaround: https://github.com/clearcontainers/tests/blob/master/metrics/network/network-metrics-iperf3.sh#L63-L68 |
Update: Looks like 3.0.22 works, but 3.0.23 fails. It looks like it fails with some sort of tmpfile access on the |
OK - update - in 3.0.23 it looks like we have two related mounts in the container (I only spotted the first before...):
That second |
@grahamwhaley What is the workaround you use for /dev/shm for iperf? |
@amshinde /dev/shm was the second workaround we've had :-) The basic problem is iperf3 tries to use an unlinked tmpfile, which does not work on 9p. Thus, we cannot use the 9p /tmp default dest for tmpfiles.
What we have at present either feels wrong to me or we need to explain what we do and why. What we now have is an in-VM tmpfs that is then (afaict) overlayed with a 9p mount. either...
|
@grahamwhaley Just did a quick check. With @sboeuf's change, all our bind mounts are passed through 9p including those in /dev and /dev/shm happens to be a bind mount. Thats why you are seeing the 2 mounts for /dev/shm. We need special handling for /dev/shm to avoid this. I'll look into the change for this. |
great, thanks @amshinde ! |
Related: kata-containers/runtime#191 |
The logs show the following
\cc @grahamwhaley @sboeuf
The text was updated successfully, but these errors were encountered: