I have configured a netwatch test block to call a script which gets lte interface stats. It was working fine on ROS 7.7 stable, but after upgrade to ROS 7.8rc1 it fails when is called by netwatch.
Similarly, it doesn't work when called by scheduler.
If i call it manually, then script completes without problems.
UPD 230315 the real cause of issue was use of "numbers=0" instead of interface name. While interface number is still zero, script started to work again only after changing "numbers=0" to interface name "lte1".
UPD 230228 Issue persists on ROS 7.8 stable. Will downgrade.
Netwatch.OnTest:
Code: Select all
/system script run nwatch-ltestats;
nwatch-ltestats: Don't require permissions checked +(read, test, sniff)
Code: Select all
:log debug ("<trace> <ignore> passes this point");
/int lte monitor numbers=0 duration=1 once do={
:local lteuptime $"session-uptime";
:log debug ("<trace> (...\
uptime:$lteuptime;\
...)"\
);
}
:log debug ("<trace> <ignore> reaches this point only if called manually");