katatestutils: Use the configured virtiofs daemon path#2687
Conversation
|
/test |
|
CIs bombed - probably an easy code fix? |
|
Yeah, I see the issue: We can only point to values defined here: https://github.com/kata-containers/runtime/blob/master/pkg/katatestutils/utils.go#L11 So, we'd have to define the variable there as part of this patch. @c3d, could you address this issue? ^ The reason I think it was as it was is because it's this path is never ever used in the tests? In any case, still worth to fix. |
|
/test-ubuntu |
And the same happens for And for |
| VhostUserStorePath: defaultVhostUserStorePath, | ||
| SharedFS: sharedFS, | ||
| VirtioFSDaemon: "/path/to/virtiofsd", | ||
| VirtioFSDaemon: virtiofsdaemon, |
There was a problem hiding this comment.
@c3d, here it should be virtioFSdaemon, as that's the naming used above in this file.
Here's a log of travis, which didn't return back to us, pointing to this error:
https://travis-ci.org/github/kata-containers/runtime/jobs/695051557#L1070
There was a problem hiding this comment.
Travis has passed, but results were not reported back:
https://travis-ci.org/github/kata-containers/runtime/builds/695129068
The current path is hardcoded as follows: virtio_fs_daemon = "/path/to/virtiofsd" Switch to using the value of config.VirtioFSDaemon instead. Fixes: kata-containers#2686 Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
|
/test-ubuntu |
Codecov Report
@@ Coverage Diff @@
## master #2687 +/- ##
==========================================
+ Coverage 45.55% 51.67% +6.12%
==========================================
Files 118 118
Lines 17283 18960 +1677
==========================================
+ Hits 7873 9798 +1925
+ Misses 8533 8020 -513
- Partials 877 1142 +265 |
|
I'm closing and re-opening this PR with the hope that it'll bring us the travis results. |
|
/test-ubuntu |
1 similar comment
|
/test-ubuntu |
|
/test-vfio |
|
/test-arm |
|
/test-power |
|
/test-clh |
|
jenkins-ubuntu-18-04-vfio: It doesn't look related to this patch. |
|
thanks @fidencio , I have filed an issue kata-containers/tests#2628 |
The current path is hardcoded as follows:
virtio_fs_daemon = "/path/to/virtiofsd"
Switch to using the value of config.VirtioFSDaemon instead.
Fixes: #2686
Signed-off-by: Christophe de Dinechin dinechin@redhat.com