sendpkts scapy command is timing out
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
High
|
Vedamurthy Joshi | |||
R4.0 |
Fix Committed
|
High
|
Vedamurthy Joshi | |||
R4.1 |
Fix Committed
|
High
|
Vedamurthy Joshi | |||
Trunk |
Fix Committed
|
High
|
Vedamurthy Joshi |
Bug Description
At times, sendpkts command is timing out and causes the script to fail as seen in
http://
tcutils.
2017-09-19 03:00:28,822 - DEBUG - sendpkts --name sendudp_761223_3 --stop
2017-09-19 03:01:09,656 - DEBUG - Running remote_cmd, Cmd : recvpkts --name recvudp_761223_3 --stop, host_string: ubuntu@169.254.0.6, password: Nonegateway: root@10.204.216.99, gateway password: c0ntrail123
2017-09-19 03:01:09,802 - DEBUG - recvpkts --name recvudp_761223_3 --stop
2017-09-19 03:02:15,931 - ERROR - Unable to run command sendpkts --name sendudp_689772_1 --stop: Command failed to finish in 120 seconds
Traceback (most recent call last):
File "tcutils/
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/
return func(*args, **kwargs)
File "/usr/local/
capture_
File "/usr/local/
capture_
File "/usr/local/
worker.
File "/usr/local/
callable(*args, **kwargs)
File "/usr/local/
OutputLoope
File "/usr/local/
raise CommandTimeout(
CommandTimeout: Command failed to finish in 120 seconds
Need setup in that state.