Skip to content

Instantly share code, notes, and snippets.

@jvshahid
Created December 14, 2017 15:45
Show Gist options
  • Save jvshahid/5c551119a123b02a8cbf4ca3af3de32c to your computer and use it in GitHub Desktop.
Save jvshahid/5c551119a123b02a8cbf4ca3af3de32c to your computer and use it in GitHub Desktop.
sample wats failure
initializing
running ci/run-wats/run
+ '[' -f -nodes ']'
++ mktemp -t watsXXXXX
+ CONFIG_FILE=/tmp/watszWZbJ
+ trap 'rm -f /tmp/watszWZbJ' EXIT
+ : api.electron-cannon.cf-app.com
+ : admin
+ : n4yni664nxy80indky1s
+ : electron-cannon.cf-app.com
+ : 10.0.0.6:25555
+ : 1
+ : true
+ : true
+ : false
+ : false
+ : windows2012R2
+ : none
+ cat
++ dirname ./wats/scripts/run_wats.sh
+ pushd ./wats/scripts
/tmp/build/e2c84dbc/wats/scripts /tmp/build/e2c84dbc
++ uname
+ [[ Linux = \D\a\r\w\i\n ]]
+ ln -sf cf-linux ../bin/cf
+ popd
/tmp/build/e2c84dbc
+ export PATH=/tmp/build/e2c84dbc/../bin:/go/bin:/usr/local/go/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/tmp/build/e2c84dbc/../bin:/go/bin:/usr/local/go/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ uname -s
++ cut -d_ -f1
+ uname_s=Linux
+ win_uname=MINGW32
+ '[' xLinux == xMINGW32 ']'
+++ dirname ./wats/scripts/run_wats.sh
++ cd ./wats/scripts/..
++ pwd
+ DIR=/tmp/build/e2c84dbc/wats
+ export GOPATH=/tmp/build/e2c84dbc/wats
+ GOPATH=/tmp/build/e2c84dbc/wats
+ export GOBIN=/tmp/build/e2c84dbc/wats/bin
+ GOBIN=/tmp/build/e2c84dbc/wats/bin
+ export PATH=/tmp/build/e2c84dbc/wats/bin:/tmp/build/e2c84dbc/../bin:/go/bin:/usr/local/go/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/tmp/build/e2c84dbc/wats/bin:/tmp/build/e2c84dbc/../bin:/go/bin:/usr/local/go/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export CF_DIAL_TIMEOUT=30
+ CF_DIAL_TIMEOUT=30
+ go install wats/vendor/github.com/onsi/ginkgo/ginkgo
+ pushd /tmp/build/e2c84dbc/wats/src/wats
/tmp/build/e2c84dbc/wats/src/wats /tmp/build/e2c84dbc
+ CONFIG=/tmp/watszWZbJ
+ ginkgo -r -slowSpecThreshold=120 -nodes 4
Running Suite: CF Windows
=========================
Random Seed: 1513184965
Will run 37 specs
Running in parallel across 4 nodes
• Failure [22.349 seconds]
Application security
/tmp/build/e2c84dbc/wats/src/wats/consul_mutual_tls_test.go:11
And app staged on Diego and running on Diego
/tmp/build/e2c84dbc/wats/src/wats/consul_mutual_tls_test.go:18
should block access to consul [It]
/tmp/build/e2c84dbc/wats/src/wats/consul_mutual_tls_test.go:19
Expected
<string>: <!DOCTYPE html>
<html>
<head>
<title>Mutex could not be created.</title>
<meta name="viewport" content="width=device-width" />
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
@media screen and (max-width: 639px) {
pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
}
@media screen and (max-width: 479px) {
pre { width: 280px; }
}
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Mutex could not be created.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
<br><br>
<b> Exception Details: </b>System.InvalidOperationException: Mutex could not be created.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[InvalidOperationException: Mutex could not be created.]
System.Web.Compilation.CompilationMutex..ctor(String name, String comment) +12254195
System.Web.Compilation.CompilationLock..cctor() +256
[TypeInitializationException: The type initializer for &#39;System.Web.Compilation.CompilationLock&#39; threw an exception.]
System.Web.Compilation.CompilationLock.GetLock(Boolean&amp; gotLock) +39
System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(Int64 cachedHash) +46
System.Web.Compilation.BuildManager.ExecutePreAppStart() +148
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +878
[HttpException (0x80004005): The type initializer for &#39;System.Web.Compilation.CompilationLock&#39; threw an exception.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +124
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +700
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0
</font>
</body>
</html>
<!--
[InvalidOperationException]: Mutex could not be created.
at System.Web.Compilation.CompilationMutex..ctor(String name, String comment)
at System.Web.Compilation.CompilationLock..cctor()
[TypeInitializationException]: The type initializer for &#39;System.Web.Compilation.CompilationLock&#39; threw an exception.
at System.Web.Compilation.CompilationLock.GetLock(Boolean& gotLock)
at System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(Int64 cachedHash)
at System.Web.Compilation.BuildManager.ExecutePreAppStart()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
[HttpException]: The type initializer for &#39;System.Web.Compilation.CompilationLock&#39; threw an exception.
at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
--><!--
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->
to contain substring
<string>: The server committed a protocol violation. Section=ResponseStatusLine
/tmp/build/e2c84dbc/wats/src/wats/consul_mutual_tls_test.go:26
------------------------------
••
------------------------------
[2017-12-13 17:09:51.50 (UTC)]> cf apps
Getting apps in org WATS-4-ORG-1654efb4b62df9bc / space WATS-4-SPACE-e320f4bc9a2fdeeb as WATS-USER-4-2017_12_13-17h09m32.49s...
OK
No apps found
STEP: pushing it
[2017-12-13 17:09:52.50 (UTC)]> cf push WATS-4-APP-c8c8da62b1412397 -p ../../assets/nora/NoraPublished --no-start -i 1 -m 2g -b hwc_buildpack -s windows2012R2
Using stack windows2012R2...
OK
Creating app WATS-4-APP-c8c8da62b1412397 in org WATS-4-ORG-1654efb4b62df9bc / space WATS-4-SPACE-e320f4bc9a2fdeeb as WATS-USER-4-2017_12_13-17h09m32.49s...
OK
Creating route wats-4-app-c8c8da62b1412397.electron-cannon.cf-app.com...
OK
Binding wats-4-app-c8c8da62b1412397.electron-cannon.cf-app.com to WATS-4-APP-c8c8da62b1412397...
OK
Uploading WATS-4-APP-c8c8da62b1412397...
Uploading app files from: /tmp/build/e2c84dbc/wats/assets/nora/NoraPublished
Uploading 21K, 20 files
Done uploading
OK
STEP: staging and running it on Diego
[2017-12-13 17:09:58.50 (UTC)]> cf start WATS-4-APP-c8c8da62b1412397
Starting app WATS-4-APP-c8c8da62b1412397 in org WATS-4-ORG-1654efb4b62df9bc / space WATS-4-SPACE-e320f4bc9a2fdeeb as WATS-USER-4-2017_12_13-17h09m32.49s...
Downloading hwc_buildpack...
Downloaded hwc_buildpack
Creating container
Successfully created container
Downloading app package...
Downloaded app package (786.4K)
-----> Installing HWC
-----> Hwc Buildpack version 2.3.11
HWC version 6.0.0
-----> Installing hwc 6.0.0
Download [https://buildpacks.cloudfoundry.org/dependencies/hwc/hwc-6.0.0-windows-amd64-4fe11cbf.zip]
Exit status 0
Uploading droplet, build artifacts cache...
Uploading build artifacts cache...
Uploading droplet...
Uploaded build artifacts cache (194B)
Uploaded droplet (2M)
Uploading complete
Stopping instance c6e8b56a-2440-4b9f-831b-2d8532517778
Destroying container
Successfully destroyed container
1 of 1 instances running
App started
OK
App WATS-4-APP-c8c8da62b1412397 was started using this command `.cloudfoundry\hwc.exe`
Showing health and status for app WATS-4-APP-c8c8da62b1412397 in org WATS-4-ORG-1654efb4b62df9bc / space WATS-4-SPACE-e320f4bc9a2fdeeb as WATS-USER-4-2017_12_13-17h09m32.49s...
OK
requested state: started
instances: 1/1
usage: 2G x 1 instances
urls: wats-4-app-c8c8da62b1412397.electron-cannon.cf-app.com
last uploaded: Wed Dec 13 17:09:53 UTC 2017
stack: windows2012R2
buildpack: hwc_buildpack
state since cpu memory disk details
#0 running 2017-12-13 05:10:08 PM 0.0% 21.7M of 2G 6.4M of 1G
[2017-12-13 17:10:10.51 (UTC)]> curl -k -H Expect: -s http://WATS-4-APP-c8c8da62b1412397.electron-cannon.cf-app.com/curl/127.0.0.1/8500
<!DOCTYPE html>
<html>
<head>
<title>Mutex could not be created.</title>
<meta name="viewport" content="width=device-width" />
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
@media screen and (max-width: 639px) {
pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
}
@media screen and (max-width: 479px) {
pre { width: 280px; }
}
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Mutex could not be created.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
<br><br>
<b> Exception Details: </b>System.InvalidOperationException: Mutex could not be created.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[InvalidOperationException: Mutex could not be created.]
System.Web.Compilation.CompilationMutex..ctor(String name, String comment) +12254195
System.Web.Compilation.CompilationLock..cctor() +256
[TypeInitializationException: The type initializer for &#39;System.Web.Compilation.CompilationLock&#39; threw an exception.]
System.Web.Compilation.CompilationLock.GetLock(Boolean&amp; gotLock) +39
System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(Int64 cachedHash) +46
System.Web.Compilation.BuildManager.ExecutePreAppStart() +148
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +878
[HttpException (0x80004005): The type initializer for &#39;System.Web.Compilation.CompilationLock&#39; threw an exception.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +124
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +700
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0
</font>
</body>
</html>
<!--
[InvalidOperationException]: Mutex could not be created.
at System.Web.Compilation.CompilationMutex..ctor(String name, String comment)
at System.Web.Compilation.CompilationLock..cctor()
[TypeInitializationException]: The type initializer for &#39;System.Web.Compilation.CompilationLock&#39; threw an exception.
at System.Web.Compilation.CompilationLock.GetLock(Boolean& gotLock)
at System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(Int64 cachedHash)
at System.Web.Compilation.BuildManager.ExecutePreAppStart()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
[HttpException]: The type initializer for &#39;System.Web.Compilation.CompilationLock&#39; threw an exception.
at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
--><!--
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->
[2017-12-13 17:10:11.85 (UTC)]> cf logs WATS-4-APP-c8c8da62b1412397 --recent
Connected, dumping recent logs for app WATS-4-APP-c8c8da62b1412397 in org WATS-4-ORG-1654efb4b62df9bc / space WATS-4-SPACE-e320f4bc9a2fdeeb as WATS-USER-4-2017_12_13-17h09m32.49s...
2017-12-13T17:09:52.86+0000 [API/1] OUT Created app with guid 621ebd05-1bc3-4ac8-baf5-0ff642483fb9
2017-12-13T17:09:53.04+0000 [API/0] OUT Updated app with guid 621ebd05-1bc3-4ac8-baf5-0ff642483fb9 ({"route"=>"06e55571-35ea-48cb-9ded-c7cbbc7eac7b", :verb=>"add", :relation=>"routes", :related_guid=>"06e55571-35ea-48cb-9ded-c7cbbc7eac7b"})
2017-12-13T17:09:53.41+0000 [API/1] OUT Uploading bits for app with guid 621ebd05-1bc3-4ac8-baf5-0ff642483fb9
2017-12-13T17:09:58.87+0000 [API/0] OUT Creating build for app with guid 621ebd05-1bc3-4ac8-baf5-0ff642483fb9
2017-12-13T17:09:58.96+0000 [API/0] OUT Updated app with guid 621ebd05-1bc3-4ac8-baf5-0ff642483fb9 ({"state"=>"STARTED"})
2017-12-13T17:09:59.14+0000 [STG/0] OUT Downloading hwc_buildpack...
2017-12-13T17:09:59.15+0000 [STG/0] OUT Downloaded hwc_buildpack
2017-12-13T17:09:59.15+0000 [STG/0] OUT Creating container
2017-12-13T17:10:00.24+0000 [STG/0] OUT Successfully created container
2017-12-13T17:10:00.24+0000 [STG/0] OUT Downloading app package...
2017-12-13T17:10:00.68+0000 [STG/0] OUT Downloaded app package (786.4K)
2017-12-13T17:10:00.72+0000 [STG/0] OUT -----> Installing HWC
2017-12-13T17:10:00.72+0000 [STG/0] OUT -----> Hwc Buildpack version 2.3.11
2017-12-13T17:10:00.72+0000 [STG/0] OUT HWC version 6.0.0
2017-12-13T17:10:00.72+0000 [STG/0] OUT -----> Installing hwc 6.0.0
2017-12-13T17:10:00.72+0000 [STG/0] OUT Download [https://buildpacks.cloudfoundry.org/dependencies/hwc/hwc-6.0.0-windows-amd64-4fe11cbf.zip]
2017-12-13T17:10:01.57+0000 [STG/0] OUT Exit status 0
2017-12-13T17:10:01.57+0000 [STG/0] OUT Uploading droplet, build artifacts cache...
2017-12-13T17:10:01.57+0000 [STG/0] OUT Uploading build artifacts cache...
2017-12-13T17:10:01.58+0000 [STG/0] OUT Uploading droplet...
2017-12-13T17:10:01.62+0000 [API/1] OUT Creating droplet for app with guid 621ebd05-1bc3-4ac8-baf5-0ff642483fb9
2017-12-13T17:10:01.63+0000 [STG/0] OUT Uploaded build artifacts cache (194B)
2017-12-13T17:10:02.80+0000 [STG/0] OUT Uploaded droplet (2M)
2017-12-13T17:10:02.80+0000 [STG/0] OUT Uploading complete
2017-12-13T17:10:02.82+0000 [STG/0] OUT Stopping instance c6e8b56a-2440-4b9f-831b-2d8532517778
2017-12-13T17:10:02.82+0000 [STG/0] OUT Destroying container
2017-12-13T17:10:03.01+0000 [CELL/0] OUT Creating container
2017-12-13T17:10:03.87+0000 [STG/0] OUT Successfully destroyed container
2017-12-13T17:10:04.59+0000 [CELL/0] OUT Successfully created container
2017-12-13T17:10:05.37+0000 [CELL/0] OUT Starting health monitoring of container
2017-12-13T17:10:08.22+0000 [APP/PROC/WEB/0]OUT Server Started for 3315d6fc-6749-4f5b-bc9b-ad5047b31229
2017-12-13T17:10:08.23+0000 [CELL/0] OUT Container became healthy
2017-12-13T17:10:11.15+0000 [RTR/5] OUT wats-4-app-c8c8da62b1412397.electron-cannon.cf-app.com - [2017-12-13T17:10:10.989+0000] "GET /curl/127.0.0.1/8500 HTTP/1.1" 500 0 5536 "-" "curl/7.38.0" "130.211.3.104:55919" "10.0.16.21:54642" x_forwarded_for:"104.154.164.238, 35.190.37.251, 130.211.3.104" x_forwarded_proto:"http" vcap_request_id:"821de7d8-6e60-4c5c-599a-1a7a27ba3460" response_time:0.164495397 app_id:"621ebd05-1bc3-4ac8-baf5-0ff642483fb9" app_index:"0" x_b3_traceid:"54f732619fddc64b" x_b3_spanid:"54f732619fddc64b" x_b3_parentspanid:"-"
[2017-12-13 17:10:12.85 (UTC)]> cf delete WATS-4-APP-c8c8da62b1412397 -f
Deleting app WATS-4-APP-c8c8da62b1412397 in org WATS-4-ORG-1654efb4b62df9bc / space WATS-4-SPACE-e320f4bc9a2fdeeb as WATS-USER-4-2017_12_13-17h09m32.49s...
OK
••••
------------------------------
S [SKIPPING] in Spec Setup (BeforeEach) [3.003 seconds]
[credhub]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:86
CredHub Integration [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:92
during staging
/tmp/build/e2c84dbc/wats/src/wats/credhub_assist_test.go:106
[non-assisted credhub]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:108
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:114
still contains CredHub references in VCAP_SERVICES
/tmp/build/e2c84dbc/wats/src/wats/credhub_assist_test.go:189
Skipping this test because Config.CredhubMode is not set to either 'assisted' or 'non-assisted'.
NOTE: Ensure instance identity credential is turned on and CredHub is deployed before enabling this test
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:89
------------------------------
S [SKIPPING] in Spec Setup (BeforeEach) [3.002 seconds]
[credhub]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:86
CredHub Integration [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:92
during staging
/tmp/build/e2c84dbc/wats/src/wats/credhub_assist_test.go:106
[assisted credhub]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:97
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:103
has CredHub references in VCAP_SERVICES interpolated
/tmp/build/e2c84dbc/wats/src/wats/credhub_assist_test.go:197
Skipping this test because Config.CredhubMode is not set to either 'assisted' or 'non-assisted'.
NOTE: Ensure instance identity credential is turned on and CredHub is deployed before enabling this test
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:89
------------------------------
S [SKIPPING] in Spec Setup (BeforeEach) [3.002 seconds]
[credhub]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:86
CredHub Integration [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:92
during runtime
/tmp/build/e2c84dbc/wats/src/wats/credhub_assist_test.go:204
service bindings to credhub enabled broker
/tmp/build/e2c84dbc/wats/src/wats/credhub_assist_test.go:205
[assisted credhub]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:97
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:103
the broker returns credhub-ref in the credentials block
/tmp/build/e2c84dbc/wats/src/wats/credhub_assist_test.go:229
Skipping this test because Config.CredhubMode is not set to either 'assisted' or 'non-assisted'.
NOTE: Ensure instance identity credential is turned on and CredHub is deployed before enabling this test
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:89
------------------------------
S [SKIPPING] in Spec Setup (BeforeEach) [3.002 seconds]
[credhub]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:86
CredHub Integration [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:92
during runtime
/tmp/build/e2c84dbc/wats/src/wats/credhub_assist_test.go:204
service bindings to credhub enabled broker
/tmp/build/e2c84dbc/wats/src/wats/credhub_assist_test.go:205
[assisted credhub]
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:97
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:103
the bound app gets CredHub refs in VCAP_SERVICES interpolated
/tmp/build/e2c84dbc/wats/src/wats/credhub_assist_test.go:235
Skipping this test because Config.CredhubMode is not set to either 'assisted' or 'non-assisted'.
NOTE: Ensure instance identity credential is turned on and CredHub is deployed before enabling this test
/tmp/build/e2c84dbc/wats/src/wats/helpers_test.go:89
------------------------------
• Failure in Spec Setup (BeforeEach) [20.007 seconds]
Logs from apps hosted by Diego
/tmp/build/e2c84dbc/wats/src/wats/running_log_test.go:16
when the app is running [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/running_log_test.go:22
captures stderr logs with the correct tag
/tmp/build/e2c84dbc/wats/src/wats/running_log_test.go:43
Expected
<int>: 1
to match exit code:
<int>: 0
/tmp/build/e2c84dbc/wats/src/wats/running_log_test.go:19
------------------------------
••
------------------------------
[2017-12-13 17:11:02.88 (UTC)]> cf apps
Getting apps in org WATS-3-ORG-30e3e0479b836286 / space WATS-3-SPACE-712fb5d2b5c10409 as WATS-USER-3-2017_12_13-17h09m32.496s...
OK
No apps found
[2017-12-13 17:11:03.88 (UTC)]> cf push WATS-3-APP-f51e98a47f8332ab -p ../../assets/nora/NoraPublished --no-start -i 1 -m 256m -b hwc_buildpack -s windows2012R2
Using stack windows2012R2...
OK
Creating app WATS-3-APP-f51e98a47f8332ab in org WATS-3-ORG-30e3e0479b836286 / space WATS-3-SPACE-712fb5d2b5c10409 as WATS-USER-3-2017_12_13-17h09m32.496s...
OK
Creating route wats-3-app-f51e98a47f8332ab.electron-cannon.cf-app.com...
OK
Binding wats-3-app-f51e98a47f8332ab.electron-cannon.cf-app.com to WATS-3-APP-f51e98a47f8332ab...
OK
Uploading WATS-3-APP-f51e98a47f8332ab...
Uploading app files from: /tmp/build/e2c84dbc/wats/assets/nora/NoraPublished
Uploading 21K, 20 files
Done uploading
OK
[2017-12-13 17:11:09.89 (UTC)]> cf start WATS-3-APP-f51e98a47f8332ab
Starting app WATS-3-APP-f51e98a47f8332ab in org WATS-3-ORG-30e3e0479b836286 / space WATS-3-SPACE-712fb5d2b5c10409 as WATS-USER-3-2017_12_13-17h09m32.496s...
Downloading hwc_buildpack...
Downloading hwc_buildpack failed
Destroying container
Failed to destroy container
FAILED
StagingError
TIP: use 'cf logs WATS-3-APP-f51e98a47f8332ab --recent' for more information
[2017-12-13 17:11:20.89 (UTC)]> cf logs WATS-3-APP-f51e98a47f8332ab --recent
Connected, dumping recent logs for app WATS-3-APP-f51e98a47f8332ab in org WATS-3-ORG-30e3e0479b836286 / space WATS-3-SPACE-712fb5d2b5c10409 as WATS-USER-3-2017_12_13-17h09m32.496s...
2017-12-13T17:11:04.16+0000 [API/1] OUT Created app with guid 16ff6b16-4aa8-4955-ba97-1340cd3bb2ac
2017-12-13T17:11:04.36+0000 [API/1] OUT Updated app with guid 16ff6b16-4aa8-4955-ba97-1340cd3bb2ac ({"route"=>"cbbfc659-8c6f-4a4f-be86-7e59b86a3722", :verb=>"add", :relation=>"routes", :related_guid=>"cbbfc659-8c6f-4a4f-be86-7e59b86a3722"})
2017-12-13T17:11:04.55+0000 [API/0] OUT Uploading bits for app with guid 16ff6b16-4aa8-4955-ba97-1340cd3bb2ac
2017-12-13T17:11:10.24+0000 [API/0] OUT Creating build for app with guid 16ff6b16-4aa8-4955-ba97-1340cd3bb2ac
2017-12-13T17:11:10.31+0000 [API/0] OUT Updated app with guid 16ff6b16-4aa8-4955-ba97-1340cd3bb2ac ({"state"=>"STARTED"})
2017-12-13T17:11:10.49+0000 [STG/0] OUT Downloading hwc_buildpack...
2017-12-13T17:11:10.58+0000 [STG/0] OUT Downloading hwc_buildpack failed
2017-12-13T17:11:10.58+0000 [STG/0] OUT Destroying container
2017-12-13T17:11:10.60+0000 [STG/0] ERR Failed to destroy container
[2017-12-13 17:11:21.89 (UTC)]> cf delete WATS-3-APP-f51e98a47f8332ab -f
Deleting app WATS-3-APP-f51e98a47f8332ab in org WATS-3-ORG-30e3e0479b836286 / space WATS-3-SPACE-712fb5d2b5c10409 as WATS-USER-3-2017_12_13-17h09m32.496s...
OK
------------------------------
• [SLOW TEST:132.069 seconds]
Application Lifecycle
/tmp/build/e2c84dbc/wats/src/wats/lifecycle_test.go:46
An app staged on Diego and running on Diego
/tmp/build/e2c84dbc/wats/src/wats/lifecycle_test.go:81
exercises the app through its lifecycle
/tmp/build/e2c84dbc/wats/src/wats/lifecycle_test.go:82
------------------------------
•••
------------------------------
P [PENDING]
Application Lifecycle
/tmp/build/e2c84dbc/wats/src/wats/mmapleak_test.go:15
An app staged on Diego and running on Diego
/tmp/build/e2c84dbc/wats/src/wats/mmapleak_test.go:16
attempts to leak mmap
/tmp/build/e2c84dbc/wats/src/wats/mmapleak_test.go:17
------------------------------
S [SKIPPING] [3.002 seconds]
Task Lifecycle
/tmp/build/e2c84dbc/wats/src/wats/tasks_test.go:12
exercises the task lifecycle on windows [It]
/tmp/build/e2c84dbc/wats/src/wats/tasks_test.go:13
Skipping tasks tests (requires diego-release v1.20.0 and above)
/tmp/build/e2c84dbc/wats/src/wats/tasks_test.go:15
------------------------------
••••••
------------------------------
S [SKIPPING] in Spec Setup (BeforeEach) [3.003 seconds]
SSH
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:19
ssh [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:33
with multiple instances
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:34
can ssh to the second instance
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:42
cf ssh does not work on windows2012R2
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:22
------------------------------
S [SKIPPING] in Spec Setup (BeforeEach) [3.003 seconds]
SSH
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:19
ssh [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:33
can execute a remote command in the container
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:68
cf ssh does not work on windows2012R2
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:22
------------------------------
------------------------------
S [SKIPPING] in Spec Setup (BeforeEach) [3.003 seconds]
SSH
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:19
ssh [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:33
runs an interactive session when no command is provided
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:93
cf ssh does not work on windows2012R2
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:22
------------------------------
S [SKIPPING] in Spec Setup (BeforeEach) [3.003 seconds]
SSH
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:19
ssh [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:33
allows local port forwarding
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:132
cf ssh does not work on windows2012R2
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:22
------------------------------
S [SKIPPING] in Spec Setup (BeforeEach) [3.003 seconds]
SSH
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:19
ssh [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:33
records successful ssh attempts
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:153
cf ssh does not work on windows2012R2
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:22
------------------------------
S [SKIPPING] in Spec Setup (BeforeEach) [3.002 seconds]
SSH
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:19
ssh [BeforeEach]
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:33
records failed ssh attempts
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:186
cf ssh does not work on windows2012R2
/tmp/build/e2c84dbc/wats/src/wats/ssh_test.go:22
------------------------------
•••
Summarizing 2 Failures:
[Fail] Application security And app staged on Diego and running on Diego [It] should block access to consul
/tmp/build/e2c84dbc/wats/src/wats/consul_mutual_tls_test.go:26
[Fail] Logs from apps hosted by Diego [BeforeEach] when the app is running captures stderr logs with the correct tag
/tmp/build/e2c84dbc/wats/src/wats/running_log_test.go:19
Ran 25 of 37 Specs in 332.916 seconds
FAIL! -- 23 Passed | 2 Failed | 1 Pending | 11 Skipped
Ginkgo ran 1 suite in 5m39.443193353s
Test Suite Failed
+ rm -f /tmp/watszWZbJ
failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment