coder / envbuilder

Build development environments from a Dockerfile on Docker, Kubernetes, and OpenShift. Enable developers to modify their development environment quickly.
Apache License 2.0
123 stars 24 forks source link

flake: Test_sendLogs #209

Open matifali opened 3 months ago

matifali commented 3 months ago

seen in : https://github.com/coder/envbuilder/actions/runs/9222532988/job/25373874087#step:4:293 and https://github.com/coder/envbuilder/actions/runs/9222581479/job/25374019612#step:4:290

Fixed on 2nd attempt.

envbuilder - Build development environments from repositories in a container
error: open devcontainer.json: open /tmp/Test_sendLogs3313137681/001/devcontainer.json: no such file or directory
--- FAIL: Test_sendLogs (0.00s)
    main_test.go:82: 
            Error Trace:    /home/runner/work/envbuilder/envbuilder/cmd/envbuilder/main_test.go:82
            Error:          Should NOT be empty, but was []
            Test:           Test_sendLogs
FAIL
FAIL    github.com/coder/envbuilder/cmd/envbuilder  0.078s
ok      github.com/coder/envbuilder/devcontainer    0.077s
ok      github.com/coder/envbuilder/devcontainer/features   0.094s
?       github.com/coder/envbuilder/internal/notcodersdk    [no test files]
?       github.com/coder/envbuilder/scripts/docsgen [no test files]
?       github.com/coder/envbuilder/testutil/gittest    [no test files]
?       github.com/coder/envbuilder/testutil/registrytest   [no test files]
ok      github.com/coder/envbuilder/integration 54.589s
ok      github.com/coder/envbuilder/internal/ebutil 0.005s
FAIL
make: *** [Makefile:18: test] Error 1