Commit fd865ea0 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: doing the check only in NR

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 9ca17fd3
...@@ -3192,9 +3192,10 @@ class SSHConnection(): ...@@ -3192,9 +3192,10 @@ class SSHConnection():
result = re.search('ULSCH in error in round', str(line)) result = re.search('ULSCH in error in round', str(line))
if result is not None: if result is not None:
ulschFailure += 1 ulschFailure += 1
result = re.search('ULSCH received ok', str(line)) if self.air_interface == 'nr':
if result is not None: result = re.search('ULSCH received ok', str(line))
ulschOK += 1 if result is not None:
ulschOK += 1
result = re.search('BAD all_segments_received', str(line)) result = re.search('BAD all_segments_received', str(line))
if result is not None: if result is not None:
rlcDiscardBuffer += 1 rlcDiscardBuffer += 1
...@@ -3227,10 +3228,11 @@ class SSHConnection(): ...@@ -3227,10 +3228,11 @@ class SSHConnection():
statMsg = nodeB_prefix + 'NB showed ' + str(ulschFailure) + ' "ULSCH in error in round" message(s)' statMsg = nodeB_prefix + 'NB showed ' + str(ulschFailure) + ' "ULSCH in error in round" message(s)'
logging.debug('\u001B[1;30;43m ' + statMsg + ' \u001B[0m') logging.debug('\u001B[1;30;43m ' + statMsg + ' \u001B[0m')
self.htmleNBFailureMsg += statMsg + '\n' self.htmleNBFailureMsg += statMsg + '\n'
if ulschOK > 0: if self.air_interface == 'nr':
statMsg = nodeB_prefix + 'NB showed ' + str(ulschOK) + ' "ULSCH received ok" message(s)' if ulschOK > 0:
logging.debug('\u001B[1;30;43m ' + statMsg + ' \u001B[0m') statMsg = nodeB_prefix + 'NB showed ' + str(ulschOK) + ' "ULSCH received ok" message(s)'
self.htmleNBFailureMsg += statMsg + '\n' logging.debug('\u001B[1;30;43m ' + statMsg + ' \u001B[0m')
self.htmleNBFailureMsg += statMsg + '\n'
if dropNotEnoughRBs > 0: if dropNotEnoughRBs > 0:
statMsg = 'eNB showed ' + str(dropNotEnoughRBs) + ' "dropping, not enough RBs" message(s)' statMsg = 'eNB showed ' + str(dropNotEnoughRBs) + ' "dropping, not enough RBs" message(s)'
logging.debug('\u001B[1;30;43m ' + statMsg + ' \u001B[0m') logging.debug('\u001B[1;30;43m ' + statMsg + ' \u001B[0m')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment