From a27823acd5bc6bb5675c76a8709de0fca6be32cb Mon Sep 17 00:00:00 2001 From: rszyma Date: Sun, 10 Aug 2025 18:14:51 +0200 Subject: [PATCH] fix(snix/boot/tests): fix otlp error Fixes a non-critical error when running a boot test. All boot tests worked before too, so it was nothing more than a noise, though I think worth addressing anyway. > mg build //snix/boot/tests:docs-persistent 2025-08-10T11:59:31.068658Z ERROR opentelemetry_sdk: name="BatchSpanProcessor.ExportError" error="Operation failed: status: Unavailable, message: \"tcp connect error: Connection refused (os error 111)\", details: [], metadata: MetadataMap { headers: {} }" failed to shutdown tracing: Operation failed: errs: [Err(InternalFailure("Operation failed: status: Unavailable, message: \"tcp connect error: Connection refused (os error 111)\", details: [], metadata: MetadataMap { headers: {} }"))] Change-Id: I2722f814f7cfea42e50efe71106e6809ea66ef81 Reviewed-on: https://cl.snix.dev/c/snix/+/30675 Tested-by: besadii Reviewed-by: Florian Klink --- snix/boot/tests/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snix/boot/tests/default.nix b/snix/boot/tests/default.nix index 38bd9824f..c031b2f08 100644 --- a/snix/boot/tests/default.nix +++ b/snix/boot/tests/default.nix @@ -90,7 +90,7 @@ let + lib.optionalString (!isClosure) '' echo "Importing ${path} into snix-store with name ${importPathName}…" cp -R ${path} ${importPathName} - outpath=$(snix-store import ${importPathName}) + outpath=$(snix-store --otlp=false import ${importPathName}) echo "imported to $outpath" ''