You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of main at commit f986cc5, the gRPC contrib tests fail with shuffling enabled (see #2265). There appears to be interference between the TestClientNamingSchema and TestIssue2050 test cases.
Example:
% go test -run='(TestClientNamingSchema|TestIssue2050)' -shuffle=1703619841795279000 ./contrib/google.golang.org/grpc
-test.shuffle 1703619841795279000
2023/12/26 14:44:20 Datadog Tracer v1.60.0-dev WARN: No global service name was detected. GRPC Server may have been created before calling tracer.Start(). Will dynamically fetch service name for every span. Note this may have a slight performance cost, it is always recommended to start the tracer before initializing any traced packages.
2023/12/26 14:44:20 Datadog Tracer v1.60.0-dev WARN: No global service name was detected. GRPC Server may have been created before calling tracer.Start(). Will dynamically fetch service name for every span. Note this may have a slight performance cost, it is always recommended to start the tracer before initializing any traced packages.
2023/12/26 14:44:20 Datadog Tracer v1.60.0-dev WARN: DIAGNOSTICS Unable to reach agent intake: Post "http://localhost:8126/v0.4/traces": dial tcp 127.0.0.1:8126: connect: connection refused
2023/12/26 14:44:20 Datadog Tracer v1.60.0-dev INFO: DATADOG TRACER CONFIGURATION {"date":"2023-12-26T14:44:20-05:00","os_name":"darwin","os_version":"13.6.2","version":"v1.60.0-dev","lang":"Go","lang_version":"go1.20.7","env":"","service":"some-dd-service","agent_url":"http://localhost:8126/v0.4/traces","agent_error":"Post \"http://localhost:8126/v0.4/traces\": dial tcp 127.0.0.1:8126: connect: connection refused","debug":false,"analytics_enabled":false,"sample_rate":"NaN","sample_rate_limit":"disabled","sampling_rules":null,"sampling_rules_error":"","service_mappings":null,"tags":{"runtime-id":"4862f707-9373-4515-aada-a161bf77d910"},"runtime_metrics_enabled":false,"health_metrics_enabled":false,"profiler_code_hotspots_enabled":true,"profiler_endpoints_enabled":true,"dd_version":"","architecture":"arm64","global_service":"some-dd-service","lambda_mode":"false","appsec":false,"agent_features":{"DropP0s":false,"Stats":false,"DataStreams":false,"StatsdPort":0},
[ ... a bunch of integration info omitted ... ]
2023/12/26 14:44:22 Datadog Tracer v1.60.0-dev ERROR: Loading features: Get "http://localhost:8126/info": dial tcp 127.0.0.1:8126: connect: connection refused (occurred: 26 Dec 23 14:44 EST)
2023/12/26 14:44:22 Datadog Tracer v1.60.0-dev ERROR: failure sending traces (attempt 1), will retry: Post "http://localhost:8126/v0.4/traces": dial tcp 127.0.0.1:8126: connect: connection refused (occurred: 26 Dec 23 14:44 EST)
2023/12/26 14:44:22 Datadog Tracer v1.60.0-dev ERROR: lost 2 traces: <nil> (occurred: 26 Dec 23 14:44 EST)
--- FAIL: TestClientNamingSchema (0.86s)
--- FAIL: TestClientNamingSchema/ServiceName (0.64s)
--- FAIL: TestClientNamingSchema/ServiceName/WithDefaults (0.22s)
--- FAIL: TestClientNamingSchema/ServiceName/WithDefaults/v1 (0.11s)
namingschematest.go:101:
Error Trace: /Users/nick.ripley/repos/dd-trace-go/contrib/internal/namingschematest/namingschematest.go:116
/Users/nick.ripley/repos/dd-trace-go/contrib/internal/namingschematest/namingschematest.go:101
Error: Not equal:
expected: "grpc.client"
actual : "some-dd-service"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-grpc.client
+some-dd-service
Test: TestClientNamingSchema/ServiceName/WithDefaults/v1
Messages: incorrect service name for span: grpc.client.request
namingschematest.go:101:
Error Trace: /Users/nick.ripley/repos/dd-trace-go/contrib/internal/namingschematest/namingschematest.go:116
/Users/nick.ripley/repos/dd-trace-go/contrib/internal/namingschematest/namingschematest.go:101
Error: Not equal:
expected: "grpc.client"
actual : "some-dd-service"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-grpc.client
+some-dd-service
Test: TestClientNamingSchema/ServiceName/WithDefaults/v1
Messages: incorrect service name for span: grpc.client.request
namingschematest.go:101:
Error Trace: /Users/nick.ripley/repos/dd-trace-go/contrib/internal/namingschematest/namingschematest.go:116
/Users/nick.ripley/repos/dd-trace-go/contrib/internal/namingschematest/namingschematest.go:101
Error: Not equal:
expected: "grpc.client"
actual : "some-dd-service"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-grpc.client
+some-dd-service
Test: TestClientNamingSchema/ServiceName/WithDefaults/v1
Messages: incorrect service name for span: grpc.client.request
namingschematest.go:101:
Error Trace: /Users/nick.ripley/repos/dd-trace-go/contrib/internal/namingschematest/namingschematest.go:116
/Users/nick.ripley/repos/dd-trace-go/contrib/internal/namingschematest/namingschematest.go:101
Error: Not equal:
expected: "grpc.client"
actual : "some-dd-service"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-grpc.client
+some-dd-service
Test: TestClientNamingSchema/ServiceName/WithDefaults/v1
Messages: incorrect service name for span: grpc.client.request
FAIL
FAIL gopkg.in/DataDog/dd-trace-go.v1/contrib/google.golang.org/grpc 3.289s
FAIL
The text was updated successfully, but these errors were encountered:
As of
main
at commit f986cc5, the gRPC contrib tests fail with shuffling enabled (see #2265). There appears to be interference between theTestClientNamingSchema
andTestIssue2050
test cases.Example:
The text was updated successfully, but these errors were encountered: