Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 1 | #Copyright 2017-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | *** Settings *** |
| 16 | Documentation This test raises alarms using bbsimctl and verifies them using voltctl |
| 17 | Suite Setup Setup Suite |
| 18 | Suite Teardown Teardown Suite |
| 19 | Library Collections |
| 20 | Library String |
| 21 | Library OperatingSystem |
| 22 | Library XML |
| 23 | Library RequestsLibrary |
| 24 | Library ../../libraries/DependencyLibrary.py |
| 25 | Resource ../../libraries/onos.robot |
| 26 | Resource ../../libraries/voltctl.robot |
| 27 | Resource ../../libraries/utils.robot |
| 28 | Resource ../../libraries/k8s.robot |
| 29 | Resource ../../variables/variables.robot |
| 30 | |
| 31 | *** Variables *** |
| 32 | ${timeout} 60s |
| 33 | ${long_timeout} 420s |
| 34 | ${of_id} 0 |
| 35 | ${logical_id} 0 |
| 36 | ${has_dataplane} True |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 37 | ${setup_device} True |
| 38 | ${teardown_device} True |
| 39 | ${VOLTCTL_NAMESPACE} default |
| 40 | ${BBSIMCTL_NAMESPACE} voltha |
| 41 | ${VOLTCTL_POD_NAME} voltctl |
| 42 | ${BBSIMCTL_POD_NAME} bbsim |
| 43 | |
| 44 | *** Test Cases *** |
| 45 | Ensure required pods Running |
| 46 | [Documentation] Ensure the bbsim and voltctl pods are in Running state |
| 47 | [Tags] active |
| 48 | Validate Pod Status ${BBSIMCTL_POD_NAME} ${BBSIMCTL_NAMESPACE} Running |
| 49 | Validate Pod Status ${VOLTCTL_POD_NAME} ${VOLTCTL_NAMESPACE} Running |
| 50 | |
| 51 | ONU Discovery |
| 52 | [Documentation] Discover lists of ONUS, their Serial Numbers and device id, and pick one for subsequent tests |
| 53 | [Tags] active |
| 54 | #build onu sn list |
| 55 | ${List_ONU_Serial} Create List |
| 56 | Set Suite Variable ${List_ONU_Serial} |
| 57 | Build ONU SN List ${List_ONU_Serial} |
| 58 | Log ${List_ONU_Serial} |
| 59 | #validate onu states |
| 60 | Wait Until Keyword Succeeds ${long_timeout} 20s |
| 61 | ... Validate ONU Devices ENABLED ACTIVE REACHABLE ${List_ONU_Serial} |
| 62 | # Pick an ONU to use for subsequent test cases |
| 63 | ${onu_sn} Set Variable ${List_ONU_Serial}[0] |
| 64 | Set Suite Variable ${onu_sn} |
| 65 | ${onu_id} Get Device ID From SN ${onu_sn} |
| 66 | Set Suite Variable ${onu_id} |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 67 | ${parent_id} Get Parent ID From Device ID ${onu_id} |
| 68 | Set Suite Variable ${parent_id} |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 69 | |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 70 | Test RaiseDriftOfWindowAlarm |
| 71 | [Documentation] Raise Drift Of Window Alarm and verify event received |
| 72 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 73 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_DRIFT_OF_WINDOW |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 74 | ... ${onu_sn} ONU_DRIFT_OF_WINDOW_RAISE_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 75 | Verify Header ${header} Voltha.openolt.ONU_DRIFT_OF_WINDOW\.(\\d+) ONU |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 76 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_DRIFT_OF_WINDOW_RAISE_EVENT |
| 77 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 78 | |
| 79 | Test ClearDriftOfWindowAlarm |
| 80 | [Documentation] Clear Drift Of Window Alarm and verify event received |
| 81 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 82 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_DRIFT_OF_WINDOW |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 83 | ... ${onu_sn} ONU_DRIFT_OF_WINDOW_CLEAR_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 84 | Verify Header ${header} Voltha.openolt.ONU_DRIFT_OF_WINDOW\.(\\d+) ONU |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 85 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_DRIFT_OF_WINDOW_CLEAR_EVENT |
| 86 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 87 | |
| 88 | Test RaiseDyingGaspAlarm |
| 89 | [Documentation] Raise Dying Gasp Alarm and verify event received |
| 90 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 91 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event DYING_GASP |
Scott Baker | ee67555 | 2020-02-11 10:43:34 -0800 | [diff] [blame] | 92 | ... ${onu_sn} ONU_DYING_GASP_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 93 | Verify Header ${header} Voltha.openolt.ONU_DYING\.(\\d+) ONU |
Scott Baker | ee67555 | 2020-02-11 10:43:34 -0800 | [diff] [blame] | 94 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_DYING_GASP_EVENT |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 95 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 96 | |
| 97 | Test RaiseLopcMissAlarm |
| 98 | [Documentation] Raise LOPC_MISS Alarm and verify event received |
| 99 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 100 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_ALARM_LOPC_MISS |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 101 | ... ${onu_sn} ONU_LOPC_MISS_RAISE_EVENT |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 102 | Verify Header ${header} Voltha.openolt.ONU_LOPC_MISS\.(\\d+) ONU |
| 103 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOPC_MISS_RAISE_EVENT |
| 104 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 105 | |
| 106 | Test ClearLopcMissAlarm |
| 107 | [Documentation] Clear LOPC_MISS Alarm and verify event received |
| 108 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 109 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_ALARM_LOPC_MISS |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 110 | ... ${onu_sn} ONU_LOPC_MISS_CLEAR_EVENT |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 111 | Verify Header ${header} Voltha.openolt.ONU_LOPC_MISS\.(\\d+) ONU |
| 112 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOPC_MISS_CLEAR_EVENT |
| 113 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 114 | |
| 115 | Test RaiseLopcMicErrorAlarm |
| 116 | [Documentation] Raise LOPC_MISS Alarm and verify event received |
| 117 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 118 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_ALARM_LOPC_MIC_ERROR |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 119 | ... ${onu_sn} ONU_LOPC_MIC_ERROR_RAISE_EVENT |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 120 | Verify Header ${header} Voltha.openolt.ONU_LOPC_MIC_ERROR\.(\\d+) ONU |
| 121 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOPC_MIC_ERROR_RAISE_EVENT |
| 122 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 123 | |
| 124 | Test ClearLopcMicErrorAlarm |
| 125 | [Documentation] Clear LOPC_MISS Alarm and verify event received |
| 126 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 127 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_ALARM_LOPC_MIC_ERROR |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 128 | ... ${onu_sn} ONU_LOPC_MIC_ERROR_CLEAR_EVENT |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 129 | Verify Header ${header} Voltha.openolt.ONU_LOPC_MIC_ERROR\.(\\d+) ONU |
| 130 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOPC_MIC_ERROR_CLEAR_EVENT |
| 131 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 132 | |
| 133 | Test RaiseLossOfBurstAlarm |
| 134 | [Documentation] Raise Loss Of Burst Alarm and verify event received |
| 135 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 136 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_ALARM_LOB |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 137 | ... ${onu_sn} ONU_LOSS_OF_BURST_RAISE_EVENT |
| 138 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_BURST\.(\\d+) ONU |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 139 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_BURST_RAISE_EVENT |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 140 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 141 | |
| 142 | Test ClearLossOfBurstAlarm |
| 143 | [Documentation] Clear Loss Of Burst Alarm and verify event received |
| 144 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 145 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_ALARM_LOB |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 146 | ... ${onu_sn} ONU_LOSS_OF_BURST_CLEAR_EVENT |
| 147 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_BURST\.(\\d+) ONU |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 148 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_BURST_CLEAR_EVENT |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 149 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 150 | |
| 151 | Test RaiseLossOfFrameAlarm |
| 152 | [Documentation] Raise Loss Of Frame Alarm and verify event received |
| 153 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 154 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_ALARM_LOFI |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 155 | ... ${onu_sn} ONU_LOSS_OF_FRAME_RAISE_EVENT |
| 156 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_FRAME\.(\\d+) ONU |
| 157 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_FRAME_RAISE_EVENT |
| 158 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 159 | |
| 160 | Test ClearLossOfFrameAlarm |
| 161 | [Documentation] Clear Loss Of Frame Alarm and verify event received |
| 162 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 163 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_ALARM_LOFI |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 164 | ... ${onu_sn} ONU_LOSS_OF_FRAME_CLEAR_EVENT |
| 165 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_FRAME\.(\\d+) ONU |
| 166 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_FRAME_CLEAR_EVENT |
| 167 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 168 | |
| 169 | Test RaiseLossOfKeySyncFailureAlarm |
| 170 | [Documentation] Raise Loss Of Key Sync Alarm and verify event received |
| 171 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 172 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_LOSS_OF_KEY_SYNC_FAILURE |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 173 | ... ${onu_sn} ONU_LOSS_OF_KEY_SYNC_RAISE_EVENT |
| 174 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_KEY_SYNC\.(\\d+) ONU |
| 175 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_KEY_SYNC_RAISE_EVENT |
| 176 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 177 | |
| 178 | Test ClearLossOfKeySyncFailureAlarm |
| 179 | [Documentation] Clear Loss Of Key Sync Alarm and verify event received |
| 180 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 181 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_LOSS_OF_KEY_SYNC_FAILURE |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 182 | ... ${onu_sn} ONU_LOSS_OF_KEY_SYNC_CLEAR_EVENT |
| 183 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_KEY_SYNC\.(\\d+) ONU |
| 184 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_KEY_SYNC_CLEAR_EVENT |
| 185 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 186 | |
| 187 | Test RaiseLossOfOmciChannelAlarm |
| 188 | [Documentation] Raise Loss Of Omci Channel Alarm and verify event received |
| 189 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 190 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_LOSS_OF_OMCI_CHANNEL |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 191 | ... ${onu_sn} ONU_LOSS_OF_OMCI_CHANNEL_RAISE_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 192 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_OMCI_CHANNEL\.(\\d+) ONU |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 193 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_OMCI_CHANNEL_RAISE_EVENT |
| 194 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 195 | |
| 196 | Test ClearLossOfOmciChannelAlarm |
| 197 | [Documentation] Clear Loss Of Omci Channel Alarm and verify event received |
| 198 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 199 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_LOSS_OF_OMCI_CHANNEL |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 200 | ... ${onu_sn} ONU_LOSS_OF_OMCI_CHANNEL_CLEAR_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 201 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_OMCI_CHANNEL\.(\\d+) ONU |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 202 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_OMCI_CHANNEL_CLEAR_EVENT |
| 203 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 204 | |
| 205 | Test RaiseLossOfPloamAlarm |
| 206 | [Documentation] Raise Loss Of Ploam Alarm and verify event received |
| 207 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 208 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_ALARM_LOAMI |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 209 | ... ${onu_sn} ONU_LOSS_OF_PLOAM_RAISE_EVENT |
| 210 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_PLOAM\.(\\d+) ONU |
| 211 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_PLOAM_RAISE_EVENT |
| 212 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 213 | |
| 214 | Test ClearLossOfPloamAlarm |
| 215 | [Documentation] Clear Loss Of Ploam Alarm and verify event received |
| 216 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 217 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_ALARM_LOAMI |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 218 | ... ${onu_sn} ONU_LOSS_OF_PLOAM_CLEAR_EVENT |
| 219 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_PLOAM\.(\\d+) ONU |
| 220 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_PLOAM_CLEAR_EVENT |
| 221 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 222 | |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 223 | # NOTE: ONU_ALARM_LOS a bit touchy as it seems to be automatically suppressed if |
| 224 | # multiples are sent in a row. It seems like the bbsim state machine is interacting |
| 225 | # with alarms, sometimes causing an ONU_ALARM_LOS to be sent, which then causes |
| 226 | # this test to be a duplicate, which in turn is suppressed and fails. So what we |
| 227 | # do is issue a CLEAR right before the RAISE. |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 228 | Test RaiseLossOfSignalAlarm |
| 229 | [Documentation] Raise Loss Of Signal Alarm and verify event received |
| 230 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 231 | Clear Onu Alarm ONU_ALARM_LOS ${onu_sn} |
| 232 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_ALARM_LOS |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 233 | ... ${onu_sn} ONU_LOSS_OF_SIGNAL_RAISE_EVENT |
| 234 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_SIGNAL\.(\\d+) ONU |
| 235 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_SIGNAL_RAISE_EVENT |
| 236 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 237 | |
| 238 | Test ClearLossOfSignalAlarm |
| 239 | [Documentation] Clear Loss Of Signal Alarm and verify event received |
| 240 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 241 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_ALARM_LOS |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 242 | ... ${onu_sn} ONU_LOSS_OF_SIGNAL_CLEAR_EVENT |
| 243 | Verify Header ${header} Voltha.openolt.ONU_LOSS_OF_SIGNAL\.(\\d+) ONU |
| 244 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_LOSS_OF_SIGNAL_CLEAR_EVENT |
| 245 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 246 | |
| 247 | Test RaisePonLossOfSignalAlarm |
| 248 | [Documentation] Raise Loss Of Signal Alarm and verify event received |
| 249 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 250 | ${header} ${deviceEvent} Raise Olt Alarm And Get Event OLT_PON_LOS |
Scott Baker | ee03dd0 | 2020-03-12 11:48:06 -0700 | [diff] [blame] | 251 | ... 0 OLT_LOSS_OF_SIGNAL_RAISE_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 252 | Verify Header ${header} Voltha.openolt.OLT_LOSS_OF_SIGNAL\.(\\d+) PON |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 253 | Should Be Equal ${deviceEvent}[deviceEventName] OLT_LOSS_OF_SIGNAL_RAISE_EVENT |
| 254 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 255 | |
| 256 | Test ClearPonLossOfSignalAlarm |
| 257 | [Documentation] Clear Loss Of Signal Alarm and verify event received |
| 258 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 259 | ${header} ${deviceEvent} Clear Olt Alarm And Get Event OLT_PON_LOS |
Scott Baker | ee03dd0 | 2020-03-12 11:48:06 -0700 | [diff] [blame] | 260 | ... 0 OLT_LOSS_OF_SIGNAL_CLEAR_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 261 | Verify Header ${header} Voltha.openolt.OLT_LOSS_OF_SIGNAL\.(\\d+) PON |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 262 | Should Be Equal ${deviceEvent}[deviceEventName] OLT_LOSS_OF_SIGNAL_CLEAR_EVENT |
| 263 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 264 | |
| 265 | Test RaiseProcessingErrorAlarm |
| 266 | # Not Implemented |
| 267 | [Documentation] Raise Processing Error Alarm and verify event received |
| 268 | [Tags] not-active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 269 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_PROCESSING_ERROR |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 270 | ... ${onu_sn} ONU_PROCESSING_ERROR_RAISE_EVENT |
| 271 | Verify Header ${header} Voltha.openolt.ONU_PROCESSING_ERROR\.(\\d+) ONU |
| 272 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_PROCESSING_ERROR_RAISE_EVENT |
| 273 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 274 | |
| 275 | Test ClearProcessingErrorAlarm |
| 276 | # Not Implemented |
| 277 | [Documentation] Clear Processing Error Alarm and verify event received |
| 278 | [Tags] not-active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 279 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_PROCESSING_ERROR |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 280 | ... ${onu_sn} ONU_PROCESSING_ERROR_CLEAR_EVENT |
| 281 | Verify Header ${header} Voltha.openolt.ONU_PROCESSING_ERROR\.(\\d+) ONU |
| 282 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_PROCESSING_ERROR_CLEAR_EVENT |
| 283 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 284 | |
| 285 | Test RaiseSignalDegradeAlarm |
| 286 | [Documentation] Raise Signal Degrade Alarm and verify event received |
| 287 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 288 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_SIGNAL_DEGRADE |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 289 | ... ${onu_sn} ONU_SIGNAL_DEGRADE_RAISE_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 290 | Verify Header ${header} Voltha.openolt.ONU_SIGNAL_DEGRADE\.(\\d+) ONU |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 291 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_SIGNAL_DEGRADE_RAISE_EVENT |
| 292 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 293 | |
| 294 | Test ClearSignalDegradeAlarm |
| 295 | [Documentation] Clear Signal Degrade Alarm and verify event received |
| 296 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 297 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_SIGNAL_DEGRADE |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 298 | ... ${onu_sn} ONU_SIGNAL_DEGRADE_CLEAR_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 299 | Verify Header ${header} Voltha.openolt.ONU_SIGNAL_DEGRADE\.(\\d+) ONU |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 300 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_SIGNAL_DEGRADE_CLEAR_EVENT |
| 301 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 302 | |
| 303 | Test RaiseSignalsFailureAlarm |
| 304 | [Documentation] Raise Signals Fail Alarm and verify event received |
| 305 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 306 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_SIGNALS_FAILURE |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 307 | ... ${onu_sn} ONU_SIGNALS_FAIL_RAISE_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 308 | Verify Header ${header} Voltha.openolt.ONU_SIGNALS_FAIL\.(\\d+) ONU |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 309 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_SIGNALS_FAIL_RAISE_EVENT |
| 310 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 311 | |
| 312 | Test ClearSignalsFailureAlarm |
| 313 | [Documentation] Clear Signals Fail Alarm and verify event received |
| 314 | [Tags] active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 315 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_SIGNALS_FAILURE |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 316 | ... ${onu_sn} ONU_SIGNALS_FAIL_CLEAR_EVENT |
Andrea Campanella | ff8abb2 | 2021-02-22 16:00:40 +0100 | [diff] [blame] | 317 | Verify Header ${header} Voltha.openolt.ONU_SIGNALS_FAIL\.(\\d+) ONU |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 318 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_SIGNALS_FAIL_CLEAR_EVENT |
| 319 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 320 | |
| 321 | Test RaiseStartupFailureAlarm |
| 322 | # Not Implemented |
| 323 | [Documentation] Raise Startup Failure Alarm and verify event received |
| 324 | [Tags] not-active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 325 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_STARTUP_FAILURE |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 326 | ... ${onu_sn} ONU_STARTUP_FAILURE_RAISE_EVENT |
| 327 | Verify Header ${header} Voltha.openolt.ONU_STARTUP_FAILURE\.(\\d+) ONU |
| 328 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_STARTUP_FAILURE_RAISE_EVENT |
| 329 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 330 | |
| 331 | Test ClearStartupFailureAlarm |
| 332 | # Not Implemented |
| 333 | [Documentation] Clear Startup Failure Alarm and verify event received |
| 334 | [Tags] not-active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 335 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_STARTUP_FAILURE |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 336 | ... ${onu_sn} ONU_STARTUP_FAILURE_CLEAR_EVENT |
| 337 | Verify Header ${header} Voltha.openolt.ONU_STARTUP_FAILURE\.(\\d+) ONU |
| 338 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_STARTUP_FAILURE_CLEAR_EVENT |
| 339 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 340 | |
| 341 | Test RaiseTransmissionInterferenceAlarm |
| 342 | # Not Implemented |
| 343 | [Documentation] Raise Transmission Interference Alarm and verify event received |
| 344 | [Tags] not-active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 345 | ${header} ${deviceEvent} Raise Onu Alarm And Get Event ONU_TRANSMISSION_INTERFERENCE_WARNING |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 346 | ... ${onu_sn} ONU_TRANSMISSION_INTERFERENCE_RAISE_EVENT |
| 347 | Verify Header ${header} Voltha.openolt.ONU_TRANSMISSION_INTERFERENCE\.(\\d+) ONU |
| 348 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_TRANSMISSION_INTERFERENCE_RAISE_EVENT |
| 349 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 350 | |
| 351 | Test ClearTransmissionInterferenceAlarm |
| 352 | # Not Implemented |
| 353 | [Documentation] Clear Transmission Interference Alarm and verify event received |
| 354 | [Tags] not-active |
Scott Baker | e784000 | 2020-03-23 16:50:27 -0700 | [diff] [blame] | 355 | ${header} ${deviceEvent} Clear Onu Alarm And Get Event ONU_TRANSMISSION_INTERFERENCE_WARNING |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 356 | ... ${onu_sn} ONU_TRANSMISSION_INTERFERENCE_CLEAR_EVENT |
| 357 | Verify Header ${header} Voltha.openolt.ONU_TRANSMISSION_INTERFERENCE\.(\\d+) ONU |
| 358 | Should Be Equal ${deviceEvent}[deviceEventName] ONU_TRANSMISSION_INTERFERENCE_CLEAR_EVENT |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 359 | Should Be Equal ${deviceEvent}[resourceId] ${parent_id} |
| 360 | |
| 361 | *** Keywords *** |
| 362 | Setup Suite |
| 363 | [Documentation] Set up the test suite |
| 364 | Common Test Suite Setup |
| 365 | # Ensure the voltctl pod is deployed and running |
| 366 | Apply Kubernetes Resources ./voltctl.yaml ${VOLTCTL_NAMESPACE} |
| 367 | Wait Until Keyword Succeeds ${timeout} 5s |
| 368 | ... Validate Pod Status ${VOLTCTL_POD_NAME} ${VOLTCTL_NAMESPACE} Running |
| 369 | # Call Setup keyword in utils library to create and enable device |
| 370 | Run Keyword If ${setup_device} Setup |
| 371 | |
| 372 | Teardown Suite |
| 373 | [Documentation] Clean up devices if desired |
| 374 | ... kills processes and cleans up interfaces on src+dst servers |
ubuntu | 6b6e7d4 | 2020-03-02 12:35:42 -0800 | [diff] [blame] | 375 | Get ONOS Status ${ONOS_SSH_IP} ${ONOS_SSH_PORT} |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 376 | Run Keyword If ${has_dataplane} Clean Up Linux |
Suchitra Vemuri | f8462be | 2020-11-05 13:38:42 -0800 | [diff] [blame] | 377 | Run Keyword If ${teardown_device} Delete All Devices and Verify |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 378 | Run Keyword If ${teardown_device} Test Empty Device List |
TorstenThieme | 4e2168e | 2021-06-22 14:01:47 +0000 | [diff] [blame] | 379 | Run Keyword If ${teardown_device} Execute ONOS CLI Command use single connection ${ONOS_SSH_IP} ${ONOS_SSH_PORT} |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 380 | ... device-remove ${of_id} |
TorstenThieme | 4e2168e | 2021-06-22 14:01:47 +0000 | [diff] [blame] | 381 | Close All ONOS SSH Connections |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 382 | |
Scott Baker | ee03dd0 | 2020-03-12 11:48:06 -0700 | [diff] [blame] | 383 | # Onu Alarms |
| 384 | |
| 385 | Raise Onu Alarm And Get Event |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 386 | [Documentation] Raise an Alarm and return event |
| 387 | [Arguments] ${name} ${sn} ${deviceEventName} |
| 388 | ${since} Get Current Time |
Scott Baker | ee03dd0 | 2020-03-12 11:48:06 -0700 | [diff] [blame] | 389 | Raise Onu Alarm ${name} ${sn} |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 390 | ${header} ${deviceEvent} Get Device Event ${deviceEventName} ${since} |
Scott Baker | ee67555 | 2020-02-11 10:43:34 -0800 | [diff] [blame] | 391 | ${LastEventPostTimestamp} Set Variable ${since} |
| 392 | Set Suite Variable ${LastEventPostTimestamp} |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 393 | [return] ${header} ${deviceEvent} |
| 394 | |
Scott Baker | ee03dd0 | 2020-03-12 11:48:06 -0700 | [diff] [blame] | 395 | Clear Onu Alarm And Get Event |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 396 | [Documentation] Clear an Alarm and return event |
| 397 | [Arguments] ${name} ${sn} ${deviceEventName} |
| 398 | ${since} Get Current Time |
Scott Baker | ee03dd0 | 2020-03-12 11:48:06 -0700 | [diff] [blame] | 399 | Clear Onu Alarm ${name} ${sn} |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 400 | ${header} ${deviceEvent} Get Device Event ${deviceEventName} ${since} |
Scott Baker | ee67555 | 2020-02-11 10:43:34 -0800 | [diff] [blame] | 401 | ${LastEventPostTimestamp} Set Variable ${since} |
| 402 | Set Suite Variable ${LastEventPostTimestamp} |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 403 | [return] ${header} ${deviceEvent} |
| 404 | |
Scott Baker | ee03dd0 | 2020-03-12 11:48:06 -0700 | [diff] [blame] | 405 | Raise Onu Alarm |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 406 | [Documentation] Raise an Alarm |
| 407 | [Arguments] ${name} ${sn} |
Andy Bavier | b63f6d2 | 2020-03-12 15:34:37 -0700 | [diff] [blame] | 408 | ${raiseOutput} Exec Pod ${BBSIMCTL_NAMESPACE} ${BBSIMCTL_POD_NAME} |
| 409 | ... bbsimctl onu alarms raise ${name} ${sn} |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 410 | Should Contain ${raiseOutput} Alarm Indication Sent |
| 411 | |
Scott Baker | ee03dd0 | 2020-03-12 11:48:06 -0700 | [diff] [blame] | 412 | Clear Onu Alarm |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 413 | [Documentation] Raise an Alarm |
| 414 | [Arguments] ${name} ${sn} |
Andy Bavier | b63f6d2 | 2020-03-12 15:34:37 -0700 | [diff] [blame] | 415 | ${raiseOutput} Exec Pod ${BBSIMCTL_NAMESPACE} ${BBSIMCTL_POD_NAME} |
| 416 | ... bbsimctl onu alarms clear ${name} ${sn} |
Scott Baker | ee03dd0 | 2020-03-12 11:48:06 -0700 | [diff] [blame] | 417 | Should Contain ${raiseOutput} Alarm Indication Sent |
| 418 | |
| 419 | # Olt Alarms |
| 420 | |
| 421 | Raise Olt Alarm And Get Event |
| 422 | [Documentation] Raise an Alarm and return event |
| 423 | [Arguments] ${name} ${intf_id} ${deviceEventName} |
| 424 | ${since} Get Current Time |
| 425 | Raise Olt Alarm ${name} ${intf_id} |
| 426 | ${header} ${deviceEvent} Get Device Event ${deviceEventName} ${since} |
| 427 | ${LastEventPostTimestamp} Set Variable ${since} |
| 428 | Set Suite Variable ${LastEventPostTimestamp} |
| 429 | [return] ${header} ${deviceEvent} |
| 430 | |
| 431 | Clear Olt Alarm And Get Event |
| 432 | [Documentation] Clear an Alarm and return event |
| 433 | [Arguments] ${name} ${intf_id} ${deviceEventName} |
| 434 | ${since} Get Current Time |
| 435 | Clear Olt Alarm ${name} ${intf_id} |
| 436 | ${header} ${deviceEvent} Get Device Event ${deviceEventName} ${since} |
| 437 | ${LastEventPostTimestamp} Set Variable ${since} |
| 438 | Set Suite Variable ${LastEventPostTimestamp} |
| 439 | [return] ${header} ${deviceEvent} |
| 440 | |
| 441 | Raise Olt Alarm |
| 442 | [Documentation] Raise an Alarm |
| 443 | [Arguments] ${name} ${intf_id} |
Andy Bavier | b63f6d2 | 2020-03-12 15:34:37 -0700 | [diff] [blame] | 444 | ${raiseOutput} Exec Pod ${BBSIMCTL_NAMESPACE} ${BBSIMCTL_POD_NAME} |
| 445 | ... bbsimctl olt alarms raise ${name} ${intf_id} |
Scott Baker | ee03dd0 | 2020-03-12 11:48:06 -0700 | [diff] [blame] | 446 | Should Contain ${raiseOutput} Alarm Indication Sent |
| 447 | |
| 448 | Clear Olt Alarm |
| 449 | [Documentation] Raise an Alarm |
| 450 | [Arguments] ${name} ${intf_id} |
Andy Bavier | b63f6d2 | 2020-03-12 15:34:37 -0700 | [diff] [blame] | 451 | ${raiseOutput} Exec Pod ${BBSIMCTL_NAMESPACE} ${BBSIMCTL_POD_NAME} |
| 452 | ... bbsimctl olt alarms clear ${name} ${intf_id} |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 453 | Should Contain ${raiseOutput} Alarm Indication Sent |
| 454 | |
| 455 | Get Device Event |
| 456 | [Documentation] Get the most recent alarm event from voltha.events |
| 457 | [Arguments] ${deviceEventName} ${since} |
| 458 | ${output} ${raiseErr} Exec Pod Separate Stderr ${VOLTCTL_NAMESPACE} ${VOLTCTL_POD_NAME} |
Girish Gowdra | 698a04b | 2020-11-23 10:24:43 -0800 | [diff] [blame] | 459 | ... voltctl event listen --show-body -t 1 -o json -f Titles=${deviceEventName} |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 460 | ${json} To Json ${output} |
| 461 | ${count} Get Length ${json} |
| 462 | # If there is more than one event (which could happen if we quickly do a raise and a clear), |
| 463 | # then return the most recent one. |
| 464 | Should Be Larger Than ${count} 0 |
| 465 | ${lastIndex} Evaluate ${count}-1 |
| 466 | ${lastItem} Set Variable ${json}[${lastIndex}] |
| 467 | ${header} Set Variable ${lastItem}[header] |
| 468 | ${deviceEvent} Set Variable ${lastItem}[deviceEvent] |
| 469 | Log ${header} |
| 470 | Log ${deviceEvent} |
| 471 | [return] ${header} ${deviceEvent} |
| 472 | |
| 473 | Verify Header |
| 474 | [Documentation] Verify that a DeviceEvent's header is sane and the id matches regex |
Scott Baker | 27d04db | 2020-02-06 18:03:21 -0800 | [diff] [blame] | 475 | [Arguments] ${header} ${id} ${subCategory} |
| 476 | ${headerSubCategory} Evaluate $header.get("subCategory", "") |
| 477 | Should Be Equal ${headerSubCategory} ${subCategory} |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 478 | Should Be Equal ${header}[type] DEVICE_EVENT |
| 479 | Should Match Regexp ${header}[id] ${id} |
Scott Baker | ee67555 | 2020-02-11 10:43:34 -0800 | [diff] [blame] | 480 | # TODO Timestamps are now RFC3339 date strings. Add Verification |
| 481 | ${reportedTs} Set Variable ${header}[reportedTs] |
| 482 | ${raisedTs} Set Variable ${header}[raisedTs] |
| 483 | Should Be Newer Than Or Equal To ${reportedTs} ${LastEventPostTimestamp} |
| 484 | Should Be Newer Than Or Equal To ${raisedTs} ${LastEventPostTimestamp} |