Simple Black Box
- Dieter Plaetinck / Dieter_be
- new in NYC
- Vimeo backend
set up sandbox (copy dir)
set_http_probe swift "host $host_swift"
set_http_probe tag "-d lo host lo and port $port"
assert num_procs "$regex" "$num_procs" (pgrep)
assert listening "tcp:8080" (lsof)
kill_gracefull "$process"
remove_http_probe swift
remove_http_probe tag
assert num_procs "$regex" 0
assert listening "tcp:8080" 0
assert object_md5sum $swift_object
assert num_http_req swift 'GET /auth/v1.0' 1 1
assert http_resp swift "^PUT /v1/AUTH HTTP" 202
assert num_statsd_req lo 'upload.put:1|c' 1 1
assert no_errors $output/stderr_* $log (grep)
assert pattern "all is ok" $output/stdout
→ logstash session to ingest all events during SBB session → logstash as a local debugging tool