-
Notifications
You must be signed in to change notification settings - Fork 196
Add tracing test #1255
Comments
Hi @chavafg - any thoughts on how best to arrange the pieces here? The plan is to run a basic
So we'd always install Jaeger for a CI run, but only actually use it for this single test (which would then undo the config to stop tracing). Alternatively, we could create custom Jenkins jobs and run all CI tests with Jaeger, but I think that's overkill tbh. |
Hi @jodh-intel, seems like your approach should work. I'll check this. |
Hi @jodh-intel,
I went and modify the
Modified the internetworking model to none and got the next error:
Any idea if I am doing something wrong? |
Hi @chavafg - oh thanks! I was happy to add this test, but not a problem if you want to ;) I've just checked and it looks like shim tracing is broken now too ;(( I've raised kata-containers/shim#148 for that. As such, I'd just enable tracing for the runtime for now to gather some traces. I'll clean up my scripts to check for traces programatically and hand them over later... |
Hi @chavafg - here's a basic script that performs some basic Jaeger tests. It might need a bit of refactoring (had to add That's a cut-down version of the script I've got to test agent tracing. A few other points:
|
Thanks @jodh-intel |
@chavafg - I keep forgetting that you need to run docker with |
oh, good to know, thanks @jodh-intel. I'll work on this today. |
This tracing test runs as follows: 1. Enables tracing on runtime and shim components. 2. Runs a Jaeger container that will receive the trace spans. 3. A kata-container is executed. 4. Verifies that Jaeger has collected a number of spans. 5. Disables tracing. Fixes: kata-containers#1255. Signed-off-by: Salvador Fuentes <[email protected]>
This tracing test runs as follows: 1. Enables tracing on runtime and shim components. 2. Runs a Jaeger container that will receive the trace spans. 3. A kata-container is executed. 4. Verifies that Jaeger has collected a number of spans. 5. Disables tracing. Fixes: kata-containers#1255. Signed-off-by: Salvador Fuentes <[email protected]>
This tracing test runs as follows: 1. Enables tracing on runtime and shim components. 2. Runs a Jaeger container that will receive the trace spans. 3. A kata-container is executed. 4. Verifies that Jaeger has collected a number of spans. 5. Disables tracing. Fixes: kata-containers#1255. Signed-off-by: Salvador Fuentes <[email protected]>
This tracing test runs as follows: 1. Enables tracing on runtime and shim components. 2. Runs a Jaeger container that will receive the trace spans. 3. A kata-container is executed. 4. Verifies that Jaeger has collected a number of spans. 5. Disables tracing. Fixes: kata-containers#1255. Signed-off-by: Salvador Fuentes <[email protected]>
This tracing test runs as follows: 1. Enables tracing on runtime and shim components. 2. Runs a Jaeger container that will receive the trace spans. 3. A kata-container is executed. 4. Verifies that Jaeger has collected a number of spans. 5. Disables tracing. Fixes: kata-containers#1255. Signed-off-by: Salvador Fuentes <[email protected]>
This tracing test runs as follows: 1. Enables tracing on runtime and shim components. 2. Runs a Jaeger container that will receive the trace spans. 3. A kata-container is executed. 4. Verifies that Jaeger has collected a number of spans. 5. Disables tracing. Fixes: kata-containers#1255. Signed-off-by: Salvador Fuentes <[email protected]>
As shown on kata-containers/runtime#1277, we broke runtime tracing but didn't notice.
Clearly, we need a test to ensure tracing works that does atleast the following:
>0
.The text was updated successfully, but these errors were encountered: