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 pkg/component/runtime.TestManager_FakeShipper #2057

Closed
cmacknz opened this issue Jan 4, 2023 · 1 comment
Closed

Flaky test pkg/component/runtime.TestManager_FakeShipper #2057

cmacknz opened this issue Jan 4, 2023 · 1 comment
Assignees
Labels
Team:Elastic-Agent Label for the Agent team v8.6.0

Comments

@cmacknz
Copy link
Member

cmacknz commented Jan 4, 2023

Flaky Test

Stack Trace

=== RUN   TestManager_FakeShipper
    manager_test.go:1963: component state changed: {State:STARTING Message:Starting: spawned pid '38565' Units:map[{UnitType:input UnitID:fake-input}:{State:STARTING Message:Starting: spawned pid '38565' Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:0 err:<nil>} {UnitType:output UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38565' Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:0 err:<nil>}] VersionInfo:{Name: Version: Meta:map[]} expectedUnits:map[{UnitType:0 UnitID:fake-input}:{state:2 configStateIdx:1 config:0xc0003146c0 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000984090 err:<nil> logLevel:4}]}
    manager_test.go:1963: component state changed: {State:HEALTHY Message:Healthy: communicating with pid '38565' Units:map[{UnitType:input UnitID:fake-input}:{State:STARTING Message:Starting: spawned pid '38565' Payload:map[] unitState:0 unitMessage: unitPayload:map[] configStateIdx:0 err:<nil>} {UnitType:output UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38565' Payload:map[] unitState:0 unitMessage: unitPayload:map[] configStateIdx:0 err:<nil>}] VersionInfo:{Name:fake Version:1.0 Meta:map[input:fake]} expectedUnits:map[{UnitType:0 UnitID:fake-input}:{state:2 configStateIdx:1 config:0xc0003146c0 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000984090 err:<nil> logLevel:4}]}
    manager_test.go:1963: component state changed: {State:HEALTHY Message:Healthy: communicating with pid '38565' Units:map[{UnitType:input UnitID:fake-input}:{State:HEALTHY Message:Fake Healthy Payload:map[] unitState:2 unitMessage:Fake Healthy unitPayload:map[] configStateIdx:1 err:<nil>} {UnitType:output UnitID:fake-default}:{State:HEALTHY Message:GRPC fake event pipe connected "unix:///tmp/at-3055746302/tmp/elastic-agent-fake-shipper-default-pipe.sock" Payload:map[] unitState:2 unitMessage:GRPC fake event pipe connected "unix:///tmp/at-3055746302/tmp/elastic-agent-fake-shipper-default-pipe.sock" unitPayload:map[] configStateIdx:1 err:<nil>}] VersionInfo:{Name:fake Version:1.0 Meta:map[input:fake]} expectedUnits:map[{UnitType:0 UnitID:fake-input}:{state:2 configStateIdx:1 config:0xc0003146c0 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000984090 err:<nil> logLevel:4}]}
    manager_test.go:1928: shipper state changed: {State:STARTING Message:Starting: spawned pid '38783' Units:map[{UnitType:input UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38783' Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:0 err:<nil>} {UnitType:output UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38783' Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:0 err:<nil>}] VersionInfo:{Name: Version: Meta:map[]} expectedUnits:map[{UnitType:0 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000984000 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000314870 err:<nil> logLevel:4}]}
    manager_test.go:1928: shipper state changed: {State:HEALTHY Message:Healthy: communicating with pid '38783' Units:map[{UnitType:input UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38783' Payload:map[] unitState:0 unitMessage: unitPayload:map[] configStateIdx:0 err:<nil>} {UnitType:output UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38783' Payload:map[] unitState:0 unitMessage: unitPayload:map[] configStateIdx:0 err:<nil>}] VersionInfo:{Name:fake-shipper Version:1.0 Meta:map[shipper:fake-shipper]} expectedUnits:map[{UnitType:0 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000984000 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000314870 err:<nil> logLevel:4}]}
    manager_test.go:1928: shipper state changed: {State:HEALTHY Message:Healthy: communicating with pid '38783' Units:map[{UnitType:input UnitID:fake-default}:{State:HEALTHY Message:Healthy Payload:map[] unitState:2 unitMessage:Healthy unitPayload:map[] configStateIdx:1 err:<nil>} {UnitType:output UnitID:fake-default}:{State:STARTING Message:Starting Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:1 err:<nil>}] VersionInfo:{Name:fake-shipper Version:1.0 Meta:map[shipper:fake-shipper]} expectedUnits:map[{UnitType:0 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000984000 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000314870 err:<nil> logLevel:4}]}
    manager_test.go:1928: shipper state changed: {State:HEALTHY Message:Healthy: communicating with pid '38783' Units:map[{UnitType:input UnitID:fake-default}:{State:HEALTHY Message:Healthy Payload:map[] unitState:2 unitMessage:Healthy unitPayload:map[] configStateIdx:1 err:<nil>} {UnitType:output UnitID:fake-default}:{State:HEALTHY Message:Healthy Payload:map[] unitState:2 unitMessage:Healthy unitPayload:map[] configStateIdx:1 err:<nil>}] VersionInfo:{Name:fake-shipper Version:1.0 Meta:map[shipper:fake-shipper]} expectedUnits:map[{UnitType:0 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000984000 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000314870 err:<nil> logLevel:4}]}
    manager_test.go:2024: 
        	Error Trace:	manager_test.go:2024
        	Error:      	Received unexpected error:
        	            	action undefined
        	Test:       	TestManager_FakeShipper
--- FAIL: TestManager_FakeShipper (6.14s
@cmacknz cmacknz added Team:Elastic-Agent Label for the Agent team v8.6.0 labels Jan 4, 2023
@jlind23
Copy link
Contributor

jlind23 commented Mar 6, 2023

Closing this as a duplicate of : #2301
cc @pierrehilbert

@jlind23 jlind23 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent Label for the Agent team v8.6.0
Projects
None yet
Development

No branches or pull requests

3 participants