Skip to content

Instantly share code, notes, and snippets.

@amaltson
Created September 24, 2015 15:47
Show Gist options
  • Save amaltson/3f39f8dd2b35eb49500b to your computer and use it in GitHub Desktop.
Save amaltson/3f39f8dd2b35eb49500b to your computer and use it in GitHub Desktop.
Lattice tests failing
ltc test -v
Running Suite: Lattice Integration Tests
========================================
Random Seed: 1443109592
Will run 5 of 5 specs
Lattice docker when desiring a docker-based LRP
should run a docker app
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:138
[test] Attempting to stream cluster debug logs
[test] Attempting to create lattice-test-app-8a077f12-3f8f-4e69-4f9e-d74ab66131ea
[debug] [rep|cell-01] [ERROR] 09/24 11:46:29.06 rep.failed-to-make-connection
[debug] Get http://api/ping: dial tcp 127.0.0.1:7777: connection refused
[debug] [rep|cell-01] [ERROR] 09/24 11:46:30.06 rep.failed-to-make-connection
[debug] Get http://api/ping: dial tcp 127.0.0.1:7777: connection refused
[debug] [rep|cell-01] [ERROR] 09/24 11:46:31.06 rep.failed-to-make-connection
[debug] Get http://api/ping: dial tcp 127.0.0.1:7777: connection refused
[create] No port specified, image metadata did not contain exposed ports. Defaulting to 8080.
[create] Monitoring the app on port 8080...
[debug] [rep|cell-01] [ERROR] 09/24 11:46:32.07 rep.failed-to-make-connection
[debug] Get http://api/ping: dial tcp 127.0.0.1:7777: connection refused
[create] Creating App: lattice-test-app-8a077f12-3f8f-4e69-4f9e-d74ab66131ea
[create] .[debug] [rep|cell-01] [ERROR] 09/24 11:46:33.07 rep.failed-to-make-connection
[debug] Get http://api/ping: dial tcp 127.0.0.1:7777: connection refused
Error, could not place all instances: insufficient resources. Try requesting fewer instances or reducing the requested memory or disk capacity.
[create]
[test] Attempting to remove app lattice-test-app-8a077f12-3f8f-4e69-4f9e-d74ab66131ea
[remove] Removing lattice-test-app-8a077f12-3f8f-4e69-4f9e-d74ab66131ea...
[test] Polling for the appRoute lattice-test-app-8a077f12-3f8f-4e69-4f9e-d74ab66131ea.<custom-domain>
• Failure [4.731 seconds]
Lattice
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:246
docker
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:188
when desiring a docker-based LRP
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:161
should run a docker app [It]
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:138
No future change is possible. Bailing out early after 4.639s.
Expected
<int>: 11
to match exit code:
<int>: 0
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:506
------------------------------
Lattice docker when desiring a docker-based LRP
should run a docker app using metadata from Docker Hub
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:144
[test] Attempting to create lattice-test-app-38aca9e7-2735-4be9-65ca-a45a3e9ef5b4
[create] No port specified, image metadata did not contain exposed ports. Defaulting to 8080.
[create] No working directory specified, using working directory from the image metadata...
[create] Monitoring the app on port 8080...
[create] No start command specified, using start command from the image metadata...
[create] Start command is:
[create] /lattice-app
[create] Creating App: lattice-test-app-38aca9e7-2735-4be9-65ca-a45a3e9ef5b4
[create] Error, could not place all instances: insufficient resources. Try requesting fewer instances or reducing the requested memory or disk capacity.
[create]
[test] Attempting to remove app lattice-test-app-38aca9e7-2735-4be9-65ca-a45a3e9ef5b4
[remove] Removing lattice-test-app-38aca9e7-2735-4be9-65ca-a45a3e9ef5b4...
[test] Polling for the appRoute lattice-test-app-38aca9e7-2735-4be9-65ca-a45a3e9ef5b4.<custom-domain>
• Failure [2.141 seconds]
Lattice
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:246
docker
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:188
when desiring a docker-based LRP
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:161
should run a docker app using metadata from Docker Hub [It]
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:144
No future change is possible. Bailing out early after 2.031s.
Expected
<int>: 11
to match exit code:
<int>: 0
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:506
------------------------------
Lattice docker when desiring a docker-based LRP when `--run-as-root` is passed as an argument to `ltc create`
should run the app as the root user
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:159
[test] Attempting to create lattice-test-app-454ee9a7-898d-4d4d-4df2-fed8c34a57a3
[create] No port specified, image metadata did not contain exposed ports. Defaulting to 8080.
[create] No working directory specified, using working directory from the image metadata...
[create] Monitoring the app on port 8080...
[create] No start command specified, using start command from the image metadata...
[create] Start command is:
[create] /lattice-app
[create] Creating App: lattice-test-app-454ee9a7-898d-4d4d-4df2-fed8c34a57a3
[create] Error, could not place all instances: insufficient resources. Try requesting fewer instances or reducing the requested memory or disk capacity.
[create]
[test] Attempting to remove app lattice-test-app-454ee9a7-898d-4d4d-4df2-fed8c34a57a3
[remove] Removing lattice-test-app-454ee9a7-898d-4d4d-4df2-fed8c34a57a3...
[test] Polling for the appRoute lattice-test-app-454ee9a7-898d-4d4d-4df2-fed8c34a57a3.<custom-domain>
• Failure [3.519 seconds]
Lattice
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:246
docker
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:188
when desiring a docker-based LRP
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:161
when `--run-as-root` is passed as an argument to `ltc create`
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:160
should run the app as the root user [It]
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:159
No future change is possible. Bailing out early after 3.431s.
Expected
<int>: 11
to match exit code:
<int>: 0
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:506
------------------------------
Lattice docker when desiring a docker-based LRP with tcp routes
should run a docker app exposing tcp routes
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:186
[test] Attempting to create lattice-test-app-25a3fe4b-92de-4dca-4e05-3802ba9f55ac
[create] No port specified, using exposed ports from the image metadata.
[create] Exposed Ports: 5222
[create] No working directory specified, using working directory from the image metadata...
[create] Monitoring the app on port 5222...
[create] No start command specified, using start command from the image metadata...
[create] Start command is:
[create] /bin/sh -c /bin/nc -l -l -p 5222 -e /bin/yes
[create] Creating App: lattice-test-app-25a3fe4b-92de-4dca-4e05-3802ba9f55ac
[create] Error, could not place all instances: insufficient resources. Try requesting fewer instances or reducing the requested memory or disk capacity.
[create]
[test] Attempting to remove app lattice-test-app-25a3fe4b-92de-4dca-4e05-3802ba9f55ac
[remove] Removing lattice-test-app-25a3fe4b-92de-4dca-4e05-3802ba9f55ac...
• Failure [2.182 seconds]
Lattice
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:246
docker
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:188
when desiring a docker-based LRP with tcp routes
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:187
should run a docker app exposing tcp routes [It]
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:186
No future change is possible. Bailing out early after 2.124s.
Expected
<int>: 11
to match exit code:
<int>: 0
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:506
------------------------------
Lattice droplets
builds, lists and launches a droplet
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:244
STEP: checking out lattice-app from github
[test] Attempting to clone https://github.com/cloudfoundry-samples/lattice-app.git to /var/folders/jd/g2_v29t5471g66fl5h03mj0r0000gn/T/repo578159927
[git-clone] Cloning into '/var/folders/jd/g2_v29t5471g66fl5h03mj0r0000gn/T/repo578159927'...
[test] Cloned https://github.com/cloudfoundry-samples/lattice-app.git into /var/folders/jd/g2_v29t5471g66fl5h03mj0r0000gn/T/repo578159927
STEP: launching a build task
[test] Submitting build of droplet-b0d1d721-b277-4ed5-7a02-ae56c12ed455 with buildpack https://github.com/cloudfoundry/go-buildpack.git
[build-droplet] Uploading application bits...
[build-droplet] Uploaded.
[build-droplet] Submitted build of droplet-b0d1d721-b277-4ed5-7a02-ae56c12ed455
[build-droplet] Build failed: found no compatible cell
[test] Attempting to remove app running-droplet-b0d1d721-b277-4ed5-7a02-ae56c12ed455
[remove] Removing running-droplet-b0d1d721-b277-4ed5-7a02-ae56c12ed455...
[remove] Error stopping running-droplet-b0d1d721-b277-4ed5-7a02-ae56c12ed455: running-droplet-b0d1d721-b277-4ed5-7a02-ae56c12ed455 is not started.
• Failure [0.852 seconds]
Lattice
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:246
droplets
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:245
builds, lists and launches a droplet [It]
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:244
No future change is possible. Bailing out early after 0.127s.
Expected
<int>: 14
to match exit code:
<int>: 0
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:506
------------------------------
Summarizing 5 Failures:
[Fail] Lattice docker when desiring a docker-based LRP [It] should run a docker app
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:506
[Fail] Lattice docker when desiring a docker-based LRP [It] should run a docker app using metadata from Docker Hub
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:506
[Fail] Lattice docker when desiring a docker-based LRP when `--run-as-root` is passed as an argument to `ltc create` [It] should run the app as the root user
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:506
[Fail] Lattice docker when desiring a docker-based LRP with tcp routes [It] should run a docker app exposing tcp routes
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:506
[Fail] Lattice droplets [It] builds, lists and launches a droplet
/tmp/build/6ab27078-648c-411d-6b7c-b21706a7cd5f/go/src/github.com/cloudfoundry-incubator/lattice/ltc/cluster_test/cluster_test_runner.go:506
Ran 5 of 5 Specs in 13.425 seconds
FAIL! -- 0 Passed | 5 Failed | 0 Pending | 0 Skipped %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment