Repository navigation
chore: Rename test-dagger-engine to dagger-engine.dev - #4371
Conversation
Because it is a dev dagger-engine that was built from the current source code.
My first instinct was to rename this to dagger-engine-dev, similar to
dagger-engine-<SHA>, but there is garbage collection that uses the
dagger-engine- prefix, and I didn't want to refactor that in this
context. Yes, I was effectively side-stepping that problem since I
didn't want to be pulling too much change at once. That is due a
refactoring soon, so no point in digging into it now.
By the way, if you have an existing test-dagger-engine running, you will
need to remove it manually. You will also need to prune the volume. I
recommend:
docker rm -f test-dagger-engine
docker volume prune
Signed-off-by: Gerhard Lazu <[email protected]>
|
Looking into the |
|
There is a flaky engine test: #19 182.5 #3 ERROR: process "sh -c echo VEhJUyBTSE9VTEQgR08gVE8gU1RET1VU | base64 -d >&1; echo VEhJUyBTSE9VTEQgR08gVE8gU1RERVJS | base64 -d >&2; exit 1" did not complete successfully: exit code: 1
...
#19 182.5 FAIL
#19 182.5 FAIL github.com/dagger/dagger/core/integration 174.706s
#19 182.5 ? github.com/dagger/dagger/core/schema [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/embed-directories [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/embed-directories/example [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/get-started/step2 [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/get-started/step4 [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/get-started/step5a [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/get-started/step5b [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/multiplatform-support/build-images-cross-compilation [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/multiplatform-support/build-images-emulation [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/multiplatform-support/non-linux-support [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/multiplatform-support/pull-images [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/multistage-build [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/private-repositories [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/replace-dockerfile [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/work-with-host-filesystem/export-dir [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/work-with-host-filesystem/list-dir [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/work-with-host-filesystem/list-dir-exclude [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/work-with-host-filesystem/list-dir-exclude-include [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/work-with-host-filesystem/list-dir-include [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/work-with-host-filesystem/mount-dir [no test files]
#19 182.5 ? github.com/dagger/dagger/docs/current/sdk/go/snippets/work-with-host-filesystem/set-workdir [no test files]
#19 182.5 ? github.com/dagger/dagger/engine [no test files]
#19 182.5 ? github.com/dagger/dagger/internal/engine [no test files]
#19 182.5 ? github.com/dagger/dagger/internal/testutil [no test files]
#19 182.5 ? github.com/dagger/dagger/project [no test files]
...
#19 182.5 FAIL
Error: input:1: container.from.exec.withEnvVariable.withExec.withWorkdir.withMountedDirectory.withExec.withMountedDirectory.withUnixSocket.withMountedFile.withMountedFile.withEnvVariable.withEnvVariable.withMountedDirectory.withWorkdir.withEnvVariable.withMountedDirectory.withExec.stdout process "go test -p 16 -v -count=1 ./..." did not complete successful
ly: exit code: 1time="2023-01-12T15:35:50Z" level=error msg="/moby.buildkit.v1.frontend.LLBBridge/ReadFile returned error: rpc error: code = Unknown desc = process \"go test -p 16 -v -count=1 ./...\" did not complete successfully: exit code: 1\n"
time="2023-01-12T15:35:50Z" level=debug msg="session finished: <nil>"
time="2023-01-12T15:35:50Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Canceled desc = context canceled\n"Running it again made it pass:
In this other, follow-up PR, it passed the first time: https://github.com/dagger/dagger/actions/runs/3903581177/jobs/6668145212 Locally, the first time it failed in ~ The second time, it passed in
|
sipsma
left a comment
There was a problem hiding this comment.
Code change lgtm, taking a look at the flaky test now too
|
@gerhard re: the flaky test, the logs are kind of being red herring, the line that says is expected. It's from the Definitely confusing but I'm not sure what we can do about it in the immediate term. The best way to find test failures right now is to search for It looks like the actual failure is here: |
|
Thank you for digging into this @sipsma. I will go ahead and merge this now. We should keep an eye on this flake, and eventually fix it. For now, raising awareness is sufficient. |
Yeah :/ I'm reading the logs in the test. Unfortunately, EDIT: opened #4375 to track this |


Because it is a dev dagger-engine that was built from the current source code.
My first instinct was to rename this to
dagger-engine-dev, similar todagger-engine-<SHA>, but there is garbage collection that uses thedagger-engine-prefix, and I didn't want to refactor that in this context. Yes, I was effectively side-stepping that problem since I didn't want to be pulling too much change at once. That is due a refactoring soon, so no point in digging into it now.By the way, if you have an existing test-dagger-engine running, you will need to remove it manually. You will also need to prune the volume. I recommend:
This is related to a discussion we had with @sipsma in the context of #4300