Skip to content

Failed

Build / win-RS5 / github.com/docker/docker/builder/dockerfile.TestDispatch/Wildcard_ADD_multiple_files_to_file (from github.com_docker_docker_builder_dockerfile)

Failing for the past 2 builds (Since #1 )
Took 10 ms.

Error Message

Failed

Stacktrace

=== RUN   TestDispatch/Wildcard_ADD_multiple_files_to_file
time="2020-04-24T15:15:30Z" level=error msg="Can't add file \\\\?\\C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\builder-dockerfile-test730533559\\file1.txt to tar: platform and architecture is not supported"
time="2020-04-24T15:15:30Z" level=error msg="Can't add file \\\\?\\C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\builder-dockerfile-test730533559\\file2.txt to tar: platform and architecture is not supported"
    --- FAIL: TestDispatch/Wildcard_ADD_multiple_files_to_file (0.01s)
        evaluator_test.go:137: assertion failed: expected error to contain "When using ADD with more than one source file, the destination must be a directory and end with a /", got "ADD failed: no source files were specified"
            no source files were specified
            github.com/docker/docker/builder/dockerfile.(*copier).getCopyInfosForSourcePaths
            	C:/gopath/src/github.com/docker/docker/builder/dockerfile/copy.go:148
            github.com/docker/docker/builder/dockerfile.(*copier).createCopyInstruction
            	C:/gopath/src/github.com/docker/docker/builder/dockerfile/copy.go:123
            github.com/docker/docker/builder/dockerfile.dispatchAdd
            	C:/gopath/src/github.com/docker/docker/builder/dockerfile/dispatchers.go:99
            github.com/docker/docker/builder/dockerfile.dispatch
            	C:/gopath/src/github.com/docker/docker/builder/dockerfile/evaluator.go:75
            github.com/docker/docker/builder/dockerfile.TestDispatch.func1
            	C:/gopath/src/github.com/docker/docker/builder/dockerfile/evaluator_test.go:136
            testing.tRunner
            	c:/go/src/testing/testing.go:909
            runtime.goexit
            	c:/go/src/runtime/asm_amd64.s:1357
            ADD failed
            github.com/docker/docker/builder/dockerfile.(*copier).createCopyInstruction
            	C:/gopath/src/github.com/docker/docker/builder/dockerfile/copy.go:125
            github.com/docker/docker/builder/dockerfile.dispatchAdd
            	C:/gopath/src/github.com/docker/docker/builder/dockerfile/dispatchers.go:99
            github.com/docker/docker/builder/dockerfile.dispatch
            	C:/gopath/src/github.com/docker/docker/builder/dockerfile/evaluator.go:75
            github.com/docker/docker/builder/dockerfile.TestDispatch.func1
            	C:/gopath/src/github.com/docker/docker/builder/dockerfile/evaluator_test.go:136
            testing.tRunner
            	c:/go/src/testing/testing.go:909
            runtime.goexit
            	c:/go/src/runtime/asm_amd64.s:1357