internet-equity / nm-exp-active-netrics

Netrics - Active Measurements of Internet Performance
Apache License 2.0
12 stars 7 forks source link

error last_mile_latency #85

Closed ggmartins closed 2 years ago

ggmartins commented 2 years ago

This error is crashing netrics preventing all other tests to run.

--- NETWORK MEASUREMENTS ---
Traceback (most recent call last):
File "./src/netrics.py", line 334, in <module>
output['last_mile_rtt'] = test.last_mile_latency('last_mile_rtt', args.last_mile_rtt)
File "/usr/local/src/nm-exp-active-netrics/src/netrics/netson.py", line 508, in last_mile_latency
res.sort()
UnboundLocalError: local variable 'res' referenced before assignment
tarunmangla commented 2 years ago

I believe this should work.

We may eventually also want to fix the parsing logic causing this issue. @ggmartins do you know which device is facing this error? We can look at the raw logs to figure out what is causing it.

ggmartins commented 2 years ago

3db3