I am making load test with vmq_mzbench for vernemq.
here is my default script:
09:39:01.932 [error] [[email protected]] <0.260.0> [ "pool1" ] Received DOWN from worker <0.449.0> with reason {function_clause,[{gen_emqtt,handle_frame,[waiting_for_connack,{mqtt_publish,undefined,[<<"test">>,<<"user1">>,<<"loadtest">>,<<>>],0,0,0,<<131,104,2,104,3,98,0,0,5,240,98,0,14,63,138,98,0,1,178,180,109,0,0,0,150,150,142,80,46,3,180,71,143,62,115,204,0,112,38,201,44,42,232,81,59,184,228,129,245,248,16,176,201,105,243,234,135,125,117,127,242,158,185,22,72,5,254,63,54,73,173,14,201,8,146,62,26,35,104,157,179,245,220,85,234,62,12,19,62,127,153,245,128,231,194,182,72,109,21,8,125,128,77,154,113,157,158,226,240,189,199,19,10,141,223,8,157,92,213,86,209,203,113,133,206,22,240,116,209,183,136,105,223,97,213,178,188,206,122,75,148,211,204,35,71,175,209,121,61,126,138,47,28,142,151,8,211,48,29,250,37,81,212,57,239,195,47,171,29,203,102,41,246,32,2>>},{state,"MY_BROKER_IP",1883,#Port<0.3442>,1536,"user1","passwd1",["loadtests-mqttbroker-id0","-","92"],true,undefined,undefined,0,<<>>,120000,120000,10000,4,mqtt_worker,[],{gen_tcp,[]},<<48,196,1,0,19,115,97,104,47,117,115,101,114,49,47,108,111,97,100,116,101,115,116,47,131,104,2,104,3,98,0,0,5,240,98,0,14,63,138,98,0,1,178,180,109,0,0,0,150,150,142,80,46,3,180,71,143,62,115,204,0,112,38,201,44,42,232,81,59,184,228,129,245,248,16,176,201,105,243,234,135,125,117,127,242,158,185,22,72,5,254,63,54,73,173,14,201,8,146,62,26,35,104,157,179,245,220,85,234,62,12,19,62,127,153,245,128,231,194,182,72,109,21,8,125,128,77,154,113,157,158,226,240,189,199,19,10,141,223,8,157,92,213,86,209,203,113,133,206,22,240,116,209,183,136,105,223,97,213,178,188,206,122,75,148,211,204,35,71,175,209,121,61,126,138,47,28,142,151,8,211,48,29,250,37,81,212,57,239,195,47,171,29,203,102,41,246>>,{dict,1,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[],[[ping\|#Ref<0.0.2.1196>]],[],[],[],[],[],[],[],[]}}},{#Fun<mqtt_worker.0.79002790>,#{462 => {1520,933769,713778},704 => {1520,933781,445266},1328 => {1520,933811,406289},417 => {1520,933767,547214},513 => {1520,933772,243194},263 => {1520,933760,160420},525 => {1520,933772,776658},1013 => {1520,933796,210504},475 => {1520,933770,331178},500 => {1520,933771,637006},105 => {1520,933752,575313},878 => {1520,933789,838858},1513 => {1520,933820,246053},313 => {1520,933762,562990},1514 => {1520,933820,246084},1070 => {1520,933799,15400},296 => {1520,933761,739559},947 => {1520,933793,260199},1116 => {1520,933801,238887},484 => {1520,933770,810559},888 => {1520,933790,498547},960 => {1520,933793,829091},48 => {1520,933749,835414},1218 => {1520,933806,134605},1103 => {1520,933800,637548},1239 => {1520,933807,90098},635 => {1520,933778,15749},230 => {1520,933758,575495},1379 => {1520,933813,782525},529 => {1520,933772,992584},1063 => {1520,933798,649165},626 => {1520,933777,601043},1086 => {1520,933799,783268},387 => {1520,933766,110584},941 => {1520,933792,835323},1018 => {1520,933796,493269},1128 => {1520,933801,831772},1419 => {1520,933815,767074},921 => {1520,933791,817861},763 => {1520,933784,140774},343 => {1520,933763,995219},429 => {1520,933768,127414},1023 => {1520,933796,778688},831 => {1520,933787,416541},270 => {1520,933760,493074},344 => {1520,933764,44076},62 => {1520,933750,513113},1060 => {1520,933798,502715},685 => {1520,933780,606635},205 => {1520,933757,371401},646 => {1520,933778,571876},962 => {1520,933793,829145},1322 => {1520,933811,107867},727 => {1520,933782,480014},333 => {1520,933763,516282},647 => {1520,933778,571971},11 => {1520,933748,59132},1092 => {1520,933800,117570},1450 => {1520,933817,234733},913 => {1520,933791,535029},1151 => {1520,933802,885404},1143 => {1520,933802,506423},762 => {1520,933784,140751},232 => {1520,933758,667851},39 => {1520,933749,418297},164 => {1520,933755,417822},851 => {1520,933788,413865},236 => {1520,933758,860452},1152 => {1520,933802,985117},1188 => {1520,933804,694881},934 => {1520,933792,400846},560 => {1520,933774,532243},1442 => {1520,933816,813227},973 => {1520,933794,289600},1224 => {1520,933806,430612},994 => {1520,933795,329413},1516 => {1520,...},...}}}],...},...]}
--
09:45:46.386 [error] [[email protected]] <0.260.0> [ "pool1" ] Received DOWN from worker <0.593.0> with reason {function_clause,[{gen_emqtt,handle_frame,[waiting_for_connack,{mqtt_publish,undefined,[<<"test">>,<<"user1">>,<<"loadtest">>,<<>>],0,0,0,<<131,104,2,104,3,98,0,0,5,240,98,0,14,65,26,98,0,3,185,66,109,0,0,0,150,237,44,211,113,167,81,41,87,158,161,236,12,109,215,120,151,127,12,111,34,203,31,198,124,202,182,64,67,161,42,235,176,116,217,106,254,35,55,74,80,24,58,196,169,184,158,127,191,231,44,24,106,9,90,80,60,22,73,119,11,235,181,27,194,121,166,109,118,94,70,29,210,74,151,185,143,230,175,52,217,120,10,167,110,167,139,76,179,235,246,121,178,240,159,26,89,65,128,169,225,32,104,198,166,228,127,247,15,109,5,247,160,229,72,29,211,251,47,232,5,232,230,143,17,46,42,136,131,135,6,225,81,23,253,246,234,164,199,169,218,95,31,87,231,35,97,177,32,2,0>>},{state,"MY_BROKER_IP",1883,#Port<0.3560>,9934,"user1","passwd1",["loadtests-mqttbroker-id0","-","164"],true,undefined,undefined,0,<<>>,120000,120000,10000,4,mqtt_worker,[],{gen_tcp,[]},<<48,196,1,0,19,115,97,104,47,117,115,101,114,49,47,108,111,97,100,116,101,115,116,47,131,104,2,104,3,98,0,0,5,240,98,0,14,65,26,98,0,3,185,66,109,0,0,0,150,237,44,211,113,167,81,41,87,158,161,236,12,109,215,120,151,127,12,111,34,203,31,198,124,202,182,64,67,161,42,235,176,116,217,106,254,35,55,74,80,24,58,196,169,184,158,127,191,231,44,24,106,9,90,80,60,22,73,119,11,235,181,27,194,121,166,109,118,94,70,29,210,74,151,185,143,230,175,52,217,120,10,167,110,167,139,76,179,235,246,121,178,240,159,26,89,65,128,169,225,32,104,198,166,228,127,247,15,109,5,247,160,229,72,29,211,251,47,232,5,232,230,143,17,46,42,136,131,135,6,225,81,23,253,246,234,164,199,169,218,95,31,87,231,35,97,177>>,{dict,1,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[],[[ping\|#Ref<0.0.2.20274>]],[],[],[],[],[],[],[],[]}}},{#Fun<mqtt_worker.0.79002790>,#{462 => {1520,933769,721547},704 => {1520,933781,430722},7994 => {1520,934131,253985},6850 => {1520,934076,342494},6836 => {1520,934075,671349},9765 => {1520,934216,526438},6653 => {1520,934066,900710},5961 => {1520,934033,669249},1328 => {1520,933811,427135},4351 => {1520,933956,389314},8373 => {1520,934149,450972},6749 => {1520,934071,495801},9406 => {1520,934200,877569},8441 => {1520,934152,714763},6570 => {1520,934062,926603},6074 => {1520,934039,180128},3590 => {1520,933919,904959},7636 => {1520,934114,77014},5934 => {1520,934032,377388},4631 => {1520,933969,829180},1935 => {1520,933840,423327},8406 => {1520,934151,47947},9860 => {1520,934221,13864},3742 => {1520,933927,263743},9221 => {1520,934190,153975},4969 => {1520,933986,57338},9846 => {1520,934220,412860},3216 => {1520,933902,38075},2992 => {1520,933891,375465},4395 => {1520,933958,522406},6546 => {1520,934061,750736},7109 => {1520,934088,773858},7738 => {1520,934118,965855},1792 => {1520,933833,600075},2339 => {1520,933859,818643},4380 => {1520,933957,782321},9697 => {1520,934213,150668},3212 => {1520,933901,879286},3091 => {1520,933896,109126},3521 => {1520,933916,631816},9091 => {1520,934183,915299},6330 => {1520,934051,483602},6415 => {1520,934055,466880},3079 => {1520,933895,512492},3184 => {1520,933900,564267},8243 => {1520,934143,225820},5075 => {1520,933991,144693},417 => {1520,933767,559471},3052 => {1520,933894,143176},513 => {1520,933772,355341},2633 => {1520,933873,930093},263 => {1520,933760,167778},8854 => {1520,934172,535699},6459 => {1520,934057,600514},525 => {1520,933772,872504},3951 => {1520,933937,206710},5572 => {1520,934015,3714},2380 => {1520,933861,781800},2528 => {1520,933868,894591},9362 => {1520,934200,529302},3883 => {1520,933933,981010},1013 => {1520,933796,331735},4193 => {1520,933948,811755},475 => {1520,933770,348084},3424 => {1520,933911,998413},500 => {1520,933771,743933},5673 => {1520,934019,851944},105 => {1520,933752,582189},4498 => {1520,933963,445677},8832 => {1520,934171,480867},8468 => {1520,934154,8853},8527 => {1520,934156,839254},9704 => {1520,934213,421542},3510 => {1520,933916,110283},8596 => {1520,934160,154072},8158 => {...},...}}}],...},...]}
09:46:17.798 [error] [ API ] <0.9188.0> Benchmark result: FAILED 2 of 200 workers failed
09:46:17.931 [error] [ API ] <0.9147.0> Stage 'pipeline - running': failed Benchmark has failed on running with reason: {benchmark_failed,{workers_failed,2}} Stacktrace: [{mzb_pipeline,error,2, [{file,"/mzbench/server/_build/default/deps/mzbench_api/src/mzb_pipeline.erl"}, {line,90}]}, {mzb_pipeline,'-handle_cast/2-fun-0-',6, [{file,"/mzbench/server/_build/default/deps/mzbench_api/src/mzb_pipeline.erl"}, {line,172}]}]
09:46:21.321 [error] [ API ] <0.9808.0> [ REMOTE EXEC ] Command execution failed: Cmd: bash -c -l "export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'; kill -9 "stdin: is not a tty\n10715"; true " Exit code: 1 Output: stdin: is not a tty is: line 0: kill: stdin:: arguments must be process or job IDs
09:46:21.323 [error] [ API ] <0.9147.0> Stage 'finalize - cleaning_nodes': failed Command returned 1: bash -c -l "export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'; kill -9 "stdin: is not a tty\n10715"; true " Command output: stdin: is not a tty is: line 0: kill: stdin:: arguments must be process or job IDs