Commit 49cc6843 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 0aa5614f
...@@ -3192,6 +3192,7 @@ class SSHConnection(): ...@@ -3192,6 +3192,7 @@ 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
if self.air_interface == 'nr':
result = re.search('ULSCH received ok', str(line)) result = re.search('ULSCH received ok', str(line))
if result is not None: if result is not None:
ulschOK += 1 ulschOK += 1
...@@ -3227,6 +3228,7 @@ class SSHConnection(): ...@@ -3227,6 +3228,7 @@ 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 self.air_interface == 'nr':
if ulschOK > 0: if ulschOK > 0:
statMsg = nodeB_prefix + 'NB showed ' + str(ulschOK) + ' "ULSCH received ok" message(s)' statMsg = nodeB_prefix + 'NB showed ' + str(ulschOK) + ' "ULSCH received ok" 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