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

[BUG] pbench-uperf run fails with port 20000 open in the firewall because it starts with 20010 #2968

Closed
1 task done
ndokos opened this issue Aug 10, 2022 · 2 comments · Fixed by #2969
Closed
1 task done
Assignees
Labels
Agent bug uperf pbench-uperf benchmark related
Milestone

Comments

@ndokos
Copy link
Member

ndokos commented Aug 10, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Description

pbench-uperf is supposed to start with port 20000 for the first server and then go up with an increment of 10 for each subsequent pair. Instead, it starts with 20010.

To Reproduce

I opened port 20000 (on both client and server hosts) and ran

pbench-uperf --samples=1 --clients=${UPERF_CLIENTS} --servers=${UPERF_SERVERS} --test-types=stream,maerts,bidirec,rr --instances=8 --protocols=tcp,udp --runtime=30 --message-sizes=16384

Actual Results

# cd ${pbench_run_dir{
# cat */sample1/client\:\:dhcp31-125-server\:\:dhcp31-106\:20010--client_output.txt
Error getting SSL CTX:1
Allocating shared memory of size 162984 bytes
Error connecting to dhcp31-106

** TCP: Cannot connect to dhcp31-106:20010 No route to host
Error getting SSL CTX:1
Allocating shared memory of size 159592 bytes
Error connecting to dhcp31-106

** TCP: Cannot connect to dhcp31-106:20010 No route to host
Error getting SSL CTX:1
Allocating shared memory of size 159592 bytes
Error connecting to dhcp31-106

...

Note the port number.

Expected Results

No errors.

Additional information

The bug is that we set $server_nr=1 before the loop in bench-scripts/pbench-uperf:L613. We should be starting at 0.

@ndokos ndokos added bug Agent uperf pbench-uperf benchmark related labels Aug 10, 2022
@ndokos ndokos added this to the v0.72 milestone Aug 10, 2022
@portante
Copy link
Member

Not worth changing the actual behavior, we should fix the documentation to describe the current behavior.

@ndokos
Copy link
Member Author

ndokos commented Aug 11, 2022

I'll fix the doc. In addition, the doc needs to mention that the local ports on each system need to be open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agent bug uperf pbench-uperf benchmark related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants