Commit d8096787 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: forced marker output by fflush at the end of eNB initialization

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 96c11ff5
...@@ -560,6 +560,7 @@ class SSHConnection(): ...@@ -560,6 +560,7 @@ class SSHConnection():
self.rruOptions = extra_options self.rruOptions = extra_options
self.CreateHtmlTestRow('-O ' + config_file + extra_options, 'OK', ALL_PROCESSES_OK) self.CreateHtmlTestRow('-O ' + config_file + extra_options, 'OK', ALL_PROCESSES_OK)
logging.debug('\u001B[1m Initialize eNB Completed\u001B[0m') logging.debug('\u001B[1m Initialize eNB Completed\u001B[0m')
time.sleep(10)
self.close() self.close()
......
...@@ -805,8 +805,10 @@ int main( int argc, char **argv ) { ...@@ -805,8 +805,10 @@ int main( int argc, char **argv ) {
} }
printf("wait RUs\n"); printf("wait RUs\n");
// CI -- Flushing the std outputs for the previous marker to show on the eNB / RRU log file
fflush(stdout); fflush(stdout);
fflush(stderr); fflush(stderr);
// end of CI modifications
wait_RUs(); wait_RUs();
LOG_I(ENB_APP,"RC.nb_RU:%d\n", RC.nb_RU); LOG_I(ENB_APP,"RC.nb_RU:%d\n", RC.nb_RU);
// once all RUs are ready intiailize the rest of the eNBs ((dependence on final RU parameters after configuration) // once all RUs are ready intiailize the rest of the eNBs ((dependence on final RU parameters after configuration)
...@@ -832,6 +834,10 @@ int main( int argc, char **argv ) { ...@@ -832,6 +834,10 @@ int main( int argc, char **argv ) {
// wait for end of program // wait for end of program
LOG_UI(ENB_APP,"TYPE <CTRL-C> TO TERMINATE\n"); LOG_UI(ENB_APP,"TYPE <CTRL-C> TO TERMINATE\n");
// CI -- Flushing the std outputs for the previous marker to show on the eNB / DU / CU log file
fflush(stdout);
fflush(stderr);
// end of CI modifications
//getchar(); //getchar();
itti_wait_tasks_end(); itti_wait_tasks_end();
oai_exit=1; oai_exit=1;
......
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