Skip to content

Failed

Test / Coverage / unit/basic/internal/packager.TestInitFromV2ComposeFile (from unit_basic_internal_packager)

Failing for the past 2 builds (Since Failed #2 )
Took 0 ms.

Error Message

Failed

Stacktrace

=== RUN   TestInitFromV2ComposeFile
--- FAIL: TestInitFromV2ComposeFile (0.00s)
    init_test.go:135: assertion failed: expected error to contain "unsupported Compose file version", got "failed to load compose content: nginx: variables are not allowed in the service's image field. Found: 'nginx:${NGINX_VERSION}'"
        nginx: variables are not allowed in the service's image field. Found: 'nginx:${NGINX_VERSION}'
        failed to load compose content
        github.com/docker/app/internal/packager.initFromComposeFile
        	/go/src/github.com/docker/app/internal/packager/init.go:116
        github.com/docker/app/internal/packager.TestInitFromV2ComposeFile
        	/go/src/github.com/docker/app/internal/packager/init_test.go:134
        testing.tRunner
        	/usr/local/go/src/testing/testing.go:865
        runtime.goexit
        	/usr/local/go/src/runtime/asm_amd64.s:1337