Skip to content

[receiver/opencensus] Flaky test TestComponentLifecycle #31643

@atoulme

Description

@atoulme
=== Failed
make[2]: *** [../../Makefile.Common:131: test-with-cover] Error 3
=== FAIL: . TestComponentLifecycle/metrics-shutdown (0.00s)
    generated_component_test.go:50: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/opencensusreceiver/generated_component_test.go:50
        	Error:      	Received unexpected error:
make[1]: *** [Makefile:165: receiver/opencensusreceiver] Error 2
make: *** [Makefile:117: gotest-with-cover] Error 2
        	            	failed to bind to address "0.0.0.0:55678": listen tcp 0.0.0.0:55678: bind: address already in use
        	Test:       	TestComponentLifecycle/metrics-shutdown

=== FAIL: . TestComponentLifecycle/traces-shutdown (0.00s)

=== FAIL: . TestComponentLifecycle (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x129e5fc]

Seems like there is some port conflict for opencensusreceiver in CI. Not sure but maybe parallel builds?

Originally posted by @pepperkick in #31622 (comment)

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