> git config core.sparsecheckout # timeout=10
> git checkout -f 9e662b24bbeba0ecfaadb5791ff65ee8db523666
Commit message: "Introduce --iidfile option"
Commit message: "Introduce --iidfile option"
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-705/7/stashes/invocation-image.tgz[Pipeline] sh
+ docker load -i invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-705-7
[Pipeline] }
[Pipeline] // dir
[Pipeline] unstash
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-705/7/stashes/coverage-invocation-image.tgz[Pipeline] sh
+ docker load -i coverage-invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-705-7-coverage
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile TAG=jenkins-app-PR-705-7-coverage coverage-run
docker build --build-arg TAG=jenkins-app-PR-705-7-coverage --build-arg COMMIT=9e662b24 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-705-7 .
Sending build context to Docker daemon 76.14MB
Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705: Pulling from dockercore/golang-cross
4ae16bd47783: Pulling fs layer
bbab4ec87ac4: Pulling fs layer
2ea1f7804402: Pulling fs layer
96465440c208: Pulling fs layer
16a3d8aca6cd: Pulling fs layer
e0ec5610455a: Pulling fs layer
96d705baf026: Pulling fs layer
39007eb46008: Pulling fs layer
4e549f0f5e64: Pulling fs layer
c0058a8c71f2: Pulling fs layer
2f8d98df0991: Pulling fs layer
96d705baf026: Waiting
39007eb46008: Waiting
4e549f0f5e64: Waiting
c0058a8c71f2: Waiting
2f8d98df0991: Waiting
96465440c208: Waiting
16a3d8aca6cd: Waiting
e0ec5610455a: Waiting
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
4ae16bd47783: Verifying Checksum
4ae16bd47783: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
16a3d8aca6cd: Verifying Checksum
16a3d8aca6cd: Download complete
96d705baf026: Verifying Checksum
96d705baf026: Download complete
39007eb46008: Verifying Checksum
39007eb46008: Download complete
c0058a8c71f2: Verifying Checksum
c0058a8c71f2: Download complete
e0ec5610455a: Verifying Checksum
e0ec5610455a: Download complete
4e549f0f5e64: Verifying Checksum
4e549f0f5e64: Download complete
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-705/7/stashes/binaries.tgz[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/examples
[Pipeline] {
[Pipeline] unstash
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-705/7/stashes/examples.tgz[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/e2e
[Pipeline] {
[Pipeline] unstash
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-705/7/stashes/e2e.tgz[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e
2f8d98df0991: Verifying Checksum
2f8d98df0991: Download complete
4ae16bd47783: Pull complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
16a3d8aca6cd: Pull complete
e0ec5610455a: Pull complete
96d705baf026: Pull complete
39007eb46008: Pull complete
4e549f0f5e64: Pull complete
c0058a8c71f2: Pull complete
=== RUN TestBuild
--- FAIL: TestBuild (20.74s)
build_test.go:51: failed to parse source file: /go/src/github.com/docker/app/e2e/build_test.go: open /go/src/github.com/docker/app/e2e/build_test.go: no such file or directory
build_test.go:51: assertion failed: 1c8fa796b44c1df2a9fc62d8ef89db20532565243e2313260577d2f374e46d67 (string) != 1c8fa796b44c1df2a9fc62d8ef89db20532565243e2313260577d2f374e46d67 (store.ID)
FAIL e2e/linux.TestBuild (20.74s)
2f8d98df0991: Pull complete
Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705
Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705
---> 518d5e4626aa
Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
---> Running in 79dc0487b288
Removing intermediate container 79dc0487b288
---> 8aee4c0a352a
Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime
---> Running in b285704af588
Reading package lists...
Building dependency tree...
Reading state information...
coreutils is already the newest version (8.30-3).
coreutils set to manually installed.
util-linux is already the newest version (2.33.1-0.1).
util-linux set to manually installed.
The following NEW packages will be installed:
uuid-runtime
=== RUN TestBuildWithoutTag
--- FAIL: TestBuildWithoutTag (17.49s)
build_test.go:61: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build -f testdata/build/single.dockerapp testdata/build
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown shorthand flag: 'f' in -f
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestBuildWithoutTag (17.49s)
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 95.2 kB of archives.
After this operation, 211 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB]
[91mdebconf: delaying package configuration, since apt-utils is not installed
[0mFetched 95.2 kB in 0s (364 kB/s)
Selecting previously unselected package uuid-runtime.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 25419 files and directories currently installed.)
Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ...
Unpacking uuid-runtime (2.33.1-0.1) ...
Setting up uuid-runtime (2.33.1-0.1) ...
Adding group `uuidd' (GID 102) ...
Done.
Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
Adding system user `uuidd' (UID 101) ...
Adding new user `uuidd' (UID 101) with group `uuidd' ...
Not creating home directory `/run/uuidd'.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Removing intermediate container b285704af588
---> 024ee021ef95
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
---> Running in 57c3976a5f15
Removing intermediate container 57c3976a5f15
---> 3a818dc8866b
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
---> Running in 56156eb07e5e
[91mCloning into '.'...
[0m[91mNote: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact
[0mRemoving intermediate container 56156eb07e5e
---> 7f43c524ed3e
Step 6/18 : ARG GOPROXY
---> Running in 004e50b6fc5b
Removing intermediate container 004e50b6fc5b
---> bca3c1c52d5b
Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker
---> Running in 2df79f938425
./scripts/build/osx
Building build/docker-darwin-amd64
=== RUN TestBuildWithArgs
--- FAIL: TestBuildWithArgs (17.06s)
build_test.go:92: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build -f testdata/build/single.dockerapp testdata/build --build-arg REPLACE_BY_BUILD_ARG=replaced
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown shorthand flag: 'f' in -f
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestBuildWithArgs (17.06s)
=== RUN TestBuildWithArgsDefinedTwice
--- FAIL: TestBuildWithArgsDefinedTwice (12.25s)
build_test.go:124: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build -f testdata/build/single.dockerapp testdata/build --build-arg REPLACE_BY_BUILD_ARG=replaced --build-arg REPLACE_BY_BUILD_ARG=replaced_twice
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown shorthand flag: 'f' in -f
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 1
Expected stderr to contain "'--build-arg REPLACE_BY_BUILD_ARG' is defined twice"
FAIL e2e/linux.TestBuildWithArgsDefinedTwice (12.25s)
=== RUN TestCallCustomStatusAction/validCustomDockerStatusAction
--- FAIL: TestCallCustomStatusAction/validCustomDockerStatusAction (0.98s)
cnab_test.go:54: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/cnab-with-docker-status/bundle.json --name validCustomDockerStatusAction
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --name
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (0.98s)
=== RUN TestCallCustomStatusAction/validCustomStandardStatusAction
--- FAIL: TestCallCustomStatusAction/validCustomStandardStatusAction (0.58s)
cnab_test.go:54: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/cnab-with-standard-status/bundle.json --name validCustomStandardStatusAction
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --name
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (0.58s)
=== RUN TestCallCustomStatusAction/missingCustomStatusAction
--- FAIL: TestCallCustomStatusAction/missingCustomStatusAction (0.58s)
cnab_test.go:54: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/cnab-without-status/bundle.json --name missingCustomStatusAction
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --name
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (0.58s)
=== RUN TestCallCustomStatusAction
--- FAIL: TestCallCustomStatusAction (2.14s)
FAIL e2e/linux.TestCallCustomStatusAction (2.14s)
=== RUN TestCnabParameters
--- FAIL: TestCnabParameters (0.92s)
cnab_test.go:86: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/cnab-parameters/bundle.json --name cnab-parameters --set boolParam=true --set stringParam=value --set intParam=42 --set floatParam=3.14
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --name
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestCnabParameters (0.92s)
=== RUN TestExitErrorCode
--- FAIL: TestExitErrorCode (0.06s)
commands_test.go:28: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app unknown_command
ExitCode: 0
Stdout:
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Stderr:
Failures:
ExitCode was 0 expected 1
Expected stderr to contain "\"unknown_command\" is not a docker app command\nSee 'docker app --help'"
FAIL e2e/linux.TestExitErrorCode (0.06s)
PASS e2e/linux.TestRender/envvariables/stdout (3.09s)
PASS e2e/linux.TestRender/envvariables/file (1.55s)
PASS e2e/linux.TestRender/envvariables (4.65s)
PASS e2e/linux.TestRender (4.65s)
=== RUN TestRenderFormatters
--- FAIL: TestRenderFormatters (12.22s)
commands_test.go:80: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag a-simple-tag testdata/simple
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestRenderFormatters (12.22s)
=== RUN TestInit
--- FAIL: TestInit (0.07s)
commands_test.go:135: assertion failed:
--- expected
+++ actual
@@ -1,3 +1,3 @@
+You·will·need·to·edit·parameters.yml·to·fill·in·default·values.
Created·"app-test.dockerapp"
-You·will·need·to·edit·parameters.yml·to·fill·in·default·values.
FAIL e2e/linux.TestInit (0.07s)
=== RUN TestInspectApp
--- FAIL: TestInspectApp (12.48s)
commands_test.go:163: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app image inspect
ExitCode: 0
Stdout:
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Stderr:
Failures:
ExitCode was 0 expected 1
Expected stderr to contain "\"docker app image inspect\" requires exactly 1 argument."
FAIL e2e/linux.TestInspectApp (12.48s)
=== RUN TestDockerAppLifecycle/withBindMounts
--- FAIL: TestDockerAppLifecycle/withBindMounts (12.02s)
commands_test.go:204: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/simple/simple.dockerapp --set web_port=-1 --name TestDockerAppLifecycle_withBindMounts
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --set
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 1
Expected stderr to contain "error decoding 'Ports': Invalid hostPort: -1"
FAIL e2e/linux.TestDockerAppLifecycle/withBindMounts (12.02s)
=== RUN TestDockerAppLifecycle/withoutBindMounts
--- FAIL: TestDockerAppLifecycle/withoutBindMounts (8.33s)
commands_test.go:204: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/simple/simple.dockerapp --set web_port=-1 --name TestDockerAppLifecycle_withoutBindMounts
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --set
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 1
Expected stderr to contain "error decoding 'Ports': Invalid hostPort: -1"
FAIL e2e/linux.TestDockerAppLifecycle/withoutBindMounts (8.33s)
=== RUN TestDockerAppLifecycle
--- FAIL: TestDockerAppLifecycle (20.35s)
FAIL e2e/linux.TestDockerAppLifecycle (20.35s)
=== RUN TestCredentials/missing
--- FAIL: TestCredentials/missing (0.07s)
commands_test.go:320: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run --credential secret1=foo --credential secret3=baz --name missing /tmp/TestCredentials-455848891/bundle.json
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --credential
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 1
FAIL e2e/linux.TestCredentials/missing (0.07s)
=== RUN TestCredentials/full
--- FAIL: TestCredentials/full (0.06s)
commands_test.go:335: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run --credential secret1=foo --credential secret2=bar --credential secret3=baz --name full /tmp/TestCredentials-455848891/bundle.json
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --credential
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestCredentials/full (0.06s)
=== RUN TestCredentials/mixed-credstore
--- FAIL: TestCredentials/mixed-credstore (0.05s)
commands_test.go:346: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run --credential-set test-creds --credential secret3=xyzzy --name mixed-credstore /tmp/TestCredentials-455848891/bundle.json
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --credential-set
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestCredentials/mixed-credstore (0.05s)
=== RUN TestCredentials/mixed-local-cred
--- FAIL: TestCredentials/mixed-local-cred (0.05s)
commands_test.go:357: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run --credential-set /tmp/TestCredentials-455848891/local/test-creds.yaml --credential secret3=xyzzy --name mixed-local-cred /tmp/TestCredentials-455848891/bundle.json
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --credential-set
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestCredentials/mixed-local-cred (0.05s)
=== RUN TestCredentials/overload
--- FAIL: TestCredentials/overload (0.05s)
commands_test.go:369: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run --credential-set test-creds --credential secret1=overload --credential secret3=xyzzy --name overload /tmp/TestCredentials-455848891/bundle.json
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --credential-set
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 1
FAIL e2e/linux.TestCredentials/overload (0.05s)
=== RUN TestCredentials
--- FAIL: TestCredentials (0.28s)
FAIL e2e/linux.TestCredentials (0.28s)
=== RUN TestRenderWithEnvFile
--- FAIL: TestRenderWithEnvFile (1.77s)
envfile_test.go:16: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app render testdata/envfile/envfile.dockerapp
ExitCode: 1
Error: exit status 1
Stdout:
Stderr: render failed: Action "com.docker.app.render" failed: failed to load Compose file: open myvars.env: no such file or directory
Failures:
ExitCode was 1 expected 0
Expected stdout to contain "version: \"3.7\"\nservices:\n db:\n environment:\n COMPANY: mycompany\n SOME_FILE: /some/file\n USER: myuser\n image: busybox:1.30.1"
Expected no error
FAIL e2e/linux.TestRenderWithEnvFile (1.77s)
PASS e2e/linux.TestExamplesAreValid (0.26s)
=== RUN TestImageList
--- FAIL: TestImageList (11.63s)
images_test.go:18: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag 127.0.0.1:5243/c-myapp testdata/push-pull
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestImageList (11.63s)
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
=== RUN TestImageListQuiet
--- FAIL: TestImageListQuiet (12.28s)
images_test.go:18: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag 127.0.0.1:5479/c-myapp testdata/push-pull
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestImageListQuiet (12.28s)
=== RUN TestImageRm
--- FAIL: TestImageRm (12.09s)
images_test.go:18: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag 127.0.0.1:5923/c-myapp testdata/push-pull
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestImageRm (12.09s)
=== RUN TestImageTag
--- FAIL: TestImageTag (11.75s)
images_test.go:119: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag a-simple-app testdata/simple
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestImageTag (11.75s)
=== RUN TestInvokePluginFromCLI
--- FAIL: TestInvokePluginFromCLI (0.32s)
plugin_test.go:26: assertion failed:
--- expected
+++ actual
@@ -1,23 +1,24 @@
-Usage: docker app [OPTIONS] COMMAND
+Usage: docker app COMMAND
A tool to build and manage Docker Applications.
-Options:
- --version Print version information
-
-Management Commands:
- image Manage application images
-
Commands:
- build Build service images for the application
+ bundle Create a CNAB invocation image and `bundle.json` for the application
+ completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
- ls List the installations and their last known installation result
+ inspect Shows metadata, parameters and a summary of the Compose file for a given application
+ install Install an application
+ list List the installations and their last known installation result
+ merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
- rm Remove an application
- run Run an application
- update Update a running application
+ render Render the Compose file for an Application Package
+ split Split a single-file Docker Application definition into the directory format
+ status Get the installation status of an application
+ uninstall Uninstall an application
+ upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
+ version Print version information
Run 'docker app COMMAND --help' for more information on a command.
FAIL e2e/linux.TestInvokePluginFromCLI (0.32s)
=== RUN TestPushArchs/default
--- FAIL: TestPushArchs/default (4.21s)
pushpull_test.go:101: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app push --tag 127.0.0.1:6976/test/push-pull:1 testdata/push-pull/push-pull.dockerapp
ExitCode: 1
Error: exit status 1
Stdout: Handling image 127.0.0.1:6976/test/push-pull:1-invoc...
Failure: failed to resolve "127.0.0.1:6976/test/push-pull:1-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:6976/v2/test/push-pull/manifests/1-invoc: http: server gave HTTP response to HTTPS client
Stderr: fixing up "127.0.0.1:6976/test/push-pull:1" for push: failed to resolve "127.0.0.1:6976/test/push-pull:1-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:6976/v2/test/push-pull/manifests/1-invoc: http: server gave HTTP response to HTTPS client
Failures:
ExitCode was 1 expected 0
Expected no error
FAIL e2e/linux.TestPushArchs/default (4.21s)
=== RUN TestPushArchs/all-platforms
--- FAIL: TestPushArchs/all-platforms (0.06s)
pushpull_test.go:101: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app push --tag 127.0.0.1:6976/test/push-pull:1 --all-platforms testdata/push-pull/push-pull.dockerapp
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --all-platforms
See 'docker app push --help'.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestPushArchs/all-platforms (0.06s)
=== RUN TestPushArchs
--- FAIL: TestPushArchs (16.12s)
FAIL e2e/linux.TestPushArchs (16.12s)
=== RUN TestPushInsecureRegistry
--- FAIL: TestPushInsecureRegistry (16.76s)
pushpull_test.go:136: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app push --tag 127.0.0.1:5632/test/push-insecure testdata/push-pull/push-pull.dockerapp
ExitCode: 1
Error: exit status 1
Stdout: Handling image 127.0.0.1:5632/test/push-insecure:latest-invoc...
Failure: failed to resolve "127.0.0.1:5632/test/push-insecure:latest-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5632/v2/test/push-insecure/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
Stderr: fixing up "127.0.0.1:5632/test/push-insecure:latest" for push: failed to resolve "127.0.0.1:5632/test/push-insecure:latest-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5632/v2/test/push-insecure/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
Failures:
ExitCode was 1 expected 0
Expected no error
FAIL e2e/linux.TestPushInsecureRegistry (16.76s)
=== RUN TestPushInstall
--- FAIL: TestPushInstall (16.35s)
pushpull_test.go:145: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app push --tag 127.0.0.1:5234/test/push-pull testdata/push-pull/push-pull.dockerapp
ExitCode: 1
Error: exit status 1
Stdout: Handling image 127.0.0.1:5234/test/push-pull:latest-invoc...
Failure: failed to resolve "127.0.0.1:5234/test/push-pull:latest-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5234/v2/test/push-pull/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
Stderr: fixing up "127.0.0.1:5234/test/push-pull:latest" for push: failed to resolve "127.0.0.1:5234/test/push-pull:latest-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5234/v2/test/push-pull/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
Failures:
ExitCode was 1 expected 0
Expected no error
FAIL e2e/linux.TestPushInstall (16.35s)
WARNING: binary creates a Linux executable. Use cross for macOS or Windows.
./scripts/build/binary
Building statically linked build/docker-linux-amd64
=== RUN TestPushPullInstall
--- FAIL: TestPushPullInstall (16.23s)
pushpull_test.go:160: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app push --tag 127.0.0.1:5698/test/push-pull:v.0.0.1 testdata/push-pull/push-pull.dockerapp
ExitCode: 1
Error: exit status 1
Stdout: Handling image 127.0.0.1:5698/test/push-pull:v.0.0.1-invoc...
Failure: failed to resolve "127.0.0.1:5698/test/push-pull:v.0.0.1-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5698/v2/test/push-pull/manifests/v.0.0.1-invoc: http: server gave HTTP response to HTTPS client
Stderr: fixing up "127.0.0.1:5698/test/push-pull:v.0.0.1" for push: failed to resolve "127.0.0.1:5698/test/push-pull:v.0.0.1-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5698/v2/test/push-pull/manifests/v.0.0.1-invoc: http: server gave HTTP response to HTTPS client
Failures:
ExitCode was 1 expected 0
Expected no error
FAIL e2e/linux.TestPushPullInstall (16.23s)
=== RUN TestPushInstallBundle
--- FAIL: TestPushInstallBundle (12.20s)
pushpull_test.go:200: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag a-simple-app:1.0.0 testdata/push-pull
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
FAIL e2e/linux.TestPushInstallBundle (12.20s)
FAIL e2e/linux
=== Failed
=== FAIL: e2e/linux TestBuild (20.74s)
build_test.go:51: failed to parse source file: /go/src/github.com/docker/app/e2e/build_test.go: open /go/src/github.com/docker/app/e2e/build_test.go: no such file or directory
build_test.go:51: assertion failed: 1c8fa796b44c1df2a9fc62d8ef89db20532565243e2313260577d2f374e46d67 (string) != 1c8fa796b44c1df2a9fc62d8ef89db20532565243e2313260577d2f374e46d67 (store.ID)
=== FAIL: e2e/linux TestBuildWithoutTag (17.49s)
build_test.go:61: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build -f testdata/build/single.dockerapp testdata/build
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown shorthand flag: 'f' in -f
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestBuildWithArgs (17.06s)
build_test.go:92: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build -f testdata/build/single.dockerapp testdata/build --build-arg REPLACE_BY_BUILD_ARG=replaced
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown shorthand flag: 'f' in -f
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestBuildWithArgsDefinedTwice (12.25s)
build_test.go:124: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build -f testdata/build/single.dockerapp testdata/build --build-arg REPLACE_BY_BUILD_ARG=replaced --build-arg REPLACE_BY_BUILD_ARG=replaced_twice
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown shorthand flag: 'f' in -f
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 1
Expected stderr to contain "'--build-arg REPLACE_BY_BUILD_ARG' is defined twice"
=== FAIL: e2e/linux TestCallCustomStatusAction/validCustomDockerStatusAction (0.98s)
--- FAIL: TestCallCustomStatusAction/validCustomDockerStatusAction (0.98s)
cnab_test.go:54: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/cnab-with-docker-status/bundle.json --name validCustomDockerStatusAction
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --name
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestCallCustomStatusAction/validCustomStandardStatusAction (0.58s)
--- FAIL: TestCallCustomStatusAction/validCustomStandardStatusAction (0.58s)
cnab_test.go:54: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/cnab-with-standard-status/bundle.json --name validCustomStandardStatusAction
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --name
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestCallCustomStatusAction/missingCustomStatusAction (0.58s)
--- FAIL: TestCallCustomStatusAction/missingCustomStatusAction (0.58s)
cnab_test.go:54: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/cnab-without-status/bundle.json --name missingCustomStatusAction
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --name
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestCallCustomStatusAction (2.14s)
=== FAIL: e2e/linux TestCnabParameters (0.92s)
cnab_test.go:86: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/cnab-parameters/bundle.json --name cnab-parameters --set boolParam=true --set stringParam=value --set intParam=42 --set floatParam=3.14
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --name
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestExitErrorCode (0.06s)
commands_test.go:28: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app unknown_command
ExitCode: 0
Stdout:
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Stderr:
Failures:
ExitCode was 0 expected 1
Expected stderr to contain "\"unknown_command\" is not a docker app command\nSee 'docker app --help'"
=== FAIL: e2e/linux TestRenderFormatters (12.22s)
commands_test.go:80: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag a-simple-tag testdata/simple
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestInit (0.07s)
commands_test.go:135: assertion failed:
--- expected
+++ actual
@@ -1,3 +1,3 @@
+You·will·need·to·edit·parameters.yml·to·fill·in·default·values.
Created·"app-test.dockerapp"
-You·will·need·to·edit·parameters.yml·to·fill·in·default·values.
=== FAIL: e2e/linux TestInspectApp (12.48s)
commands_test.go:163: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app image inspect
ExitCode: 0
Stdout:
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Stderr:
Failures:
ExitCode was 0 expected 1
Expected stderr to contain "\"docker app image inspect\" requires exactly 1 argument."
=== FAIL: e2e/linux TestDockerAppLifecycle/withBindMounts (12.02s)
--- FAIL: TestDockerAppLifecycle/withBindMounts (12.02s)
commands_test.go:204: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/simple/simple.dockerapp --set web_port=-1 --name TestDockerAppLifecycle_withBindMounts
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --set
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 1
Expected stderr to contain "error decoding 'Ports': Invalid hostPort: -1"
=== FAIL: e2e/linux TestDockerAppLifecycle/withoutBindMounts (8.33s)
--- FAIL: TestDockerAppLifecycle/withoutBindMounts (8.33s)
commands_test.go:204: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run testdata/simple/simple.dockerapp --set web_port=-1 --name TestDockerAppLifecycle_withoutBindMounts
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --set
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 1
Expected stderr to contain "error decoding 'Ports': Invalid hostPort: -1"
=== FAIL: e2e/linux TestDockerAppLifecycle (20.35s)
=== FAIL: e2e/linux TestCredentials/missing (0.07s)
--- FAIL: TestCredentials/missing (0.07s)
commands_test.go:320: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run --credential secret1=foo --credential secret3=baz --name missing /tmp/TestCredentials-455848891/bundle.json
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --credential
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 1
=== FAIL: e2e/linux TestCredentials/full (0.06s)
--- FAIL: TestCredentials/full (0.06s)
commands_test.go:335: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run --credential secret1=foo --credential secret2=bar --credential secret3=baz --name full /tmp/TestCredentials-455848891/bundle.json
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --credential
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestCredentials/mixed-credstore (0.05s)
--- FAIL: TestCredentials/mixed-credstore (0.05s)
commands_test.go:346: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run --credential-set test-creds --credential secret3=xyzzy --name mixed-credstore /tmp/TestCredentials-455848891/bundle.json
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --credential-set
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestCredentials/mixed-local-cred (0.05s)
--- FAIL: TestCredentials/mixed-local-cred (0.05s)
commands_test.go:357: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run --credential-set /tmp/TestCredentials-455848891/local/test-creds.yaml --credential secret3=xyzzy --name mixed-local-cred /tmp/TestCredentials-455848891/bundle.json
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --credential-set
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestCredentials/overload (0.05s)
--- FAIL: TestCredentials/overload (0.05s)
commands_test.go:369: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app run --credential-set test-creds --credential secret1=overload --credential secret3=xyzzy --name overload /tmp/TestCredentials-455848891/bundle.json
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --credential-set
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 1
=== FAIL: e2e/linux TestCredentials (0.28s)
=== FAIL: e2e/linux TestRenderWithEnvFile (1.77s)
envfile_test.go:16: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app render testdata/envfile/envfile.dockerapp
ExitCode: 1
Error: exit status 1
Stdout:
Stderr: render failed: Action "com.docker.app.render" failed: failed to load Compose file: open myvars.env: no such file or directory
Failures:
ExitCode was 1 expected 0
Expected stdout to contain "version: \"3.7\"\nservices:\n db:\n environment:\n COMPANY: mycompany\n SOME_FILE: /some/file\n USER: myuser\n image: busybox:1.30.1"
Expected no error
=== FAIL: e2e/linux TestImageList (11.63s)
images_test.go:18: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag 127.0.0.1:5243/c-myapp testdata/push-pull
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestImageListQuiet (12.28s)
images_test.go:18: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag 127.0.0.1:5479/c-myapp testdata/push-pull
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestImageRm (12.09s)
images_test.go:18: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag 127.0.0.1:5923/c-myapp testdata/push-pull
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestImageTag (11.75s)
images_test.go:119: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag a-simple-app testdata/simple
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestInvokePluginFromCLI (0.32s)
plugin_test.go:26: assertion failed:
--- expected
+++ actual
@@ -1,23 +1,24 @@
-Usage: docker app [OPTIONS] COMMAND
+Usage: docker app COMMAND
A tool to build and manage Docker Applications.
-Options:
- --version Print version information
-
-Management Commands:
- image Manage application images
-
Commands:
- build Build service images for the application
+ bundle Create a CNAB invocation image and `bundle.json` for the application
+ completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
- ls List the installations and their last known installation result
+ inspect Shows metadata, parameters and a summary of the Compose file for a given application
+ install Install an application
+ list List the installations and their last known installation result
+ merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
- rm Remove an application
- run Run an application
- update Update a running application
+ render Render the Compose file for an Application Package
+ split Split a single-file Docker Application definition into the directory format
+ status Get the installation status of an application
+ uninstall Uninstall an application
+ upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
+ version Print version information
Run 'docker app COMMAND --help' for more information on a command.
=== FAIL: e2e/linux TestPushArchs/default (4.21s)
--- FAIL: TestPushArchs/default (4.21s)
pushpull_test.go:101: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app push --tag 127.0.0.1:6976/test/push-pull:1 testdata/push-pull/push-pull.dockerapp
ExitCode: 1
Error: exit status 1
Stdout: Handling image 127.0.0.1:6976/test/push-pull:1-invoc...
Failure: failed to resolve "127.0.0.1:6976/test/push-pull:1-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:6976/v2/test/push-pull/manifests/1-invoc: http: server gave HTTP response to HTTPS client
Stderr: fixing up "127.0.0.1:6976/test/push-pull:1" for push: failed to resolve "127.0.0.1:6976/test/push-pull:1-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:6976/v2/test/push-pull/manifests/1-invoc: http: server gave HTTP response to HTTPS client
Failures:
ExitCode was 1 expected 0
Expected no error
=== FAIL: e2e/linux TestPushArchs/all-platforms (0.06s)
--- FAIL: TestPushArchs/all-platforms (0.06s)
pushpull_test.go:101: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app push --tag 127.0.0.1:6976/test/push-pull:1 --all-platforms testdata/push-pull/push-pull.dockerapp
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --all-platforms
See 'docker app push --help'.
Failures:
ExitCode was 125 expected 0
Expected no error
=== FAIL: e2e/linux TestPushArchs (16.12s)
=== FAIL: e2e/linux TestPushInsecureRegistry (16.76s)
pushpull_test.go:136: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app push --tag 127.0.0.1:5632/test/push-insecure testdata/push-pull/push-pull.dockerapp
ExitCode: 1
Error: exit status 1
Stdout: Handling image 127.0.0.1:5632/test/push-insecure:latest-invoc...
Failure: failed to resolve "127.0.0.1:5632/test/push-insecure:latest-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5632/v2/test/push-insecure/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
Stderr: fixing up "127.0.0.1:5632/test/push-insecure:latest" for push: failed to resolve "127.0.0.1:5632/test/push-insecure:latest-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5632/v2/test/push-insecure/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
Failures:
ExitCode was 1 expected 0
Expected no error
=== FAIL: e2e/linux TestPushInstall (16.35s)
pushpull_test.go:145: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app push --tag 127.0.0.1:5234/test/push-pull testdata/push-pull/push-pull.dockerapp
ExitCode: 1
Error: exit status 1
Stdout: Handling image 127.0.0.1:5234/test/push-pull:latest-invoc...
Failure: failed to resolve "127.0.0.1:5234/test/push-pull:latest-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5234/v2/test/push-pull/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
Stderr: fixing up "127.0.0.1:5234/test/push-pull:latest" for push: failed to resolve "127.0.0.1:5234/test/push-pull:latest-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5234/v2/test/push-pull/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
Failures:
ExitCode was 1 expected 0
Expected no error
=== FAIL: e2e/linux TestPushPullInstall (16.23s)
pushpull_test.go:160: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app push --tag 127.0.0.1:5698/test/push-pull:v.0.0.1 testdata/push-pull/push-pull.dockerapp
ExitCode: 1
Error: exit status 1
Stdout: Handling image 127.0.0.1:5698/test/push-pull:v.0.0.1-invoc...
Failure: failed to resolve "127.0.0.1:5698/test/push-pull:v.0.0.1-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5698/v2/test/push-pull/manifests/v.0.0.1-invoc: http: server gave HTTP response to HTTPS client
Stderr: fixing up "127.0.0.1:5698/test/push-pull:v.0.0.1" for push: failed to resolve "127.0.0.1:5698/test/push-pull:v.0.0.1-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5698/v2/test/push-pull/manifests/v.0.0.1-invoc: http: server gave HTTP response to HTTPS client
Failures:
ExitCode was 1 expected 0
Expected no error
=== FAIL: e2e/linux TestPushInstallBundle (12.20s)
pushpull_test.go:200: assertion failed:
Command: /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/docker-linux app build --tag a-simple-app:1.0.0 testdata/push-pull
ExitCode: 125
Error: exit status 125
Stdout:
Stderr: unknown flag: --tag
See 'docker app --help'.
Usage: docker app COMMAND
A tool to build and manage Docker Applications.
Commands:
bundle Create a CNAB invocation image and `bundle.json` for the application
completion Generates completion scripts for the specified shell (bash or zsh)
init Initialize Docker Application definition
inspect Shows metadata, parameters and a summary of the Compose file for a given application
install Install an application
list List the installations and their last known installation result
merge Merge a directory format Docker Application definition into a single file
pull Pull an application package from a registry
push Push an application package to a registry
render Render the Compose file for an Application Package
split Split a single-file Docker Application definition into the directory format
status Get the installation status of an application
uninstall Uninstall an application
upgrade Upgrade an installed application
validate Checks the rendered application is syntactically correct
version Print version information
Run 'docker app COMMAND --help' for more information on a command.
Failures:
ExitCode was 125 expected 0
Expected no error
DONE 40 tests, 35 failures in 248.517s
time="2019-10-22T10:40:06Z" level=warning msg="failed to lookup go version for junit xml" error="exec: \"go\": executable file not found in $PATH"
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] archiveArtifacts
Archiving artifacts
Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-705/7/artifacts/[Pipeline] junit
Recording test results
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-705-7
Untagged: docker/cnab-app-base:jenkins-app-PR-705-7
Deleted: sha256:f6abeceead48258d924ee013fca1c9fbb041f787f1f05531b45a521c1b80222b
Deleted: sha256:62715097c272aac69ec6b055e2b33c20f17a6ced5632db0d53ed849340afd304
Deleted: sha256:c5266c6be5d706d8ae3f92679838da51fca60eb6d0b127849ee9606dc5d5eb11
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Test Linux
Removing intermediate container 2df79f938425
---> a083cfddf8fe
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
---> Running in 55e22a68302c
Removing intermediate container 55e22a68302c
---> 7e67d59da32b
Step 9/18 : FROM build AS dev
---> 7e67d59da32b
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
---> Running in 419288b89534
Removing intermediate container 419288b89534
---> 63b66aa7739a
Step 11/18 : ARG DEP_VERSION=v0.5.4
---> Running in cff717d5c691
Removing intermediate container cff717d5c691
---> ac413641e2df
Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep
---> Running in 66c9d8ad08dc
[91m % Total [0m[91m % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[0m[91m
100 605 0 605 0 [0m[91m 0 4143 0 --:--:-- --:--:-- --:--:-- 4143
[0m[91m
30 10.[0m[91m5M 30 3249k 0 0 17.0M 0 --:--:-- --:--:-- --:--:-- 17.0M[0m[91m
100 10.5M 100 10.5M 0 [0m[91m 0 40.1M 0 --:--:-- --:--:-- --:--:-- 96.0M
[0mRemoving intermediate container 66c9d8ad08dc
---> 1fc1ae9f537a
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
---> Running in efe6d7cb2bb0
Removing intermediate container efe6d7cb2bb0
---> 03753bab91ea
Step 14/18 : ARG GOPROXY
---> Running in 72b76a67830e
Removing intermediate container 72b76a67830e
---> 1b7822e84442
Step 15/18 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum
---> Running in 676ddac4391e
[91mgo: finding github.com/google/go-cmp v0.2.0
[0m[91mgo: finding github.com/sirupsen/logrus v1.0.5
[0m[91mgo: finding github.com/pkg/errors v0.8.0
[0m[91mgo: finding github.com/mattn/go-isatty v0.0.3
[0m[91mgo: finding github.com/mattn/go-colorable v0.0.9
[0m[91mgo: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
[0m[91mgo: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
[0m[91mgo: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
[0m[91mgo: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
[0m[91mgo: finding gotest.tools v2.1.0+incompatible
[0m[91mgo: finding github.com/onsi/gomega v1.4.3
[0m[91mgo: finding github.com/onsi/ginkgo v1.8.0
[0m[91mgo: finding github.com/spf13/pflag v1.0.1
[0m[91mgo: finding github.com/fatih/color v1.6.0
[0m[91mgo: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
[0m[91mgo: finding github.com/jonboulle/clockwork v0.1.0
[0m[91mgo: finding github.com/stretchr/testify v1.3.0
[0m[91mgo: finding gopkg.in/fsnotify.v1 v1.4.7
[0m[91mgo: finding golang.org/x/text v0.3.0
[0m[91mgo: finding gopkg.in/yaml.v2 v2.2.1
[0m[91mgo: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
[0m[91mgo: finding github.com/fsnotify/fsnotify v1.4.7
[0m[91mgo: finding github.com/golang/protobuf v1.2.0
[0m[91mgo: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
[0m[91mgo: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
[0m[91mgo: finding github.com/hpcloud/tail v1.0.0
[0m[91mgo: finding github.com/davecgh/go-spew v1.1.0
[0m[91mgo: finding github.com/stretchr/objx v0.1.0
[0m[91mgo: finding github.com/pmezard/go-difflib v1.0.0
[0m[91mgo: finding github.com/onsi/ginkgo v1.6.0
[0m[91mgo: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
[0m[91mgo: downloading gotest.tools v2.1.0+incompatible
[0m[91mgo: extracting gotest.tools v2.1.0+incompatible
[0m[91mgo: downloading github.com/pkg/errors v0.8.0
[0m[91mgo: downloading github.com/spf13/pflag v1.0.1
[0m[91mgo: downloading github.com/jonboulle/clockwork v0.1.0
[0m[91mgo: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
[0m[91mgo: downloading github.com/sirupsen/logrus v1.0.5
[0m[91mgo: downloading github.com/fatih/color v1.6.0
[0m[91mgo: extracting github.com/pkg/errors v0.8.0
[0m[91mgo: extracting github.com/sirupsen/logrus v1.0.5
[0m[91mgo: extracting github.com/jonboulle/clockwork v0.1.0
[0m[91mgo: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
[0m[91mgo: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
[0m[91mgo: extracting github.com/spf13/pflag v1.0.1
[0m[91mgo: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
[0m[91mgo: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
[0m[91mgo: extracting github.com/fatih/color v1.6.0
[0m[91mgo: downloading github.com/mattn/go-isatty v0.0.3
[0m[91mgo: downloading github.com/mattn/go-colorable v0.0.9
[0m[91mgo: extracting github.com/mattn/go-isatty v0.0.3
[0m[91mgo: extracting github.com/mattn/go-colorable v0.0.9
[0m[91mgo: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
[0m[91mgo: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
[0m[91mgo: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
[0mRemoving intermediate container 676ddac4391e
---> d3057a429a32
Step 16/18 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
---> Running in 9f4b937c8f32
Removing intermediate container 9f4b937c8f32
---> 62bce9f3ae0b
Step 17/18 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/*
---> Running in a63d3cd41104
[91mgolang.org/x/tools/internal/semver
[0m[91mgithub.com/pkg/errors
[0m[91mgolang.org/x/tools/go/ast/astutil
[0m[91mgolang.org/x/tools/go/internal/gcimporter
[0m[91mgolang.org/x/tools/go/internal/packagesdriver
[0m[91mgolang.org/x/tools/internal/fastwalk
[0m[91mgolang.org/x/tools/internal/gopathwalk
[0m[91mgolang.org/x/tools/internal/span
[0m[91mgolang.org/x/tools/internal/module
[0m[91mgolang.org/x/tools/go/gcexportdata
[0m[91mgolang.org/x/tools/go/packages
[0m[91mgolang.org/x/tools/internal/imports
[0m[91mgolang.org/x/tools/imports
[0m[91mgithub.com/mjibson/esc/embed
[0m[91mgithub.com/mjibson/esc
[0mRemoving intermediate container a63d3cd41104
---> c487ae9fa89f
Step 18/18 : COPY . .
---> 5d404e853c37
[Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed
Successfully built 5d404e853c37
Successfully tagged docker-app-dev:jenkins-app-PR-705-7
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-705-7-coverage --network="host" -t docker-app-dev:jenkins-app-PR-705-7 make COMMIT=9e662b24 TAG=jenkins-app-PR-705-7-coverage TEST_RESULTS_PREFIX= coverage
Running unit tests (coverage)...
CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=9e662b24 -X github.com/docker/app/internal.Version=jenkins-app-PR-705-7-coverage -X github.com/docker/app/internal.BuildTime=2019-10-22T10:41:39Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/internal github.com/docker/app/internal/cnab github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters
[33m∅[0m .
[33m∅[0m cmd/cnab-run
[33m∅[0m cmd/docker-app
[32m✓[0m internal (27ms)
[32m✓[0m internal/cnab (72ms)
[32m✓[0m internal/commands (439ms)
[32m✓[0m internal/commands/build (35ms)
[32m✓[0m internal/compose (7ms)
[32m✓[0m internal/formatter (6ms)
[32m✓[0m internal/commands/image (33ms)
[33m∅[0m internal/formatter/driver
[33m∅[0m internal/formatter/json
[33m∅[0m internal/formatter/yaml
[32m✓[0m internal/inspect (148ms)
[33m∅[0m internal/log
[32m✓[0m internal/slices (2ms)
[32m✓[0m internal/store (34ms)
[32m✓[0m internal/yaml (7ms)
[32m✓[0m internal/packager (78ms)
[32m✓[0m loader (34ms)
[32m✓[0m render (64ms)
[32m✓[0m specification (8ms)
[32m✓[0m types (39ms)
[32m✓[0m types/metadata (33ms)
[32m✓[0m types/parameters (20ms)
DONE 231 tests in 126.957s
CGO_ENABLED=0 go test -tags=" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=9e662b24 -X github.com/docker/app/internal.Version=jenkins-app-PR-705-7-coverage -X github.com/docker/app/internal.BuildTime=2019-10-22T10:41:39Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app
Running e2e tests (coverage)...
DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/e2e-coverage.xml -- -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=9e662b24 -X github.com/docker/app/internal.Version=jenkins-app-PR-705-7-coverage -X github.com/docker/app/internal.BuildTime=2019-10-22T10:41:39Z" -v ./e2e
=== [31mFailed[0m
=== [31mFAIL[0m: e2e TestBuild (21.29s)
build_test.go:51: assertion failed: 0eb84bf028b06c724eb78dec1712978f6807a46c9d951382082a90d3462f2eda (iid string) != 0eb84bf028b06c724eb78dec1712978f6807a46c9d951382082a90d3462f2eda (actualID store.ID)
=== [31mFAIL[0m: e2e TestBuildWithoutTag (21.32s)
panic: stat /tmp: no such file or directory [recovered]
panic: stat /tmp: no such file or directory
goroutine 43 [running]:
testing.tRunner.func1(0xc000412200)
/usr/local/go/src/testing/testing.go:830 +0x392
panic(0x140b840, 0xc000246e40)
/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/docker/app/e2e.dockerCliCommand.createTestCmd(0x157ed14, 0x6, 0xc000043260, 0x1b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/github.com/docker/app/e2e/main_test.go:35 +0x694
github.com/docker/app/e2e.runWithDindSwarmAndRegistry(0xc000412200, 0xc00020ff88)
/go/src/github.com/docker/app/e2e/helper_test.go:27 +0x77
github.com/docker/app/e2e.TestBuildWithoutTag(0xc000412200)
/go/src/github.com/docker/app/e2e/build_test.go:56 +0x4e
testing.tRunner(0xc000412200, 0x1624618)
/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:916 +0x35a
FAIL github.com/docker/app/e2e 21.321s
DONE 2 tests, 2 failures in 25.237s
[33mWARN[0m[0025] failed to lookup go version for junit xml [33merror[0m="exit status 1"
make: *** [Makefile:96: coverage-test-e2e] Error 1
docker.Makefile:100: recipe for target 'coverage-run' failed
make: *** [coverage-run] Error 2
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app/_build/test-results
[Pipeline] {
[Pipeline] sh
+ [ ! -e unit-coverage.xml ]
[Pipeline] sh
+ [ ! -e e2e-coverage.xml ]
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] junit
Recording test results
No test report files were found. Configuration error?
[Pipeline] }
[Pipeline] // dir
Error when executing always post condition:
hudson.AbortException: No test report files were found. Configuration error?
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:154)
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3050)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:834)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to ubuntu-1804-overlay2 (i-037e8d0e5e1e5c41d)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:957)
at hudson.FilePath.act(FilePath.java:1070)
at hudson.FilePath.act(FilePath.java:1059)
at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114)
at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:137)
at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:167)
at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:52)
at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:25)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Coverage
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] End of Pipeline
GitHub has been notified of this commit’s build result
ERROR: script returned exit code 1
Finished: FAILURE