Skip to content

[Flaky test] redisreceiver redis_scraper_test failed on Windows #38955

Open
@songy23

Description

@songy23

Component(s)

receiver/redis

Describe the issue you're reporting

e.g http://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/14049255498/job/39336437011

=== Failed
=== FAIL: . TestGetUptime (0.00s)
    info_test.go:17: 
        	Error Trace:	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/redisreceiver/info_test.go:17
        	Error:      	Received unexpected error:
        	            	uptime_in_seconds missing from redis info
        	Test:       	TestGetUptime

=== FAIL: . TestRedisRunnable (0.00s)
    redis_scraper_test.go:29: 
        	Error Trace:	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/redisreceiver/redis_scraper_test.go:29
        	Error:      	Received unexpected error:
        	            	uptime_in_seconds missing from redis info
        	Test:       	TestRedisRunnable

=== FAIL: . TestParser (0.00s)
    redis_svc_test.go:20: 
        	Error Trace:	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/redisreceiver/redis_svc_test.go:20
        	Error:      	"map[]" should have 131 item(s), but has 0
        	Test:       	TestParser

=== FAIL: . TestGetUptime (re-run 1) (0.00s)
    info_test.go:17: 
        	Error Trace:	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/redisreceiver/info_test.go:17
        	Error:      	Received unexpected error:
        	            	uptime_in_seconds missing from redis info
        	Test:       	TestGetUptime

=== FAIL: . TestRedisRunnable (re-run 1) (0.01s)
    redis_scraper_test.go:29: 
        	Error Trace:	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/redisreceiver/redis_scraper_test.go:29
        	Error:      	Received unexpected error:
        	            	uptime_in_seconds missing from redis info
        	Test:       	TestRedisRunnable

=== FAIL: . TestParser (re-run 1) (0.00s)
    redis_svc_test.go:20: 
        	Error Trace:	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/redisreceiver/redis_svc_test.go:20
        	Error:      	"map[]" should have 131 item(s), but has 0
        	Test:       	TestParser

DONE 2 runs, 46 tests, 6 failures in 33.310s

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions