Skip to content
Failed

Console Output

Skipping 145 KB.. Full Log
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/705/head:refs/remotes/origin/PR-705
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-705/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/705/head:refs/remotes/origin/PR-705
Fetching without tags
Checking out Revision 3ae7b087ffeba638864953cc522d85ce6126319d (PR-705)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/705/head:refs/remotes/origin/PR-705 # timeout=10
Fetching without tags
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/705/head:refs/remotes/origin/PR-705 # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/705/head:refs/remotes/origin/PR-705
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3ae7b087ffeba638864953cc522d85ce6126319d
Checking out Revision 3ae7b087ffeba638864953cc522d85ce6126319d (PR-705)
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
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/705/head:refs/remotes/origin/PR-705
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3ae7b087ffeba638864953cc522d85ce6126319d
[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/3/stashes/invocation-image.tgz
[Pipeline] sh
+ docker load -i invocation-image.tar
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-705/3/stashes/coverage-invocation-image.tgz
[Pipeline] sh
+ docker load -i coverage-invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-705-3
[Pipeline] }
[Pipeline] // dir
[Pipeline] unstash
Loaded image: docker/cnab-app-base:jenkins-app-PR-705-3-coverage
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile TAG=jenkins-app-PR-705-3-coverage coverage-run
docker build --build-arg TAG=jenkins-app-PR-705-3-coverage --build-arg COMMIT=3ae7b087 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-705-3 .
Sending build context to Docker daemon  76.14MB

Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/18 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Running in a2a7fa7246ae
Removing intermediate container a2a7fa7246ae
 ---> 4b6081e697d8
Step 3/18 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Running in fb511874e2ba
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
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]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 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 fb511874e2ba
 ---> aa3fcb3957f0
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Running in 3e0307bf6d0d
Removing intermediate container 3e0307bf6d0d
 ---> 1d652dde10ad
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Running in 9dd368c342a0
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-705/3/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/3/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/3/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
Cloning into '.'...
Note: 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
Removing intermediate container 9dd368c342a0
 ---> 8137b1a09d9b
Step 6/18 : ARG GOPROXY
 ---> Running in 42012d823818
Removing intermediate container 42012d823818
 ---> c39ce7ebedf6
Step 7/18 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Running in e1af3111d7b0
./scripts/build/osx
Building build/docker-darwin-amd64
=== RUN   TestBuild
--- FAIL: TestBuild (23.35s)
    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: 2dad1eb50f5b570541da5ee14db8df944ecc797d076086225ed7d893ca3c38e2 (string) != 2dad1eb50f5b570541da5ee14db8df944ecc797d076086225ed7d893ca3c38e2 (store.ID)
FAIL e2e/linux.TestBuild (23.35s)
=== RUN   TestBuildWithoutTag
--- FAIL: TestBuildWithoutTag (21.37s)
    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 (21.37s)
=== RUN   TestBuildWithArgs
--- FAIL: TestBuildWithArgs (12.38s)
    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 (12.38s)
=== RUN   TestBuildWithArgsDefinedTwice
--- FAIL: TestBuildWithArgsDefinedTwice (12.53s)
    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.53s)
=== RUN   TestCallCustomStatusAction/validCustomDockerStatusAction
    --- FAIL: TestCallCustomStatusAction/validCustomDockerStatusAction (0.73s)
        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.73s)
=== RUN   TestCallCustomStatusAction/validCustomStandardStatusAction
    --- FAIL: TestCallCustomStatusAction/validCustomStandardStatusAction (0.62s)
        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.62s)
=== RUN   TestCallCustomStatusAction/missingCustomStatusAction
    --- FAIL: TestCallCustomStatusAction/missingCustomStatusAction (0.63s)
        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.63s)
=== RUN   TestCallCustomStatusAction
--- FAIL: TestCallCustomStatusAction (1.98s)
FAIL e2e/linux.TestCallCustomStatusAction (1.98s)
=== RUN   TestCnabParameters
--- FAIL: TestCnabParameters (0.68s)
    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.68s)
