Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wjdq opened this issue Oct 17, 2017 · 3 comments
Closed

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

wjdq opened this issue Oct 17, 2017 · 3 comments

Comments

@wjdq
Copy link

wjdq commented Oct 17, 2017

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
Copy link
Author

wjdq commented Oct 17, 2017

any help? T.T

@wjdq
Copy link
Author

wjdq commented Oct 17, 2017

image

@wjdq
Copy link
Author

wjdq commented Oct 17, 2017

i think i know that thx

@wjdq wjdq closed this as completed Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant