vernemq / vmq_mzbench

An MQTT loadtest and usage scenario tool for VerneMQ and other MQTT systems.
Apache License 2.0
42 stars 45 forks source link

why I got this error with Mzbench loadtest VerneMQ on my mac #16

Closed wjdq closed 6 years ago

wjdq commented 6 years ago

I run Mzbench with docker

06:22:26.399 [error] [ API ] <0.1566.0> [ REMOTE EXEC ] Command execution failed: Cmd: bash -c -l "export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'; mkdir -p /tmp/bench_mzbench_api_38e317a3ee43_1508_221346_107204 && cd /tmp/bench_mzbench_api_38e317a3ee43_1508_221346_107204 && rsync -aW /Users/wangdong28/code/github/vmq_mzbench/ deployment_code && cd deployment_code/ && make generate_tgz && mv *.tgz /tmp/bench_mzbench_api_38e317a3ee43_1508_221346_107086.tgz " Exit code: 23 Output: rsync: change_dir "/Users/wangdong28/code/github/vmq_mzbench" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]

06:22:26.565 [error] [ API ] <0.1553.0> Stage 'pipeline - provisioning': failed Command returned 23: bash -c -l "export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'; mkdir -p /tmp/bench_mzbench_api_38e317a3ee43_1508_221346_107204 && cd /tmp/bench_mzbench_api_38e317a3ee43_1508_221346_107204 && rsync -aW /Users/wangdong28/code/github/vmq_mzbench/ deployment_code && cd deployment_code/ && make generate_tgz && mv *.tgz /tmp/bench_mzbench_api_38e317a3ee43_1508_221346_107086.tgz " Command output: rsync: change_dir "/Users/wangdong28/code/github/vmq_mzbench" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]

here is my scenario

!benchDL

the simplest example

make_install(rsync = "/Users/wangdong28/code/github/vmq_mzbench/", exclude = "deps")

pool(size = 1, worker_type = mqtt_worker):

        connect([t(host, "10.4.235.162"),
                t(port,1883),
                t(client,"subscriber1"),
                t(clean_session,true),
                t(keepalive_interval,60),
                t(proto_version,4), t(reconnect_timeout,4)
                ])

        wait(1 sec)
        subscribe("prefix/clients/#", 0)

pool(size = 1000, worker_type = mqtt_worker, worker_start = poisson(1000 rps)):

        connect([t(host, "10.4.235.162"),
                t(port,1883),
                t(client,fixed_client_id("pool1", worker_id())),
                t(clean_session,true),
                t(keepalive_interval,60),
                t(proto_version,4), t(reconnect_timeout,4)
                ])

        set_signal(connect1, 1)
        wait_signal(connect1, 1000)
        wait(4 sec)
        loop(time = 5 min, rate = 1 rps):
            publish_to_self("prefix/clients/", random_binary(150), 0)
        disconnect()
wjdq commented 6 years ago

any help? T.T

wjdq commented 6 years ago

image

wjdq commented 6 years ago

i think i know that thx