=== 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 (2.87s)
PASS e2e/linux.TestRender/envvariables/file (1.52s)
PASS e2e/linux.TestRender/envvariables (4.39s)
PASS e2e/linux.TestRender (4.39s)
=== RUN   TestRenderFormatters
--- FAIL: TestRenderFormatters (11.88s)
    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 (11.88s)
=== RUN   TestInit
--- FAIL: TestInit (0.27s)
    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.27s)
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
=== RUN   TestInspectApp
--- FAIL: TestInspectApp (17.01s)
    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 (17.01s)
=== RUN   TestDockerAppLifecycle/withBindMounts
    --- FAIL: TestDockerAppLifecycle/withBindMounts (12.26s)
        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.26s)
=== RUN   TestDockerAppLifecycle/withoutBindMounts
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (8.08s)
        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.08s)
=== RUN   TestDockerAppLifecycle
--- FAIL: TestDockerAppLifecycle (20.34s)
FAIL e2e/linux.TestDockerAppLifecycle (20.34s)
=== 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-357575360/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.05s)
        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-357575360/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.05s)
=== 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-357575360/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-357575360/local/test-creds.yaml --credential secret3=xyzzy --name mixed-local-cred /tmp/TestCredentials-357575360/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-357575360/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.27s)
FAIL e2e/linux.TestCredentials (0.27s)
=== RUN   TestRenderWithEnvFile
--- FAIL: TestRenderWithEnvFile (1.72s)
    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.72s)
PASS e2e/linux.TestExamplesAreValid (0.23s)
=== RUN   TestImageList
--- FAIL: TestImageList (16.94s)
    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:6184/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 (16.94s)
=== RUN   TestImageListQuiet
--- FAIL: TestImageListQuiet (12.07s)
    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:5985/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.07s)
=== RUN   TestImageRm
--- FAIL: TestImageRm (12.16s)
    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:5344/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.16s)
=== RUN   TestImageTag
--- FAIL: TestImageTag (12.23s)
    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 (12.23s)
=== RUN   TestInvokePluginFromCLI
--- FAIL: TestInvokePluginFromCLI (3.72s)
    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 (3.72s)
WARNING: binary creates a Linux executable. Use cross for macOS or Windows.
./scripts/build/binary
Building statically linked build/docker-linux-amd64
=== RUN   TestPushArchs/default
    --- FAIL: TestPushArchs/default (4.31s)
        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:6570/test/push-pull:1 testdata/push-pull/push-pull.dockerapp
            ExitCode: 1
            Error:    exit status 1
            Stdout:   Handling image 127.0.0.1:6570/test/push-pull:1-invoc...
            Failure: failed to resolve "127.0.0.1:6570/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:6570/v2/test/push-pull/manifests/1-invoc: http: server gave HTTP response to HTTPS client
            
            Stderr:   fixing up "127.0.0.1:6570/test/push-pull:1" for push: failed to resolve "127.0.0.1:6570/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:6570/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.31s)
=== 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:6570/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.37s)
FAIL e2e/linux.TestPushArchs (16.37s)
=== RUN   TestPushInsecureRegistry
--- FAIL: TestPushInsecureRegistry (21.94s)
    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:5740/test/push-insecure testdata/push-pull/push-pull.dockerapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   Handling image 127.0.0.1:5740/test/push-insecure:latest-invoc...
        Failure: failed to resolve "127.0.0.1:5740/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:5740/v2/test/push-insecure/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
        
        Stderr:   fixing up "127.0.0.1:5740/test/push-insecure:latest" for push: failed to resolve "127.0.0.1:5740/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:5740/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 (21.94s)
