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

exec mode test flakes #20

Open
blampe opened this issue Mar 28, 2024 · 0 comments
Open

exec mode test flakes #20

blampe opened this issue Mar 28, 2024 · 0 comments
Labels
impact/flaky-test A test that is unreliable kind/bug Some behavior is incorrect or out of spec

Comments

@blampe
Copy link
Contributor

blampe commented Mar 28, 2024

What happened?

We are occasionally seeing these flakes:

    --- FAIL: TestBuild/exec-inline (1.61s)
    --- FAIL: TestBuild/exec-remoteContextWithInline (0.12s)
    --- FAIL: TestBuild/exec-remoteContext (0.20s)
    --- FAIL: TestBuild/exec-namedContext (0.13s)
    --- FAIL: TestBuild/exec-target (0.22s)

2024/03/28 18:23:20 http2: server connection error from localhost: connection error: PROTOCOL_ERROR

error reading server preface: EOF

We might have a concurrency issue with exec mode.

Also manifests as

=== CONT  TestBuild/exec-dockerLoad
error: dial unix /run/buildkit/buildkitd.sock: connect: no such file or directory
    client_test.go:309: 
        	Error Trace:	/home/runner/work/pulumi-docker-build/pulumi-docker-build/provider/internal/client_test.go:309
        	Error:      	Received unexpected error:
        	            	exit status 1
        	Test:       	TestBuild/exec-dockerLoad
        	Messages:   	error: dial unix /run/buildkit/buildkitd.sock: connect: no such file or directory
        	            	ERROR: listing workers for Build: failed to list workers: Unavailable: connection error: desc = "error reading server preface: EOF"

likely related to docker/buildx#1570.

My best guess is the daemon isn't yet ready to serve traffic, and we can probably smooth this over by retrying.

Example

.

Output of pulumi about

.

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@blampe blampe added impact/flaky-test A test that is unreliable kind/bug Some behavior is incorrect or out of spec labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/flaky-test A test that is unreliable kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

1 participant