influxdata/telegraf

test failures on alpine 3.21

Closed

#16,446 建立於 2025年1月29日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Go (9,892 star) (4,161 fork)batch import
bughelp wantedsize/mwaiting for response

描述

Relevant telegraf.conf

NA

Logs from Telegraf

NA

System info

alpine 3.21

Docker

No response

Steps to reproduce

Trying to build the package for alpine 3.21-aarch64 gets a few failures, not always at the same place.

Build logs are ephemeral so copying:

--- FAIL: TestTLSMemLeak (3.23s)
    socket_test.go:826: 
        	Error Trace:	github.com/influxdata/telegraf/plugins/common/socket/socket_test.go:826
        	Error:      	"83084" is not less than "63858"
        	Test:       	TestTLSMemLeak
FAIL
FAIL	github.com/influxdata/telegraf/plugins/common/socket	6.482s
2025-01-29T13:26:16Z E! [] Unable to write to Stackdriver: rpc error: code = Unknown desc = unknown
2025-01-29T13:26:16Z W! [] Unable to write to Stackdriver - dropping metrics: rpc error: code = InvalidArgument desc = invalid argument
2025-01-29T13:26:16Z W! [] Removing tag "valuequota" value exceeds string length for label value [1024]
2025-01-29T13:26:16Z W! [] Removing tag "xpfqacltlmpguimhtjlou2qlmf9uqqwk3teajwlwqkoxtsppbnjksaxvzc1aa973pho9m96gfnl5op8ku7sv93rexyx42qe3zty12ityv" key exceeds string length for label key [100]
--- FAIL: TestGetStackdriverIntervalEndpoints (0.00s)
    stackdriver_test.go:788: 
        	Error Trace:	github.com/influxdata/telegraf/plugins/outputs/stackdriver/stackdriver_test.go:788
        	Error:      	"1738157176" is not greater than or equal to "1738157177"
        	Test:       	TestGetStackdriverIntervalEndpoints
FAIL
FAIL	github.com/influxdata/telegraf/plugins/outputs/stackdriver	0.705s

Expected behavior

tests should pass

Actual behavior

tests fail

Additional info

No response

貢獻者指南