Notification about result of first measurement does not reach frontend
Notification about result of first measurement run ({'async_id': 'someid', 'passed': true}
) does not reach frontend through WS.
However the second and any additional measurement will successfully send the "end of measurement" notification.
Example run
===================== message recieved for 'foris-controller/0000000B00007B3C/request/librespeed/action/measure' =====================
{
"reply_msg_id": "96720bea-1237-4d5f-ae3c-2b95e8d8caf1"
}
======================================================================================================================================
===================== message recieved for 'foris-controller/0000000B00007B3C/reply/96720bea-1237-4d5f-ae3c-2b95e8d8caf1' =====================
{
"kind": "reply",
"module": "librespeed",
"action": "measure",
"data": {
"async_id": "1d80efe569b5174f"
}
}
===============================================================================================================================================
===================== message recieved for 'foris-controller/0000000B00007B3C/reply/96720bea-1237-4d5f-ae3c-2b95e8d8caf1' =====================
b''
===============================================================================================================================================
===================== message recieved for 'foris-controller/0000000B00007B3C/request/librespeed/action/measure' =====================
{
"reply_msg_id": "3dbc088c-7363-4a63-aacd-0fe9908491be"
}
======================================================================================================================================
===================== message recieved for 'foris-controller/0000000B00007B3C/reply/3dbc088c-7363-4a63-aacd-0fe9908491be' =====================
{
"kind": "reply",
"module": "librespeed",
"action": "measure",
"data": {
"async_id": "2e3ef465c6f3398d"
}
}
===============================================================================================================================================
===================== message recieved for 'foris-controller/0000000B00007B3C/reply/3dbc088c-7363-4a63-aacd-0fe9908491be' =====================
b''
===============================================================================================================================================
===================== message recieved for 'foris-controller/0000000B00007B3C/notification/librespeed/action/measure' =====================
{
"module": "librespeed",
"kind": "notification",
"action": "measure",
"data": {
"async_id": "2e3ef465c6f3398d",
"passed": true
}
}
Good way to reproduce this issue is to run librespeed measurement soon after TOS boot.
I am not completely sure whether foris-controller module is the culprit here, so feel free to move this issue elsewhere.