From 0faaa568637718ee11b912ab6d6119e91717338a Mon Sep 17 00:00:00 2001 From: Alexandru Matei Date: Tue, 29 Aug 2023 20:10:25 +0300 Subject: [PATCH] tracing: ensure reproducible builds Fixes: #5756 Signed-off-by: Alexandru Matei --- functional/tracing/test-agent-shutdown.sh | 2 +- functional/tracing/tracing-test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/functional/tracing/test-agent-shutdown.sh b/functional/tracing/test-agent-shutdown.sh index d1ea9cd26..dbd0ff215 100755 --- a/functional/tracing/test-agent-shutdown.sh +++ b/functional/tracing/test-agent-shutdown.sh @@ -1328,7 +1328,7 @@ setup_agent() run_trace_forwarder() { command -v "$forwarder_binary_name" &>/dev/null || \ - (cd "$forwarder_dir" && cargo install --path .) + (cd "$forwarder_dir" && cargo install --locked --path .) local socket_path_tf="" diff --git a/functional/tracing/tracing-test.sh b/functional/tracing/tracing-test.sh index 1dd9bf21c..2a4486afd 100755 --- a/functional/tracing/tracing-test.sh +++ b/functional/tracing/tracing-test.sh @@ -387,7 +387,7 @@ check_spans() run_trace_forwarder() { source "$HOME/.cargo/env" - command -v "$forwarder_binary_name" &>/dev/null || (cd "$forwarder_dir" && cargo install --path .) + command -v "$forwarder_binary_name" &>/dev/null || (cd "$forwarder_dir" && cargo install --locked --path .) if [ $KATA_HYPERVISOR = "qemu" ]; then tmux new-session -d -s "$KATA_TMUX_FORWARDER_SESSION" "$forwarder_binary_name -l trace"