=== RUN   TestPushInstall
--- FAIL: TestPushInstall (16.04s)
    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:5782/test/push-pull testdata/push-pull/push-pull.dockerapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   Handling image 127.0.0.1:5782/test/push-pull:latest-invoc...
        Failure: failed to resolve "127.0.0.1:5782/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:5782/v2/test/push-pull/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
        
        Stderr:   fixing up "127.0.0.1:5782/test/push-pull:latest" for push: failed to resolve "127.0.0.1:5782/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:5782/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.04s)
=== RUN   TestPushPullInstall
--- FAIL: TestPushPullInstall (16.11s)
    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:5632/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:5632/test/push-pull:v.0.0.1-invoc...
        Failure: failed to resolve "127.0.0.1:5632/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:5632/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:5632/test/push-pull:v.0.0.1" for push: failed to resolve "127.0.0.1:5632/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:5632/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.11s)
=== RUN   TestPushInstallBundle
--- FAIL: TestPushInstallBundle (17.21s)
    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 (17.21s)
FAIL e2e/linux

=== Failed
=== FAIL: e2e/linux TestBuild (23.35s)
    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: 2dad1eb50f5b570541da5ee14db8df944ecc797d076086225ed7d893ca3c38e2 (string) != 2dad1eb50f5b570541da5ee14db8df944ecc797d076086225ed7d893ca3c38e2 (store.ID)

=== FAIL: e2e/linux TestBuildWithoutTag (21.37s)
    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 (12.38s)
    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.53s)
    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.73s)
    --- FAIL: TestCallCustomStatusAction/validCustomDockerStatusAction (0.73s)
        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.62s)
    --- FAIL: TestCallCustomStatusAction/validCustomStandardStatusAction (0.62s)
        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.63s)
    --- FAIL: TestCallCustomStatusAction/missingCustomStatusAction (0.63s)
        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 (1.98s)

=== FAIL: e2e/linux TestCnabParameters (0.68s)
    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 (11.88s)
    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.27s)
    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 (17.01s)
    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.26s)
    --- FAIL: TestDockerAppLifecycle/withBindMounts (12.26s)
        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.08s)
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (8.08s)
        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.34s)

=== 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-357575360/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.05s)
    --- FAIL: TestCredentials/full (0.05s)
        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-357575360/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-357575360/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-357575360/local/test-creds.yaml --credential secret3=xyzzy --name mixed-local-cred /tmp/TestCredentials-357575360/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-357575360/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.27s)

=== FAIL: e2e/linux TestRenderWithEnvFile (1.72s)
    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 (16.94s)
    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:6184/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.07s)
    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:5985/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.16s)
    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:5344/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 (12.23s)
    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 (3.72s)
    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.31s)
    --- FAIL: TestPushArchs/default (4.31s)
        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:6570/test/push-pull:1 testdata/push-pull/push-pull.dockerapp
            ExitCode: 1
            Error:    exit status 1
            Stdout:   Handling image 127.0.0.1:6570/test/push-pull:1-invoc...
            Failure: failed to resolve "127.0.0.1:6570/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:6570/v2/test/push-pull/manifests/1-invoc: http: server gave HTTP response to HTTPS client
            
            Stderr:   fixing up "127.0.0.1:6570/test/push-pull:1" for push: failed to resolve "127.0.0.1:6570/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:6570/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:6570/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.37s)

=== FAIL: e2e/linux TestPushInsecureRegistry (21.94s)
    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:5740/test/push-insecure testdata/push-pull/push-pull.dockerapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   Handling image 127.0.0.1:5740/test/push-insecure:latest-invoc...
        Failure: failed to resolve "127.0.0.1:5740/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:5740/v2/test/push-insecure/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
        
        Stderr:   fixing up "127.0.0.1:5740/test/push-insecure:latest" for push: failed to resolve "127.0.0.1:5740/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:5740/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.04s)
    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:5782/test/push-pull testdata/push-pull/push-pull.dockerapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   Handling image 127.0.0.1:5782/test/push-pull:latest-invoc...
        Failure: failed to resolve "127.0.0.1:5782/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:5782/v2/test/push-pull/manifests/latest-invoc: http: server gave HTTP response to HTTPS client
        
        Stderr:   fixing up "127.0.0.1:5782/test/push-pull:latest" for push: failed to resolve "127.0.0.1:5782/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:5782/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.11s)
    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:5632/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:5632/test/push-pull:v.0.0.1-invoc...
        Failure: failed to resolve "127.0.0.1:5632/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:5632/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:5632/test/push-pull:v.0.0.1" for push: failed to resolve "127.0.0.1:5632/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:5632/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 (17.21s)
    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 273.307s
time="2019-10-22T08:54:14Z" 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/3/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-705-3
Untagged: docker/cnab-app-base:jenkins-app-PR-705-3
Deleted: sha256:8cd72116ca679f70e3e65764e985e67f8940ff51316ada8caeb3a5d5d730cf09
Deleted: sha256:61980532714e91b1353d5d3fa37b8c752032f885faa41408017a12d8ef61a423
Deleted: sha256:fafe6a635edb94b87e8cc4099651640a092ac0cb264454b01f21bd45a4bf3856
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Test Linux
Removing intermediate container e1af3111d7b0
 ---> 3fd3d4c3bf2f
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in 95898c2d930f
Removing intermediate container 95898c2d930f
 ---> 79d91383c29c
Step 9/18 : FROM build AS dev
 ---> 79d91383c29c
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in 1aa21966cb28
Removing intermediate container 1aa21966cb28
 ---> f8cc13d19947
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Running in fd0cdeee41af
Removing intermediate container fd0cdeee41af
 ---> ab2d989d2342
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 59d0fc191cb4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   605    0   605    0     0   7289      0 --:--:-- --:--:-- --:--:--  7289

100 10.5M  100 10.5M    0     0  52.5M      0 --:--:-- --:--:-- --:--:-- 52.5M
Removing intermediate container 59d0fc191cb4
 ---> eac3e5b10a8d
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in 639b317cf873
Removing intermediate container 639b317cf873
 ---> 072da6ffe9c7
Step 14/18 : ARG GOPROXY
 ---> Running in 47c394443d94
Removing intermediate container 47c394443d94
 ---> 09cfdf3f0cf5
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 256c45ca443b
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/spf13/pflag v1.0.1
go: finding github.com/google/go-cmp v0.2.0
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: finding gotest.tools v2.1.0+incompatible
go: finding github.com/onsi/gomega v1.4.3
go: finding github.com/onsi/ginkgo v1.8.0
go: finding github.com/sirupsen/logrus v1.0.5
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding github.com/fatih/color v1.6.0
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding golang.org/x/text v0.3.0
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding github.com/stretchr/testify v1.3.0
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/golang/protobuf v1.2.0
go: downloading gotest.tools v2.1.0+incompatible
go: extracting gotest.tools v2.1.0+incompatible
go: downloading github.com/sirupsen/logrus v1.0.5
go: downloading github.com/pkg/errors v0.8.0
go: downloading github.com/fatih/color v1.6.0
go: downloading github.com/spf13/pflag v1.0.1
go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: extracting github.com/pkg/errors v0.8.0
go: downloading github.com/jonboulle/clockwork v0.1.0
go: extracting github.com/sirupsen/logrus v1.0.5
go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: extracting github.com/jonboulle/clockwork v0.1.0
go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting github.com/spf13/pflag v1.0.1
go: extracting github.com/fatih/color v1.6.0
go: downloading github.com/mattn/go-isatty v0.0.3
go: downloading github.com/mattn/go-colorable v0.0.9
go: extracting github.com/mattn/go-isatty v0.0.3
go: extracting github.com/mattn/go-colorable v0.0.9
go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
Removing intermediate container 256c45ca443b
 ---> a4c05e087123
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 18c081009585
Removing intermediate container 18c081009585
 ---> 2c8056f6501f
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 4b7636aedbcc
golang.org/x/tools/internal/semver
github.com/pkg/errors
golang.org/x/tools/go/ast/astutil
golang.org/x/tools/go/internal/gcimporter
golang.org/x/tools/go/internal/packagesdriver
golang.org/x/tools/internal/fastwalk
golang.org/x/tools/internal/gopathwalk
golang.org/x/tools/internal/span
golang.org/x/tools/internal/module
golang.org/x/tools/go/gcexportdata
golang.org/x/tools/go/packages
golang.org/x/tools/internal/imports
golang.org/x/tools/imports
github.com/mjibson/esc/embed
github.com/mjibson/esc
Removing intermediate container 4b7636aedbcc
 ---> 85ee5226b926
