-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
Description
Component(s)
receiver/haproxy
What happened?
Description
Two scraper tests for receiver/haproxyreceiver are failing locally on my Mac on MacOS 15.5 with M3 Max processor
Steps to Reproduce
cd receiver/haproxyreceiver
make --no-print-directory -C receiver/haproxyreceiver test
Expected Result
All tests pass
Actual Result
/Users/john.peterson/otel/opentelemetry-collector-contrib/.tools/gotestsum --rerun-fails=1 --packages="./..." -- -race -timeout 600s -parallel 4 --tags=""
✖ . (773ms)
✓ internal/metadata (1.576s)
DONE 26 tests, 2 failures in 1.576s
✖ . (344ms)
✖ . (326ms)
=== Failed
=== FAIL: . Test_scraper_readStatsWithIncompleteValues (0.00s)
scraper_test.go:74:
Error Trace: /Users/john.peterson/otel/opentelemetry-collector-contrib/receiver/haproxyreceiver/scraper_test.go:74
Error: Received unexpected error:
listen unix /var/folders/m1/nrtcvvys2nxc2hrlhzfq2r500000gp/T/Test_scraper_readStatsWithIncompleteValues2421703663/001/testhaproxy.sock: bind: invalid argument
Test: Test_scraper_readStatsWithIncompleteValues
=== FAIL: . Test_scraper_readStatsWithNoValues (0.00s)
scraper_test.go:117:
Error Trace: /Users/john.peterson/otel/opentelemetry-collector-contrib/receiver/haproxyreceiver/scraper_test.go:117
Error: Received unexpected error:
listen unix /var/folders/m1/nrtcvvys2nxc2hrlhzfq2r500000gp/T/Test_scraper_readStatsWithNoValues2995138115/001/testhaproxy.sock: bind: invalid argument
Test: Test_scraper_readStatsWithNoValues
=== FAIL: . Test_scraper_readStatsWithIncompleteValues (re-run 1) (0.00s)
scraper_test.go:74:
Error Trace: /Users/john.peterson/otel/opentelemetry-collector-contrib/receiver/haproxyreceiver/scraper_test.go:74
Error: Received unexpected error:
listen unix /var/folders/m1/nrtcvvys2nxc2hrlhzfq2r500000gp/T/Test_scraper_readStatsWithIncompleteValues3671747882/001/testhaproxy.sock: bind: invalid argument
Test: Test_scraper_readStatsWithIncompleteValues
=== FAIL: . Test_scraper_readStatsWithNoValues (re-run 1) (0.00s)
scraper_test.go:117:
Error Trace: /Users/john.peterson/otel/opentelemetry-collector-contrib/receiver/haproxyreceiver/scraper_test.go:117
Error: Received unexpected error:
listen unix /var/folders/m1/nrtcvvys2nxc2hrlhzfq2r500000gp/T/Test_scraper_readStatsWithNoValues3571277052/001/testhaproxy.sock: bind: invalid argument
Test: Test_scraper_readStatsWithNoValues
DONE 2 runs, 28 tests, 4 failures in 4.046s
Collector version
v0.127.0
Environment information
Environment
OS: Darwin 15.5
Arch: AARM64
OpenTelemetry Collector configuration
Log output
Additional context
go env:
john.peterson@COMP-HHVKJYJXCY opentelemetry-collector-contrib % go env
GO111MODULE='auto'
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/john.peterson/Library/Caches/go-build'
GOENV='/Users/john.peterson/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/john.peterson/go/1.23.9/pkg/mod'
GONOPROXY='github.com/DataDog'
GONOSUMDB='github.com/DataDog,go.ddbuild.io'
GOOS='darwin'
GOPATH='/Users/john.peterson/go/1.23.9'
GOPRIVATE='github.com/DataDog'
GOPROXY='binaries.ddbuild.io,https://proxy.golang.org,direct'
GOROOT='/Users/john.peterson/.goenv/versions/1.23.9'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/Users/john.peterson/.goenv/versions/1.23.9/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.23.9'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/john.peterson/Library/Application Support/go/telemetry'
GCCGO='gccgo'
GOARM64='v8.0'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='0'
GOMOD='/Users/john.peterson/otel/opentelemetry-collector-contrib/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/m1/nrtcvvys2nxc2hrlhzfq2r500000gp/T/go-build3854869835=/tmp/go-build -gno-record-gcc-switches -fno-common'
No response