Skip to content

Flaky test in exporters/otlp/otlptrace/otlptracegrpc/... #4506

Open
@pellared

Description

@pellared

On a Windows runner https://github.com/open-telemetry/opentelemetry-go/actions/runs/6182510368/job/16782390148

go test -timeout 60s -short ./exporters/otlp/otlptrace/otlptracegrpc/...
PASS
goleak: Errors on successful test run: found unexpected goroutines:
[Goroutine 388 in state syscall, locked to thread, with syscall.SyscallN on top of the stack:
goroutine 388 [syscall, locked to thread]:
syscall.SyscallN(0x77699dc0, {0xa8d342c, 0x9, 0x9})
	C:/hostedtoolcache/windows/go/1.21.1/x64/src/runtime/syscall_windows.go:544 +0x[117](https://github.com/open-telemetry/opentelemetry-go/actions/runs/6182510368/job/16782390148#step:5:118)
syscall.Syscall9(0x77699dc0, 0x7, 0x3200, 0x0, 0x2745, 0x409, 0xa8d34cc, 0x12c, 0x0, 0x0, ...)
	C:/hostedtoolcache/windows/go/1.21.1/x64/src/runtime/syscall_windows.go:494 +0x7a
syscall.formatMessage(0x3200, 0x0, 0x2745, 0x409, {0xa8d34cc, 0x12c, 0x12c}, 0x0)
	C:/hostedtoolcache/windows/go/1.21.1/x64/src/syscall/zsyscall_windows.go:653 +0xb4
syscall.Errno.Error(0x2745)
	C:/hostedtoolcache/windows/go/1.21.1/x64/src/syscall/syscall_windows.go:148 +0x87
os.(*SyscallError).Error(0xa890200)
	C:/hostedtoolcache/windows/go/1.21.1/x64/src/os/error.go:54 +0x25
net.(*OpError).Error(0xa85c510)
	C:/hostedtoolcache/windows/go/1.21.1/x64/src/net/net.go:488 +0x1a8
google.golang.org/grpc/internal/transport.(*http2Client).Close(0xaa30000, {0x14ab01c, 0xa99c2b0})
	C:/Users/runneradmin/go/pkg/mod/google.golang.org/grpc@v1.58.0/internal/transport/http2_client.go:988 +0x2d5
google.golang.org/grpc/internal/transport.newHTTP2Client.func5()
	C:/Users/runneradmin/go/pkg/mod/google.golang.org/grpc@v1.58.0/internal/transport/http2_client.go:403 +0x95
google.golang.org/grpc/internal/transport.newHTTP2Client({0x14add9c, 0xa874230}, {0x14add5c, 0xaada420}, {{0xa8e24cf, 0xf}, {0xa8e24cf, 0xf}, 0x0, 0x0, ...}, ...)
	C:/Users/runneradmin/go/pkg/mod/google.golang.org/grpc@v1.58.0/internal/transport/http2_client.go:447 +0x223a
google.golang.org/grpc/internal/transport.NewClientTransport(...)
	C:/Users/runneradmin/go/pkg/mod/google.golang.org/grpc@v1.58.0/internal/transport/transport.go:601
google.golang.org/grpc.(*addrConn).createTransport(0xa804180, {0x14add5c, 0xaada870}, {{0xa8e24cf, 0xf}, {0xa8e24cf, 0xf}, 0x0, 0x0, {0x0, ...}}, ...)
	C:/Users/runneradmin/go/pkg/mod/google.golang.org/grpc@v1.58.0/clientconn.go:1508 +0x281
google.golang.org/grpc.(*addrConn).tryAllAddrs(0xa804180, {0x14add5c, 0xaada870}, {0xa8a04c0, 0x1, 0x1}, {0xc138cd0034174ac4, 0x670c4dd1, 0x1876880})
	C:/Users/runneradmin/go/pkg/mod/google.golang.org/grpc@v1.58.0/clientconn.go:1455 +0x27b
google.golang.org/grpc.(*addrConn).resetTransport(0xa804180)
	C:/Users/runneradmin/go/pkg/mod/google.golang.org/grpc@v1.58.0/clientconn.go:1390 +0x1db
google.golang.org/grpc.(*addrConn).connect(0xa804180)
	C:/Users/runneradmin/go/pkg/mod/google.golang.org/grpc@v1.58.0/clientconn.go:1037 +0x[137](https://github.com/open-telemetry/opentelemetry-go/actions/runs/6182510368/job/16782390148#step:5:138)
created by google.golang.org/grpc.(*acBalancerWrapper).Connect in goroutine 386
	C:/Users/runneradmin/go/pkg/mod/google.golang.org/grpc@v1.58.0/balancer_conn_wrappers.go:376 +0x5d
]
FAIL	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc	1.571s

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededpkg:exporter:otlpRelated to the OTLP exporter package

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions