CI: forced marker output by fflush at the end of eNB initialization
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
@@ -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 ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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 ) {
|
|||||||
|
|
||||||
// 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;
|
||||||
|
|||||||
Reference in New Issue
Block a user