Skip to content

Instantly share code, notes, and snippets.

View hamiltont's full-sized avatar
🕵️‍♂️
huntin' wabbits

Hamilton Turner hamiltont

🕵️‍♂️
huntin' wabbits
View GitHub Profile
aspnet: aspnet-mvc: aspnet-mongodb-raw
aspnet: aspnet-mvc: aspnet-sqlserver-entityframework
aspnet: aspnet-mvc: aspnet-mono-postgresql-entityframework
aspnet: aspnet-mvc: aspnet-postgresql-raw
aspnet: aspnet-mvc: aspnet-mysql-raw
aspnet: aspnet-mvc: default
aspnet: aspnet-mvc: aspnet-mono
aspnet: aspnet-mvc: aspnet-sqlserver-raw
aspnet: aspnet-mvc: aspnet-postgresql-entityframework
aspnet: aspnet-mvc: aspnet-mono-postgresql-raw
I was trying to do that same recursive PPID trick using the process id that resulted from __run_test, but the main issue was that a lot of tests start using "sudo nginx ...", which means that nginx immediately calls set session ID and I couldn't find the nginx master process. Your approach of finding the process bound to that port will help you find the nginx master process, and then from there you should be able to use the recursive PPID trick just fine (no one calls set session id twice...)
5:34 PM
# Run the benchmarker in the specified mode
if benchmarker.list_tests == "True":
print "1"
benchmarker.run_list_tests()
elif benchmarker.list_test_metadata == "True":
print "2"
benchmarker.run_list_test_metadata()
elif benchmarker.parse != "None":
print "3"
#################### Inside benchmarker.__init__
self.__dict__.update(args)
self.list_tests = bool(self.list_tests)
self.list_test_metadata = bool(self.list_test_metadata)
if self.parse == "None":
self.parse = None
Searching for rvm
Installing language: rvm in $FWROOT/installs
++ . /tmp/FrameworkBenchmarks/toolset/setup/linux/languages/rvm.sh
++++ fw_exists rvm.installed
++++ '[' -f rvm.installed ']'
++++ '[' -d rvm.installed ']'
++++ echo 1
+++ RETCODE=1
+++ '[' '!' 1 == 0 ']'
+++ '[' '' '!=' true ']'
from ast import literal_eval
defaults = dict(config.items("Defaults"))
defaults = { k: literal_eval(v) for k, v in defaults.iteritems()}
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 7 in line 1.
"Dstat 0.7.2 CSV output"
"Author:","Dag Wieers <[email protected]>",,,,"URL:","http://dag.wieers.com/home-made/dstat/"
"Host:","6",,,,"User:","root"
"Cmdline:","dstat -afilmprsT --aio --fs --ipc --lock --raw --socket --tcp --raw --socket --tcp --udp --unix --vm --disk-util --rpc --rpcd --output results/dock4-1_correct-TYPE_100-CPU_18000-RAM_13579111315-SET/20141029235234/json/openresty/stats",,,,"Date:","30 Oct 2014 03:52:56 UTC"
"cpu0 usage",,,,,,"cpu1 usage",,,,,,"cpu2 usage",,,,,,"cpu3 usage",,,,,,"cpu4 usage",,,,,,"cpu5 usage",,,,,,"cpu6 usage",,,,,,"cpu7 usage",,,,,,"cpu8 usage",,,,,,"cpu9 usage",,,,,,"cpu10 usage",,,,,,"cpu11 usage",,,,,,"cpu12 usage",,,,,,"cpu13 usage",,,,,,"cpu14 usage",,,,,,"cpu15 usage",,,,,,"cpu16 usage",,,,,,"cpu17 usage",,,,,,"cpu18 usage",,,,,,"cpu19 usage",,,,,,"cpu20 usage",,,,,,"cpu21 usage",,,,,,"cpu22 usage",,,,,,"cpu23 usage",,,,,,"dsk/sda",,"net/docker0",,"net/eth0",,"net/lxcbr0",,"paging",,"system",,"interrupts",,,,,,,,,,,"load avg",,,"memory usage",,,,"procs",,,"io/sda",,
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
"Dstat 0.7.2 CSV output"
"Author:","Dag Wieers <[email protected]>",,,,"URL:","http://dag.wieers.com/home-made/dstat/"
"Host:","8",,,,"User:","root"
"Cmdline:","dstat -afilmprsT --aio --fs --ipc --lock --raw --socket --tcp --raw --socket --tcp --udp --unix --vm --disk-util --rpc --rpcd --output results/fwbmdocker1_100-CPU_18000-RAM_1357911-SET/20141027170409/json/duda/stats",,,,"Date:","27 Oct 2014 21:04:22 UTC"
"cpu0 usage",,,,,,"cpu1 usage",,,,,,"cpu2 usage",,,,,,"cpu3 usage",,,,,,"cpu4 usage",,,,,,"cpu5 usage",,,,,,"cpu6 usage",,,,,,"cpu7 usage",,,,,,"cpu8 usage",,,,,,"cpu9 usage",,,,,,"cpu10 usage",,,,,,"cpu11 usage",,,,,,"cpu12 usage",,,,,,"cpu13 usage",,,,,,"cpu14 usage",,,,,,"cpu15 usage",,,,,,"cpu16 usage",,,,,,"cpu17 usage",,,,,,"cpu18 usage",,,,,,"cpu19 usage",,,,,,"cpu20 usage",,,,,,"cpu21 usage",,,,,,"cpu22 usage",,,,,,"cpu23 usage",,,,,,"dsk/sda",,"net/docker0",,"net/eth0",,"net/lxcbr0",,"paging",,"system",,"interrupts",,,,,,,,,,,"load avg",,,"memory usage",,,,"procs",,,"io/sda",,"swap",,"epoch","a
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
"Dstat 0.7.2 CSV output"
"Author:","Dag Wieers <[email protected]>",,,,"URL:","http://dag.wieers.com/home-made/dstat/"
"Host:","TFB-all",,,,"User:","root"
"Cmdline:","dstat -afilmprsT --aio --fs --ipc --lock --raw --socket --tcp --raw --socket --tcp --udp --unix --vm --disk-util --rpc --rpcd --output results/ec2_100-CPU_1000-RAM_0-SET/20141106170117/json/openresty/stats",,,,"Date:","06 Nov 2014 17:55:21 UTC"
"cpu0 usage",,,,,,"cpu1 usage",,,,,,"dsk/sda",,"net/docker0",,"net/eth0",,"net/lxcbr0",,"paging",,"system",,"interrupts",,,,"load avg",,,"memory usage",,,,"procs",,,"io/sda",,"swap",,"epoch","async","filesystem",,"sysv ipc",,,"file locks",,,,"raw","sockets",,,,,"tcp sockets",,,,,"raw","sockets",,,,,"tcp sockets",,,,,"udp",,"unix sockets",,,,"virtual memory",,,,"sda","rpc client",,,"rpc server",,,,
"usr","sys","idl","wai","hiq","siq","usr","sys","idl","wai","hiq","siq","read","writ","recv","send","recv","send","recv","send","in","out","int","csw","12","19","20","21","1m","5m","15m","used","buff","cach","free
benchmark: 0% | | Rough ETA: --:--:--
benchmark: 1% | | Rough ETA: 00:00:01
benchmark: 2% | | Rough ETA: 01:12:17
benchmark: 3% |# | Rough ETA: 17:27:56
benchmark: 4% |# | Rough ETA: 20:43:50
benchmark: 5% |## | Rough ETA: 22:15:10
benchmark: 6% |## | Rough ETA: 21:16:02
benchmark: 7% |## | Rough ETA: 21:44:49
benchmark: 8% |### | Rough ETA: 20:18:42
benchmark: 9% |### | Rough ETA: 17:45:24