Skip to content

Console Output

+ ./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
PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (6.11s)
PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (2.96s)
PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (2.99s)
PASS e2e/linux.TestCallCustomStatusAction (12.06s)
PASS e2e/linux.TestCnabParameters (2.96s)
PASS e2e/linux.TestExitErrorCode (0.05s)
=== RUN   TestRender/envvariables/stdout
        --- FAIL: TestRender/envvariables/stdout (1.84s)
            commands_test.go:63: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory
            commands_test.go:63: assertion failed: 
                --- ←
                +++ →
                @@ -1,9 +1 @@
                -version: "3.4"
                -services:
                -  test:
                -    command:
                -    - bash
                -    - -c
                -    - cat bar bam
                -    image: alpine:latest
                 
                : rendering mismatch
FAIL e2e/linux.TestRender/envvariables/stdout (1.84s)
=== RUN   TestRender/envvariables/file
        --- FAIL: TestRender/envvariables/file (1.54s)
            commands_test.go:68: assertion failed: error is not nil: open /tmp/-149871148/actual.yaml: no such file or directory: missing '/tmp/-149871148/actual.yaml' file
FAIL e2e/linux.TestRender/envvariables/file (1.54s)
=== RUN   TestRender/envvariables
    --- FAIL: TestRender/envvariables (3.39s)
FAIL e2e/linux.TestRender/envvariables (3.39s)
=== RUN   TestRender
--- FAIL: TestRender (3.39s)
FAIL e2e/linux.TestRender (3.39s)
=== RUN   TestRenderFormatters
--- FAIL: TestRenderFormatters (1.77s)
    commands_test.go:80: assertion failed: 
        --- expected
        +++ actual
        @@ -1,79 +1 @@
        -{
        -  "networks": {
        -    "back": {
        -      "ipam": {},
        -      "external": false
        -    },
        -    "front": {
        -      "ipam": {},
        -      "external": false
        -    }
        -  },
        -  "services": {
        -    "api": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "python:3.6",
        -      "networks": {
        -        "back": null,
        -        "front": {
        -          "aliases": [
        -            "api.example.com",
        -            "example.com"
        -          ]
        -        }
        -      }
        -    },
        -    "db": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "postgres:9.3",
        -      "networks": {
        -        "back": null
        -      }
        -    },
        -    "web": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "nginx:latest",
        -      "networks": {
        -        "front": null
        -      },
        -      "ports": [
        -        {
        -          "mode": "ingress",
        -          "target": 80,
        -          "published": 8082,
        -          "protocol": "tcp"
        -        }
        -      ],
        -      "volumes": [
        -        {
        -          "type": "volume",
        -          "source": "static",
        -          "target": "/opt/data/static"
        -        }
        -      ]
        -    }
        -  },
        -  "version": "3.6",
        -  "volumes": {
        -    "static": {
        -      "name": "corp/web-static-data",
        -      "external": true
        -    }
        -  }
        -}
         
        
FAIL e2e/linux.TestRenderFormatters (1.77s)
PASS e2e/linux.TestInit (0.12s)
PASS e2e/linux.TestDetectApp (4.92s)
PASS e2e/linux.TestBundle/simple-bundle (1.04s)
PASS e2e/linux.TestBundle/bundle-with-tag (0.34s)
PASS e2e/linux.TestBundle (8.22s)
=== RUN   TestDockerAppLifecycle/withBindMounts
    --- FAIL: TestDockerAppLifecycle/withBindMounts (13.13s)
        commands_test.go:494: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory
FAIL e2e/linux.TestDockerAppLifecycle/withBindMounts (13.13s)
=== RUN   TestDockerAppLifecycle/withoutBindMounts
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (13.37s)
        commands_test.go:494: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory
FAIL e2e/linux.TestDockerAppLifecycle/withoutBindMounts (13.37s)
=== RUN   TestDockerAppLifecycle
--- FAIL: TestDockerAppLifecycle (26.50s)
FAIL e2e/linux.TestDockerAppLifecycle (26.50s)
PASS e2e/linux.TestCredentials/missing (0.10s)
=== RUN   TestCredentials/full
    --- FAIL: TestCredentials/full (1.50s)
        commands_test.go:415: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             baz
            -Application "full" installed on context "default"
             
            
FAIL e2e/linux.TestCredentials/full (1.50s)
=== RUN   TestCredentials/mixed-credstore
    --- FAIL: TestCredentials/mixed-credstore (1.50s)
        commands_test.go:426: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-credstore" installed on context "default"
             
            
FAIL e2e/linux.TestCredentials/mixed-credstore (1.50s)
=== RUN   TestCredentials/mixed-local-cred
    --- FAIL: TestCredentials/mixed-local-cred (1.51s)
        commands_test.go:437: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-local-cred" installed on context "default"
             
            
FAIL e2e/linux.TestCredentials/mixed-local-cred (1.51s)
PASS e2e/linux.TestCredentials/overload (0.06s)
=== RUN   TestCredentials
--- FAIL: TestCredentials (4.67s)
FAIL e2e/linux.TestCredentials (4.67s)
=== RUN   TestRenderWithEnvFile
--- FAIL: TestRenderWithEnvFile (1.74s)
    envfile_test.go:16: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/docker-linux app render testdata/envfile/envfile.dockerapp
        ExitCode: 0
        Stdout:   
        Stderr:   
        
        Failures:
        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"
FAIL e2e/linux.TestRenderWithEnvFile (1.74s)
PASS e2e/linux.TestExamplesAreValid (0.19s)
=== RUN   TestImageList
--- FAIL: TestImageList (15.03s)
panic: runtime error: index out of range [recovered]
	panic: runtime error: index out of range

goroutine 185 [running]:
testing.tRunner.func1(0xc00034a900)
	/usr/local/go/src/testing/testing.go:830 +0x392
panic(0xa16300, 0xfdbe10)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/docker/app/e2e.insertBundles(0xc00034a900, 0xc00022ef00, 0x6, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:26 +0xfc5
github.com/docker/app/e2e.TestImageList.func1(0xc000156550, 0xf, 0xc000215c40, 0xe, 0xc000097bc0, 0x4, 0x4, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:52 +0x149
github.com/docker/app/e2e.runWithDindSwarmAndRegistry(0xc00034a900, 0xc000499f88)
	/go/src/github.com/docker/app/e2e/helper_test.go:86 +0x1791
github.com/docker/app/e2e.TestImageList(0xc00034a900)
	/go/src/github.com/docker/app/e2e/images_test.go:47 +0x4e
testing.tRunner(0xc00034a900, 0xae09a0)
	/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:916 +0x35a
FAIL e2e/linux.TestImageList (81.65s)

=== Failed
=== FAIL: e2e/linux TestRender/envvariables/stdout (1.84s)
        --- FAIL: TestRender/envvariables/stdout (1.84s)
            commands_test.go:63: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory
            commands_test.go:63: assertion failed: 
                --- ←
                +++ →
                @@ -1,9 +1 @@
                -version: "3.4"
                -services:
                -  test:
                -    command:
                -    - bash
                -    - -c
                -    - cat bar bam
                -    image: alpine:latest
                 
                : rendering mismatch

=== FAIL: e2e/linux TestRender/envvariables/file (1.54s)
        --- FAIL: TestRender/envvariables/file (1.54s)
            commands_test.go:68: assertion failed: error is not nil: open /tmp/-149871148/actual.yaml: no such file or directory: missing '/tmp/-149871148/actual.yaml' file

=== FAIL: e2e/linux TestRender/envvariables (3.39s)
    --- FAIL: TestRender/envvariables (3.39s)

=== FAIL: e2e/linux TestRender (3.39s)

=== FAIL: e2e/linux TestRenderFormatters (1.77s)
    commands_test.go:80: assertion failed: 
        --- expected
        +++ actual
        @@ -1,79 +1 @@
        -{
        -  "networks": {
        -    "back": {
        -      "ipam": {},
        -      "external": false
        -    },
        -    "front": {
        -      "ipam": {},
        -      "external": false
        -    }
        -  },
        -  "services": {
        -    "api": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "python:3.6",
        -      "networks": {
        -        "back": null,
        -        "front": {
        -          "aliases": [
        -            "api.example.com",
        -            "example.com"
        -          ]
        -        }
        -      }
        -    },
        -    "db": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "postgres:9.3",
        -      "networks": {
        -        "back": null
        -      }
        -    },
        -    "web": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "nginx:latest",
        -      "networks": {
        -        "front": null
        -      },
        -      "ports": [
        -        {
        -          "mode": "ingress",
        -          "target": 80,
        -          "published": 8082,
        -          "protocol": "tcp"
        -        }
        -      ],
        -      "volumes": [
        -        {
        -          "type": "volume",
        -          "source": "static",
        -          "target": "/opt/data/static"
        -        }
        -      ]
        -    }
        -  },
        -  "version": "3.6",
        -  "volumes": {
        -    "static": {
        -      "name": "corp/web-static-data",
        -      "external": true
        -    }
        -  }
        -}
         
        

=== FAIL: e2e/linux TestDockerAppLifecycle/withBindMounts (13.13s)
    --- FAIL: TestDockerAppLifecycle/withBindMounts (13.13s)
        commands_test.go:494: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory

=== FAIL: e2e/linux TestDockerAppLifecycle/withoutBindMounts (13.37s)
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (13.37s)
        commands_test.go:494: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory

=== FAIL: e2e/linux TestDockerAppLifecycle (26.50s)

=== FAIL: e2e/linux TestCredentials/full (1.50s)
    --- FAIL: TestCredentials/full (1.50s)
        commands_test.go:415: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             baz
            -Application "full" installed on context "default"
             
            

=== FAIL: e2e/linux TestCredentials/mixed-credstore (1.50s)
    --- FAIL: TestCredentials/mixed-credstore (1.50s)
        commands_test.go:426: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-credstore" installed on context "default"
             
            

=== FAIL: e2e/linux TestCredentials/mixed-local-cred (1.51s)
    --- FAIL: TestCredentials/mixed-local-cred (1.51s)
        commands_test.go:437: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-local-cred" installed on context "default"
             
            

=== FAIL: e2e/linux TestCredentials (4.67s)

=== FAIL: e2e/linux TestRenderWithEnvFile (1.74s)
    envfile_test.go:16: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/docker-linux app render testdata/envfile/envfile.dockerapp
        ExitCode: 0
        Stdout:   
        Stderr:   
        
        Failures:
        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"

=== FAIL: e2e/linux TestImageList (81.65s)
panic: runtime error: index out of range [recovered]
	panic: runtime error: index out of range

goroutine 185 [running]:
testing.tRunner.func1(0xc00034a900)
	/usr/local/go/src/testing/testing.go:830 +0x392
panic(0xa16300, 0xfdbe10)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/docker/app/e2e.insertBundles(0xc00034a900, 0xc00022ef00, 0x6, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:26 +0xfc5
github.com/docker/app/e2e.TestImageList.func1(0xc000156550, 0xf, 0xc000215c40, 0xe, 0xc000097bc0, 0x4, 0x4, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:52 +0x149
github.com/docker/app/e2e.runWithDindSwarmAndRegistry(0xc00034a900, 0xc000499f88)
	/go/src/github.com/docker/app/e2e/helper_test.go:86 +0x1791
github.com/docker/app/e2e.TestImageList(0xc00034a900)
	/go/src/github.com/docker/app/e2e/images_test.go:47 +0x4e
testing.tRunner(0xc00034a900, 0xae09a0)
	/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:916 +0x35a


DONE 28 tests, 14 failures in 81.654s
time="2019-10-04T13:55:00Z" level=warning msg="failed to lookup go version for junit xml" error="exec: \"go\": executable file not found in $PATH"