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

missleading error message for iperf2 test #1358

Closed
bltierney opened this issue Oct 17, 2023 · 3 comments
Closed

missleading error message for iperf2 test #1358

bltierney opened this issue Oct 17, 2023 · 3 comments
Assignees

Comments

@bltierney
Copy link
Contributor

This works fine:
pscheduler task --tool iperf2 throughput --dest hostname

But this gives an error:
pscheduler task --tool iperf2 throughput --mss 4096 --dest hostname
Failed to post task: Unable to complete request: No tool in common among the participants:

That error message is very misleading. I'm guessing the iperf2 arg parsing code does not include -M ?

Also, iperf2 supports -mss same as iperf3 with the same "-M" flag, so the no reason the test should fail.

@mfeit-internet2
Copy link
Member

The message might be unclear, but it isn't misleading. It means that none of the tool plugins on any of the hosts involved said they could run the test as specified.

Whoever wrote the iperf2 plugin didn't make it understand the mss parameter, either because uperf2 didn't support it at the time or because of an oversight.

I'll put this in the pipeline for 5.1.

@bltierney
Copy link
Contributor Author

to me a better error message for this situation would be:
Failed to post task: Unable to complete request: No tool in common among the participants, or tool args not supported

@mfeit-internet2
Copy link
Member

#384 fixes this.

@github-project-automation github-project-automation bot moved this from In Review to Done in perfSONAR Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants