Skip to content

E2E standalone test failure - 9081 bind address already in use #1512

Open
@antontroshin

Description

@antontroshin

Expected Behavior

Test passing

Actual Behavior

The self-host e2e test is flaky and fails more than success.

Job name: Run Self-Hosted E2E tests in darwin_amd64_complete

Log

Error Trace:	/Users/runner/work/cli/cli/tests/e2e/standalone/run_template_test.go:408
        	            				/Users/runner/work/cli/cli/tests/e2e/standalone/run_template_test.go:399
        	            				/Users/runner/work/cli/cli/tests/e2e/standalone/run_template_test.go:344
        	Error:      	"== APP - processor == Starting server in port 9081...\n== APP - processor == 2025/04/15 15:12:02 Failed to create listener: listen tcp :9081: bind: address already in use\n== APP - processor == exit status 1\nThe App process exited with error code: exit status 1\n\ntermination signal received: shutting down\nError exiting App: exit status 1\n" does not contain "Received metrics:  {1}"
        	Test:       	TestRunWithTemplateFile/valid_template_file_with_app/daprd_log_destinations

URL: https://github.com/dapr/cli/actions/runs/14460043316/job/40590330370?pr=1509

Steps to Reproduce the Problem

Look at the supplied URL or the "Actions" failing E2E standalone test

Release Note

RELEASE NOTE:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions