From 20ee6ca67cca4d9c33153341744316293d412f44 Mon Sep 17 00:00:00 2001 From: Remi Hardy Date: Tue, 8 Sep 2020 10:10:27 +0200 Subject: [PATCH] fixing logging and html rendering --- ci-scripts/cls_cots_ue.py | 2 +- ci-scripts/ran.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-scripts/cls_cots_ue.py b/ci-scripts/cls_cots_ue.py index 42bf84d466..dae77dc0cd 100644 --- a/ci-scripts/cls_cots_ue.py +++ b/ci-scripts/cls_cots_ue.py @@ -102,7 +102,7 @@ class CotsUe: logging.error("ATTENTION : Could not toggle to : "+target_state_str) logging.error("Current state is : "+ str(current_state)) else: - print("Airplane mode is already "+ target_state_str) + logging.info("Airplane mode is already "+ target_state_str) mySSH.command('adb kill-server','\$',5) mySSH.close() #ue id is NOT in the dictionary diff --git a/ci-scripts/ran.py b/ci-scripts/ran.py index c0c3045333..d5906e9567 100644 --- a/ci-scripts/ran.py +++ b/ci-scripts/ran.py @@ -990,5 +990,5 @@ class RANManagement(): logging.debug(systemTime) logging.debug(maxPhyMemUsage) logging.debug(nbContextSwitches) - self.runtime_stats=runTime + '\n' + userTime + '\n' + systemTime + '\n' + maxPhyMemUsage + '\n' + nbContextSwitches + self.runtime_stats='
'+runTime + '\n'+ userTime + '\n' + systemTime + '\n' + maxPhyMemUsage + '\n' + nbContextSwitches+'
' return global_status