Step 18/18 : COPY . .
 ---> 3a9357c2dde1
[Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed
Successfully built 3a9357c2dde1
Successfully tagged docker-app-dev:jenkins-app-PR-705-3
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-705-3-coverage --network="host" -t docker-app-dev:jenkins-app-PR-705-3 make COMMIT=3ae7b087 TAG=jenkins-app-PR-705-3-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=3ae7b087 -X github.com/docker/app/internal.Version=jenkins-app-PR-705-3-coverage -X github.com/docker/app/internal.BuildTime=2019-10-22T08:54:44Z" -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
∅  .
∅  cmd/cnab-run
∅  cmd/docker-app
✓  internal (27ms)
✓  internal/cnab (37ms)
✓  internal/commands/build (21ms)
✓  internal/commands (601ms)
✓  internal/compose (6ms)
✓  internal/formatter (17ms)
✓  internal/commands/image (35ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✓  internal/inspect (155ms)
∅  internal/log
✓  internal/slices (4ms)
✓  internal/store (28ms)
✓  internal/packager (47ms)
✓  internal/yaml (10ms)
✓  loader (31ms)
✓  render (71ms)
✓  specification (8ms)
✓  types (36ms)
✓  types/metadata (43ms)
✓  types/parameters (4ms)

DONE 231 tests in 126.120s
CGO_ENABLED=0 go test -tags=" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3ae7b087 -X github.com/docker/app/internal.Version=jenkins-app-PR-705-3-coverage -X github.com/docker/app/internal.BuildTime=2019-10-22T08:54:44Z" -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=3ae7b087 -X github.com/docker/app/internal.Version=jenkins-app-PR-705-3-coverage -X github.com/docker/app/internal.BuildTime=2019-10-22T08:54:44Z" -v ./e2e

=== Failed
=== FAIL: e2e TestBuild (21.95s)
    build_test.go:51: assertion failed: d0c23cbb629edc2037b35e4eb13ab414feb645db0333fd2f1b05dd9ab989d5a0 (iid string) != d0c23cbb629edc2037b35e4eb13ab414feb645db0333fd2f1b05dd9ab989d5a0 (actualID store.ID)

=== FAIL: e2e TestBuildWithoutTag (21.98s)
panic: stat /tmp: no such file or directory [recovered]
	panic: stat /tmp: no such file or directory

goroutine 42 [running]:
testing.tRunner.func1(0xc0004e2300)
	/usr/local/go/src/testing/testing.go:830 +0x392
panic(0x140b840, 0xc00038c5a0)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/docker/app/e2e.dockerCliCommand.createTestCmd(0x157ed14, 0x6, 0xc0000dcc00, 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(0xc0004e2300, 0xc0004aff88)
	/go/src/github.com/docker/app/e2e/helper_test.go:27 +0x77
github.com/docker/app/e2e.TestBuildWithoutTag(0xc0004e2300)
	/go/src/github.com/docker/app/e2e/build_test.go:56 +0x4e
testing.tRunner(0xc0004e2300, 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.979s


DONE 2 tests, 2 failures in 25.938s
WARN[0025] failed to lookup go version for junit xml     error="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-0583cc17ce1a5ce1b)
		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