This issue is about the job iperf job which can be found in: externals_jobs/stable_jobs/transport/iperf.
This job has an interval parameter, which is used to set the interval between each generation of metrics by the underlying iperf2 command line tool. But when I use it, lets say interval=3, it rather create an openbach job that is rescheduled every 3 seconds after the beginning of the first run. This create in fact an indefinitely running job. I guess, this wasn't the intention behind this 'interval' parameter of the iperf job.
The iperf3 job has a similar parameter, which is named metrics-interval. This is on the one hand much more precise from a semantic point of view, and on the other hand to does exactly what it should, which is to call the iperf3 command line tool with the '-i --interval' parameter.
Maybe the interval parameter of the iperf2 job should be renamed to metrics-interval also?
[Steps to Reproduce the erroneous behavior]
Create a python script with the following content and execute it. It will create never ending iperf2 jobs.
You’re perfectly right, we changed the interval argument in iperf3 back in june 2020 for the exact same reason and forgot to do it with iperf2 ever since.
This issue is about the job
iperf
job which can be found in:externals_jobs/stable_jobs/transport/iperf
.This job has an
interval
parameter, which is used to set the interval between each generation of metrics by the underlying iperf2 command line tool. But when I use it, lets sayinterval=3
, it rather create an openbach job that is rescheduled every 3 seconds after the beginning of the first run. This create in fact an indefinitely running job. I guess, this wasn't the intention behind this 'interval' parameter of the iperf job.The iperf3 job has a similar parameter, which is named
metrics-interval
. This is on the one hand much more precise from a semantic point of view, and on the other hand to does exactly what it should, which is to call the iperf3 command line tool with the '-i --interval' parameter.Maybe the
interval
parameter of the iperf2 job should be renamed tometrics-interval
also?[Steps to Reproduce the erroneous behavior] Create a python script with the following content and execute it. It will create never ending iperf2 jobs.