influxdata/telegraf

test failures on alpine 3.21

Geschlossen

#16.446 geöffnet am 29.01.2025

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (5.836 Forks)batch import
bughelp wantedsize/mwaiting for response

Repository-Metriken

Stars
 (17.753 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T 12h) (136 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide