Skip to content

Instantly share code, notes, and snippets.

@smothiki
Last active March 21, 2016 22:56
Show Gist options
  • Save smothiki/1a0d16e44d4432299520 to your computer and use it in GitHub Desktop.
Save smothiki/1a0d16e44d4432299520 to your computer and use it in GitHub Desktop.
test log session output
=== RUN TestTests
Running Suite: Deis Workflow
============================
Random Seed: 1458595389
Will run 112 of 114 specs
$ deis register http://deis.10.3.0.198.xip.io --username=admin --password=admin [email protected]
Registered admin
Logged in as admin
$ deis users:list
=== Users
admin
$ deis register http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234 [email protected]
Registered test-81
Logged in as test-81
$ ssh-keygen -q -t rsa -b 4096 -C deiskey-81 -f /tmp/deis-workflow-home095509098/.ssh/deiskey-81 -N ''
$ deis keys:add /tmp/deis-workflow-home095509098/.ssh/deiskey-81.pub
Uploading deiskey-81.pub to deis... done
Domains with app yet to be deployed
can list domains
/go/src/github.com/deis/workflow-e2e/tests/domains_test.go:74
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test749792449/.git/
$ deis apps:create test-539115868
Creating Application... done, created test-539115868
Git remote deis added
remote available at ssh://[email protected]:2222/test-539115868.git
$ deis domains:list --app=test-539115868
=== test-539115868 Domains
test-539115868
$ deis apps:destroy --app=test-539115868 --confirm=test-539115868
Destroying test-539115868...
done in 0s
$ rm -rf .git
------------------------------
Domains with app yet to be deployed
can add and remove domains
/go/src/github.com/deis/workflow-e2e/tests/domains_test.go:87
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test721869612/.git/
$ deis apps:create test-716840861
Creating Application... done, created test-716840861
Git remote deis added
remote available at ssh://[email protected]:2222/test-716840861.git
$ deis domains:add my-custom-735794476.domain.com --app=test-716840861
Adding my-custom-735794476.domain.com to test-716840861... done
$ deis domains:remove my-custom-735794476.domain.com --app=test-716840861
Removing my-custom-735794476.domain.com from test-716840861... done
$ deis apps:destroy --app=test-716840861 --confirm=test-716840861
Destroying test-716840861...
done in 0s
$ rm -rf .git
------------------------------
Domains with a deployed app
can add, list, and remove domains
/go/src/github.com/deis/workflow-e2e/tests/domains_test.go:157
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-778969413
Creating Application... done, created test-778969413
Git remote deis added
remote available at ssh://[email protected]:2222/test-778969413.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:23:35 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,779ca3d7c6e4992783d4398499d34474fa55398a,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-778969413"}
got the following config back for app test-778969413: {Owner:test-81 App:test-778969413 Values:map[] Memory:map[] CPU:map[] Tags:map[] UUID:68fc69f0-6799-45e7-8cab-e14a490e21be Created:2016-03-21 21:23:32 +0000 UTC Updated:2016-03-21 21:23:32 +0000 UTC}
running [git archive --format=tar.gz --output=test-778969413.tar.gz 779ca3d7] in directory /home/git/test-778969413.git
running [tar -xzf test-778969413.tar.gz -C /home/git/test-778969413.git/build/tmp412272394/] in directory /home/git/test-778969413.git
Uploading tar to http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-778969413-779ca3d7-ee6c7d6d
Pod spec: {
"metadata": {
"name": "slugbuild-test-778969413-779ca3d7-ee6c7d6d",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-778969413-779ca3d7-ee6c7d6d"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/push"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/tar
++ awk -F/ '{print $1}'
+ protocol=http:
++ echo http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/tar
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=Wel+lfsUC7FmJ3GUFV83JXlHIZ4J5qi3cAzcZnFnlQ4=
+ REQUEST_ID=Wel+lfsUC7FmJ3GUFV83JXlHIZ4J5qi3cAzcZnFnlQ4=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n '' ]]
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-clojure.git/bin/detect /tmp/build
+ buildpack_name=no
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-go.git/bin/detect /tmp/build
+ buildpack_name=Go
+ selected_buildpack=/tmp/buildpacks/heroku-buildpack-go.git
+ break
+ [[ -n /tmp/buildpacks/heroku-buildpack-go.git ]]
+ echo_title 'Go app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Go app detected
-----> Go app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/compile /tmp/build /tmp/cache
+ [[ -----> Checking Godeps/Godeps.json file. == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Checking Godeps/Godeps.json file.
-----> Checking Godeps/Godeps.json file.
+ read line
+ [[ -----> Installing go1.6... done == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing go1.6... done
-----> Installing go1.6... done
+ read line
+ [[ -----> Running: go install -v -tags heroku . == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Running: go install -v -tags heroku .
-----> Running: go install -v -tags heroku .
+ read line
github.com/deis/example-go
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
++ ruby -e 'require '\''yaml'\'';puts YAML.load_file('\''/tmp/build/Procfile'\'').keys().join('\'', '\'')'
+ types=web
+ echo_normal 'Procfile declares types -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Procfile declares types '->' web
Procfile declares types -> web
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=
+ [[ -n '' ]]
+ chown -R slug:slug /tmp/build/Godeps /tmp/build/LICENSE /tmp/build/Procfile /tmp/build/README.md /tmp/build/bin /tmp/build/mc_config /tmp/build/web.go
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ /tmp/slug.tgz != \- ]]
++ du -Sh /tmp/slug.tgz
++ cut -f1
+ slug_size=2.2M
+ echo_title 'Compiled slug size is 2.2M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 2.2M
-----> Compiled slug size is 2.2M
+ [[ -n http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/push
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/push
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/push/
size of streamed logs 5551
Waiting for the deis/slugbuild-test-778969413-779ca3d7-ee6c7d6d pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-778969413:git-779ca3d7/push/slug.tgz
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"779ca3d7","receive_user":"test-81","receive_repo":"test-778969413","image":"http://10.3.0.68:9000/git/home/test-778969413:git-779ca3d7/push/slug.tgz","procfile":{"web":"example-go"},"dockerfile":""}
---> ---> ---> [DEBUG]
Done, test-778969413:v2 deployed to Deis
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-778969413.git
To ssh://[email protected]:2222/test-778969413.git
* [new branch] master -> master
$ deis domains:list --app=test-778969413
=== test-778969413 Domains
test-778969413
$ deis domains:add my-custom-586409553.domain.com --app=test-778969413
Adding my-custom-586409553.domain.com to test-778969413... done
$ deis domains:list --app=test-778969413
=== test-778969413 Domains
test-778969413
my-custom-586409553.domain.com
Waiting up to 15 seconds for `curl -sL -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -sL -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
Waiting up to 15 seconds for `curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
404
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
404
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
404
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
404
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
404
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
404
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
404
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
404
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
404
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
$ deis domains:remove my-custom-586409553.domain.com --app=test-778969413
Removing my-custom-586409553.domain.com from test-778969413... done
$ deis domains:remove my-custom-586409553.domain.com --app=test-778969413
Removing my-custom-586409553.domain.com from test-778969413... Error:
404 Not Found
detail: Not found.
$ deis domains:list --app=test-778969413
=== test-778969413 Domains
test-778969413
Waiting up to 15 seconds for `curl -sL -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -sL -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
Waiting up to 15 seconds for `curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
200
$ curl -sL -H "Host: my-custom-586409553.domain.com" -w "%{http_code}\\n" "http://test-778969413.10.3.0.198.xip.io" -o /dev/null
404
$ deis apps:destroy --app=test-778969413 --confirm=test-778969413
Destroying test-778969413...
done in 0s
------------------------------
Keys
can list and remove a key
/go/src/github.com/deis/workflow-e2e/tests/keys_test.go:20
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Keys
can create and remove keys
/go/src/github.com/deis/workflow-e2e/tests/keys_test.go:38
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ ssh-keygen -q -t rsa -b 4096 -C deiskey-878 -f /tmp/deis-workflow-home095509098/.ssh/deiskey-878 -N ''
$ deis keys:add /tmp/deis-workflow-home095509098/.ssh/deiskey-878.pub
Uploading deiskey-878.pub to deis... done
------------------------------
Help
prints help on "--help"
/go/src/github.com/deis/workflow-e2e/tests/help_test.go:20
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Help
prints help on "-h"
/go/src/github.com/deis/workflow-e2e/tests/help_test.go:20
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Help
prints help on "help"
/go/src/github.com/deis/workflow-e2e/tests/help_test.go:20
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Help
defaults to a usage message
/go/src/github.com/deis/workflow-e2e/tests/help_test.go:27
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Help
rejects a bogus command
/go/src/github.com/deis/workflow-e2e/tests/help_test.go:35
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
P [PENDING]
Healthcheck
/go/src/github.com/deis/workflow-e2e/tests/healthcheck_test.go:70
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/healthcheck_test.go:69
can stay running during a scale event
/go/src/github.com/deis/workflow-e2e/tests/healthcheck_test.go:67
------------------------------
Processes with a deployed app can scale up and down
scales to 1
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-102792697
Creating Application... done, created test-102792697
Git remote deis added
remote available at ssh://[email protected]:2222/test-102792697.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:25:59 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,779ca3d7c6e4992783d4398499d34474fa55398a,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-102792697"}
got the following config back for app test-102792697: {Owner:test-81 App:test-102792697 Values:map[] Memory:map[] CPU:map[] Tags:map[] UUID:d186b1ca-c7ca-4740-8f7a-a821790ee2e8 Created:2016-03-21 21:25:57 +0000 UTC Updated:2016-03-21 21:25:57 +0000 UTC}
running [git archive --format=tar.gz --output=test-102792697.tar.gz 779ca3d7] in directory /home/git/test-102792697.git
running [tar -xzf test-102792697.tar.gz -C /home/git/test-102792697.git/build/tmp091328433/] in directory /home/git/test-102792697.git
Uploading tar to http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-102792697-779ca3d7-41a39538
Pod spec: {
"metadata": {
"name": "slugbuild-test-102792697-779ca3d7-41a39538",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-102792697-779ca3d7-41a39538"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/push"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/tar
+ protocol=http:
++ echo http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/tar
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=0iQbn99GtsEkKqbR13IwjWyno7M5xUyDoFwRZtt/VKM=
+ REQUEST_ID=0iQbn99GtsEkKqbR13IwjWyno7M5xUyDoFwRZtt/VKM=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n '' ]]
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-clojure.git/bin/detect /tmp/build
+ buildpack_name=no
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-go.git/bin/detect /tmp/build
+ buildpack_name=Go
+ selected_buildpack=/tmp/buildpacks/heroku-buildpack-go.git
+ break
+ [[ -n /tmp/buildpacks/heroku-buildpack-go.git ]]
+ echo_title 'Go app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Go app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/compile /tmp/build /tmp/cache
-----> Go app detected
+ [[ -----> Checking Godeps/Godeps.json file. == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Checking Godeps/Godeps.json file.
-----> Checking Godeps/Godeps.json file.
+ read line
+ [[ -----> Installing go1.6... done == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
----->' Installing go1.6... done
+ cat -
-----> Installing go1.6... done
+ read line
+ [[ -----> Running: go install -v -tags heroku . == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Running: go install -v -tags heroku .
-----> Running: go install -v -tags heroku .
+ read line
github.com/deis/example-go
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
++ ruby -e 'require '\''yaml'\'';puts YAML.load_file('\''/tmp/build/Procfile'\'').keys().join('\'', '\'')'
+ types=web
+ echo_normal 'Procfile declares types -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Procfile declares types '->' web
Procfile declares types -> web
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=
+ [[ -n '' ]]
+ chown -R slug:slug /tmp/build/Godeps /tmp/build/LICENSE /tmp/build/Procfile /tmp/build/README.md /tmp/build/bin /tmp/build/mc_config /tmp/build/web.go
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ /tmp/slug.tgz != \- ]]
++ du -Sh /tmp/slug.tgz
++ cut -f1
+ slug_size=2.2M
+ echo_title 'Compiled slug size is 2.2M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 2.2M
-----> Compiled slug size is 2.2M
+ [[ -n http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/push
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
++ echo http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/push
++ awk -F/ '{print $1}'
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/push/
size of streamed logs 5551
Waiting for the deis/slugbuild-test-102792697-779ca3d7-41a39538 pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-102792697:git-779ca3d7/push/slug.tgz
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"779ca3d7","receive_user":"test-81","receive_repo":"test-102792697","image":"http://10.3.0.68:9000/git/home/test-102792697:git-779ca3d7/push/slug.tgz","procfile":{"web":"example-go"},"dockerfile":""}
---> ---> ---> [DEBUG]
Done, test-102792697:v2 deployed to Deis
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-102792697.git
To ssh://[email protected]:2222/test-102792697.git
* [new branch] master -> master
$ deis ps:scale web=1 --app=test-102792697
Scaling processes... but first, coffee!
done in 0s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-jagcv up (v2)
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-jagcv up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
200
------------------------------
Processes with a deployed app can scale up and down
scales to 3
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=3 --app=test-102792697
Scaling processes... but first, coffee!
done in 10s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-7hcnh up (v2)
test-102792697-v2-web-nvnh7 up (v2)
test-102792697-v2-web-jagcv up (v2)
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-7hcnh up (v2)
test-102792697-v2-web-nvnh7 up (v2)
test-102792697-v2-web-jagcv up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
200
------------------------------
Processes with a deployed app can scale up and down
scales to 0
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=0 --app=test-102792697
Scaling processes... but first, coffee!
done in 10s
=== test-102792697 Processes
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
• Failure [23.412 seconds]
Processes
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:166
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:165
can scale up and down
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table.go:96
scales to 0 [It]
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
Timed out after 10.000s.
Got stuck at:
Waiting for:
502
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:83
------------------------------
Processes with a deployed app can scale up and down
scales to 5
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=5 --app=test-102792697
Scaling processes... but first, coffee!
...504
done in 18s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-jr5mf up (v2)
test-102792697-v2-web-nksvp up (v2)
test-102792697-v2-web-dz4mg up (v2)
test-102792697-v2-web-u7avb up (v2)
test-102792697-v2-web-up4n7 up (v2)
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-jr5mf up (v2)
test-102792697-v2-web-nksvp up (v2)
test-102792697-v2-web-dz4mg up (v2)
test-102792697-v2-web-u7avb up (v2)
test-102792697-v2-web-up4n7 up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
200
------------------------------
Processes with a deployed app can scale up and down
scales to 0
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=0 --app=test-102792697
Scaling processes... but first, coffee!
done in 8s
=== test-102792697 Processes
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
• Failure [22.600 seconds]
Processes
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:166
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:165
can scale up and down
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table.go:96
scales to 0 [It]
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
Timed out after 10.000s.
Got stuck at:
Waiting for:
502
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:83
------------------------------
Processes with a deployed app can scale up and down
scales to 1
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=1 --app=test-102792697
Scaling processes... but first, coffee!
done in 4s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-3wqg6 up (v2)
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-3wqg6 up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
502
• Failure [8.397 seconds]
Processes
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:166
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:165
can scale up and down
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table.go:96
scales to 1 [It]
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
No future change is possible. Bailing out early after 0.020s.
Got stuck at:
502
Waiting for:
200
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:83
------------------------------
Processes with a deployed app can restart processes
restarts one of 1
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=1 --app=test-102792697
Scaling processes... but first, coffee!
done in 0s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-3wqg6 up (v2)
$ deis ps:restart test-102792697-v2-web-3wqg6 --app=test-102792697
Restarting processes... but first, coffee!
done in 4s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-7yju9 up (v2)
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-7yju9 up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
200
------------------------------
Processes with a deployed app can restart processes
restarts all of 1
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=1 --app=test-102792697
Scaling processes... but first, coffee!
...504
done in 0s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-7yju9 up (v2)
$ deis ps:restart --app=test-102792697
Restarting processes... but first, coffee!
done in 9s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-yxspu up (v2)
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-yxspu up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
200
------------------------------
Processes with a deployed app can restart processes
restarts all of 1 by type
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=1 --app=test-102792697
Scaling processes... but first, coffee!
done in 0s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-yxspu up (v2)
$ deis ps:restart web --app=test-102792697
Restarting processes... but first, coffee!
done in 3s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-1y3ct up (v2)
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-1y3ct up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
502
• Failure [6.525 seconds]
Processes
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:166
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:165
can restart processes
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table.go:96
restarts all of 1 by type [It]
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
No future change is possible. Bailing out early after 0.021s.
Got stuck at:
502
Waiting for:
200
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:149
------------------------------
Processes with a deployed app can restart processes
restarts all of 1 by wrong type
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=1 --app=test-102792697
Scaling processes... but first, coffee!
done in 0s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-1y3ct up (v2)
$ deis ps:restart cmd --app=test-102792697
Restarting processes... but first, coffee!
Could not find any processes to restart
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-1y3ct up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
200
------------------------------
Processes with a deployed app can restart processes
restarts one of 6
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=6 --app=test-102792697
Scaling processes... but first, coffee!
done in 19s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-6idzx up (v2)
test-102792697-v2-web-hq444 up (v2)
test-102792697-v2-web-hu3hq up (v2)
test-102792697-v2-web-nta2v up (v2)
test-102792697-v2-web-u6muo up (v2)
test-102792697-v2-web-1y3ct up (v2)
$ deis ps:restart test-102792697-v2-web-hu3hq --app=test-102792697
Restarting processes... but first, coffee!
done in 10s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-ayj35 up (v2)
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-ayj35 up (v2)
test-102792697-v2-web-6idzx up (v2)
test-102792697-v2-web-hq444 up (v2)
test-102792697-v2-web-nta2v up (v2)
test-102792697-v2-web-u6muo up (v2)
test-102792697-v2-web-1y3ct up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
200
------------------------------
Processes with a deployed app can restart processes
restarts all of 6
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=6 --app=test-102792697
Scaling processes... but first, coffee!
done in 0s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-ayj35 up (v2)
test-102792697-v2-web-6idzx up (v2)
test-102792697-v2-web-hq444 up (v2)
test-102792697-v2-web-nta2v up (v2)
test-102792697-v2-web-u6muo up (v2)
test-102792697-v2-web-1y3ct up (v2)
$ deis ps:restart --app=test-102792697
Restarting processes... but first, coffee!
done in 36s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-ioluh up (v2)
test-102792697-v2-web-5ks7m up (v2)
test-102792697-v2-web-6vmnf up (v2)
test-102792697-v2-web-ayj3b up (v2)
test-102792697-v2-web-p00ks up (v2)
test-102792697-v2-web-rbsiq up (v2)
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-ioluh up (v2)
test-102792697-v2-web-5ks7m up (v2)
test-102792697-v2-web-6vmnf up (v2)
test-102792697-v2-web-ayj3b up (v2)
test-102792697-v2-web-p00ks up (v2)
test-102792697-v2-web-rbsiq up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
200
------------------------------
Processes with a deployed app can restart processes
restarts all of 6 by type
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=6 --app=test-102792697
Scaling processes... but first, coffee!
done in 0s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-ioluh up (v2)
test-102792697-v2-web-5ks7m up (v2)
test-102792697-v2-web-6vmnf up (v2)
test-102792697-v2-web-ayj3b up (v2)
test-102792697-v2-web-p00ks up (v2)
test-102792697-v2-web-rbsiq up (v2)
$ deis ps:restart web --app=test-102792697
Restarting processes... but first, coffee!
done in 48s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-5cfoi up (v2)
test-102792697-v2-web-2hdki up (v2)
test-102792697-v2-web-yg3oq up (v2)
test-102792697-v2-web-7zvvd up (v2)
test-102792697-v2-web-ce6i9 up (v2)
test-102792697-v2-web-8d3ss up (v2)
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-5cfoi up (v2)
test-102792697-v2-web-2hdki up (v2)
test-102792697-v2-web-yg3oq up (v2)
test-102792697-v2-web-7zvvd up (v2)
test-102792697-v2-web-ce6i9 up (v2)
test-102792697-v2-web-8d3ss up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
200
------------------------------
Processes with a deployed app can restart processes
restarts all of 6 by wrong type
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=6 --app=test-102792697
Scaling processes... but first, coffee!
done in 0s
=== test-102792697 Processes
--- web:
test-102792697-v2-web-5cfoi up (v2)
test-102792697-v2-web-2hdki up (v2)
test-102792697-v2-web-yg3oq up (v2)
test-102792697-v2-web-7zvvd up (v2)
test-102792697-v2-web-ce6i9 up (v2)
test-102792697-v2-web-8d3ss up (v2)
$ deis ps:restart cmd --app=test-102792697
Restarting processes... but first, coffee!
Could not find any processes to restart
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
--- web:
test-102792697-v2-web-5cfoi up (v2)
test-102792697-v2-web-2hdki up (v2)
test-102792697-v2-web-yg3oq up (v2)
test-102792697-v2-web-7zvvd up (v2)
test-102792697-v2-web-ce6i9 up (v2)
test-102792697-v2-web-8d3ss up (v2)
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
200
------------------------------
Processes with a deployed app can restart processes
restarts all of 0
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=0 --app=test-102792697
Scaling processes... but first, coffee!
done in 9s
=== test-102792697 Processes
$ deis ps:restart --app=test-102792697
Restarting processes... but first, coffee!
Could not find any processes to restart
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
• Failure [23.371 seconds]
Processes
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:166
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:165
can restart processes
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table.go:96
restarts all of 0 [It]
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
Timed out after 10.000s.
Got stuck at:
Waiting for:
502
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:149
------------------------------
Processes with a deployed app can restart processes
restarts all of 0 by type
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=0 --app=test-102792697
Scaling processes... but first, coffee!
done in 0s
=== test-102792697 Processes
$ deis ps:restart web --app=test-102792697
Restarting processes... but first, coffee!
Could not find any processes to restart
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
• Failure [13.499 seconds]
Processes
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:166
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:165
can restart processes
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table.go:96
restarts all of 0 by type [It]
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
Timed out after 10.000s.
Got stuck at:
Waiting for:
502
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:149
------------------------------
Processes with a deployed app can restart processes
restarts all of 0 by wrong type
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis ps:scale web=0 --app=test-102792697
Scaling processes... but first, coffee!
done in 0s
=== test-102792697 Processes
$ deis ps:restart cmd --app=test-102792697
Restarting processes... but first, coffee!
Could not find any processes to restart
$ deis ps:list --app=test-102792697
=== test-102792697 Processes
$ curl -sL -w "%{http_code}\\n" "http://test-102792697.10.3.0.198.xip.io" -o /dev/null
504
• Failure [13.347 seconds]
Processes
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:166
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:165
can restart processes
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table.go:96
restarts all of 0 by wrong type [It]
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
Timed out after 10.000s.
Got stuck at:
Waiting for:
502
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:149
------------------------------
Apps with no app
can't get app info
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:33
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis info -a test-591686367
Error:
404 Not Found
detail: Not found.
------------------------------
Apps with no app
can't get app logs
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:40
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis logs -a test-888685697
Error: There are currently no log messages. Please check the following things:
1) Logger and fluentd pods are running.
2) If you just installed the logger components via the chart, please make sure you restarted the workflow pod.
3) The application is writing logs to the logger component.
You can verify that logs are appearing in the logger component by issuing the following command:
curl http://<log service ip>:80/logs/test-888685697 on a kubernetes host.
To get the service ip you can do the following: kubectl get svc deis-logger --namespace=deis
504
------------------------------
Apps with no app
can't run a command in the app environment
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:48
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:run echo Hello, 世界
Running 'echo Hello, 世界'...
Error:
404 Not Found
detail: Not found.
------------------------------
Apps with no app
can't open a bogus app URL
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:55
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis open -a test-365678483
Error:
404 Not Found
detail: Not found.
------------------------------
Apps when creating an app
creates an app with a git remote
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:81
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test103089674/.git/
$ deis apps:create test-948831803
Creating Application... done, created test-948831803
Git remote deis added
remote available at ssh://[email protected]:2222/test-948831803.git
$ deis apps:destroy --app=test-948831803 --confirm=test-948831803
Destroying test-948831803...
done in 0s
$ rm -rf .git
------------------------------
Apps when creating an app
creates an app with no git remote
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:94
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
504
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test359642593/.git/
$ deis apps:create test-458372452 --no-remote
Creating Application... done, created test-458372452
remote available at ssh://[email protected]:2222/test-458372452.git
$ deis apps:destroy --app=test-458372452 --confirm=test-458372452
Destroying test-458372452...
done in 0s
------------------------------
Apps when creating an app
creates an app with a custom buildpack
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:108
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test098834380/.git/
$ deis apps:create test-218502121 --buildpack https://example.com
Creating Application... done, created test-218502121
Git remote deis added
remote available at ssh://[email protected]:2222/test-218502121.git
$ deis config:list -a test-218502121
=== test-218502121 Config
BUILDPACK_URL https://example.com
$ deis apps:destroy --app=test-218502121 --confirm=test-218502121
Destroying test-218502121...
done in 0s
$ rm -rf .git
------------------------------
Apps with a deployed app
can't create an existing app
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:135
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-774334211
Creating Application... done, created test-774334211
Git remote deis added
remote available at ssh://[email protected]:2222/test-774334211.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:33:07 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,779ca3d7c6e4992783d4398499d34474fa55398a,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-774334211"}
got the following config back for app test-774334211: {Owner:test-81 App:test-774334211 Values:map[] Memory:map[] CPU:map[] Tags:map[] UUID:ef987360-9c73-4343-9c97-1c4afee946c5 Created:2016-03-21 21:33:05 +0000 UTC Updated:2016-03-21 21:33:05 +0000 UTC}
running [git archive --format=tar.gz --output=test-774334211.tar.gz 779ca3d7] in directory /home/git/test-774334211.git
running [tar -xzf test-774334211.tar.gz -C /home/git/test-774334211.git/build/tmp263561584/] in directory /home/git/test-774334211.git
Uploading tar to http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-774334211-779ca3d7-10357df3
Pod spec: {
"metadata": {
"name": "slugbuild-test-774334211-779ca3d7-10357df3",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-774334211-779ca3d7-10357df3"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/push"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/tar
++ awk -F/ '{print $1}'
+ protocol=http:
++ awk -F/ '{print $3}'
++ echo http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/tar
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=MZ4CQXBCJEXf8KV9SjN012SgIMDy6WQTxbr40DM6KOM=
+ REQUEST_ID=MZ4CQXBCJEXf8KV9SjN012SgIMDy6WQTxbr40DM6KOM=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n '' ]]
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-clojure.git/bin/detect /tmp/build
+ buildpack_name=no
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-go.git/bin/detect /tmp/build
+ buildpack_name=Go
+ selected_buildpack=/tmp/buildpacks/heroku-buildpack-go.git
+ break
+ [[ -n /tmp/buildpacks/heroku-buildpack-go.git ]]
+ echo_title 'Go app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Go app detected
-----> Go app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/compile /tmp/build /tmp/cache
+ [[ -----> Checking Godeps/Godeps.json file. == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Checking Godeps/Godeps.json file.
-----> Checking Godeps/Godeps.json file.
+ read line
+ [[ -----> Installing go1.6... done == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing go1.6... done
-----> Installing go1.6... done
+ read line
+ [[ -----> Running: go install -v -tags heroku . == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Running: go install -v -tags heroku .
-----> Running: go install -v -tags heroku .
+ read line
github.com/deis/example-go
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
++ ruby -e 'require '\''yaml'\'';puts YAML.load_file('\''/tmp/build/Procfile'\'').keys().join('\'', '\'')'
+ types=web
+ echo_normal 'Procfile declares types -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Procfile declares types '->' web
Procfile declares types -> web
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=
+ [[ -n '' ]]
+ chown -R slug:slug /tmp/build/Godeps /tmp/build/LICENSE /tmp/build/Procfile /tmp/build/README.md /tmp/build/bin /tmp/build/mc_config /tmp/build/web.go
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ /tmp/slug.tgz != \- ]]
++ cut -f1
++ du -Sh /tmp/slug.tgz
+ slug_size=2.2M
+ echo_title 'Compiled slug size is 2.2M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 2.2M
-----> Compiled slug size is 2.2M
+ [[ -n http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/push
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
++ echo http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/push
++ awk -F/ '{print $1}'
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/push/
size of streamed logs 5551
Waiting for the deis/slugbuild-test-774334211-779ca3d7-10357df3 pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-774334211:git-779ca3d7/push/slug.tgz
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"779ca3d7","receive_user":"test-81","receive_repo":"test-774334211","image":"http://10.3.0.68:9000/git/home/test-774334211:git-779ca3d7/push/slug.tgz","procfile":{"web":"example-go"},"dockerfile":""}
---> ---> ---> [DEBUG]
Done, test-774334211:v2 deployed to Deis
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-774334211.git
To ssh://[email protected]:2222/test-774334211.git
* [new branch] master -> master
$ deis apps:create test-774334211
Creating Application... Error:
400 Bad Request
id: App with this id already exists.
$ deis apps:destroy --app=test-774334211 --confirm=test-774334211
Destroying test-774334211...
done in 0s
------------------------------
Apps with a deployed app
can get app info
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:139
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-984845035
Creating Application... done, created test-984845035
Git remote deis added
remote available at ssh://[email protected]:2222/test-984845035.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:34:21 Running in debug mode
Running git hook [DEBUG]
read [0000000000000000000000000000000000000000,779ca3d7c6e4992783d4398499d34474fa55398a,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-984845035"}
got the following config back for app test-984845035: {Owner:test-81 App:test-984845035 Values:map[] Memory:map[] CPU:map[] Tags:map[] UUID:e43c960e-dc68-4c3a-9d47-89b7fad5b53c Created:2016-03-21 21:34:18 +0000 UTC Updated:2016-03-21 21:34:18 +0000 UTC}
running [git archive --format=tar.gz --output=test-984845035.tar.gz 779ca3d7] in directory /home/git/test-984845035.git
running [tar -xzf test-984845035.tar.gz -C /home/git/test-984845035.git/build/tmp738185891/] in directory /home/git/test-984845035.git
Uploading tar to http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-984845035-779ca3d7-08c9be00
Pod spec: {
"metadata": {
"name": "slugbuild-test-984845035-779ca3d7-08c9be00",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-984845035-779ca3d7-08c9be00"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/push"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/tar
++ awk -F/ '{print $1}'
+ protocol=http:
++ echo http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/tar
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=G+BRPiM18PwBxMkzzTCmYPmjW/D24DDbCYSAOPGJ9iQ=
+ REQUEST_ID=G+BRPiM18PwBxMkzzTCmYPmjW/D24DDbCYSAOPGJ9iQ=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n '' ]]
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-clojure.git/bin/detect /tmp/build
+ buildpack_name=no
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-go.git/bin/detect /tmp/build
+ buildpack_name=Go
+ selected_buildpack=/tmp/buildpacks/heroku-buildpack-go.git
+ break
+ [[ -n /tmp/buildpacks/heroku-buildpack-go.git ]]
+ echo_title 'Go app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Go app detected
-----> Go app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/compile /tmp/build /tmp/cache
+ [[ -----> Checking Godeps/Godeps.json file. == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Checking Godeps/Godeps.json file.
+ read line
-----> Checking Godeps/Godeps.json file.
+ [[ -----> Installing go1.6... done == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing go1.6... done
-----> Installing go1.6... done
+ read line
+ [[ -----> Running: go install -v -tags heroku . == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Running: go install -v -tags heroku .
-----> Running: go install -v -tags heroku .
+ read line
github.com/deis/example-go
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
++ ruby -e 'require '\''yaml'\'';puts YAML.load_file('\''/tmp/build/Procfile'\'').keys().join('\'', '\'')'
+ types=web
+ echo_normal 'Procfile declares types -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Procfile declares types '->' web
Procfile declares types -> web
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=
+ [[ -n '' ]]
+ chown -R slug:slug /tmp/build/Godeps /tmp/build/LICENSE /tmp/build/Procfile /tmp/build/README.md /tmp/build/bin /tmp/build/mc_config /tmp/build/web.go
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ /tmp/slug.tgz != \- ]]
++ cut -f1
-----> Compiled slug size is 2.2M
++ du -Sh /tmp/slug.tgz
+ slug_size=2.2M
+ echo_title 'Compiled slug size is 2.2M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 2.2M
+ [[ -n http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/push
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
++ echo http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/push
++ awk -F/ '{print $1}'
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/push/
size of streamed logs 5551
Waiting for the deis/slugbuild-test-984845035-779ca3d7-08c9be00 pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-984845035:git-779ca3d7/push/slug.tgz
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"779ca3d7","receive_user":"test-81","receive_repo":"test-984845035","image":"http://10.3.0.68:9000/git/home/test-984845035:git-779ca3d7/push/slug.tgz","procfile":{"web":"example-go"},"dockerfile":""}
---> ---> ---> [DEBUG]
Done, test-984845035:v2 deployed to Deis
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-984845035.git
To ssh://[email protected]:2222/test-984845035.git
* [new branch] master -> master
$ deis info -a test-984845035
=== test-984845035 Application
updated: 2016-03-21T21:35:34UTC
uuid: 812b846c-633b-4b7f-baca-1c754f98066e
created: 2016-03-21T21:34:18UTC
url: test-984845035.10.3.0.198.xip.io
owner: test-81
id: test-984845035
=== test-984845035 Processes
--- web:
test-984845035-v2-web-oby07 up (v2)
=== test-984845035 Domains
test-984845035
$ deis apps:destroy --app=test-984845035 --confirm=test-984845035
Destroying test-984845035...
done in 0s
------------------------------
P [PENDING]
Apps
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:204
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:174
can get app logs
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:149
------------------------------
Apps with a deployed app
can open the app's URL
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:153
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-368895034
Creating Application... done, created test-368895034
Git remote deis added
remote available at ssh://[email protected]:2222/test-368895034.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:35:50 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,779ca3d7c6e4992783d4398499d34474fa55398a,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-368895034"}
got the following config back for app test-368895034: {Owner:test-81 App:test-368895034 Values:map[] Memory:map[] CPU:map[] Tags:map[] UUID:12960804-ee65-40c7-8531-5b2d6a82b41c Created:2016-03-21 21:35:48 +0000 UTC Updated:2016-03-21 21:35:48 +0000 UTC}
running [git archive --format=tar.gz --output=test-368895034.tar.gz 779ca3d7] in directory /home/git/test-368895034.git
running [tar -xzf test-368895034.tar.gz -C /home/git/test-368895034.git/build/tmp969133799/] in directory /home/git/test-368895034.git
Uploading tar to http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-368895034-779ca3d7-0c1cde73
Pod spec: {
"metadata": {
"name": "slugbuild-test-368895034-779ca3d7-0c1cde73",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-368895034-779ca3d7-0c1cde73"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/push"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/tar
+ protocol=http:
++ awk -F/ '{print $3}'
++ echo http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/tar
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=gPaldixqSg0rrFXcJpAm3urLeySYFby6UwI5IZ4Jx/A=
+ REQUEST_ID=gPaldixqSg0rrFXcJpAm3urLeySYFby6UwI5IZ4Jx/A=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n '' ]]
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-clojure.git/bin/detect /tmp/build
+ buildpack_name=no
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-go.git/bin/detect /tmp/build
+ buildpack_name=Go
+ selected_buildpack=/tmp/buildpacks/heroku-buildpack-go.git
+ break
+ [[ -n /tmp/buildpacks/heroku-buildpack-go.git ]]
+ echo_title 'Go app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Go app detected
-----> Go app detected
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/compile /tmp/build /tmp/cache
+ ensure_indent
+ read line
+ [[ -----> Checking Godeps/Godeps.json file. == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Checking Godeps/Godeps.json file.
-----> Checking Godeps/Godeps.json file.
+ read line
+ [[ -----> Installing go1.6... done == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing go1.6... done
-----> Installing go1.6... done
+ read line
+ [[ -----> Running: go install -v -tags heroku . == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Running: go install -v -tags heroku .
-----> Running: go install -v -tags heroku .
+ read line
github.com/deis/example-go
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
++ ruby -e 'require '\''yaml'\'';puts YAML.load_file('\''/tmp/build/Procfile'\'').keys().join('\'', '\'')'
+ types=web
+ echo_normal 'Procfile declares types -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Procfile declares types '->' web
Procfile declares types -> web
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=
+ [[ -n '' ]]
+ chown -R slug:slug /tmp/build/Godeps /tmp/build/LICENSE /tmp/build/Procfile /tmp/build/README.md /tmp/build/bin /tmp/build/mc_config /tmp/build/web.go
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ /tmp/slug.tgz != \- ]]
++ du -Sh /tmp/slug.tgz
++ cut -f1
+ slug_size=2.2M
+ echo_title 'Compiled slug size is 2.2M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 2.2M
-----> Compiled slug size is 2.2M
+ [[ -n http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/push
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
++ echo http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/push
++ awk -F/ '{print $1}'
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/push/
size of streamed logs 5551
Waiting for the deis/slugbuild-test-368895034-779ca3d7-0c1cde73 pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-368895034:git-779ca3d7/push/slug.tgz
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"779ca3d7","receive_user":"test-81","receive_repo":"test-368895034","image":"http://10.3.0.68:9000/git/home/test-368895034:git-779ca3d7/push/slug.tgz","procfile":{"web":"example-go"},"dockerfile":""}
---> ---> ---> [DEBUG]
Done, test-368895034:v2 deployed to Deis
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-368895034.git
To ssh://[email protected]:2222/test-368895034.git
* [new branch] master -> master
$ deis open
$ deis apps:destroy --app=test-368895034 --confirm=test-368895034
Destroying test-368895034...
done in 0s
------------------------------
Apps with a deployed app
can run a command in the app environment
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:159
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-959477766
Creating Application... done, created test-959477766
Git remote deis added
remote available at ssh://[email protected]:2222/test-959477766.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:37:10 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,779ca3d7c6e4992783d4398499d34474fa55398a,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-959477766"}
got the following config back for app test-959477766: {Owner:test-81 App:test-959477766 Values:map[] Memory:map[] CPU:map[] Tags:map[] UUID:83c5d51f-cd35-4417-870d-8482d75808ab Created:2016-03-21 21:37:08 +0000 UTC Updated:2016-03-21 21:37:08 +0000 UTC}
running [git archive --format=tar.gz --output=test-959477766.tar.gz 779ca3d7] in directory /home/git/test-959477766.git
running [tar -xzf test-959477766.tar.gz -C /home/git/test-959477766.git/build/tmp789137117/] in directory /home/git/test-959477766.git
Uploading tar to http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-959477766-779ca3d7-b9195570
Pod spec: {
"metadata": {
"name": "slugbuild-test-959477766-779ca3d7-b9195570",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-959477766-779ca3d7-b9195570"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/push"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/tar
++ awk -F/ '{print $1}'
+ protocol=http:
++ echo http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/tar
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=xFBzP4KSDTBHrDi899Q0oyUG5SYHBIJqrqqQ+cGrWUg=
+ REQUEST_ID=xFBzP4KSDTBHrDi899Q0oyUG5SYHBIJqrqqQ+cGrWUg=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n '' ]]
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-clojure.git/bin/detect /tmp/build
+ buildpack_name=no
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-go.git/bin/detect /tmp/build
+ buildpack_name=Go
+ selected_buildpack=/tmp/buildpacks/heroku-buildpack-go.git
+ break
+ [[ -n /tmp/buildpacks/heroku-buildpack-go.git ]]
+ echo_title 'Go app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Go app detected
-----> Go app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/compile /tmp/build /tmp/cache
+ [[ -----> Checking Godeps/Godeps.json file. == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Checking Godeps/Godeps.json file.
-----> Checking Godeps/Godeps.json file.
+ read line
+ [[ -----> Installing go1.6... done == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing go1.6... done
-----> Installing go1.6... done
+ read line
+ [[ -----> Running: go install -v -tags heroku . == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Running: go install -v -tags heroku .
-----> Running: go install -v -tags heroku .
+ read line
github.com/deis/example-go
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
----->' Discovering process types
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
++ ruby -e 'require '\''yaml'\'';puts YAML.load_file('\''/tmp/build/Procfile'\'').keys().join('\'', '\'')'
+ types=web
+ echo_normal 'Procfile declares types -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Procfile declares types '->' web
Procfile declares types -> web
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=
+ [[ -n '' ]]
+ chown -R slug:slug /tmp/build/Godeps /tmp/build/LICENSE /tmp/build/Procfile /tmp/build/README.md /tmp/build/bin /tmp/build/mc_config /tmp/build/web.go
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ /tmp/slug.tgz != \- ]]
++ du -Sh /tmp/slug.tgz
++ cut -f1
+ slug_size=2.2M
+ echo_title 'Compiled slug size is 2.2M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 2.2M
-----> Compiled slug size is 2.2M
+ [[ -n http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $3}'
++ echo http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/push
+ domain=10.3.0.68:9000
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/push
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/push/
size of streamed logs 5551
Waiting for the deis/slugbuild-test-959477766-779ca3d7-b9195570 pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-959477766:git-779ca3d7/push/slug.tgz
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"779ca3d7","receive_user":"test-81","receive_repo":"test-959477766","image":"http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/push/slug.tgz","procfile":{"web":"example-go"},"dockerfile":""}
---> ---> ---> [DEBUG]
Done, test-959477766:v2 deployed to Deis
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-959477766.git
To ssh://[email protected]:2222/test-959477766.git
* [new branch] master -> master
$ deis apps:run echo Hello, 世界
Running 'echo Hello, 世界'...
$ deis apps:destroy --app=test-959477766 --confirm=test-959477766
Destroying test-959477766...
done in 0s
------------------------------
Apps with a deployed app
can transfer the app to another owner
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:173
{"kind":"Pod","apiVersion":"v1","metadata":{"name":"test-959477766-v2-run-7lux8","namespace":"test-959477766","selfLink":"/api/v1/namespaces/test-959477766/pods/test-959477766-v2-run-7lux8","uid":"3de1f6f4-efad-11e5-885c-062411b0f66d","resourceVersion":"126336","creationTimestamp":"2016-03-21T21:38:25Z"},"spec":{"volumes":[{"name":"minio-user","secret":{"secretName":"minio-user"}},{"name":"default-token-jj3pi","secret":{"secretName":"default-token-jj3pi"}}],"containers":[{"name":"test-959477766-v2-run-7lux8","image":"quay.io/deisci/slugrunner:git-3aea2b0","command":["/runner/init"],"args":["echo Hello, 世界"],"env":[{"name":"PORT","value":"5000"},{"name":"SLUG_URL","value":"http://10.3.0.68:9000/git/home/test-959477766:git-779ca3d7/push/slug.tgz"},{"name":"DOCKERIMAGE","value":"1"}],"resources":{},"volumeMounts":[{"name":"minio-user","readOnly":true,"mountPath":"/var/run/secrets/object/store"},{"name":"default-token-jj3pi","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"default","serviceAccount":"default"},"status":{"phase":"Pending"}}
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-34574070
Creating Application... done, created test-34574070
Git remote deis added
remote available at ssh://[email protected]:2222/test-34574070.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:38:31 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,779ca3d7c6e4992783d4398499d34474fa55398a,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-34574070"}
got the following config back for app test-34574070: {Owner:test-81 App:test-34574070 Values:map[] Memory:map[] CPU:map[] Tags:map[] UUID:661af8b3-0a08-4394-b0ca-f624b7154f82 Created:2016-03-21 21:38:29 +0000 UTC Updated:2016-03-21 21:38:29 +0000 UTC}
running [git archive --format=tar.gz --output=test-34574070.tar.gz 779ca3d7] in directory /home/git/test-34574070.git
running [tar -xzf test-34574070.tar.gz -C /home/git/test-34574070.git/build/tmp809904397/] in directory /home/git/test-34574070.git
Uploading tar to http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-34574070-779ca3d7-23ac1e7e
Pod spec: {
"metadata": {
"name": "slugbuild-test-34574070-779ca3d7-23ac1e7e",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-34574070-779ca3d7-23ac1e7e"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/push"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/tar
+ protocol=http:
++ echo http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/tar
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=XBx+KXj08evj5eZz+PV69mLRERaW7Yxj5CLcMgCqnVk=
+ REQUEST_ID=XBx+KXj08evj5eZz+PV69mLRERaW7Yxj5CLcMgCqnVk=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n '' ]]
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-clojure.git/bin/detect /tmp/build
+ buildpack_name=no
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-go.git/bin/detect /tmp/build
-----> Go app detected
+ buildpack_name=Go
+ selected_buildpack=/tmp/buildpacks/heroku-buildpack-go.git
+ break
+ [[ -n /tmp/buildpacks/heroku-buildpack-go.git ]]
+ echo_title 'Go app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Go app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/compile /tmp/build /tmp/cache
+ [[ -----> Checking Godeps/Godeps.json file. == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Checking Godeps/Godeps.json file.
-----> Checking Godeps/Godeps.json file.
+ read line
+ [[ -----> Installing go1.6... done == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing go1.6... done
-----> Installing go1.6... done
+ read line
+ [[ -----> Running: go install -v -tags heroku . == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Running: go install -v -tags heroku .
-----> Running: go install -v -tags heroku .
+ read line
github.com/deis/example-go
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
++ ruby -e 'require '\''yaml'\'';puts YAML.load_file('\''/tmp/build/Procfile'\'').keys().join('\'', '\'')'
+ types=web
+ echo_normal 'Procfile declares types -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Procfile declares types '->' web
Procfile declares types -> web
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=
+ [[ -n '' ]]
+ chown -R slug:slug /tmp/build/Godeps /tmp/build/LICENSE /tmp/build/Procfile /tmp/build/README.md /tmp/build/bin /tmp/build/mc_config /tmp/build/web.go
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ /tmp/slug.tgz != \- ]]
++ du -Sh /tmp/slug.tgz
++ cut -f1
+ slug_size=2.2M
+ echo_title 'Compiled slug size is 2.2M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 2.2M
-----> Compiled slug size is 2.2M
+ [[ -n http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/push
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/push
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/push/
size of streamed logs 5542
Waiting for the deis/slugbuild-test-34574070-779ca3d7-23ac1e7e pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-34574070:git-779ca3d7/push/slug.tgz
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"779ca3d7","receive_user":"test-81","receive_repo":"test-34574070","image":"http://10.3.0.68:9000/git/home/test-34574070:git-779ca3d7/push/slug.tgz","procfile":{"web":"example-go"},"dockerfile":""}
--->
Done, test-34574070:v2 deployed to Deis
---> ---> [DEBUG]
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-34574070.git
To ssh://[email protected]:2222/test-34574070.git
* [new branch] master -> master
$ deis apps:transfer admin
$ deis info -a test-34574070
Transferring test-34574070 to admin... === test-34574070 Application
updated: 2016-03-21T21:39:34UTC
uuid: e6a340e3-c433-4775-9e9e-9cf303990560
created: 2016-03-21T21:38:29UTC
url: test-34574070.10.3.0.198.xip.io
owner: test-81
id: test-34574070
=== test-34574070 Processes
--- web:
test-34574070-v2-web-zi4a4 up (v2)
Error:
403 Forbidden
detail: You do not have permission to perform this action.
done
$ deis login http://deis.10.3.0.198.xip.io --username=admin --password=admin
Logged in as admin
$ deis apps:destroy --app=test-34574070 --confirm=test-34574070
Destroying test-34574070...
done in 0s
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Apps with a custom buildpack deployed app
can get app info
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:197
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-171530958 --buildpack https://github.com/miyagawa/heroku-buildpack-perl.git
Creating Application... done, created test-171530958
Git remote deis added
remote available at ssh://[email protected]:2222/test-171530958.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:39:51 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,eaed0559111ca65588ec24897316faf8d9007a38,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-171530958"}
got the following config back for app test-171530958: {Owner:test-81 App:test-171530958 Values:map[BUILDPACK_URL:https://github.com/miyagawa/heroku-buildpack-perl.git] Memory:map[] CPU:map[] Tags:map[] UUID:562a7de7-5ed0-4891-85b1-1d63aed057bd Created:2016-03-21 21:39:49 +0000 UTC Updated:2016-03-21 21:39:49 +0000 UTC}
found custom buildpack URL https://github.com/miyagawa/heroku-buildpack-perl.git
running [git archive --format=tar.gz --output=test-171530958.tar.gz eaed0559] in directory /home/git/test-171530958.git
running [tar -xzf test-171530958.tar.gz -C /home/git/test-171530958.git/build/tmp988044856/] in directory /home/git/test-171530958.git
Uploading tar to http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-171530958-eaed0559-a6a26e31
Pod spec: {
"metadata": {
"name": "slugbuild-test-171530958-eaed0559-a6a26e31",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-171530958-eaed0559-a6a26e31"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "BUILDPACK_URL",
"value": "https://github.com/miyagawa/heroku-buildpack-perl.git"
},
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/push"
},
{
"name": "BUILDPACK_URL",
"value": "https://github.com/miyagawa/heroku-buildpack-perl.git"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar
++ awk -F/ '{print $1}'
+ protocol=http:
++ echo http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=QpzSZROInFxEqQ/eAoMKouiyLnRzZC44Kujhj7GkNqY=
+ REQUEST_ID=QpzSZROInFxEqQ/eAoMKouiyLnRzZC44Kujhj7GkNqY=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n https://github.com/miyagawa/heroku-buildpack-perl.git ]]
+ echo_title 'Fetching custom buildpack'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Fetching custom buildpack
-----> Fetching custom buildpack
+ buildpack=/tmp/buildpacks/custom
+ rm -fr /tmp/buildpacks/custom
+ url=https://github.com/miyagawa/heroku-buildpack-perl.git
+ committish=https://github.com/miyagawa/heroku-buildpack-perl.git
+ '[' https://github.com/miyagawa/heroku-buildpack-perl.git == https://github.com/miyagawa/heroku-buildpack-perl.git ']'
+ committish=master
+ set +e
+ git clone --branch master --depth=1 https://github.com/miyagawa/heroku-buildpack-perl.git /tmp/buildpacks/custom
+ SHALLOW_CLONED=0
+ set -e
+ '[' 0 -ne 0 ']'
+ selected_buildpack=/tmp/buildpacks/custom
++ /tmp/buildpacks/custom/bin/detect /tmp/build
+ buildpack_name=Perl/PSGI
+ selected_buildpack=/tmp/buildpacks/custom
+ [[ -n /tmp/buildpacks/custom ]]
+ echo_title 'Perl/PSGI app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Perl/PSGI app detected
-----> Perl/PSGI app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/custom/bin/compile /tmp/build /tmp/cache
+ [[ -----> Bootstrapping cpanm == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Bootstrapping cpanm
-----> Bootstrapping cpanm
+ read line
+ [[ Successfully installed App-cpanminus-1.7040 == --* ]]
' 'Successfully installed App-cpanminus-1.7040'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed App-cpanminus-1.7040
+ read line
+ [[ 1 distribution installed == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' '1 distribution installed'
1 distribution installed
+ read line
+ [[ -----> Installing dependencies == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing dependencies
-----> Installing dependencies
+ read line
+ [[ cpanm options: --quiet --notest -l /tmp/build/local == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'cpanm options: --quiet --notest -l /tmp/build/local'
cpanm options: --quiet --notest -l /tmp/build/local
+ read line
+ [[ Successfully installed IO-Socket-IP-0.37 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed IO-Socket-IP-0.37'
Successfully installed IO-Socket-IP-0.37
+ read line
+ [[ Successfully installed Mojolicious-6.56 == --* ]]
' 'Successfully installed Mojolicious-6.56'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed Mojolicious-6.56
+ read line
+ [[ 2 distributions installed == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' '2 distributions installed'
2 distributions installed
+ read line
+ [[ -----> Installing Starman == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing Starman
-----> Installing Starman
+ read line
+ [[ Successfully installed ExtUtils-Config-0.008 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-Config-0.008'
Successfully installed ExtUtils-Config-0.008
+ read line
+ [[ Successfully installed ExtUtils-InstallPaths-0.011 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-InstallPaths-0.011'
Successfully installed ExtUtils-InstallPaths-0.011
+ read line
+ [[ Successfully installed Test-Harness-3.36 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-Harness-3.36'
Successfully installed Test-Harness-3.36
+ read line
+ [[ Successfully installed ExtUtils-Helpers-0.022 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-Helpers-0.022'
+ read line
Successfully installed ExtUtils-Helpers-0.022
+ [[ Successfully installed Module-Build-Tiny-0.039 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed Module-Build-Tiny-0.039
' 'Successfully installed Module-Build-Tiny-0.039'
+ read line
+ [[ Successfully installed Net-Server-2.008 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Net-Server-2.008'
Successfully installed Net-Server-2.008
+ read line
+ [[ Successfully installed Data-Dump-1.23 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Data-Dump-1.23'
Successfully installed Data-Dump-1.23
+ read line
+ [[ Successfully installed HTTP-Parser-XS-0.17 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Parser-XS-0.17'
Successfully installed HTTP-Parser-XS-0.17
+ read line
+ [[ Successfully installed HTTP-Date-6.02 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Date-6.02'
Successfully installed HTTP-Date-6.02
+ read line
+ [[ Successfully installed IO-HTML-1.001 == --* ]]
' 'Successfully installed IO-HTML-1.001'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed IO-HTML-1.001
+ read line
+ [[ Successfully installed Encode-Locale-1.05 == --* ]]
' 'Successfully installed Encode-Locale-1.05'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed Encode-Locale-1.05
+ read line
+ [[ Successfully installed URI-1.71 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed URI-1.71'
Successfully installed URI-1.71
+ read line
+ [[ Successfully installed LWP-MediaTypes-6.02 == --* ]]
+ output_redirect
' 'Successfully installed LWP-MediaTypes-6.02'
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed LWP-MediaTypes-6.02
+ read line
+ [[ Successfully installed HTTP-Message-6.11 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Message-6.11'
Successfully installed HTTP-Message-6.11
+ read line
+ [[ Successfully installed File-ShareDir-Install-0.10 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed File-ShareDir-Install-0.10'
Successfully installed File-ShareDir-Install-0.10
+ read line
+ [[ Successfully installed Stream-Buffered-0.03 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Stream-Buffered-0.03'
Successfully installed Stream-Buffered-0.03
+ read line
+ [[ Successfully installed Test-SharedFork-0.35 == --* ]]
Successfully installed Test-SharedFork-0.35
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-SharedFork-0.35'
+ read line
+ [[ Successfully installed Test-TCP-2.15 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-TCP-2.15'
Successfully installed Test-TCP-2.15
+ read line
+ [[ Successfully installed HTTP-Body-1.22 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Body-1.22'
Successfully installed HTTP-Body-1.22
+ read line
+ [[ Successfully installed Class-Inspector-1.28 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Class-Inspector-1.28'
Successfully installed Class-Inspector-1.28
+ read line
+ [[ Successfully installed File-ShareDir-1.102 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed File-ShareDir-1.102'
+ read line
Successfully installed File-ShareDir-1.102
+ [[ Successfully installed Devel-StackTrace-2.01 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Devel-StackTrace-2.01'
Successfully installed Devel-StackTrace-2.01
+ read line
+ [[ Successfully installed Devel-StackTrace-AsHTML-0.14 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Devel-StackTrace-AsHTML-0.14'
Successfully installed Devel-StackTrace-AsHTML-0.14
+ read line
+ [[ Successfully installed HTTP-Headers-Fast-0.20 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Headers-Fast-0.20'
Successfully installed HTTP-Headers-Fast-0.20
+ read line
+ [[ Successfully installed Hash-MultiValue-0.16 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
' 'Successfully installed Hash-MultiValue-0.16'
+ cat -
Successfully installed Hash-MultiValue-0.16
+ read line
+ [[ Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025) == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025)'
Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025)
+ read line
+ [[ Successfully installed Filesys-Notify-Simple-0.12 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Filesys-Notify-Simple-0.12'
Successfully installed Filesys-Notify-Simple-0.12
+ read line
+ [[ Successfully installed Cookie-Baker-0.06 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Cookie-Baker-0.06'
Successfully installed Cookie-Baker-0.06
$ deis apps:destroy --app= --confirm=
! WARNING: Potentially Destructive Action
! This command will destroy the application: test-171530958
! To proceed, type "test-171530958" or re-run this command with --confirm=test-171530958
> Error: App test-171530958 does not match confirm , aborting.
• Failure in Spec Setup (BeforeEach) [303.876 seconds]
Apps
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:204
with a custom buildpack deployed app
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:203
can get app info [BeforeEach]
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:197
Timed out after 300.027s.
Got stuck at:
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:39:51 Running in debug mode
Running git hook [DEBUG]
read [0000000000000000000000000000000000000000,eaed0559111ca65588ec24897316faf8d9007a38,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-171530958"}
got the following config back for app test-171530958: {Owner:test-81 App:test-171530958 Values:map[BUILDPACK_URL:https://github.com/miyagawa/heroku-buildpack-perl.git] Memory:map[] CPU:map[] Tags:map[] UUID:562a7de7-5ed0-4891-85b1-1d63aed057bd Created:2016-03-21 21:39:49 +0000 UTC Updated:2016-03-21 21:39:49 +0000 UTC}
found custom buildpack URL https://github.com/miyagawa/heroku-buildpack-perl.git
running [git archive --format=tar.gz --output=test-171530958.tar.gz eaed0559] in directory /home/git/test-171530958.git
running [tar -xzf test-171530958.tar.gz -C /home/git/test-171530958.git/build/tmp988044856/] in directory /home/git/test-171530958.git
Uploading tar to http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-171530958-eaed0559-a6a26e31
Pod spec: {
"metadata": {
"name": "slugbuild-test-171530958-eaed0559-a6a26e31",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-171530958-eaed0559-a6a26e31"
} e:
}, te:
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
], :
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "BUILDPACK_URL",
"value": "https://github.com/miyagawa/heroku-buildpack-perl.git"
},
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/push"
},
{
"name": "BUILDPACK_URL",
"value": "https://github.com/miyagawa/heroku-buildpack-perl.git"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
], :
"restartPolicy": "Never",
"serviceAccountName": ""
}, te:
"status": {}
} emote:
remote:
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar
++ awk -F/ '{print $1}'
+ protocol=http:
++ echo http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=QpzSZROInFxEqQ/eAoMKouiyLnRzZC44Kujhj7GkNqY=
+ REQUEST_ID=QpzSZROInFxEqQ/eAoMKouiyLnRzZC44Kujhj7GkNqY=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n https://github.com/miyagawa/heroku-buildpack-perl.git ]]
+ echo_title 'Fetching custom buildpack'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Fetching custom buildpack
-----> Fetching custom buildpack
+ buildpack=/tmp/buildpacks/custom
+ rm -fr /tmp/buildpacks/custom
+ url=https://github.com/miyagawa/heroku-buildpack-perl.git
+ committish=https://github.com/miyagawa/heroku-buildpack-perl.git
+ '[' https://github.com/miyagawa/heroku-buildpack-perl.git == https://github.com/miyagawa/heroku-buildpack-perl.git ']'
+ committish=master
+ set +e
+ git clone --branch master --depth=1 https://github.com/miyagawa/heroku-buildpack-perl.git /tmp/buildpacks/custom
+ SHALLOW_CLONED=0
+ set -e
+ '[' 0 -ne 0 ']'
+ selected_buildpack=/tmp/buildpacks/custom
++ /tmp/buildpacks/custom/bin/detect /tmp/build
+ buildpack_name=Perl/PSGI
+ selected_buildpack=/tmp/buildpacks/custom
+ [[ -n /tmp/buildpacks/custom ]]
+ echo_title 'Perl/PSGI app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Perl/PSGI app detected
-----> Perl/PSGI app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/custom/bin/compile /tmp/build /tmp/cache
+ [[ -----> Bootstrapping cpanm == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Bootstrapping cpanm
-----> Bootstrapping cpanm
+ read line
+ [[ Successfully installed App-cpanminus-1.7040 == --* ]]
' 'Successfully installed App-cpanminus-1.7040'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed App-cpanminus-1.7040
+ read line
+ [[ 1 distribution installed == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' '1 distribution installed'
1 distribution installed
+ read line
+ [[ -----> Installing dependencies == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing dependencies
-----> Installing dependencies
+ read line
+ [[ cpanm options: --quiet --notest -l /tmp/build/local == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'cpanm options: --quiet --notest -l /tmp/build/local'
cpanm options: --quiet --notest -l /tmp/build/local
+ read line
+ [[ Successfully installed IO-Socket-IP-0.37 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed IO-Socket-IP-0.37'
Successfully installed IO-Socket-IP-0.37
+ read line
+ [[ Successfully installed Mojolicious-6.56 == --* ]]
' 'Successfully installed Mojolicious-6.56'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed Mojolicious-6.56
+ read line
+ [[ 2 distributions installed == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' '2 distributions installed'
2 distributions installed
+ read line
+ [[ -----> Installing Starman == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing Starman
-----> Installing Starman
+ read line
+ [[ Successfully installed ExtUtils-Config-0.008 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-Config-0.008'
Successfully installed ExtUtils-Config-0.008
+ read line
+ [[ Successfully installed ExtUtils-InstallPaths-0.011 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-InstallPaths-0.011'
Successfully installed ExtUtils-InstallPaths-0.011
+ read line
+ [[ Successfully installed Test-Harness-3.36 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-Harness-3.36'
Successfully installed Test-Harness-3.36
+ read line
+ [[ Successfully installed ExtUtils-Helpers-0.022 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-Helpers-0.022'
+ read line
Successfully installed ExtUtils-Helpers-0.022
+ [[ Successfully installed Module-Build-Tiny-0.039 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed Module-Build-Tiny-0.039
' 'Successfully installed Module-Build-Tiny-0.039'
+ read line
+ [[ Successfully installed Net-Server-2.008 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Net-Server-2.008'
Successfully installed Net-Server-2.008
+ read line
+ [[ Successfully installed Data-Dump-1.23 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Data-Dump-1.23'
Successfully installed Data-Dump-1.23
+ read line
+ [[ Successfully installed HTTP-Parser-XS-0.17 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Parser-XS-0.17'
Successfully installed HTTP-Parser-XS-0.17
+ read line
+ [[ Successfully installed HTTP-Date-6.02 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Date-6.02'
Successfully installed HTTP-Date-6.02
+ read line
+ [[ Successfully installed IO-HTML-1.001 == --* ]]
' 'Successfully installed IO-HTML-1.001'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed IO-HTML-1.001
+ read line
+ [[ Successfully installed Encode-Locale-1.05 == --* ]]
' 'Successfully installed Encode-Locale-1.05'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed Encode-Locale-1.05
+ read line
+ [[ Successfully installed URI-1.71 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed URI-1.71'
Successfully installed URI-1.71
+ read line
+ [[ Successfully installed LWP-MediaTypes-6.02 == --* ]]
+ output_redirect
' 'Successfully installed LWP-MediaTypes-6.02'
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed LWP-MediaTypes-6.02
+ read line
+ [[ Successfully installed HTTP-Message-6.11 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Message-6.11'
Successfully installed HTTP-Message-6.11
+ read line
+ [[ Successfully installed File-ShareDir-Install-0.10 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed File-ShareDir-Install-0.10'
Successfully installed File-ShareDir-Install-0.10
+ read line
+ [[ Successfully installed Stream-Buffered-0.03 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Stream-Buffered-0.03'
Successfully installed Stream-Buffered-0.03
+ read line
+ [[ Successfully installed Test-SharedFork-0.35 == --* ]]
Successfully installed Test-SharedFork-0.35
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-SharedFork-0.35'
+ read line
+ [[ Successfully installed Test-TCP-2.15 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-TCP-2.15'
Successfully installed Test-TCP-2.15
+ read line
+ [[ Successfully installed HTTP-Body-1.22 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Body-1.22'
Successfully installed HTTP-Body-1.22
+ read line
+ [[ Successfully installed Class-Inspector-1.28 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Class-Inspector-1.28'
Successfully installed Class-Inspector-1.28
+ read line
+ [[ Successfully installed File-ShareDir-1.102 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed File-ShareDir-1.102'
+ read line
Successfully installed File-ShareDir-1.102
+ [[ Successfully installed Devel-StackTrace-2.01 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Devel-StackTrace-2.01'
Successfully installed Devel-StackTrace-2.01
+ read line
+ [[ Successfully installed Devel-StackTrace-AsHTML-0.14 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Devel-StackTrace-AsHTML-0.14'
Successfully installed Devel-StackTrace-AsHTML-0.14
+ read line
+ [[ Successfully installed HTTP-Headers-Fast-0.20 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Headers-Fast-0.20'
Successfully installed HTTP-Headers-Fast-0.20
+ read line
+ [[ Successfully installed Hash-MultiValue-0.16 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
' 'Successfully installed Hash-MultiValue-0.16'
+ cat -
Successfully installed Hash-MultiValue-0.16
+ read line
+ [[ Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025) == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025)'
Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025)
+ read line
+ [[ Successfully installed Filesys-Notify-Simple-0.12 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Filesys-Notify-Simple-0.12'
Successfully installed Filesys-Notify-Simple-0.12
+ read line
+ [[ Successfully installed Cookie-Baker-0.06 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Cookie-Baker-0.06'
Successfully installed Cookie-Baker-0.06
Waiting for:
Done, test-171530958:v\d deployed to Deis
/go/src/github.com/deis/workflow-e2e/tests/tests_suite_test.go:364
------------------------------
Apps with a custom buildpack deployed app
can open the app's URL
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:201
+ read line
+ [[ Successfully installed POSIX-strftime-Compiler-0.41 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed POSIX-strftime-Compiler-0.41'
Successfully installed POSIX-strftime-Compiler-0.41
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-784706169 --buildpack https://github.com/miyagawa/heroku-buildpack-perl.git
Creating Application... done, created test-784706169
Git remote deis added
remote available at ssh://[email protected]:2222/test-784706169.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
+ read line
+ [[ Successfully installed Apache-LogFormat-Compiler-0.33 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Apache-LogFormat-Compiler-0.33'
Successfully installed Apache-LogFormat-Compiler-0.33
remote: 2016/03/21 21:44:56 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,eaed0559111ca65588ec24897316faf8d9007a38,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-784706169"}
got the following config back for app test-784706169: {Owner:test-81 App:test-784706169 Values:map[BUILDPACK_URL:https://github.com/miyagawa/heroku-buildpack-perl.git] Memory:map[] CPU:map[] Tags:map[] UUID:d3e7f4b4-642a-42e2-a76c-73553ee99c5b Created:2016-03-21 21:44:52 +0000 UTC Updated:2016-03-21 21:44:52 +0000 UTC}
found custom buildpack URL https://github.com/miyagawa/heroku-buildpack-perl.git
running [git archive --format=tar.gz --output=test-784706169.tar.gz eaed0559] in directory /home/git/test-784706169.git
running [tar -xzf test-784706169.tar.gz -C /home/git/test-784706169.git/build/tmp119838023/] in directory /home/git/test-784706169.git
Uploading tar to http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-784706169-eaed0559-3fd3eada
Pod spec: {
"metadata": {
"name": "slugbuild-test-784706169-eaed0559-3fd3eada",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-784706169-eaed0559-3fd3eada"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "BUILDPACK_URL",
"value": "https://github.com/miyagawa/heroku-buildpack-perl.git"
},
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/push"
},
{
"name": "BUILDPACK_URL",
"value": "https://github.com/miyagawa/heroku-buildpack-perl.git"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar
+ protocol=http:
++ echo http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=zw2FNNLlcnRCOOmfgcssqJ68aOZZvorMF1Jccy99rzY=
+ REQUEST_ID=zw2FNNLlcnRCOOmfgcssqJ68aOZZvorMF1Jccy99rzY=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n https://github.com/miyagawa/heroku-buildpack-perl.git ]]
+ echo_title 'Fetching custom buildpack'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Fetching custom buildpack
+ buildpack=/tmp/buildpacks/custom
+ rm -fr /tmp/buildpacks/custom
+ url=https://github.com/miyagawa/heroku-buildpack-perl.git
+ committish=https://github.com/miyagawa/heroku-buildpack-perl.git
+ '[' https://github.com/miyagawa/heroku-buildpack-perl.git == https://github.com/miyagawa/heroku-buildpack-perl.git ']'
+ committish=master
+ set +e
+ git clone --branch master --depth=1 https://github.com/miyagawa/heroku-buildpack-perl.git /tmp/buildpacks/custom
-----> Fetching custom buildpack
+ SHALLOW_CLONED=0
+ set -e
+ '[' 0 -ne 0 ']'
+ selected_buildpack=/tmp/buildpacks/custom
++ /tmp/buildpacks/custom/bin/detect /tmp/build
+ buildpack_name=Perl/PSGI
+ selected_buildpack=/tmp/buildpacks/custom
+ [[ -n /tmp/buildpacks/custom ]]
+ echo_title 'Perl/PSGI app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Perl/PSGI app detected
-----> Perl/PSGI app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/custom/bin/compile /tmp/build /tmp/cache
+ [[ -----> Bootstrapping cpanm == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Bootstrapping cpanm
-----> Bootstrapping cpanm
+ read line
+ [[ Successfully installed Try-Tiny-0.24 == --* ]]
' 'Successfully installed Try-Tiny-0.24'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
Successfully installed Try-Tiny-0.24
+ read line
+ [[ Successfully installed App-cpanminus-1.7040 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed App-cpanminus-1.7040'
Successfully installed App-cpanminus-1.7040
+ read line
+ [[ 1 distribution installed == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' '1 distribution installed'
1 distribution installed
+ read line
+ [[ -----> Installing dependencies == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing dependencies
-----> Installing dependencies
+ read line
+ [[ cpanm options: --quiet --notest -l /tmp/build/local == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'cpanm options: --quiet --notest -l /tmp/build/local'
cpanm options: --quiet --notest -l /tmp/build/local
+ read line
+ [[ Successfully installed Plack-1.0039 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Plack-1.0039'
Successfully installed Plack-1.0039
+ read line
+ [[ Successfully installed Starman-0.4014 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Starman-0.4014'
Successfully installed Starman-0.4014
+ read line
+ [[ 33 distributions installed == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' '33 distributions installed'
33 distributions installed
+ read line
+ /tmp/buildpacks/custom/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=web
+ [[ -n web ]]
+ echo_normal 'Default process types for Perl/PSGI -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Default process types for Perl/PSGI '->' web
Default process types for Perl/PSGI -> web
+ chown -R slug:slug /tmp/build/LICENSE /tmp/build/README.md /tmp/build/app.psgi /tmp/build/cpanfile /tmp/build/local /tmp/build/mc_config
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ -s /tmp/build/.release ]]
+ ruby -e 'require '\''yaml'\'';procTypes = (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\'']);open('\''/tmp/build/Procfile'\'','\''w'\'') {|f| YAML.dump(procTypes,f)}'
+ [[ /tmp/slug.tgz != \- ]]
++ du -Sh /tmp/slug.tgz
++ cut -f1
+ slug_size=1.9M
+ echo_title 'Compiled slug size is 1.9M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 1.9M
-----> Compiled slug size is 1.9M
+ [[ -n http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $3}'
++ echo http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/push
+ domain=10.3.0.68:9000
++ echo http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/push
++ awk -F/ '{print $1}'
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/push/
size of streamed logs 15743
+ read line
+ [[ Successfully installed IO-Socket-IP-0.37 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
' 'Successfully installed IO-Socket-IP-0.37'
+ cat -
Successfully installed IO-Socket-IP-0.37
Waiting for the deis/slugbuild-test-171530958-eaed0559-a6a26e31 pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-171530958:git-eaed0559/push/slug.tgz
Procfile not present. Getting it from the buildpack
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"eaed0559","receive_user":"test-81","receive_repo":"test-171530958","image":"http://10.3.0.68:9000/git/home/test-171530958:git-eaed0559/push/slug.tgz","procfile":{"web":"perl -Mlib=$PWD/local/lib/perl5 ./local/bin/starman --preload-app --port $PORT"},"dockerfile":""}
---> ---> ---> [DEBUG]
Done, test-171530958:v3 deployed to Deis
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-171530958.git
To ssh://[email protected]:2222/test-171530958.git
* [new branch] master -> master
error: unable to create directory for .git/refs/remotes/deis/master
error: Cannot lock the ref 'refs/remotes/deis/master'.
+ read line
+ [[ Successfully installed Mojolicious-6.56 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Mojolicious-6.56'
Successfully installed Mojolicious-6.56
+ read line
+ [[ 2 distributions installed == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' '2 distributions installed'
2 distributions installed
+ read line
+ [[ -----> Installing Starman == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing Starman
-----> Installing Starman
+ read line
+ [[ Successfully installed Test-Harness-3.36 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-Harness-3.36'
Successfully installed Test-Harness-3.36
+ read line
+ [[ Successfully installed ExtUtils-Config-0.008 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-Config-0.008'
Successfully installed ExtUtils-Config-0.008
+ read line
+ [[ Successfully installed ExtUtils-InstallPaths-0.011 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-InstallPaths-0.011'
Successfully installed ExtUtils-InstallPaths-0.011
+ read line
+ [[ Successfully installed ExtUtils-Helpers-0.022 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-Helpers-0.022'
Successfully installed ExtUtils-Helpers-0.022
+ read line
+ [[ Successfully installed Module-Build-Tiny-0.039 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Module-Build-Tiny-0.039'
Successfully installed Module-Build-Tiny-0.039
+ read line
+ [[ Successfully installed File-ShareDir-Install-0.10 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed File-ShareDir-Install-0.10'
Successfully installed File-ShareDir-Install-0.10
+ read line
+ [[ Successfully installed Devel-StackTrace-2.01 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Devel-StackTrace-2.01'
Successfully installed Devel-StackTrace-2.01
+ read line
+ [[ Successfully installed Filesys-Notify-Simple-0.12 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Filesys-Notify-Simple-0.12'
Successfully installed Filesys-Notify-Simple-0.12
+ read line
+ [[ Successfully installed Class-Inspector-1.28 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Class-Inspector-1.28'
Successfully installed Class-Inspector-1.28
+ read line
+ [[ Successfully installed File-ShareDir-1.102 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed File-ShareDir-1.102'
Successfully installed File-ShareDir-1.102
+ read line
+ [[ Successfully installed Test-SharedFork-0.35 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-SharedFork-0.35'
Successfully installed Test-SharedFork-0.35
+ read line
+ [[ Successfully installed Test-TCP-2.15 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-TCP-2.15'
Successfully installed Test-TCP-2.15
+ read line
+ [[ Successfully installed POSIX-strftime-Compiler-0.41 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed POSIX-strftime-Compiler-0.41'
Successfully installed POSIX-strftime-Compiler-0.41
+ read line
+ [[ Successfully installed Apache-LogFormat-Compiler-0.33 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
' 'Successfully installed Apache-LogFormat-Compiler-0.33'
+ cat -
Successfully installed Apache-LogFormat-Compiler-0.33
+ read line
+ [[ Successfully installed Stream-Buffered-0.03 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Stream-Buffered-0.03'
Successfully installed Stream-Buffered-0.03
+ read line
+ [[ Successfully installed Devel-StackTrace-AsHTML-0.14 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Devel-StackTrace-AsHTML-0.14'
Successfully installed Devel-StackTrace-AsHTML-0.14
+ read line
+ [[ Successfully installed Encode-Locale-1.05 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Encode-Locale-1.05'
Successfully installed Encode-Locale-1.05
+ read line
+ [[ Successfully installed URI-1.71 == --* ]]
Successfully installed URI-1.71
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed URI-1.71'
+ read line
+ [[ Successfully installed IO-HTML-1.001 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed IO-HTML-1.001'
Successfully installed IO-HTML-1.001
+ read line
+ [[ Successfully installed HTTP-Date-6.02 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Date-6.02'
+ read line
Successfully installed HTTP-Date-6.02
+ [[ Successfully installed LWP-MediaTypes-6.02 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed LWP-MediaTypes-6.02'
Successfully installed LWP-MediaTypes-6.02
+ read line
+ [[ Successfully installed HTTP-Message-6.11 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Message-6.11'
Successfully installed HTTP-Message-6.11
+ read line
+ [[ Successfully installed Hash-MultiValue-0.16 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Hash-MultiValue-0.16'
Successfully installed Hash-MultiValue-0.16
+ read line
+ [[ Successfully installed HTTP-Headers-Fast-0.20 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Headers-Fast-0.20'
Successfully installed HTTP-Headers-Fast-0.20
+ read line
+ [[ Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025) == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025)'
Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025)
+ read line
+ [[ Successfully installed HTTP-Body-1.22 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Body-1.22'
Successfully installed HTTP-Body-1.22
+ read line
+ [[ Successfully installed Cookie-Baker-0.06 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Cookie-Baker-0.06'
Successfully installed Cookie-Baker-0.06
+ read line
+ [[ Successfully installed Try-Tiny-0.24 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Try-Tiny-0.24'
Successfully installed Try-Tiny-0.24
$ deis apps:destroy --app= --confirm=
Error: App test-784706169 does not match confirm , aborting.
! WARNING: Potentially Destructive Action
! This command will destroy the application: test-784706169
! To proceed, type "test-784706169" or re-run this command with --confirm=test-784706169
>
• Failure in Spec Setup (BeforeEach) [303.762 seconds]
Apps
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:204
with a custom buildpack deployed app
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:203
can open the app's URL [BeforeEach]
/go/src/github.com/deis/workflow-e2e/tests/apps_test.go:201
Timed out after 300.039s.
Got stuck at:
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:44:56 Running in debug mode
Running git hook [DEBUG]
read [0000000000000000000000000000000000000000,eaed0559111ca65588ec24897316faf8d9007a38,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-784706169"}
got the following config back for app test-784706169: {Owner:test-81 App:test-784706169 Values:map[BUILDPACK_URL:https://github.com/miyagawa/heroku-buildpack-perl.git] Memory:map[] CPU:map[] Tags:map[] UUID:d3e7f4b4-642a-42e2-a76c-73553ee99c5b Created:2016-03-21 21:44:52 +0000 UTC Updated:2016-03-21 21:44:52 +0000 UTC}
found custom buildpack URL https://github.com/miyagawa/heroku-buildpack-perl.git
running [git archive --format=tar.gz --output=test-784706169.tar.gz eaed0559] in directory /home/git/test-784706169.git
running [tar -xzf test-784706169.tar.gz -C /home/git/test-784706169.git/build/tmp119838023/] in directory /home/git/test-784706169.git
Uploading tar to http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-784706169-eaed0559-3fd3eada
Pod spec: {
"metadata": {
"name": "slugbuild-test-784706169-eaed0559-3fd3eada",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-784706169-eaed0559-3fd3eada"
} e:
}, te:
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
], :
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "BUILDPACK_URL",
"value": "https://github.com/miyagawa/heroku-buildpack-perl.git"
},
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/push"
},
{
"name": "BUILDPACK_URL",
"value": "https://github.com/miyagawa/heroku-buildpack-perl.git"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
], :
"restartPolicy": "Never",
"serviceAccountName": ""
}, te:
"status": {}
} emote:
remote:
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar
+ protocol=http:
++ echo http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=zw2FNNLlcnRCOOmfgcssqJ68aOZZvorMF1Jccy99rzY=
+ REQUEST_ID=zw2FNNLlcnRCOOmfgcssqJ68aOZZvorMF1Jccy99rzY=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n https://github.com/miyagawa/heroku-buildpack-perl.git ]]
+ echo_title 'Fetching custom buildpack'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Fetching custom buildpack
+ buildpack=/tmp/buildpacks/custom
+ rm -fr /tmp/buildpacks/custom
+ url=https://github.com/miyagawa/heroku-buildpack-perl.git
+ committish=https://github.com/miyagawa/heroku-buildpack-perl.git
+ '[' https://github.com/miyagawa/heroku-buildpack-perl.git == https://github.com/miyagawa/heroku-buildpack-perl.git ']'
+ committish=master
+ set +e
+ git clone --branch master --depth=1 https://github.com/miyagawa/heroku-buildpack-perl.git /tmp/buildpacks/custom
-----> Fetching custom buildpack
+ SHALLOW_CLONED=0
+ set -e
+ '[' 0 -ne 0 ']'
+ selected_buildpack=/tmp/buildpacks/custom
++ /tmp/buildpacks/custom/bin/detect /tmp/build
+ buildpack_name=Perl/PSGI
+ selected_buildpack=/tmp/buildpacks/custom
+ [[ -n /tmp/buildpacks/custom ]]
+ echo_title 'Perl/PSGI app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Perl/PSGI app detected
-----> Perl/PSGI app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/custom/bin/compile /tmp/build /tmp/cache
+ [[ -----> Bootstrapping cpanm == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Bootstrapping cpanm
-----> Bootstrapping cpanm
+ read line
+ [[ Successfully installed App-cpanminus-1.7040 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed App-cpanminus-1.7040'
Successfully installed App-cpanminus-1.7040
+ read line
+ [[ 1 distribution installed == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' '1 distribution installed'
1 distribution installed
+ read line
+ [[ -----> Installing dependencies == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing dependencies
-----> Installing dependencies
+ read line
+ [[ cpanm options: --quiet --notest -l /tmp/build/local == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'cpanm options: --quiet --notest -l /tmp/build/local'
cpanm options: --quiet --notest -l /tmp/build/local
+ read line
+ [[ Successfully installed IO-Socket-IP-0.37 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
' 'Successfully installed IO-Socket-IP-0.37'
+ cat -
Successfully installed IO-Socket-IP-0.37
+ read line
+ [[ Successfully installed Mojolicious-6.56 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Mojolicious-6.56'
Successfully installed Mojolicious-6.56
+ read line
+ [[ 2 distributions installed == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' '2 distributions installed'
2 distributions installed
+ read line
+ [[ -----> Installing Starman == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing Starman
-----> Installing Starman
+ read line
+ [[ Successfully installed Test-Harness-3.36 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-Harness-3.36'
Successfully installed Test-Harness-3.36
+ read line
+ [[ Successfully installed ExtUtils-Config-0.008 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-Config-0.008'
Successfully installed ExtUtils-Config-0.008
+ read line
+ [[ Successfully installed ExtUtils-InstallPaths-0.011 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-InstallPaths-0.011'
Successfully installed ExtUtils-InstallPaths-0.011
+ read line
+ [[ Successfully installed ExtUtils-Helpers-0.022 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed ExtUtils-Helpers-0.022'
Successfully installed ExtUtils-Helpers-0.022
+ read line
+ [[ Successfully installed Module-Build-Tiny-0.039 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Module-Build-Tiny-0.039'
Successfully installed Module-Build-Tiny-0.039
+ read line
+ [[ Successfully installed File-ShareDir-Install-0.10 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed File-ShareDir-Install-0.10'
Successfully installed File-ShareDir-Install-0.10
+ read line
+ [[ Successfully installed Devel-StackTrace-2.01 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Devel-StackTrace-2.01'
Successfully installed Devel-StackTrace-2.01
+ read line
+ [[ Successfully installed Filesys-Notify-Simple-0.12 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Filesys-Notify-Simple-0.12'
Successfully installed Filesys-Notify-Simple-0.12
+ read line
+ [[ Successfully installed Class-Inspector-1.28 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Class-Inspector-1.28'
Successfully installed Class-Inspector-1.28
+ read line
+ [[ Successfully installed File-ShareDir-1.102 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed File-ShareDir-1.102'
Successfully installed File-ShareDir-1.102
+ read line
+ [[ Successfully installed Test-SharedFork-0.35 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-SharedFork-0.35'
Successfully installed Test-SharedFork-0.35
+ read line
+ [[ Successfully installed Test-TCP-2.15 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Test-TCP-2.15'
Successfully installed Test-TCP-2.15
+ read line
+ [[ Successfully installed POSIX-strftime-Compiler-0.41 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed POSIX-strftime-Compiler-0.41'
Successfully installed POSIX-strftime-Compiler-0.41
+ read line
+ [[ Successfully installed Apache-LogFormat-Compiler-0.33 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
' 'Successfully installed Apache-LogFormat-Compiler-0.33'
+ cat -
Successfully installed Apache-LogFormat-Compiler-0.33
+ read line
+ [[ Successfully installed Stream-Buffered-0.03 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Stream-Buffered-0.03'
Successfully installed Stream-Buffered-0.03
+ read line
+ [[ Successfully installed Devel-StackTrace-AsHTML-0.14 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Devel-StackTrace-AsHTML-0.14'
Successfully installed Devel-StackTrace-AsHTML-0.14
+ read line
+ [[ Successfully installed Encode-Locale-1.05 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Encode-Locale-1.05'
Successfully installed Encode-Locale-1.05
+ read line
+ [[ Successfully installed URI-1.71 == --* ]]
Successfully installed URI-1.71
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed URI-1.71'
+ read line
+ [[ Successfully installed IO-HTML-1.001 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed IO-HTML-1.001'
Successfully installed IO-HTML-1.001
+ read line
+ [[ Successfully installed HTTP-Date-6.02 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Date-6.02'
+ read line
Successfully installed HTTP-Date-6.02
+ [[ Successfully installed LWP-MediaTypes-6.02 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed LWP-MediaTypes-6.02'
Successfully installed LWP-MediaTypes-6.02
+ read line
+ [[ Successfully installed HTTP-Message-6.11 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Message-6.11'
Successfully installed HTTP-Message-6.11
+ read line
+ [[ Successfully installed Hash-MultiValue-0.16 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Hash-MultiValue-0.16'
Successfully installed Hash-MultiValue-0.16
+ read line
+ [[ Successfully installed HTTP-Headers-Fast-0.20 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Headers-Fast-0.20'
Successfully installed HTTP-Headers-Fast-0.20
+ read line
+ [[ Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025) == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025)'
Successfully installed HTTP-Tiny-0.056 (upgraded from 0.025)
+ read line
+ [[ Successfully installed HTTP-Body-1.22 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Body-1.22'
Successfully installed HTTP-Body-1.22
+ read line
+ [[ Successfully installed Cookie-Baker-0.06 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Cookie-Baker-0.06'
Successfully installed Cookie-Baker-0.06
+ read line
+ [[ Successfully installed Try-Tiny-0.24 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Try-Tiny-0.24'
Successfully installed Try-Tiny-0.24
Waiting for:
Done, test-784706169:v\d deployed to Deis
/go/src/github.com/deis/workflow-e2e/tests/tests_suite_test.go:364
------------------------------
Limits with a deployed app
can list limits
/go/src/github.com/deis/workflow-e2e/tests/limits_test.go:36
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-829509084
Creating Application... done, created test-829509084
Git remote deis added
remote available at ssh://[email protected]:2222/test-829509084.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:50:00 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,779ca3d7c6e4992783d4398499d34474fa55398a,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-829509084"}
got the following config back for app test-829509084: {Owner:test-81 App:test-829509084 Values:map[] Memory:map[] CPU:map[] Tags:map[] UUID:b063dfe2-0e14-4161-b8be-3504e011d2c4 Created:2016-03-21 21:49:57 +0000 UTC Updated:2016-03-21 21:49:57 +0000 UTC}
running [git archive --format=tar.gz --output=test-829509084.tar.gz 779ca3d7] in directory /home/git/test-829509084.git
running [tar -xzf test-829509084.tar.gz -C /home/git/test-829509084.git/build/tmp873885588/] in directory /home/git/test-829509084.git
Uploading tar to http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-829509084-779ca3d7-3f8dc5f7
Pod spec: {
"metadata": {
"name": "slugbuild-test-829509084-779ca3d7-3f8dc5f7",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-829509084-779ca3d7-3f8dc5f7"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/push"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ read line
+ [[ Successfully installed Plack-1.0039 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Plack-1.0039'
Successfully installed Plack-1.0039
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/tar
+ protocol=http:
++ awk -F/ '{print $3}'
++ echo http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/tar
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=SPfyfAIbn6gZZq7lMa42X7zmCmBIsa7nuYTjoLvC1/U=
+ REQUEST_ID=SPfyfAIbn6gZZq7lMa42X7zmCmBIsa7nuYTjoLvC1/U=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n '' ]]
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-clojure.git/bin/detect /tmp/build
+ buildpack_name=no
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-go.git/bin/detect /tmp/build
+ buildpack_name=Go
+ selected_buildpack=/tmp/buildpacks/heroku-buildpack-go.git
+ break
+ [[ -n /tmp/buildpacks/heroku-buildpack-go.git ]]
+ echo_title 'Go app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Go app detected
-----> Go app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/compile /tmp/build /tmp/cache
+ [[ -----> Checking Godeps/Godeps.json file. == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Checking Godeps/Godeps.json file.
-----> Checking Godeps/Godeps.json file.
+ read line
+ [[ Successfully installed Net-Server-2.008 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Net-Server-2.008'
+ read line
+ read line
+ [[ -----> Installing go1.6... done == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing go1.6... done
-----> Installing go1.6... done
+ read line
+ [[ -----> Running: go install -v -tags heroku . == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Running: go install -v -tags heroku .
-----> Running: go install -v -tags heroku .
Successfully installed Net-Server-2.008
+ [[ Successfully installed Data-Dump-1.23 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Data-Dump-1.23'
+ read line
+ read line
github.com/deis/example-go
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
+ [[ -f /tmp/build/Procfile ]]
++ ruby -e 'require '\''yaml'\'';puts YAML.load_file('\''/tmp/build/Procfile'\'').keys().join('\'', '\'')'
-----> Discovering process types
+ types=web
+ echo_normal 'Procfile declares types -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Procfile declares types '->' web
Procfile declares types -> web
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=
+ [[ -n '' ]]
+ chown -R slug:slug /tmp/build/Godeps /tmp/build/LICENSE /tmp/build/Procfile /tmp/build/README.md /tmp/build/bin /tmp/build/mc_config /tmp/build/web.go
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ /tmp/slug.tgz != \- ]]
++ du -Sh /tmp/slug.tgz
++ cut -f1
+ slug_size=2.2M
+ echo_title 'Compiled slug size is 2.2M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 2.2M
-----> Compiled slug size is 2.2M
+ [[ -n http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $3}'
++ echo http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/push
+ domain=10.3.0.68:9000
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/push
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/push/
size of streamed logs 5551
Successfully installed Data-Dump-1.23
+ [[ Successfully installed HTTP-Parser-XS-0.17 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed HTTP-Parser-XS-0.17'
Successfully installed HTTP-Parser-XS-0.17
+ read line
+ [[ Successfully installed Starman-0.4014 == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' 'Successfully installed Starman-0.4014'
Successfully installed Starman-0.4014
+ read line
+ [[ 33 distributions installed == --* ]]
+ output_redirect
' '33 distributions installed'
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
+ read line
33 distributions installed
+ /tmp/buildpacks/custom/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=web
+ [[ -n web ]]
+ echo_normal 'Default process types for Perl/PSGI -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Default process types for Perl/PSGI '->' web
Default process types for Perl/PSGI -> web
+ chown -R slug:slug /tmp/build/LICENSE /tmp/build/README.md /tmp/build/app.psgi /tmp/build/cpanfile /tmp/build/local /tmp/build/mc_config
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ -s /tmp/build/.release ]]
Waiting for the deis/slugbuild-test-829509084-779ca3d7-3f8dc5f7 pod to end. Checking every 100ms for 15m0s
Done
+ ruby -e 'require '\''yaml'\'';procTypes = (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\'']);open('\''/tmp/build/Procfile'\'','\''w'\'') {|f| YAML.dump(procTypes,f)}'
+ [[ /tmp/slug.tgz != \- ]]
++ cut -f1
++ du -Sh /tmp/slug.tgz
+ slug_size=1.9M
+ echo_title 'Compiled slug size is 1.9M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 1.9M
-----> Compiled slug size is 1.9M
+ [[ -n http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/push
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
++ echo http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/push
++ awk -F/ '{print $1}'
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
Checking for builder pod exit code
Done
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-829509084:git-779ca3d7/push/slug.tgz
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"779ca3d7","receive_user":"test-81","receive_repo":"test-829509084","image":"http://10.3.0.68:9000/git/home/test-829509084:git-779ca3d7/push/slug.tgz","procfile":{"web":"example-go"},"dockerfile":""}
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/push/
size of streamed logs 15743
Waiting for the deis/slugbuild-test-784706169-eaed0559-3fd3eada pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-784706169:git-eaed0559/push/slug.tgz
Procfile not present. Getting it from the buildpack
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"eaed0559","receive_user":"test-81","receive_repo":"test-784706169","image":"http://10.3.0.68:9000/git/home/test-784706169:git-eaed0559/push/slug.tgz","procfile":{"web":"perl -Mlib=$PWD/local/lib/perl5 ./local/bin/starman --preload-app --port $PORT"},"dockerfile":""}
---> ---> ---> [DEBUG]
Done, test-784706169:v3 deployed to Deis
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-784706169.git
To ssh://[email protected]:2222/test-784706169.git
* [new branch] master -> master
error: unable to create directory for .git/refs/remotes/deis/master
error: Cannot lock the ref 'refs/remotes/deis/master'.
---> ---> ---> [DEBUG]
Done, test-829509084:v2 deployed to Deis
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-829509084.git
To ssh://[email protected]:2222/test-829509084.git
* [new branch] master -> master
------------------------------
Limits with a deployed app
can set a memory limit
/go/src/github.com/deis/workflow-e2e/tests/limits_test.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Limits with a deployed app
can set a CPU limit
/go/src/github.com/deis/workflow-e2e/tests/limits_test.go:52
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Limits with a deployed app
can unset a memory limit
/go/src/github.com/deis/workflow-e2e/tests/limits_test.go:66
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Limits with a deployed app
can unset a CPU limit
/go/src/github.com/deis/workflow-e2e/tests/limits_test.go:72
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Auth when logged out
won't print the current user
/go/src/github.com/deis/workflow-e2e/tests/auth_test.go:21
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis auth:logout
Logged out
$ deis auth:whoami
Error: Not logged in. Use 'deis login' or 'deis register' to get started.
------------------------------
Auth when logged in
can log out
/go/src/github.com/deis/workflow-e2e/tests/auth_test.go:27
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis auth:logout
Logged out
------------------------------
Auth when logged in
won't register twice
/go/src/github.com/deis/workflow-e2e/tests/auth_test.go:34
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Auth when logged in
prints the current user
/go/src/github.com/deis/workflow-e2e/tests/auth_test.go:41
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis auth:whoami
You are test-81 at http://deis.10.3.0.198.xip.io
------------------------------
Auth when logged in
regenerates the token for the current user
/go/src/github.com/deis/workflow-e2e/tests/auth_test.go:48
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis auth:regenerate
Token Regenerated
------------------------------
Auth when logged in as an admin
regenerates the token for a specified user
/go/src/github.com/deis/workflow-e2e/tests/auth_test.go:60
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis login http://deis.10.3.0.198.xip.io --username=admin --password=admin
Logged in as admin
------------------------------
Auth when logged in as an admin
regenerates the token for all users
/go/src/github.com/deis/workflow-e2e/tests/auth_test.go:66
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis login http://deis.10.3.0.198.xip.io --username=admin --password=admin
Logged in as admin
------------------------------
Config with a deployed app
can set and list environment variables
/go/src/github.com/deis/workflow-e2e/tests/config_test.go:55
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-584335164
Creating Application... done, created test-584335164
Git remote deis added
remote available at ssh://[email protected]:2222/test-584335164.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 21:53:10 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,779ca3d7c6e4992783d4398499d34474fa55398a,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-584335164"}
got the following config back for app test-584335164: {Owner:test-81 App:test-584335164 Values:map[] Memory:map[] CPU:map[] Tags:map[] UUID:71578371-7ac4-40d2-90c7-95def711ebe0 Created:2016-03-21 21:53:07 +0000 UTC Updated:2016-03-21 21:53:07 +0000 UTC}
running [git archive --format=tar.gz --output=test-584335164.tar.gz 779ca3d7] in directory /home/git/test-584335164.git
running [tar -xzf test-584335164.tar.gz -C /home/git/test-584335164.git/build/tmp456913440/] in directory /home/git/test-584335164.git
Uploading tar to http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-584335164-779ca3d7-c06b2b12
Pod spec: {
"metadata": {
"name": "slugbuild-test-584335164-779ca3d7-c06b2b12",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-584335164-779ca3d7-c06b2b12"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/push"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/tar
++ awk -F/ '{print $1}'
+ protocol=http:
++ awk -F/ '{print $3}'
++ echo http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/tar
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=WaAHVtGoTs6rTEu/YFgx1r3DGbXW+OTXegBLfxJ/hTs=
+ REQUEST_ID=WaAHVtGoTs6rTEu/YFgx1r3DGbXW+OTXegBLfxJ/hTs=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n '' ]]
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-clojure.git/bin/detect /tmp/build
+ buildpack_name=no
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-go.git/bin/detect /tmp/build
+ buildpack_name=Go
+ selected_buildpack=/tmp/buildpacks/heroku-buildpack-go.git
+ break
+ [[ -n /tmp/buildpacks/heroku-buildpack-go.git ]]
+ echo_title 'Go app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Go app detected
-----> Go app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/compile /tmp/build /tmp/cache
+ [[ -----> Checking Godeps/Godeps.json file. == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Checking Godeps/Godeps.json file.
-----> Checking Godeps/Godeps.json file.
+ read line
+ [[ -----> Installing go1.6... done == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing go1.6... done
-----> Installing go1.6... done
+ read line
+ [[ -----> Running: go install -v -tags heroku . == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Running: go install -v -tags heroku .
-----> Running: go install -v -tags heroku .
+ read line
github.com/deis/example-go
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
++ ruby -e 'require '\''yaml'\'';puts YAML.load_file('\''/tmp/build/Procfile'\'').keys().join('\'', '\'')'
+ types=web
+ echo_normal 'Procfile declares types -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Procfile declares types '->' web
Procfile declares types -> web
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
+ default_types=
+ [[ -n '' ]]
+ chown -R slug:slug /tmp/build/Godeps /tmp/build/LICENSE /tmp/build/Procfile /tmp/build/README.md /tmp/build/bin /tmp/build/mc_config /tmp/build/web.go
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ /tmp/slug.tgz != \- ]]
++ cut -f1
++ du -Sh /tmp/slug.tgz
+ slug_size=2.2M
+ echo_title 'Compiled slug size is 2.2M'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Compiled slug size is 2.2M
-----> Compiled slug size is 2.2M
+ [[ -n http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $3}'
++ echo http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/push
+ domain=10.3.0.68:9000
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/push
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/push/
size of streamed logs 5551
Waiting for the deis/slugbuild-test-584335164-779ca3d7-c06b2b12 pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done UG]
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-584335164:git-779ca3d7/push/slug.tgz
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"779ca3d7","receive_user":"test-81","receive_repo":"test-584335164","image":"http://10.3.0.68:9000/git/home/test-584335164:git-779ca3d7/push/slug.tgz","procfile":{"web":"example-go"},"dockerfile":""}
--->
Done, test-584335164:v2 deployed to Deis
---> ---> [DEBUG]
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-584335164.git
To ssh://[email protected]:2222/test-584335164.git
* [new branch] master -> master
$ deis config:set POWERED_BY=midi-chlorians
Creating config... done
=== test-584335164 Config
POWERED_BY midi-chlorians
$ deis config:list -a test-584335164
=== test-584335164 Config
POWERED_BY midi-chlorians
$ curl -sL "http://test-584335164.10.3.0.198.xip.io"; echo
Powered by midi-chlorians
Release v3 on test-584335164-v3-web-qa6lc
$ deis run env -a test-584335164
Running 'env'...
TEST_584335164_SERVICE_PORT=80
HOSTNAME=test-584335164-v3-run-d56vs
KUBERNETES_PORT=tcp://10.3.0.1:443
KUBERNETES_PORT_443_TCP_PORT=443
KUBERNETES_SERVICE_PORT=443
TEST_584335164_SERVICE_HOST=10.3.0.35
KUBERNETES_SERVICE_HOST=10.3.0.1
TEST_584335164_SERVICE_PORT_HTTP=80
TEST_584335164_PORT_80_TCP_PORT=80
POWERED_BY=midi-chlorians
TEST_584335164_PORT=tcp://10.3.0.35:80
DOCKERIMAGE=1
TEST_584335164_PORT_80_TCP_PROTO=tcp
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin
TEST_584335164_PORT_80_TCP_ADDR=10.3.0.35
PWD=/app
TEST_584335164_PORT_80_TCP=tcp://10.3.0.35:80
GOMAXPROCS=1
HOME=/app
SHLVL=1
KUBERNETES_PORT_443_TCP_PROTO=tcp
PORT=5000
KUBERNETES_PORT_443_TCP_ADDR=10.3.0.1
KUBERNETES_PORT_443_TCP=tcp://10.3.0.1:443
DEIS_RELEASE=2.0.0-dev
_=/usr/bin/env
------------------------------
Config with a deployed app
can set an integer environment variable
/go/src/github.com/deis/workflow-e2e/tests/config_test.go:75
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:set FOO=1 -a test-584335164
Creating config... done
=== test-584335164 Config
FOO 1
POWERED_BY midi-chlorians
$ deis config:list -a test-584335164
=== test-584335164 Config
FOO 1
POWERED_BY midi-chlorians
$ deis run env -a test-584335164
Running 'env'...
TEST_584335164_SERVICE_PORT=80
HOSTNAME=test-584335164-v4-run-371lk
KUBERNETES_PORT=tcp://10.3.0.1:443
KUBERNETES_PORT_443_TCP_PORT=443
FOO=1
KUBERNETES_SERVICE_PORT=443
TEST_584335164_SERVICE_HOST=10.3.0.35
KUBERNETES_SERVICE_HOST=10.3.0.1
TEST_584335164_SERVICE_PORT_HTTP=80
TEST_584335164_PORT_80_TCP_PORT=80
POWERED_BY=midi-chlorians
TEST_584335164_PORT=tcp://10.3.0.35:80
DOCKERIMAGE=1
TEST_584335164_PORT_80_TCP_PROTO=tcp
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin
TEST_584335164_PORT_80_TCP_ADDR=10.3.0.35
PWD=/app
TEST_584335164_PORT_80_TCP=tcp://10.3.0.35:80
GOMAXPROCS=1
HOME=/app
SHLVL=1
KUBERNETES_PORT_443_TCP_PROTO=tcp
PORT=5000
KUBERNETES_PORT_443_TCP_ADDR=10.3.0.1
KUBERNETES_PORT_443_TCP=tcp://10.3.0.1:443
DEIS_RELEASE=2.0.0-dev
_=/usr/bin/env
------------------------------
Config with a deployed app
can set multiple environment variables at once
/go/src/github.com/deis/workflow-e2e/tests/config_test.go:101
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:set FOO=null BAR=nil -a test-584335164
Creating config... done
=== test-584335164 Config
BAR nil
FOO null
POWERED_BY midi-chlorians
$ deis config:list -a test-584335164
=== test-584335164 Config
BAR nil
FOO null
POWERED_BY midi-chlorians
$ deis run env -a test-584335164
Running 'env'...
TEST_584335164_SERVICE_PORT=80
HOSTNAME=test-584335164-v5-run-mcofu
KUBERNETES_PORT=tcp://10.3.0.1:443
KUBERNETES_PORT_443_TCP_PORT=443
FOO=null
KUBERNETES_SERVICE_PORT=443
TEST_584335164_SERVICE_HOST=10.3.0.35
KUBERNETES_SERVICE_HOST=10.3.0.1
TEST_584335164_SERVICE_PORT_HTTP=80
TEST_584335164_PORT_80_TCP_PORT=80
POWERED_BY=midi-chlorians
TEST_584335164_PORT=tcp://10.3.0.35:80
DOCKERIMAGE=1
TEST_584335164_PORT_80_TCP_PROTO=tcp
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin
TEST_584335164_PORT_80_TCP_ADDR=10.3.0.35
PWD=/app
TEST_584335164_PORT_80_TCP=tcp://10.3.0.35:80
GOMAXPROCS=1
HOME=/app
SHLVL=1
KUBERNETES_PORT_443_TCP_PROTO=tcp
BAR=nil
PORT=5000
KUBERNETES_PORT_443_TCP_ADDR=10.3.0.1
KUBERNETES_PORT_443_TCP=tcp://10.3.0.1:443
DEIS_RELEASE=2.0.0-dev
_=/usr/bin/env
------------------------------
Config with a deployed app
can set an environment variable containing spaces
/go/src/github.com/deis/workflow-e2e/tests/config_test.go:126
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:set -a test-584335164 POWERED_BY=the\ Deis\ team
Creating config... done
=== test-584335164 Config
BAR nil
FOO null
POWERED_BY the Deis team
$ deis config:list -a test-584335164
=== test-584335164 Config
BAR nil
FOO null
POWERED_BY the Deis team
$ curl -sL "http://test-584335164.10.3.0.198.xip.io"; echo
Powered by the Deis team
Release v6 on test-584335164-v6-web-qqutj
$ deis run -a test-584335164 env
Running 'env'...
TEST_584335164_SERVICE_PORT=80
HOSTNAME=test-584335164-v6-run-gwpbd
KUBERNETES_PORT=tcp://10.3.0.1:443
KUBERNETES_PORT_443_TCP_PORT=443
FOO=null
KUBERNETES_SERVICE_PORT=443
TEST_584335164_SERVICE_HOST=10.3.0.35
KUBERNETES_SERVICE_HOST=10.3.0.1
TEST_584335164_SERVICE_PORT_HTTP=80
TEST_584335164_PORT_80_TCP_PORT=80
POWERED_BY=the Deis team
TEST_584335164_PORT=tcp://10.3.0.35:80
DOCKERIMAGE=1
TEST_584335164_PORT_80_TCP_PROTO=tcp
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin
TEST_584335164_PORT_80_TCP_ADDR=10.3.0.35
PWD=/app
TEST_584335164_PORT_80_TCP=tcp://10.3.0.35:80
GOMAXPROCS=1
HOME=/app
SHLVL=1
KUBERNETES_PORT_443_TCP_PROTO=tcp
BAR=nil
PORT=5000
KUBERNETES_PORT_443_TCP_ADDR=10.3.0.1
KUBERNETES_PORT_443_TCP=tcp://10.3.0.1:443
DEIS_RELEASE=2.0.0-dev
_=/usr/bin/env
------------------------------
Config with a deployed app
can set a multi-line environment variable
/go/src/github.com/deis/workflow-e2e/tests/config_test.go:150
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:set -a test-584335164 FOO='This is
a
multiline string.'
Creating config... done
=== test-584335164 Config
BAR nil
FOO This is
a
multiline string.
POWERED_BY the Deis team
$ deis config:list -a test-584335164
=== test-584335164 Config
BAR nil
FOO This is
a
multiline string.
POWERED_BY the Deis team
$ deis run -a test-584335164 env
Running 'env'...
TEST_584335164_SERVICE_PORT=80
HOSTNAME=test-584335164-v7-run-fzfd2
KUBERNETES_PORT=tcp://10.3.0.1:443
KUBERNETES_PORT_443_TCP_PORT=443
FOO=This is
a
multiline string.
KUBERNETES_SERVICE_PORT=443
TEST_584335164_SERVICE_HOST=10.3.0.35
KUBERNETES_SERVICE_HOST=10.3.0.1
TEST_584335164_SERVICE_PORT_HTTP=80
TEST_584335164_PORT_80_TCP_PORT=80
POWERED_BY=the Deis team
TEST_584335164_PORT=tcp://10.3.0.35:80
DOCKERIMAGE=1
TEST_584335164_PORT_80_TCP_PROTO=tcp
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin
TEST_584335164_PORT_80_TCP_ADDR=10.3.0.35
PWD=/app
TEST_584335164_PORT_80_TCP=tcp://10.3.0.35:80
GOMAXPROCS=1
HOME=/app
SHLVL=1
KUBERNETES_PORT_443_TCP_PROTO=tcp
BAR=nil
PORT=5000
KUBERNETES_PORT_443_TCP_ADDR=10.3.0.1
KUBERNETES_PORT_443_TCP=tcp://10.3.0.1:443
DEIS_RELEASE=2.0.0-dev
_=/usr/bin/env
------------------------------
Config with a deployed app
can set an environment variable with non-ASCII and multibyte chars
/go/src/github.com/deis/workflow-e2e/tests/config_test.go:180
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:set FOO=讲台 BAR=Þorbjörnsson BAZ=ноль -a test-584335164
Creating config... done
=== test-584335164 Config
BAR Þorbjörnsson
BAZ ноль
FOO 讲台
POWERED_BY the Deis team
$ deis config:list -a test-584335164
=== test-584335164 Config
BAR Þorbjörnsson
BAZ ноль
FOO 讲台
POWERED_BY the Deis team
$ deis run -a test-584335164 env
Running 'env'...
TEST_584335164_SERVICE_PORT=80
HOSTNAME=test-584335164-v8-run-q2my1
KUBERNETES_PORT_443_TCP_PORT=443
KUBERNETES_PORT=tcp://10.3.0.1:443
FOO=讲台
KUBERNETES_SERVICE_PORT=443
TEST_584335164_SERVICE_HOST=10.3.0.35
KUBERNETES_SERVICE_HOST=10.3.0.1
TEST_584335164_SERVICE_PORT_HTTP=80
TEST_584335164_PORT_80_TCP_PORT=80
POWERED_BY=the Deis team
TEST_584335164_PORT=tcp://10.3.0.35:80
DOCKERIMAGE=1
TEST_584335164_PORT_80_TCP_PROTO=tcp
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin
TEST_584335164_PORT_80_TCP_ADDR=10.3.0.35
PWD=/app
TEST_584335164_PORT_80_TCP=tcp://10.3.0.35:80
GOMAXPROCS=1
HOME=/app
SHLVL=1
KUBERNETES_PORT_443_TCP_PROTO=tcp
BAR=Þorbjörnsson
PORT=5000
KUBERNETES_PORT_443_TCP_ADDR=10.3.0.1
KUBERNETES_PORT_443_TCP=tcp://10.3.0.1:443
BAZ=ноль
DEIS_RELEASE=2.0.0-dev
_=/usr/bin/env
------------------------------
Config with a deployed app
can unset an environment variable
/go/src/github.com/deis/workflow-e2e/tests/config_test.go:213
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:set -a test-584335164 FOO=xyzzy
Creating config... done
=== test-584335164 Config
BAR Þorbjörnsson
BAZ ноль
FOO xyzzy
POWERED_BY the Deis team
$ deis config:list -a test-584335164
=== test-584335164 Config
BAR Þorbjörnsson
BAZ ноль
FOO xyzzy
POWERED_BY the Deis team
$ deis config:unset -a test-584335164 FOO
Removing config... done
=== test-584335164 Config
BAR Þorbjörnsson
BAZ ноль
POWERED_BY the Deis team
$ deis config:list -a test-584335164
=== test-584335164 Config
BAR Þorbjörnsson
BAZ ноль
POWERED_BY the Deis team
$ deis run -a test-584335164 env
Running 'env'...
TEST_584335164_SERVICE_PORT=80
HOSTNAME=test-584335164-v10-run-zfqpz
KUBERNETES_PORT=tcp://10.3.0.1:443
KUBERNETES_PORT_443_TCP_PORT=443
KUBERNETES_SERVICE_PORT=443
TEST_584335164_SERVICE_HOST=10.3.0.35
KUBERNETES_SERVICE_HOST=10.3.0.1
TEST_584335164_SERVICE_PORT_HTTP=80
TEST_584335164_PORT_80_TCP_PORT=80
POWERED_BY=the Deis team
TEST_584335164_PORT=tcp://10.3.0.35:80
DOCKERIMAGE=1
TEST_584335164_PORT_80_TCP_PROTO=tcp
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin
TEST_584335164_PORT_80_TCP_ADDR=10.3.0.35
PWD=/app
TEST_584335164_PORT_80_TCP=tcp://10.3.0.35:80
GOMAXPROCS=1
HOME=/app
SHLVL=1
KUBERNETES_PORT_443_TCP_PROTO=tcp
BAR=Þorbjörnsson
PORT=5000
KUBERNETES_PORT_443_TCP_ADDR=10.3.0.1
KUBERNETES_PORT_443_TCP=tcp://10.3.0.1:443
BAZ=ноль
DEIS_RELEASE=2.0.0-dev
_=/usr/bin/env
------------------------------
Config with a deployed app
can pull the configuration to an .env file
/go/src/github.com/deis/workflow-e2e/tests/config_test.go:229
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:set -a test-584335164 BAZ=Freck
Creating config... done
=== test-584335164 Config
BAR Þorbjörnsson
BAZ Freck
POWERED_BY the Deis team
$ deis config:pull -a test-584335164
POWERED_BY=the Deis team
BAR=Þorbjörnsson
BAZ=Freck
------------------------------
Config with a deployed app
can push the configuration from an .env file
/go/src/github.com/deis/workflow-e2e/tests/config_test.go:246
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:push -a test-584335164
Creating config... done
=== test-584335164 Config
BAR Þorbjörnsson
BAZ Freck
BIP baz
POWERED_BY the Deis team
$ deis config:list -a test-584335164
=== test-584335164 Config
BAR Þorbjörnsson
BAZ Freck
BIP baz
POWERED_BY the Deis team
------------------------------
Config can get command-line help for config
helps on "help config"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis help config
Valid commands for config:
config:list list environment variables for an app
config:set set environment variables for an app
config:unset unset environment variables for an app
config:pull extract environment variables to .env
config:push set environment variables from .env
Use 'deis help [command]' to learn more.
------------------------------
Config can get command-line help for config
helps on "config -h"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config -h
Valid commands for config:
config:list list environment variables for an app
config:set set environment variables for an app
config:unset unset environment variables for an app
config:pull extract environment variables to .env
config:push set environment variables from .env
Use 'deis help [command]' to learn more.
------------------------------
Config can get command-line help for config
helps on "config --help"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config --help
Valid commands for config:
config:list list environment variables for an app
config:set set environment variables for an app
config:unset unset environment variables for an app
config:pull extract environment variables to .env
config:push set environment variables from .env
Use 'deis help [command]' to learn more.
------------------------------
Config can get command-line help for config
helps on "help config:list"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis help config:list
Lists environment variables for an application.
Usage: deis config:list [options]
Options:
--oneline
print output on one line.
-a --app=<app>
the uniquely identifiable name of the application.
------------------------------
Config can get command-line help for config
helps on "config:list -h"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:list -h
Lists environment variables for an application.
Usage: deis config:list [options]
Options:
--oneline
print output on one line.
-a --app=<app>
the uniquely identifiable name of the application.
------------------------------
Config can get command-line help for config
helps on "config:list --help"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:list --help
Lists environment variables for an application.
Usage: deis config:list [options]
Options:
--oneline
print output on one line.
-a --app=<app>
the uniquely identifiable name of the application.
------------------------------
Config can get command-line help for config
helps on "help config:set"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis help config:set
Sets environment variables for an application.
Usage: deis config:set <var>=<value> [<var>=<value>...] [options]
Arguments:
<var>
the uniquely identifiable name for the environment variable.
<value>
the value of said environment variable.
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Config can get command-line help for config
helps on "config:set -h"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:set -h
Sets environment variables for an application.
Usage: deis config:set <var>=<value> [<var>=<value>...] [options]
Arguments:
<var>
the uniquely identifiable name for the environment variable.
<value>
the value of said environment variable.
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Config can get command-line help for config
helps on "config:set --help"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:set --help
Sets environment variables for an application.
Usage: deis config:set <var>=<value> [<var>=<value>...] [options]
Arguments:
<var>
the uniquely identifiable name for the environment variable.
<value>
the value of said environment variable.
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Config can get command-line help for config
helps on "help config:unset"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis help config:unset
Unsets an environment variable for an application.
Usage: deis config:unset <key>... [options]
Arguments:
<key>
the variable to remove from the application's environment.
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Config can get command-line help for config
helps on "config:unset -h"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:unset -h
Unsets an environment variable for an application.
Usage: deis config:unset <key>... [options]
Arguments:
<key>
the variable to remove from the application's environment.
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Config can get command-line help for config
helps on "config:unset --help"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:unset --help
Unsets an environment variable for an application.
Usage: deis config:unset <key>... [options]
Arguments:
<key>
the variable to remove from the application's environment.
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Config can get command-line help for config
helps on "help config:pull"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis help config:pull
Extract all environment variables from an application for local use.
The environmental variables can be piped into a file, 'deis config:pull > file',
or stored locally in a file named .env. This file can be
read by foreman to load the local environment for your app.
Usage: deis config:pull [options]
Options:
-a --app=<app>
The application that you wish to pull from
-i --interactive
Prompts for each value to be overwritten
-o --overwrite
Allows you to have the pull overwrite keys in .env
------------------------------
Config can get command-line help for config
helps on "config:pull -h"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:pull -h
Extract all environment variables from an application for local use.
The environmental variables can be piped into a file, 'deis config:pull > file',
or stored locally in a file named .env. This file can be
read by foreman to load the local environment for your app.
Usage: deis config:pull [options]
Options:
-a --app=<app>
The application that you wish to pull from
-i --interactive
Prompts for each value to be overwritten
-o --overwrite
Allows you to have the pull overwrite keys in .env
------------------------------
Config can get command-line help for config
helps on "config:pull --help"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:pull --help
Extract all environment variables from an application for local use.
The environmental variables can be piped into a file, 'deis config:pull > file',
or stored locally in a file named .env. This file can be
read by foreman to load the local environment for your app.
Usage: deis config:pull [options]
Options:
-a --app=<app>
The application that you wish to pull from
-i --interactive
Prompts for each value to be overwritten
-o --overwrite
Allows you to have the pull overwrite keys in .env
------------------------------
Config can get command-line help for config
helps on "help config:push"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis help config:push
Sets environment variables for an application.
This file can be read by foreman
to load the local environment for your app. The file should be piped via
stdin, 'deis config:push < .env', or using the --path option.
Usage: deis config:push [options]
Options:
-a --app=<app>
the uniquely identifiable name for the application.
-p <path>, --path=<path>
a path leading to an environment file [default: .env]
------------------------------
Config can get command-line help for config
helps on "config:push -h"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:push -h
Sets environment variables for an application.
This file can be read by foreman
to load the local environment for your app. The file should be piped via
stdin, 'deis config:push < .env', or using the --path option.
Usage: deis config:push [options]
Options:
-a --app=<app>
the uniquely identifiable name for the application.
-p <path>, --path=<path>
a path leading to an environment file [default: .env]
------------------------------
Config can get command-line help for config
helps on "config:push --help"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis config:push --help
Sets environment variables for an application.
This file can be read by foreman
to load the local environment for your app. The file should be piped via
stdin, 'deis config:push < .env', or using the --path option.
Usage: deis config:push [options]
Options:
-a --app=<app>
the uniquely identifiable name for the application.
-p <path>, --path=<path>
a path leading to an environment file [default: .env]
------------------------------
Perms when logged in as an admin user
can create, list, and delete admin permissions
/go/src/github.com/deis/workflow-e2e/tests/perms_test.go:49
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test079892412/.git/
$ deis apps:create test-512612883
Creating Application... done, created test-512612883
Git remote deis added
remote available at ssh://[email protected]:2222/test-512612883.git
$ deis login http://deis.10.3.0.198.xip.io --username=admin --password=admin
Logged in as admin
$ rm -rf .git
------------------------------
Perms when logged in as an admin user
can create, list, and delete app permissions
/go/src/github.com/deis/workflow-e2e/tests/perms_test.go:71
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test693103083/.git/
$ deis apps:create test-26674083
Creating Application... done, created test-26674083
Git remote deis added
remote available at ssh://[email protected]:2222/test-26674083.git
$ deis login http://deis.10.3.0.198.xip.io --username=admin --password=admin
Logged in as admin
$ deis perms:create test-81 --app=test-26674083
Adding test-81 to test-26674083 collaborators... done
$ deis perms:list --app=test-26674083
=== test-26674083's Users
test-81
$ deis perms:delete test-81 --app=test-26674083
Removing test-81 from test-26674083 collaborators... done
$ deis perms:list --app=test-26674083
=== test-26674083's Users
$ rm -rf .git
------------------------------
Perms when logged in as a normal user
can't create, list, or delete admin permissions
/go/src/github.com/deis/workflow-e2e/tests/perms_test.go:88
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test077887054/.git/
$ deis apps:create test-225351756
Creating Application... done, created test-225351756
Git remote deis added
remote available at ssh://[email protected]:2222/test-225351756.git
$ rm -rf .git
------------------------------
Perms when logged in as a normal user
can create, list, and delete app permissions
/go/src/github.com/deis/workflow-e2e/tests/perms_test.go:110
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test374633813/.git/
$ deis apps:create test-862674935
Creating Application... done, created test-862674935
Git remote deis added
remote available at ssh://[email protected]:2222/test-862674935.git
$ deis perms:create test-81 --app=test-862674935
Adding test-81 to test-862674935 collaborators... done
$ deis perms:list --app=test-862674935
=== test-862674935's Users
test-81
$ deis perms:delete test-81 --app=test-862674935
Removing test-81 from test-862674935 collaborators... done
$ deis perms:list --app=test-862674935
=== test-862674935's Users
$ rm -rf .git
------------------------------
Users when logged in as an admin user
can list all users
/go/src/github.com/deis/workflow-e2e/tests/users_test.go:21
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis login http://deis.10.3.0.198.xip.io --username=admin --password=admin
Logged in as admin
------------------------------
Users when logged in as a normal user
can't list all users
/go/src/github.com/deis/workflow-e2e/tests/users_test.go:33
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Releases with a deployed app
can deploy the app
/go/src/github.com/deis/workflow-e2e/tests/releases_test.go:64
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test539225442/.git/
$ deis apps:create test-544986
Creating Application... done, created test-544986
Git remote deis added
remote available at ssh://[email protected]:2222/test-544986.git
$ deis pull deis/example-go -a test-544986
Creating build... done
$ deis releases:list -a test-544986
=== test-544986 Releases
v2 2016-03-21T21:59:02UTC test-81 deployed deis/example-go
v1 2016-03-21T21:59:01UTC test-81 created initial release
$ deis pull deis/example-go -a test-544986
Creating build... done
$ deis releases:rollback v2 -a test-544986
Rolling back to v2... done, v4
$ deis releases:info v2 -a test-544986
=== test-544986 Release v2
build: 59f9f4bf-4a7c-49a9-9458-03461bef101a
config: 39854595-813e-4bef-b2a8-96f371892033
owner: test-81
created: 2016-03-21T21:59:02UTC
summary: test-81 deployed deis/example-go
updated: 2016-03-21T21:59:02UTC
uuid: 9f3db343-8063-4f61-9af9-1d60f204f68a
$ rm -rf .git
------------------------------
Certs with an app yet to be deployed
can add, attach, list, and remove certs
/go/src/github.com/deis/workflow-e2e/tests/certs_test.go:166
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test401666393/.git/
$ deis apps:create test-170718766
Creating Application... done, created test-170718766
Git remote deis added
remote available at ssh://[email protected]:2222/test-170718766.git
$ deis domains:add my-custom-806232863.domain.com --app=test-170718766
Adding my-custom-806232863.domain.com to test-170718766... done
$ deis certs:add my-custom-806232863-domain-com /files/certs/wildcard.foo.com.cert /files/certs/wildcard.foo.com.key
Adding SSL endpoint... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+--------------------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
my-custom-806232863-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:info my-custom-806232863-domain-com
=== my-custom-806232863-domain-com Certificate
Common Name(s): *.foo.com
Expires At: 2017-01-21 21:56:15 +0000 UTC
Starts At: 2016-01-22 21:56:15 +0000 UTC
Fingerprint: 8F:8E:5F:F6:7A:78:07:5B:75:3E:10:D5:91:AE:30:4A:48:F4:40:39:90:12:88:B3:41:C6:68:7F:62:F5:CD:EB
Subject Alt Name: foo.com
Issuer: /C=US/ST=CA/L=SF/O=Deis Inc/OU=Engineering/CN=*.foo.com/[email protected]
Subject: /C=US/ST=CA/L=SF/O=Deis Inc/OU=Engineering/CN=*.foo.com/[email protected]
Connected Domains: No connected domains
Owner: test-81
Created: 2016-03-21 22:00:01 +0000 UTC
Updated: 2016-03-21 22:00:01 +0000 UTC
$ deis certs:attach my-custom-806232863-domain-com my-custom-806232863.domain.com
Attaching certificate my-custom-806232863-domain-com to domain my-custom-806232863.domain.com... done
$ deis certs:info my-custom-806232863-domain-com
=== my-custom-806232863-domain-com Certificate
Common Name(s): *.foo.com
Expires At: 2017-01-21 21:56:15 +0000 UTC
Starts At: 2016-01-22 21:56:15 +0000 UTC
Fingerprint: 8F:8E:5F:F6:7A:78:07:5B:75:3E:10:D5:91:AE:30:4A:48:F4:40:39:90:12:88:B3:41:C6:68:7F:62:F5:CD:EB
Subject Alt Name: foo.com
Issuer: /C=US/ST=CA/L=SF/O=Deis Inc/OU=Engineering/CN=*.foo.com/[email protected]
Subject: /C=US/ST=CA/L=SF/O=Deis Inc/OU=Engineering/CN=*.foo.com/[email protected]
Connected Domains: my-custom-806232863.domain.com
Owner: test-81
Created: 2016-03-21 22:00:01 +0000 UTC
Updated: 2016-03-21 22:00:01 +0000 UTC
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+--------------------------------+-------------+----------------+-------------------------+-----------------+--------------------------------+-------------+-------------+
my-custom-806232863-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | my-custom-806232863.domain.com | 21 Mar 2016 | 21 Mar 2016
$ deis certs:remove my-custom-806232863-domain-com
Removing my-custom-806232863-domain-com... done
$ deis certs:list
No certs
------------------------------
Certs with a deployed app
can specify limit to number of certs returned by certs:list
/go/src/github.com/deis/workflow-e2e/tests/certs_test.go:218
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps:create test-48516520
Creating Application... done, created test-48516520
Git remote deis added
remote available at ssh://[email protected]:2222/test-48516520.git
$ GIT_SSH=/tmp/deis-workflow-home095509098/.ssh/git-ssh git push deis master
Warning: Permanently added '[deis.10.3.0.198.xip.io]:2222,[10.3.0.198]:2222' (ECDSA) to the list of known hosts.
remote: 2016/03/21 22:00:12 Running in debug mode
Running git hook
read [0000000000000000000000000000000000000000,779ca3d7c6e4992783d4398499d34474fa55398a,refs/heads/master]
Controller request /v2/hooks/push (body elided)
Controller request POST /v2/hooks/config
{"receive_user":"test-81","receive_repo":"test-48516520"}
got the following config back for app test-48516520: {Owner:test-81 App:test-48516520 Values:map[] Memory:map[] CPU:map[] Tags:map[] UUID:5cb05d78-06a9-493f-aebe-2b9050d9089b Created:2016-03-21 22:00:08 +0000 UTC Updated:2016-03-21 22:00:08 +0000 UTC}
running [git archive --format=tar.gz --output=test-48516520.tar.gz 779ca3d7] in directory /home/git/test-48516520.git
running [tar -xzf test-48516520.tar.gz -C /home/git/test-48516520.git/build/tmp397293385/] in directory /home/git/test-48516520.git
Uploading tar to http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/tar
Starting build... but first, coffee!
Starting pod slugbuild-test-48516520-779ca3d7-cc796e2c
Pod spec: {
"metadata": {
"name": "slugbuild-test-48516520-779ca3d7-cc796e2c",
"namespace": "deis",
"creationTimestamp": null,
"labels": {
"heritage": "slugbuild-test-48516520-779ca3d7-cc796e2c"
}
},
"spec": {
"volumes": [
{
"name": "minio-user",
"secret": {
"secretName": "minio-user"
}
}
],
"containers": [
{
"name": "deis-slugbuilder",
"image": "quay.io/deisci/slugbuilder:git-6dce113",
"env": [
{
"name": "DEBUG",
"value": "1"
},
{
"name": "TAR_URL",
"value": "http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/tar"
},
{
"name": "put_url",
"value": "http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/push"
}
],
"resources": {},
"volumeMounts": [
{
"name": "minio-user",
"readOnly": true,
"mountPath": "/var/run/secrets/object/store"
}
],
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Never",
"serviceAccountName": ""
},
"status": {}
}
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ gcs=storage.googleapis.com
+ MC_PREFIX='mc --quiet -C /app/mc_config'
+ [[ -z http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/tar ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ echo http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/tar
++ awk -F/ '{print $1}'
+ protocol=http:
++ echo http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/tar
++ awk -F/ '{print $3}'
+ domain=10.3.0.68:9000
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/tar /tmp/slug.tgz
+ tar -xzf /tmp/slug.tgz -C /app/
+ unset TAR_URL
+ [[ '' == \- ]]
+ slug_file=/tmp/slug.tgz
+ [[ -n '' ]]
+ app_dir=/app
+ build_root=/tmp/build
+ cache_root=/tmp/cache
+ buildpack_root=/tmp/buildpacks
+ mkdir -p /app
+ mkdir -p /tmp/cache
+ mkdir -p /tmp/buildpacks
+ mkdir -p /tmp/build/.profile.d
+ '[' -d /tmp/app ']'
+ cp -r /app/. /tmp/build
+ export APP_DIR=/app
+ APP_DIR=/app
+ export HOME=/app
+ HOME=/app
++ openssl rand -base64 32
+ export REQUEST_ID=JWOtTrVHQGLAAZ3hWQTSAb8sAv8e6zUmwVQ4z0YIvQ8=
+ REQUEST_ID=JWOtTrVHQGLAAZ3hWQTSAb8sAv8e6zUmwVQ4z0YIvQ8=
+ export STACK=cedar-14
+ STACK=cedar-14
+ [[ -n '' ]]
+ buildpacks=($buildpack_root/*)
+ selected_buildpack=
+ [[ -n '' ]]
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-clojure.git/bin/detect /tmp/build
+ buildpack_name=no
+ for buildpack in '"${buildpacks[@]}"'
++ /tmp/buildpacks/heroku-buildpack-go.git/bin/detect /tmp/build
+ buildpack_name=Go
+ selected_buildpack=/tmp/buildpacks/heroku-buildpack-go.git
+ break
+ [[ -n /tmp/buildpacks/heroku-buildpack-go.git ]]
+ echo_title 'Go app detected'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Go app detected
-----> Go app detected
+ ensure_indent
+ read line
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/compile /tmp/build /tmp/cache
+ [[ -----> Checking Godeps/Godeps.json file. == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Checking Godeps/Godeps.json file.
-----> Checking Godeps/Godeps.json file.
+ read line
+ [[ -----> Installing go1.6... done == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Installing go1.6... done
-----> Installing go1.6... done
+ read line
+ [[ -----> Running: go install -v -tags heroku . == --* ]]
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Running: go install -v -tags heroku .
-----> Running: go install -v -tags heroku .
+ read line
github.com/deis/example-go
+ /tmp/buildpacks/heroku-buildpack-go.git/bin/release /tmp/build /tmp/cache
+ echo_title 'Discovering process types'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
----->' Discovering process types
-----> Discovering process types
+ [[ -f /tmp/build/Procfile ]]
++ ruby -e 'require '\''yaml'\'';puts YAML.load_file('\''/tmp/build/Procfile'\'').keys().join('\'', '\'')'
+ types=web
+ echo_normal 'Procfile declares types -> web'
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
' Procfile declares types '->' web
+ default_types=
+ [[ -s /tmp/build/.release ]]
++ ruby -e 'require '\''yaml'\'';puts (YAML.load_file('\''/tmp/build/.release'\'')['\''default_process_types'\''] || {}).keys().join('\'', '\'')'
Procfile declares types -> web
+ default_types=
+ [[ -n '' ]]
+ chown -R slug:slug /tmp/build/Godeps /tmp/build/LICENSE /tmp/build/Procfile /tmp/build/README.md /tmp/build/bin /tmp/build/mc_config /tmp/build/web.go
+ [[ -f /tmp/build/.slugignore ]]
+ cat
+ tar -z --exclude=.git -C /tmp/build -cf /tmp/slug.tgz .
+ [[ ! -f /tmp/build/Procfile ]]
+ [[ /tmp/slug.tgz != \- ]]
++ cut -f1
++ du -Sh /tmp/slug.tgz
+ slug_size=2.2M
+ echo_title 'Compiled slug size is 2.2M'
----->' Compiled slug size is 2.2M
+ output_redirect
+ [[ /tmp/slug.tgz == \- ]]
+ cat -
-----> Compiled slug size is 2.2M
+ [[ -n http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/push ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ [[ -e /var/run/secrets/object/store/access-secret-key ]]
++ cat /var/run/secrets/object/store/access-key-id
+ keyID=8TZRY2JRWMPT6UMXR6I5
++ cat /var/run/secrets/object/store/access-secret-key
+ secretKey=gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
++ awk -F/ '{print $3}'
++ echo http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/push
+ domain=10.3.0.68:9000
++ awk -F/ '{print $1}'
++ echo http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/push
+ protocol=http:
+ '[' 10.3.0.68:9000 = storage.googleapis.com ']'
+ mc --quiet -C /app/mc_config config host add http://10.3.0.68:9000 8TZRY2JRWMPT6UMXR6I5 gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk
+ mc --quiet -C /app/mc_config cp /tmp/slug.tgz http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/push/
+ mc --quiet -C /app/mc_config cp /tmp/build/Procfile http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/push/
size of streamed logs 5542
Waiting for the deis/slugbuild-test-48516520-779ca3d7-cc796e2c pod to end. Checking every 100ms for 15m0s
Done
Checking for builder pod exit code
Done
Polling the S3 server every 500ms for 5m0s for the resultant slug at git/home/test-48516520:git-779ca3d7/push/slug.tgz
Build complete.
Launching app.
Launching...
Controller request POST /v2/hooks/build
{"sha":"779ca3d7","receive_user":"test-81","receive_repo":"test-48516520","image":"http://10.3.0.68:9000/git/home/test-48516520:git-779ca3d7/push/slug.tgz","procfile":{"web":"example-go"},"dockerfile":""}
---> ---> ---> [DEBUG]
Done, test-48516520:v2 deployed to Deis
Use 'deis open' to view this application in your browser
To learn more, use 'deis help' or visit http://deis.io
running [git gc] in directory /home/git/test-48516520.git
To ssh://[email protected]:2222/test-48516520.git
* [new branch] master -> master
$ deis certs:add my-custom-847647518-domain-com /files/certs/wildcard.foo.com.cert /files/certs/wildcard.foo.com.key
Adding SSL endpoint... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+--------------------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
my-custom-847647518-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:add my-custom-887359749-domain-com /files/certs/wildcard.foo.com.cert /files/certs/wildcard.foo.com.key
Adding SSL endpoint... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+--------------------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
my-custom-887359749-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
my-custom-847647518-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:list -l 0
No certs
$ deis certs:list --limit=1
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+--------------------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
my-custom-887359749-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+--------------------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
my-custom-887359749-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
my-custom-847647518-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+--------------------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
my-custom-887359749-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
my-custom-847647518-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:remove my-custom-847647518-domain-com
Removing my-custom-847647518-domain-com... done
$ deis certs:remove my-custom-887359749-domain-com
Removing my-custom-887359749-domain-com... done
$ deis certs:list
No certs
------------------------------
Certs with a deployed app
can add, attach, list, and remove certs... improperly
/go/src/github.com/deis/workflow-e2e/tests/certs_test.go:287
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis domains:add my-custom-750095880.domain.com --app=test-48516520
Adding my-custom-750095880.domain.com to test-48516520... done
$ deis certs:add my-custom-750095880.domain.com /files/certs/wildcard.foo.com.cert /files/certs/wildcard.foo.com.key
Adding SSL endpoint... Error:
400 Bad Request
name: Can only contain a-z (lowercase), 0-9 and hypens
$ deis certs:add my-custom-750095880-domain-com /files/certs/wildcard.foo.com.key /files/certs/wildcard.foo.com.cert
Adding SSL endpoint... ...Error:
400 Bad Request
certificate: Could not load certificate: [('PEM routines', 'PEM_read_bio', 'no start line')]
$ deis certs:add my-custom-750095880-domain-com non-existent.crt non-existent.key
Adding SSL endpoint... Error: open non-existent.crt: no such file or directory
$ deis certs:remove non-existent-cert
Removing non-existent-cert... Error:
404 Not Found
detail: Not found.
$ deis certs:info non-existent-cert
Error:
404 Not Found
detail: Not found.
$ deis certs:attach non-existent-cert my-custom-750095880.domain.com
Attaching certificate non-existent-cert to domain my-custom-750095880.domain.com... Error:
404 Not Found
detail: Not found.
$ deis certs:detach non-existent-cert my-custom-750095880.domain.com
Detaching certificate non-existent-cert from domain my-custom-750095880.domain.com... Error:
404 Not Found
detail: Not found.
$ deis certs:add my-custom-750095880-domain-com /files/certs/wildcard.foo.com.cert /files/certs/wildcard.foo.com.key
Adding SSL endpoint... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+--------------------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
my-custom-750095880-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:attach my-custom-750095880-domain-com non-existent-domain
Attaching certificate my-custom-750095880-domain-com to domain non-existent-domain... Error:
404 Not Found
detail: Not found.
$ deis certs:detach my-custom-750095880-domain-com non-existent-domain
Detaching certificate my-custom-750095880-domain-com from domain non-existent-domain... Error:
404 Not Found
detail: Not found.
$ deis certs:remove non-existent-cert
Removing non-existent-cert... Error:
404 Not Found
detail: Not found.
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+--------------------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
my-custom-750095880-domain-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:remove my-custom-750095880-domain-com
Removing my-custom-750095880-domain-com... done
$ deis certs:list
No certs
------------------------------
Certs with a deployed app multiple domains and certs
can attach/detach 2 certs (1 wildcard) to/from 3 domains (1 wildcard)
/go/src/github.com/deis/workflow-e2e/tests/certs_test.go:340
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis domains:add foo.com --app=test-48516520
Adding foo.com to test-48516520... done
$ deis domains:add bar.com --app=test-48516520
Adding bar.com to test-48516520... done
$ deis domains:add *.foo.com --app=test-48516520
Adding *.foo.com to test-48516520... done
$ deis certs:add wildcard-foo-com /files/certs/wildcard.foo.com.cert /files/certs/wildcard.foo.com.key
Adding SSL endpoint... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
wildcard-foo-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:add bar-com /files/certs/bar.com.cert /files/certs/bar.com.key
Adding SSL endpoint... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
bar-com | bar.com | | 14 Jan 2017 (in 1 year) | 7A:CA[...]0D:C0 | | 21 Mar 2016 | 21 Mar 2016
wildcard-foo-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:attach wildcard-foo-com *.foo.com
Attaching certificate wildcard-foo-com to domain *.foo.com... done
$ deis certs:attach wildcard-foo-com foo.com
Attaching certificate wildcard-foo-com to domain foo.com... done
$ deis certs:attach bar-com bar.com
Attaching certificate bar-com to domain bar.com... done
$ deis certs:info wildcard-foo-com
=== wildcard-foo-com Certificate
Common Name(s): *.foo.com
Expires At: 2017-01-21 21:56:15 +0000 UTC
Starts At: 2016-01-22 21:56:15 +0000 UTC
Fingerprint: 8F:8E:5F:F6:7A:78:07:5B:75:3E:10:D5:91:AE:30:4A:48:F4:40:39:90:12:88:B3:41:C6:68:7F:62:F5:CD:EB
Subject Alt Name: foo.com
Issuer: /C=US/ST=CA/L=SF/O=Deis Inc/OU=Engineering/CN=*.foo.com/[email protected]
Subject: /C=US/ST=CA/L=SF/O=Deis Inc/OU=Engineering/CN=*.foo.com/[email protected]
Connected Domains: *.foo.com,foo.com
Owner: test-81
Created: 2016-03-21 22:01:24 +0000 UTC
Updated: 2016-03-21 22:01:24 +0000 UTC
$ deis certs:info bar-com
=== bar-com Certificate
Common Name(s): bar.com
Expires At: 2017-01-14 23:57:57 +0000 UTC
Starts At: 2016-01-15 23:57:57 +0000 UTC
Fingerprint: 7A:CA:B8:50:FF:8D:EB:03:3D:AC:AD:13:4F:EE:03:D5:5D:EB:5E:37:51:8C:E0:98:F8:1B:36:2B:20:83:0D:C0
Subject Alt Name: N/A
Issuer: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=bar.com/[email protected]
Subject: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=bar.com/[email protected]
Connected Domains: bar.com
Owner: test-81
Created: 2016-03-21 22:01:24 +0000 UTC
Updated: 2016-03-21 22:01:24 +0000 UTC
Waiting up to 15 seconds for `curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
Waiting up to 15 seconds for `curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
Waiting up to 15 seconds for `curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ deis certs:detach wildcard-foo-com *.foo.com
Detaching certificate wildcard-foo-com from domain *.foo.com... done
$ deis certs:info wildcard-foo-com
=== wildcard-foo-com Certificate
Common Name(s): *.foo.com
Expires At: 2017-01-21 21:56:15 +0000 UTC
Starts At: 2016-01-22 21:56:15 +0000 UTC
Fingerprint: 8F:8E:5F:F6:7A:78:07:5B:75:3E:10:D5:91:AE:30:4A:48:F4:40:39:90:12:88:B3:41:C6:68:7F:62:F5:CD:EB
Subject Alt Name: foo.com
Issuer: /C=US/ST=CA/L=SF/O=Deis Inc/OU=Engineering/CN=*.foo.com/[email protected]
Subject: /C=US/ST=CA/L=SF/O=Deis Inc/OU=Engineering/CN=*.foo.com/[email protected]
Connected Domains: foo.com
Owner: test-81
Created: 2016-03-21 22:01:24 +0000 UTC
Updated: 2016-03-21 22:01:24 +0000 UTC
Waiting up to 15 seconds for `curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
Waiting up to 15 seconds for `curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ deis certs:detach bar-com bar.com
Detaching certificate bar-com from domain bar.com... done
Waiting up to 15 seconds for `curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ deis domains:remove *.foo.com --app=test-48516520
Removing *.foo.com from test-48516520... done
$ deis domains:remove foo.com --app=test-48516520
Removing foo.com from test-48516520... done
$ deis domains:remove bar.com --app=test-48516520
Removing bar.com from test-48516520... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+------------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
bar-com | bar.com | | 14 Jan 2017 (in 1 year) | 7A:CA[...]0D:C0 | | 21 Mar 2016 | 21 Mar 2016
wildcard-foo-com | *.foo.com | foo.com | 21 Jan 2017 (in 1 year) | 8F:8E[...]CD:EB | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:remove wildcard-foo-com
Removing wildcard-foo-com... done
$ deis certs:remove bar-com
Removing bar-com... done
$ deis certs:list
No certs
------------------------------
Certs with a deployed app multiple domains and certs 3 certs (no wildcards), 3 domains (1 wildcard)
a non-wildcard cert to a wildcard domain
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis domains:add *.foo.com --app=test-48516520
Adding *.foo.com to test-48516520... done
$ deis certs:add www-foo-com /files/certs/www.foo.com.cert /files/certs/www.foo.com.key
Adding SSL endpoint... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+-------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
www-foo-com | www.foo.com | | 14 Jan 2017 (in 1 year) | 35:FA[...]AB:C5 | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:attach www-foo-com *.foo.com
Attaching certificate www-foo-com to domain *.foo.com... done
$ deis certs:info www-foo-com
=== www-foo-com Certificate
Common Name(s): www.foo.com
Expires At: 2017-01-14 23:59:02 +0000 UTC
Starts At: 2016-01-15 23:59:02 +0000 UTC
Fingerprint: 35:FA:8F:58:FF:EA:E0:22:79:29:0B:85:58:73:C2:A5:CD:4A:D9:81:D7:10:9D:4D:03:43:41:E4:1D:92:AB:C5
Subject Alt Name: N/A
Issuer: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=www.foo.com/[email protected]
Subject: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=www.foo.com/[email protected]
Connected Domains: *.foo.com
Owner: test-81
Created: 2016-03-21 22:01:59 +0000 UTC
Updated: 2016-03-21 22:01:59 +0000 UTC
Waiting up to 15 seconds for `curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
Waiting up to 15 seconds for `curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
Waiting up to 15 seconds for `curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ deis certs:detach www-foo-com *.foo.com
Detaching certificate www-foo-com from domain *.foo.com... done
$ deis certs:info www-foo-com
=== www-foo-com Certificate
Common Name(s): www.foo.com
Expires At: 2017-01-14 23:59:02 +0000 UTC
Starts At: 2016-01-15 23:59:02 +0000 UTC
Fingerprint: 35:FA:8F:58:FF:EA:E0:22:79:29:0B:85:58:73:C2:A5:CD:4A:D9:81:D7:10:9D:4D:03:43:41:E4:1D:92:AB:C5
Subject Alt Name: N/A
Issuer: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=www.foo.com/[email protected]
Subject: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=www.foo.com/[email protected]
Connected Domains: No connected domains
Owner: test-81
Created: 2016-03-21 22:01:59 +0000 UTC
Updated: 2016-03-21 22:01:59 +0000 UTC
Waiting up to 15 seconds for `curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ deis domains:remove *.foo.com --app=test-48516520
Removing *.foo.com from test-48516520... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+-------------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
www-foo-com | www.foo.com | | 14 Jan 2017 (in 1 year) | 35:FA[...]AB:C5 | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:remove www-foo-com
Removing www-foo-com... done
$ deis certs:list
No certs
------------------------------
Certs with a deployed app multiple domains and certs 3 certs (no wildcards), 3 domains (1 wildcard)
a non-wildcard cert to a non-wildcard domain
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis domains:add foo.com --app=test-48516520
Adding foo.com to test-48516520... done
$ deis certs:add foo-com /files/certs/foo.com.cert /files/certs/foo.com.key
Adding SSL endpoint... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+---------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
foo-com | foo.com | | 14 Jan 2017 (in 1 year) | AC:82[...]60:B6 | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:attach foo-com foo.com
Attaching certificate foo-com to domain foo.com... done
$ deis certs:info foo-com
=== foo-com Certificate
Common Name(s): foo.com
Expires At: 2017-01-14 23:55:59 +0000 UTC
Starts At: 2016-01-15 23:55:59 +0000 UTC
Fingerprint: AC:82:58:80:EA:C4:B9:75:C1:1C:52:48:40:28:15:1D:47:AC:ED:88:4B:D4:72:95:B2:C0:A0:DF:4A:A7:60:B6
Subject Alt Name: N/A
Issuer: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=foo.com/[email protected]
Subject: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=foo.com/[email protected]
Connected Domains: foo.com
Owner: test-81
Created: 2016-03-21 22:02:19 +0000 UTC
Updated: 2016-03-21 22:02:19 +0000 UTC
Waiting up to 15 seconds for `curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
Waiting up to 15 seconds for `curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
Waiting up to 15 seconds for `curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ deis certs:detach foo-com foo.com
Detaching certificate foo-com from domain foo.com... done
$ deis certs:info foo-com
=== foo-com Certificate
Common Name(s): foo.com
Expires At: 2017-01-14 23:55:59 +0000 UTC
Starts At: 2016-01-15 23:55:59 +0000 UTC
Fingerprint: AC:82:58:80:EA:C4:B9:75:C1:1C:52:48:40:28:15:1D:47:AC:ED:88:4B:D4:72:95:B2:C0:A0:DF:4A:A7:60:B6
Subject Alt Name: N/A
Issuer: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=foo.com/[email protected]
Subject: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=foo.com/[email protected]
Connected Domains: No connected domains
Owner: test-81
Created: 2016-03-21 22:02:19 +0000 UTC
Updated: 2016-03-21 22:02:19 +0000 UTC
Waiting up to 15 seconds for `curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ deis domains:remove foo.com --app=test-48516520
Removing foo.com from test-48516520... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+---------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
foo-com | foo.com | | 14 Jan 2017 (in 1 year) | AC:82[...]60:B6 | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:remove foo-com
Removing foo-com... done
$ deis certs:list
No certs
------------------------------
Certs with a deployed app multiple domains and certs 3 certs (no wildcards), 3 domains (1 wildcard)
a non-wildcard cert to a non-wildcard domain
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis domains:add bar.com --app=test-48516520
Adding bar.com to test-48516520... done
$ deis certs:add bar-com /files/certs/bar.com.cert /files/certs/bar.com.key
Adding SSL endpoint... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+---------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
bar-com | bar.com | | 14 Jan 2017 (in 1 year) | 7A:CA[...]0D:C0 | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:attach bar-com bar.com
Attaching certificate bar-com to domain bar.com... done
$ deis certs:info bar-com
=== bar-com Certificate
Common Name(s): bar.com
Expires At: 2017-01-14 23:57:57 +0000 UTC
Starts At: 2016-01-15 23:57:57 +0000 UTC
Fingerprint: 7A:CA:B8:50:FF:8D:EB:03:3D:AC:AD:13:4F:EE:03:D5:5D:EB:5E:37:51:8C:E0:98:F8:1B:36:2B:20:83:0D:C0
Subject Alt Name: N/A
Issuer: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=bar.com/[email protected]
Subject: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=bar.com/[email protected]
Connected Domains: bar.com
Owner: test-81
Created: 2016-03-21 22:02:38 +0000 UTC
Updated: 2016-03-21 22:02:38 +0000 UTC
Waiting up to 15 seconds for `curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
Waiting up to 15 seconds for `curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
Waiting up to 15 seconds for `curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: blah.foo.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ deis certs:detach bar-com bar.com
Detaching certificate bar-com from domain bar.com... done
$ deis certs:info bar-com
=== bar-com Certificate
Common Name(s): bar.com
Expires At: 2017-01-14 23:57:57 +0000 UTC
Starts At: 2016-01-15 23:57:57 +0000 UTC
Fingerprint: 7A:CA:B8:50:FF:8D:EB:03:3D:AC:AD:13:4F:EE:03:D5:5D:EB:5E:37:51:8C:E0:98:F8:1B:36:2B:20:83:0D:C0
Subject Alt Name: N/A
Issuer: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=bar.com/[email protected]
Subject: /C=US/ST=CA/L=San Francisco/O=Deis/OU=Engineering/CN=bar.com/[email protected]
Connected Domains: No connected domains
Owner: test-81
Created: 2016-03-21 22:02:38 +0000 UTC
Updated: 2016-03-21 22:02:38 +0000 UTC
Waiting up to 15 seconds for `curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null` to return 404...
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
200
$ curl -k -H "Host: bar.com" -sL -w "%{http_code}\\n" "https://test-48516520.10.3.0.198.xip.io" -o /dev/null
404
$ deis domains:remove bar.com --app=test-48516520
Removing bar.com from test-48516520... done
$ deis certs:list
Name | Common Name | SubjectAltName | Expires | Fingerprint | Domains | Updated | Created
+---------+-------------+----------------+-------------------------+-----------------+---------+-------------+-------------+
bar-com | bar.com | | 14 Jan 2017 (in 1 year) | 7A:CA[...]0D:C0 | | 21 Mar 2016 | 21 Mar 2016
$ deis certs:remove bar-com
Removing bar-com... done
$ deis certs:list
No certs
------------------------------
Version
prints its version
/go/src/github.com/deis/workflow-e2e/tests/version_test.go:16
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
------------------------------
Tags with a deployed app
can set and unset tags
/go/src/github.com/deis/workflow-e2e/tests/tags_test.go:108
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
S [SKIPPING] in Spec Setup (BeforeEach) [3.467 seconds]
Tags
/go/src/github.com/deis/workflow-e2e/tests/tags_test.go:146
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/tags_test.go:109
can set and unset tags [BeforeEach]
/go/src/github.com/deis/workflow-e2e/tests/tags_test.go:108
kubectl not found in search $PATH
/go/src/github.com/deis/workflow-e2e/tests/tags_test.go:26
------------------------------
Tags can get command-line help for tags
helps on "help tags"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis help tags
Valid commands for tags:
tags:list list tags for an app
tags:set set tags for an app
tags:unset unset tags for an app
Use 'deis help [command]' to learn more.
------------------------------
Tags can get command-line help for tags
helps on "tags -h"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis tags -h
Valid commands for tags:
tags:list list tags for an app
tags:set set tags for an app
tags:unset unset tags for an app
Use 'deis help [command]' to learn more.
------------------------------
Tags can get command-line help for tags
helps on "tags --help"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis tags --help
Valid commands for tags:
tags:list list tags for an app
tags:set set tags for an app
tags:unset unset tags for an app
Use 'deis help [command]' to learn more.
------------------------------
Tags can get command-line help for tags
helps on "help tags:list"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis help tags:list
Lists tags for an application.
Usage: deis tags:list [options]
Options:
-a --app=<app>
the uniquely identifiable name of the application.
------------------------------
Tags can get command-line help for tags
helps on "tags:list -h"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis tags:list -h
Lists tags for an application.
Usage: deis tags:list [options]
Options:
-a --app=<app>
the uniquely identifiable name of the application.
------------------------------
Tags can get command-line help for tags
helps on "tags:list --help"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis tags:list --help
Lists tags for an application.
Usage: deis tags:list [options]
Options:
-a --app=<app>
the uniquely identifiable name of the application.
------------------------------
Tags can get command-line help for tags
helps on "help tags:set"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis help tags:set
Sets tags for an application.
A tag is a key/value pair used to tag an application's containers and is passed to the
scheduler. This is often used to restrict workloads to specific hosts matching the
scheduler-configured metadata.
Usage: deis tags:set [options] <key>=<value>...
Arguments:
<key> the tag key, for example: "environ" or "rack"
<value> the tag value, for example: "prod" or "1"
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Tags can get command-line help for tags
helps on "tags:set -h"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis tags:set -h
Sets tags for an application.
A tag is a key/value pair used to tag an application's containers and is passed to the
scheduler. This is often used to restrict workloads to specific hosts matching the
scheduler-configured metadata.
Usage: deis tags:set [options] <key>=<value>...
Arguments:
<key> the tag key, for example: "environ" or "rack"
<value> the tag value, for example: "prod" or "1"
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Tags can get command-line help for tags
helps on "tags:set --help"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis tags:set --help
Sets tags for an application.
A tag is a key/value pair used to tag an application's containers and is passed to the
scheduler. This is often used to restrict workloads to specific hosts matching the
scheduler-configured metadata.
Usage: deis tags:set [options] <key>=<value>...
Arguments:
<key> the tag key, for example: "environ" or "rack"
<value> the tag value, for example: "prod" or "1"
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Tags can get command-line help for tags
helps on "help tags:unset"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis help tags:unset
Unsets tags for an application.
Usage: deis tags:unset [options] <key>...
Arguments:
<key> the tag key to unset, for example: "environ" or "rack"
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Tags can get command-line help for tags
helps on "tags:unset -h"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis tags:unset -h
Unsets tags for an application.
Usage: deis tags:unset [options] <key>...
Arguments:
<key> the tag key to unset, for example: "environ" or "rack"
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Tags can get command-line help for tags
helps on "tags:unset --help"
/go/src/github.com/deis/workflow-e2e/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis tags:unset --help
Unsets tags for an application.
Usage: deis tags:unset [options] <key>...
Arguments:
<key> the tag key to unset, for example: "environ" or "rack"
Options:
-a --app=<app>
the uniquely identifiable name for the application.
------------------------------
Builds with a logged-in user with no app
cannot create a build without existing app
/go/src/github.com/deis/workflow-e2e/tests/builds_test.go:60
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test048652456/.git/
$ deis builds:create deis/example-go:latest -a test-279704870
Creating build... Error:
404 Not Found
detail: Not found.
$ rm -rf .git
------------------------------
Builds with a logged-in user with existing app
can list app builds
/go/src/github.com/deis/workflow-e2e/tests/builds_test.go:75
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test174394855/.git/
$ deis apps:create test-571932627
Creating Application... done, created test-571932627
Git remote deis added
remote available at ssh://[email protected]:2222/test-571932627.git
$ deis builds:create deis/example-go:latest -a test-571932627
Creating build... done
$ deis builds:list -a test-571932627
=== test-571932627 Builds
ba231bb8-74a8-43d4-8e69-4adb8b47732b 2016-03-21T22:03:52UTC
$ rm -rf .git
------------------------------
Builds with a logged-in user with a deployed app
can list app builds
/go/src/github.com/deis/workflow-e2e/tests/builds_test.go:96
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test655288346/.git/
$ deis apps:create test-703340960 --no-remote
Creating Application... done, created test-703340960
remote available at ssh://[email protected]:2222/test-703340960.git
$ deis builds:create deis/example-go:latest -a test-703340960
Creating build... done
$ deis builds:list -a test-703340960
=== test-703340960 Builds
2c0c977d-bfe6-44a7-94e3-32354aa1c0a1 2016-03-21T22:04:12UTC
$ rm -rf .git
------------------------------
Builds with a logged-in user with a deployed app
can create a build from an existing image ("deis pull")
/go/src/github.com/deis/workflow-e2e/tests/builds_test.go:146
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ git init
Initialized empty Git repository in /tmp/deis-workflow-test083005617/.git/
$ deis apps:create test-497816168 --no-remote
Creating Application... done, created test-497816168
remote available at ssh://[email protected]:2222/test-497816168.git
$ deis builds:create deis/example-go:latest -a test-497816168
Creating build... done
$ deis ps:list --app=test-497816168
=== test-497816168 Processes
--- cmd:
test-497816168-v2-cmd-7qzr6 up (v2)
Waiting up to 10 seconds for `curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null
000
$ curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null
000
$ curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null
000
$ curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null
000
$ curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null
000
$ curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null
000
$ curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null
200
$ deis pull deis/example-go:latest -a test-497816168 --procfile="worker: while true; do echo hi; sleep 3; done"
Creating build... done
$ deis ps:scale worker=1 -a test-497816168
Scaling processes... but first, coffee!
done in 11s
=== test-497816168 Processes
--- worker:
test-497816168-v3-worker-ay9yz up (v3)
--- cmd:
test-497816168-v3-cmd-idtn0 up (v3)
$ deis ps:list --app=test-497816168
=== test-497816168 Processes
--- cmd:
test-497816168-v3-cmd-idtn0 up (v3)
--- worker:
test-497816168-v3-worker-ay9yz up (v3)
Waiting up to 10 seconds for `curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null` to return 200...
$ curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null
200
$ deis ps:scale cmd=0 -a test-497816168
Scaling processes... but first, coffee!
done in 6s
=== test-497816168 Processes
--- worker:
test-497816168-v3-worker-ay9yz up (v3)
$ deis ps:list --app=test-497816168
=== test-497816168 Processes
--- worker:
test-497816168-v3-worker-ay9yz up (v3)
Waiting up to 10 seconds for `curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null` to return 502...
$ curl -sL -w "%{http_code}\\n" "http://test-497816168.10.3.0.198.xip.io" -o /dev/null
$ rm -rf .git
• Failure [63.958 seconds]
Builds
/go/src/github.com/deis/workflow-e2e/tests/builds_test.go:149
with a logged-in user
/go/src/github.com/deis/workflow-e2e/tests/builds_test.go:148
with a deployed app
/go/src/github.com/deis/workflow-e2e/tests/builds_test.go:147
can create a build from an existing image ("deis pull") [It]
/go/src/github.com/deis/workflow-e2e/tests/builds_test.go:146
Timed out after 10.000s.
Expected process to exit. It did not.
/go/src/github.com/deis/workflow-e2e/tests/tests_suite_test.go:380
------------------------------
$ deis login http://deis.10.3.0.198.xip.io --username=test-81 --password=asdf1234
Logged in as test-81
$ deis apps
=== Apps
test-102792697
test-171530958
test-829509084
test-784706169
test-584335164
test-512612883
test-26674083
test-225351756
test-862674935
test-544986
test-170718766
test-48516520
test-571932627
test-703340960
test-497816168
$ deis destroy --app=test-102792697 --confirm=test-102792697
Destroying test-102792697...
done in 0s
$ deis destroy --app=test-171530958 --confirm=test-171530958
Destroying test-171530958...
done in 1s
$ deis destroy --app=test-829509084 --confirm=test-829509084
Destroying test-829509084...
done in 0s
$ deis destroy --app=test-784706169 --confirm=test-784706169
Destroying test-784706169...
done in 0s
$ deis destroy --app=test-584335164 --confirm=test-584335164
Destroying test-584335164...
done in 0s
$ deis destroy --app=test-512612883 --confirm=test-512612883
Destroying test-512612883...
done in 0s
$ deis destroy --app=test-26674083 --confirm=test-26674083
Destroying test-26674083...
done in 0s
$ deis destroy --app=test-225351756 --confirm=test-225351756
Destroying test-225351756...
done in 0s
$ deis destroy --app=test-862674935 --confirm=test-862674935
Destroying test-862674935...
done in 0s
$ deis destroy --app=test-544986 --confirm=test-544986
Destroying test-544986...
done in 0s
$ deis destroy --app=test-170718766 --confirm=test-170718766
Destroying test-170718766...
done in 0s
$ deis destroy --app=test-48516520 --confirm=test-48516520
Destroying test-48516520...
done in 0s
$ deis destroy --app=test-571932627 --confirm=test-571932627
Destroying test-571932627...
done in 0s
$ deis destroy --app=test-703340960 --confirm=test-703340960
Destroying test-703340960...
done in 0s
$ deis destroy --app=test-497816168 --confirm=test-497816168
Destroying test-497816168...
done in 0s
$ deis auth:cancel --username=test-81 --password=asdf1234 --yes
Please log in again in order to cancel this account
Logged in as test-81
Account cancelled
$ deis login http://deis.10.3.0.198.xip.io --username=admin --password=admin
Logged in as admin
$ deis apps
=== Apps
$ deis auth:cancel --username=admin --password=admin --yes
Please log in again in order to cancel this account
Logged in as admin
Account cancelled
Summarizing 10 Failures:
[Fail] Processes with a deployed app can scale up and down [It] scales to 0
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:83
[Fail] Processes with a deployed app can scale up and down [It] scales to 0
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:83
[Fail] Processes with a deployed app can scale up and down [It] scales to 1
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:83
[Fail] Processes with a deployed app can restart processes [It] restarts all of 1 by type
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:149
[Fail] Processes with a deployed app can restart processes [It] restarts all of 0
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:149
[Fail] Processes with a deployed app can restart processes [It] restarts all of 0 by type
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:149
[Fail] Processes with a deployed app can restart processes [It] restarts all of 0 by wrong type
/go/src/github.com/deis/workflow-e2e/tests/ps_test.go:149
[Fail] Apps with a custom buildpack deployed app [BeforeEach] can get app info
/go/src/github.com/deis/workflow-e2e/tests/tests_suite_test.go:364
[Fail] Apps with a custom buildpack deployed app [BeforeEach] can open the app's URL
/go/src/github.com/deis/workflow-e2e/tests/tests_suite_test.go:364
[Fail] Builds with a logged-in user with a deployed app [It] can create a build from an existing image ("deis pull")
/go/src/github.com/deis/workflow-e2e/tests/tests_suite_test.go:380
Ran 111 of 114 Specs in 2552.727 seconds
FAIL! -- 101 Passed | 10 Failed | 2 Pending | 1 Skipped --- FAIL: TestTests (2552.73s)
@smothiki
Copy link
Author

2016/03/21 21:28:11 [error] 28#0: *1260 upstream timed out (110: Operation timed out) while connecting to upstream, client: 10.2.89.6, server: ~^test-102792697.(?.+)$, request: "GET / HTTP/1.1", upstream: "http://10.3.0.75:80/", host: "test-102792697.10.3.0.198.xip.io"

@smothiki
Copy link
Author

2016/03/21 21:28:45 [error] 28#0: *1320 connect() failed (111: Connection refused) while connecting to upstream, client: 10.2.89.6, server: ~^test-102792697.(?.+)$, request: "GET / HTTP/1.1", upstream: "http://10.3.0.75:80/", host: "test-102792697.10.3.0.198.xip.io"

@smothiki
Copy link
Author

2016/03/21 21:28:57 [error] 28#0: *1300 upstream timed out (110: Operation timed out) while connecting to upstream, client: 10.2.89.6, server: ~^test-102792697.(?.+)$, request: "GET / HTTP/1.1", upstream: "http://10.3.0.75:80/", host: "test-102792697.10.3.0.198.xip.io"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment