Skip to content

Instantly share code, notes, and snippets.

Saikiran Yerram Syerram

Block or report user

Report or block Syerram

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View test-teardown-failure-option-b.log
• Failure in Spec Teardown (AfterEach) [94.883 seconds]
[windows]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:345
An application printing a bunch of output
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:351
doesn't die when printing 32MB [AfterEach]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/windows/output_volume.go:37
Timed out after 30.000s.
Expected process to exit. It did not.
View test-teardown-failure-option-a.log
• Failure in Spec Teardown (AfterEach) [94.883 seconds]
[windows]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:345
An application printing a bunch of output
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:351
doesn't die when printing 32MB [AfterEach]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/windows/output_volume.go:37
Timed out after 30.000s.
Expected process to exit. It did not.
View setup-failure-option-c.log
• Failure in Spec Setup (BeforeEach) [85.028 seconds]
[routing]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:164
Zipkin Tracing
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:174
when zipkin tracing is enabled [BeforeEach]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/routing/zipkin_tracing.go:44
when zipkin headers are not in the request
/go/src/github.com/cloudfoundry/cf-acceptance-tests/routing/zipkin_tracing.go:45
the sleuth error response has no error
View setup-failure-option-b.log
• Failure in Spec Setup (BeforeEach) [85.028 seconds]
[routing]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:164
Zipkin Tracing
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:174
when zipkin tracing is enabled [BeforeEach]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/routing/zipkin_tracing.go:44
when zipkin headers are not in the request
/go/src/github.com/cloudfoundry/cf-acceptance-tests/routing/zipkin_tracing.go:45
the sleuth error response has no error
View setup-failure-option-a.log
• Failure in Spec Setup (BeforeEach) [85.028 seconds]
[routing]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:164
Zipkin Tracing
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:174
when zipkin tracing is enabled [BeforeEach]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/routing/zipkin_tracing.go:44
when zipkin headers are not in the request
/go/src/github.com/cloudfoundry/cf-acceptance-tests/routing/zipkin_tracing.go:45
the sleuth error response has no error
View test-failure-option-c.log
• Failure [253.063 seconds]
[route_services]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:108
Route Services
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:114
when a route binds to a service
/go/src/github.com/cloudfoundry/cf-acceptance-tests/route_services/route_services.go:25
when service broker returns a route service url
/go/src/github.com/cloudfoundry/cf-acceptance-tests/route_services/route_services.go:26
a request to the app is routed through the route service [It]
View test-failure-option-b.log
• Failure [253.063 seconds]
[route_services]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:108
Route Services
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:114
when a route binds to a service
/go/src/github.com/cloudfoundry/cf-acceptance-tests/route_services/route_services.go:25
when service broker returns a route service url
/go/src/github.com/cloudfoundry/cf-acceptance-tests/route_services/route_services.go:26
a request to the app is routed through the route service [It]
View test-failure-option-a.log
• Failure [253.063 seconds]
[route_services]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:108
Route Services
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:114
when a route binds to a service
/go/src/github.com/cloudfoundry/cf-acceptance-tests/route_services/route_services.go:25
when service broker returns a route service url
/go/src/github.com/cloudfoundry/cf-acceptance-tests/route_services/route_services.go:26
a request to the app is routed through the route service [It]
@Syerram
Syerram / cf-dot-get-mem.sh
Last active Jun 26, 2019
cf dot - Get free memory after the CF upgrade
View cf-dot-get-mem.sh
# For help on this command, please contact the Diego team on CF slack channel #diego
cfdot cell-states \
| jq '(.RootFSProviders.preloaded.set | keys) as $rootfses | select($rootfses | contains(["linux"])) | .segment = "Segment: \(.PlacementTags | .[0] // "(shared)") | Stacks: \($rootfses | join(", "))"' \
| jq '{segment, containers: (.TotalResources.Containers - .AvailableResources.Containers), total_memory: .TotalResources.MemoryMB, free_memory: .AvailableResources.MemoryMB, cells: 1}' \
| jq -s 'reduce (.[] | .segment as $s | del(.segment) | to_entries[] | .segment = $s) as $i ({}; .[$i.segment][$i.key] += $i.value) | to_entries | map(.value.segment = .key | .value) | sort_by(.segment) | .[]' \
| jq -r '(.free_memory - (.containers * 32)) as $free_memory_after | "\(.segment)\n Cells: \(.cells)\n Containers: \(.containers)\n Current Free Memory: \(.free_memory) MB / \(.free_memory / .total_memory * 1000 | floor /10)%\n Additional Memory Required: \(.containers * 32) MB\n Free Memory Afterward: \($free_memo
@Syerram
Syerram / gist:7045629
Last active Dec 25, 2015
Django Code workshop
View gist:7045629

Coding

Startup

#creates a new folder.
$ django-admin.py startproject my_todo

$ cd my_todo
You can’t perform that action at this time.