Skip to content

Instantly share code, notes, and snippets.

@rakrup
Created September 21, 2017 10:43
Show Gist options
  • Save rakrup/b07b10e45c577efd2643542b10ad5280 to your computer and use it in GitHub Desktop.
Save rakrup/b07b10e45c577efd2643542b10ad5280 to your computer and use it in GitHub Desktop.
rakrup@Rahuls-MacBook-Pro:[~/Code/cloudfoundry/staticfile-buildpack]:$./scripts/integration.sh
+++ stat -f ./scripts
++ dirname ./scripts
+ export ROOT=.
+ ROOT=.
+ '[' '!' -f ./.bin/ginkgo ']'
+ '[' '!' -f ./.bin/buildpack-packager ']'
+ GINKGO_NODES=3
+ GINKGO_ATTEMPTS=2
+ cd ./src/staticfile/integration
+ echo 'Run Uncached Buildpack'
Run Uncached Buildpack
+ ginkgo -r --flakeAttempts=2 -nodes 3 -- --cached=false
Running Suite: Integration Suite
================================
Random Seed: 1505990142
Will run 29 specs
Running in parallel across 3 nodes
S [SKIPPING] in Spec Setup (BeforeEach) [0.111 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:20
internet
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:109
with a cached buildpack
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:119
does not call out over the internet [BeforeEach]
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:127
Running uncached tests
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:122
------------------------------
Deleting app staticfile_app-lvpkybnrsevwagrmzfuk in org pivotal / space integration-binary-1505830049 as admin...
OK
App staticfile_app-lvpkybnrsevwagrmzfuk does not exist.
• Failure in Spec Setup (BeforeEach) [13.248 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:20
internet
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:109
with a uncached buildpack
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:139
uses a proxy during staging if present [BeforeEach]
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:157
Expected
<*net.OpError | 0xc4200859f0>: {
Op: "listen",
Net: "tcp",
Source: nil,
Addr: nil,
Err: {
Err: "too many colons in address",
Addr: "fe80::aede:48ff:fe00:1122:0",
},
}
to be nil
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:150
------------------------------
Deleting app staticfile_app-quvdbrpevtuhldwoaeio in org pivotal / space integration-binary-1505830049 as admin...
OK
App staticfile_app-quvdbrpevtuhldwoaeio does not exist.
• Failure in Spec Setup (BeforeEach) [13.979 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:20
internet
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:109
with a uncached buildpack
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:139
uses a proxy during staging if present [BeforeEach]
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:157
Expected
<*net.OpError | 0xc4204a65a0>: {
Op: "listen",
Net: "tcp",
Source: nil,
Addr: nil,
Err: {
Err: "too many colons in address",
Addr: "fe80::aede:48ff:fe00:1122:0",
},
}
to be nil
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:150
------------------------------
P [PENDING]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:20
unpackaged buildpack eg. from github
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:176
runs
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:190
------------------------------
• [SLOW TEST:60.088 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:20
succeeds
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:35
------------------------------
• [SLOW TEST:34.720 seconds]
deploy an app that shows the directory index
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_to_show_directory_index_test.go:12
runs
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_to_show_directory_index_test.go:25
------------------------------
• [SLOW TEST:64.058 seconds]
pushing a static app with dummy file in root
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/moves_app_files_instead_of_copy_test.go:12
should only have dummy file in public
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/moves_app_files_instead_of_copy_test.go:26
------------------------------
• [SLOW TEST:22.327 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_ssi_app_test.go:12
ssi is toggled on
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_ssi_app_test.go:28
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_ssi_app_test.go:31
------------------------------
• [SLOW TEST:19.032 seconds]
a staticfile app with no staticfile
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_a_staticfile_app_missing_staticfile_test.go:12
runs
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_a_staticfile_app_missing_staticfile_test.go:26
------------------------------
• [SLOW TEST:22.000 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_ssi_app_test.go:12
ssi is toggled off
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_ssi_app_test.go:39
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_ssi_app_test.go:42
------------------------------
• [SLOW TEST:18.916 seconds]
deploy a an app with dot files
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:14
host_dot_files: true is present in Staticfile
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:44
the app specifies /public as the root location
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:55
hosts the dotfiles
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:60
------------------------------
• [SLOW TEST:18.969 seconds]
deploy a an app with dot files
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:14
host_dot_files: true not present in Staticfile
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:67
the app uses the default root location
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:68
does not host the dotfiles
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:73
------------------------------
• [SLOW TEST:21.857 seconds]
deploy a an app with dot files
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:14
host_dot_files: true is present in Staticfile
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:44
the app uses the default root location
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:45
hosts the dotfiles
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:50
------------------------------
• [SLOW TEST:9.212 seconds]
deploy a non staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_a_non_staticfile_app_test.go:12
fails
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_a_non_staticfile_app_test.go:25
------------------------------
• [SLOW TEST:21.932 seconds]
deploy a an app with dot files
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:14
host_dot_files: true not present in Staticfile
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:67
the app specifies /public as the root location
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:78
does not host the dotfiles
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_dotfiles_test.go:83
------------------------------
• [SLOW TEST:21.985 seconds]
deploy an app using hsts
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_hsts_test.go:12
provides the Strict-Transport-Security header
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_hsts_test.go:25
------------------------------
• [SLOW TEST:19.351 seconds]
pushing a static app with dummy file in root
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/moves_public_with_other_app_files_test.go:12
should have a copy of the original public dir in the new public dir
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/moves_public_with_other_app_files_test.go:26
------------------------------
• [SLOW TEST:18.997 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_https_redirect_test.go:12
Using ENV Variable
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_https_redirect_test.go:28
receives a 301 redirect to https
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_https_redirect_test.go:31
------------------------------
• [SLOW TEST:18.891 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_https_redirect_test.go:12
Using Staticfile
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_https_redirect_test.go:39
receives a 301 redirect to https
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_https_redirect_test.go:42
------------------------------
• [SLOW TEST:23.075 seconds]
nginx logs go to stdout and stderr
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/logging_goes_to_stdout_stderr_test.go:14
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/logging_goes_to_stdout_stderr_test.go:28
------------------------------
• [SLOW TEST:21.890 seconds]
deploy has nginx/conf directory
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/warnings_test.go:12
warns user to set root
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/warnings_test.go:26
------------------------------
• [SLOW TEST:22.272 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_pushstate_app_test.go:12
with pushstate
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_pushstate_app_test.go:26
------------------------------
• [SLOW TEST:21.992 seconds]
deploy includes headers
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/include_headers_app_test.go:12
adds headers
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/include_headers_app_test.go:26
------------------------------
• [SLOW TEST:20.078 seconds]
deploy an app with contents in an alternate root
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_alternate_root_app_test.go:12
default path
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_alternate_root_app_test.go:21
------------------------------
• [SLOW TEST:19.176 seconds]
deploy an app with contents in an alternate root
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_alternate_root_app_test.go:12
not default path
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_alternate_root_app_test.go:28
------------------------------
• [SLOW TEST:22.689 seconds]
deploy a basic auth app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_basic_auth_app_test.go:13
the app uses Staticfile.auth
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_basic_auth_app_test.go:22
------------------------------
• [SLOW TEST:22.844 seconds]
deploy a basic auth app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_basic_auth_app_test.go:13
and is missing Staticfile
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_basic_auth_app_test.go:50
uses the provided credentials for authorization
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_basic_auth_app_test.go:70
------------------------------
• [SLOW TEST:22.359 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_large_page_test.go:12
responds with the Vary: Accept-Encoding header
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_app_with_large_page_test.go:26
------------------------------
• [SLOW TEST:21.800 seconds]
a staticfile app with a custom start command that uses boot.sh
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_an_app_with_custom_start_command_test.go:12
runs
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_an_app_with_custom_start_command_test.go:25
------------------------------
• [SLOW TEST:19.461 seconds]
deploy a staticfile app
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_reverse_proxy_app_test.go:12
proxies
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_reverse_proxy_app_test.go:26
------------------------------
Summarizing 2 Failures:
[Fail] deploy a staticfile app internet with a uncached buildpack [BeforeEach] uses a proxy during staging if present
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:150
[Fail] deploy a staticfile app internet with a uncached buildpack [BeforeEach] uses a proxy during staging if present
/Users/rakrup/Code/cloudfoundry/staticfile-buildpack/src/staticfile/integration/deploy_staticfile_app_test.go:150
Ran 27 of 29 Specs in 242.604 seconds
FAIL! -- 26 Passed | 1 Failed | 0 Flaked | 1 Pending | 1 Skipped
Ginkgo ran 1 suite in 4m4.209344215s
Test Suite Failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment