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

RTT deadline can cause run time-outs #1422

Closed
mfeit-internet2 opened this issue Mar 20, 2024 · 1 comment
Closed

RTT deadline can cause run time-outs #1422

mfeit-internet2 opened this issue Mar 20, 2024 · 1 comment

Comments

@mfeit-internet2
Copy link
Member

Observed that rtt isn't calculating the deadline into the run duration:

pscheduler task rtt --dest 10.0.0.1 --deadline PT20S
Submitting task...
Task URL:
https://tester/pscheduler/tasks/5cc43c85-bfd9-4327-b7a7-c81c0e062533
Running with tool 'ping'
Fetching first run...

Next scheduled run:
https://tester/pscheduler/tasks/5cc43c85-bfd9-4327-b7a7-c81c0e062533/runs/33ce0eed-e474-4a39-97d1-4c707c3dc261
Starts 2024-03-20T20:06:00+00:00 (~2 seconds)
Ends   2024-03-20T20:06:11+00:00 (~10 seconds)
Waiting for result...

Run failed.

Limit system diagnostics for this run:
  No limits were applied

Error from tester:
  Process took too long to run.

Diagnostics from tester:
  ping -n -c 5 -i 1.0 -w 20.0 -W 1.0 10.0.0.1
@mfeit-internet2
Copy link
Member Author

Release Notes:

The ping tool plugin has been modified to handle deadlines properly and to make better use of the tool's output.

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

1 participant