Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flaky test] Test_ComponentStatusReporting_SharedInstance flaky #10927

Open
songy23 opened this issue Aug 20, 2024 · 4 comments · Fixed by #10929 or #11078
Open

[Flaky test] Test_ComponentStatusReporting_SharedInstance flaky #10927

songy23 opened this issue Aug 20, 2024 · 4 comments · Fixed by #10929 or #11078
Assignees
Labels
area:componentstatus flaky test help wanted Good issue for contributors to OpenTelemetry Service to pick up

Comments

@songy23
Copy link
Member

songy23 commented Aug 20, 2024

https://github.com/open-telemetry/opentelemetry-collector/actions/runs/10473477699/job/29005426543?pr=10915

--- FAIL: Test_ComponentStatusReporting_SharedInstance (15.01s)
    status_test.go:117: 
        	Error Trace:	D:/a/opentelemetry-collector/opentelemetry-collector/internal/e2e/status_test.go:117
        	Error:      	Not equal: 
        	            	expected: 2
        	            	actual  : 6
        	Test:       	Test_ComponentStatusReporting_SharedInstance
    status_test.go:120: 
        	Error Trace:	D:/a/opentelemetry-collector/opentelemetry-collector/internal/e2e/status_test.go:120
        	Error:      	Not equal: 
        	            	expected: 6
        	            	actual  : 7
        	Test:       	Test_ComponentStatusReporting_SharedInstance
FAIL
FAIL	go.opentelemetry.io/collector/internal/e2e	18.766s
FAIL
@songy23 songy23 added os:windows Windows specific issues flaky test labels Aug 20, 2024
@songy23 songy23 changed the title [Flaky test] Test_ComponentStatusReporting_SharedInstance flaky on Windows [Flaky test] Test_ComponentStatusReporting_SharedInstance flaky Aug 20, 2024
@songy23 songy23 removed the os:windows Windows specific issues label Aug 20, 2024
@songy23
Copy link
Member Author

songy23 commented Aug 20, 2024

@songy23
Copy link
Member Author

songy23 commented Aug 28, 2024

Unfortunately this is still happening, e.g. 3hr ago on mainline https://github.com/open-telemetry/opentelemetry-collector/actions/runs/10599797655/job/29375720642#step:6:527

--- FAIL: Test_ComponentStatusReporting_SharedInstance (15.02s)
    status_test.go:130: checking errors for metrics, - Receiver - test
    status_test.go:154: events received: StatusStarting,StatusRecoverableError,StatusOK,StatusStopping,StatusStopped,
    status_test.go:130: checking errors for traces, - Receiver - test
    status_test.go:142: 
        	Error Trace:	/home/runner/work/opentelemetry-collector/opentelemetry-collector/internal/e2e/status_test.go:142
        	Error:      	Not equal: 
        	            	expected: 2
        	            	actual  : 6
        	Test:       	Test_ComponentStatusReporting_SharedInstance
    status_test.go:145: 
        	Error Trace:	/home/runner/work/opentelemetry-collector/opentelemetry-collector/internal/e2e/status_test.go:145
        	Error:      	Not equal: 
        	            	expected: 6
        	            	actual  : 7
        	Test:       	Test_ComponentStatusReporting_SharedInstance
    status_test.go:154: events received: StatusStarting,StatusRecoverableError,StatusStopping,StatusStopped,
FAIL
FAIL	go.opentelemetry.io/collector/internal/e2e	16.885s

@songy23 songy23 reopened this Aug 28, 2024
@crobert-1
Copy link
Member

+1 freq: https://github.com/open-telemetry/opentelemetry-collector/actions/runs/10741250077/job/29791200652?pr=11073

--- FAIL: Test_ComponentStatusReporting_SharedInstance (15.01s)
    status_test.go:130: checking errors for traces, - Receiver - test
    status_test.go:154: events received: StatusStarting,StatusRecoverableError,StatusOK,StatusStopping,StatusStopped,
    status_test.go:130: checking errors for metrics, - Receiver - test
    status_test.go:142: 
        	Error Trace:	/home/runner/work/opentelemetry-collector/opentelemetry-collector/internal/e2e/status_test.go:142
        	Error:      	Not equal: 
        	            	expected: 2
        	            	actual  : 6
        	Test:       	Test_ComponentStatusReporting_SharedInstance
    status_test.go:145: 
        	Error Trace:	/home/runner/work/opentelemetry-collector/opentelemetry-collector/internal/e2e/status_test.go:145
        	Error:      	Not equal: 
        	            	expected: 6
        	            	actual  : 7
        	Test:       	Test_ComponentStatusReporting_SharedInstance
    status_test.go:154: events received: StatusStarting,StatusRecoverableError,StatusStopping,StatusStopped,
FAIL

@songy23
Copy link
Member Author

songy23 commented Sep 11, 2024

Looks like this is still happening 🤦
https://github.com/open-telemetry/opentelemetry-collector/actions/runs/10806189674/job/29974542821?pr=11128

--- FAIL: Test_ComponentStatusReporting_SharedInstance (0.00s)
    status_test.go:133: checking errors for traces, - Receiver - test
    status_test.go:157: events received: StatusStarting,StatusRecoverableError,StatusOK,StatusStopping,StatusStopped,
    status_test.go:133: checking errors for metrics, - Receiver - test
    status_test.go:145: 
        	Error Trace:	D:/a/opentelemetry-collector/opentelemetry-collector/internal/e2e/status_test.go:145
        	Error:      	Not equal: 
        	            	expected: 2
        	            	actual  : 6
        	Test:       	Test_ComponentStatusReporting_SharedInstance
    status_test.go:148: 
        	Error Trace:	D:/a/opentelemetry-collector/opentelemetry-collector/internal/e2e/status_test.go:148
        	Error:      	Not equal: 
        	            	expected: 6
        	            	actual  : 7
        	Test:       	Test_ComponentStatusReporting_SharedInstance
    status_test.go:157: events received: StatusStarting,StatusRecoverableError,StatusStopping,StatusStopped,
FAIL
FAIL	go.opentelemetry.io/collector/internal/e2e	3.161s
FAIL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:componentstatus flaky test help wanted Good issue for contributors to OpenTelemetry Service to pick up
Projects
None yet
3 participants