summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
b718256)
Change-Id: Id05cbd972bbcc75c7d4e136cf1ed182545c3bf0a
Signed-off-by: Irina <ib565x@intl.att.com>
Suite Setup Prepare Enviorment
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
Suite Setup Prepare Enviorment
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
+Resource ../Resource/scripts_variables.robot
+Library ../Scripts/find_error_script.py
Library ../Scripts/e2mdbscripts.py
Library OperatingSystem
Library Collections
Library ../Scripts/e2mdbscripts.py
Library OperatingSystem
Library Collections
-prepare logs for tests
- Remove log files
- Save logs
-
-
Setup Ran and verify it's CONNECTED and associated
Get Request node b gnb
Integer response status 200
Setup Ran and verify it's CONNECTED and associated
Get Request node b gnb
Integer response status 200
Missing response body associatedE2tInstanceAddress
String response body connectionStatus DISCONNECTED
Missing response body associatedE2tInstanceAddress
String response body connectionStatus DISCONNECTED
+prepare logs for tests
+ Remove log files
+ Save logs
+
Verify E2T instance is NOT associated with RAN
${result} e2mdbscripts.verify_ran_is_associated_with_e2t_instance ${ranname} ${e2tinstanceaddress}
Should Be True ${result} == False
Verify E2T instance is NOT associated with RAN
${result} e2mdbscripts.verify_ran_is_associated_with_e2t_instance ${ranname} ${e2tinstanceaddress}
Should Be True ${result} == False
+
+Verify e2mgr logs - Set and Publish Disconnect True
+ ${result} find_error_script.find_error ${EXECDIR} ${e2mgr_log_filename} ${set_and_publish_disconnect}
+ Should Be Equal As Strings ${result} True
\ No newline at end of file
Suite Setup Prepare Enviorment
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
Suite Setup Prepare Enviorment
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
+Resource ../Resource/scripts_variables.robot
Resource red_button_keywords.robot
Resource red_button_keywords.robot
+Library ../Scripts/find_error_script.py
Library OperatingSystem
Library Collections
Library REST ${url}
Library OperatingSystem
Library Collections
Library REST ${url}
Execute Shutdown
Execute Shutdown
Execute Shutdown
Execute Shutdown
+prepare logs for tests
+ Remove log files
+ Save logs
+
Verify nodeb's connection status is SHUT_DOWN and it's NOT associated to an e2t instance
Verify shutdown for gnb
Verify E2T instance has no associated RANs
Verify E2T instance has no associated RANs
Verify nodeb's connection status is SHUT_DOWN and it's NOT associated to an e2t instance
Verify shutdown for gnb
Verify E2T instance has no associated RANs
Verify E2T instance has no associated RANs
+Verify e2mgr logs - Set and Publish Disconnect
+ ${result} find_error_script.find_error ${EXECDIR} ${e2mgr_log_filename} ${set_and_publish_disconnect}
+ Should Be Equal As Strings ${result} True
\ No newline at end of file
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
Resource red_button_keywords.robot
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
Resource red_button_keywords.robot
+Resource ../Resource/scripts_variables.robot
+Library ../Scripts/find_error_script.py
Library OperatingSystem
Library Collections
Library REST ${url}
Library OperatingSystem
Library Collections
Library REST ${url}
Execute Shutdown
Execute Shutdown
Execute Shutdown
Execute Shutdown
+prepare logs for tests
+ Remove log files
+ Save logs
+
+Verify e2mgr logs - Set and Publish Disconnect
+ ${result} find_error_script.find_error ${EXECDIR} ${e2mgr_log_filename} ${set_and_publish_disconnect}
+ Should Be Equal As Strings ${result} True
+
Verify nodeb's connection status is SHUT_DOWN and it's NOT associated to an e2t instance
Verify shutdown for gnb
Verify E2T instance has no associated RANs
Verify nodeb's connection status is SHUT_DOWN and it's NOT associated to an e2t instance
Verify shutdown for gnb
Verify E2T instance has no associated RANs
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
Resource red_button_keywords.robot
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
Resource red_button_keywords.robot
+Resource ../Resource/scripts_variables.robot
+Library ../Scripts/find_error_script.py
Library OperatingSystem
Library Collections
Library REST ${url}
*** Test Cases ***
Library OperatingSystem
Library Collections
Library REST ${url}
*** Test Cases ***
Verify nodeb connection status is CONNECTED and it's associated to an e2t instance
Verify connected and associated
Execute Shutdown
Execute Shutdown
Verify nodeb connection status is CONNECTED and it's associated to an e2t instance
Verify connected and associated
Execute Shutdown
Execute Shutdown
+prepare logs for tests
+ Remove log files
+ Save logs
+
+Verify e2mgr logs - Set and Publish Disconnect True
+ ${result} find_error_script.find_error ${EXECDIR} ${e2mgr_log_filename} ${set_and_publish_disconnect}
+ Should Be Equal As Strings ${result} True
+
Verify nodeb's connection status is SHUT_DOWN and it's NOT associated to an e2t instance
Verify shutdown for gnb
Verify E2T instance has no associated RANs
Verify E2T instance has no associated RANs
Verify nodeb's connection status is SHUT_DOWN and it's NOT associated to an e2t instance
Verify shutdown for gnb
Verify E2T instance has no associated RANs
Verify E2T instance has no associated RANs
Execute second Shutdown
Execute Shutdown
Execute second Shutdown
Execute Shutdown
${third_retry_to_retrieve_from_db} RnibDataService.retry - after 3 attempts of GetNodeb
${RIC_RES_STATUS_REQ_message_type_successfully_sent} Message type: 10090 - Successfully sent RMR message
${E2_TERM_KEEP_ALIVE_REQ_message_type_successfully_sent} Message type: 1101 - Successfully sent RMR message
${third_retry_to_retrieve_from_db} RnibDataService.retry - after 3 attempts of GetNodeb
${RIC_RES_STATUS_REQ_message_type_successfully_sent} Message type: 10090 - Successfully sent RMR message
${E2_TERM_KEEP_ALIVE_REQ_message_type_successfully_sent} Message type: 1101 - Successfully sent RMR message
-${save_general_configuration} SetGeneralConfigurationHandler.Handle - save general configuration to rnib: {EnableRic:false}
\ No newline at end of file
+${save_general_configuration} SetGeneralConfigurationHandler.Handle - save general configuration to rnib: {EnableRic:false}
+${set_and_publish_disconnect} RnibDataService.UpdateNodebInfoOnConnectionStatusInversion - stateChangeMessageChannel: RAN_CONNECTION_STATUS_CHANGE, event: gnb_208_092_303030_DISCONNECTED
\ No newline at end of file
}
func (w *rNibDataService) UpdateNodebInfoOnConnectionStatusInversion(nodebInfo *entities.NodebInfo, event string) error {
}
func (w *rNibDataService) UpdateNodebInfoOnConnectionStatusInversion(nodebInfo *entities.NodebInfo, event string) error {
- w.logger.Infof("#RnibDataService.UpdateNodebInfoOnConnectionStatusInversion - nodebInfo: %s", nodebInfo)
+ w.logger.Infof("#RnibDataService.UpdateNodebInfoOnConnectionStatusInversion - stateChangeMessageChannel: %s, event: %s, nodebInfo: %s", w.stateChangeMessageChannel, event, nodebInfo)
err := w.retry("UpdateNodebInfoOnConnectionStatusInversion", func() (err error) {
err = w.rnibWriter.UpdateNodebInfoOnConnectionStatusInversion(nodebInfo, w.stateChangeMessageChannel, event)
err := w.retry("UpdateNodebInfoOnConnectionStatusInversion", func() (err error) {
err = w.rnibWriter.UpdateNodebInfoOnConnectionStatusInversion(nodebInfo, w.stateChangeMessageChannel, event)