@@ -430,6 +430,7 @@ def upgrade_scenario(self, populate=True, create_schema=True, rolling=False, aft
430430
431431 self .upgrade_to_version (version_meta , partial = True , nodes = (node ,), internode_ssl = internode_ssl )
432432
433+ logger .debug (str (self .fixture_dtest_setup .subprocs ))
433434 self ._check_on_subprocs (self .fixture_dtest_setup .subprocs )
434435 logger .debug ('Successfully upgraded %d of %d nodes to %s' %
435436 (num + 1 , len (self .cluster .nodelist ()), version_meta .version ))
@@ -485,7 +486,7 @@ def _check_on_subprocs(self, subprocs):
485486 if not all (subproc_statuses ):
486487 message = "A subprocess has terminated early. Subprocess statuses: "
487488 for s in subprocs :
488- message += "{name} (is_alive: {aliveness}), " .format (name = s .name , aliveness = s .is_alive ())
489+ message += "{name} (is_alive: {aliveness}, exitCode: {exitCode} ), " .format (name = s .name , aliveness = s .is_alive (), exitCode = s . exitcode )
489490 message += "attempting to terminate remaining subprocesses now."
490491 self ._terminate_subprocs ()
491492 raise RuntimeError (message )
@@ -648,7 +649,7 @@ def _start_continuous_write_and_verify(self, wait_for_rowcount=0, max_wait_s=600
648649 # queue of verified writes, which are update candidates
649650 verification_done_queue = Queue (maxsize = 500 )
650651
651- writer = Process (target = data_writer , args = (self , to_verify_queue , verification_done_queue , 25 ))
652+ writer = Process (name = "data_writer" , target = data_writer , args = (self , to_verify_queue , verification_done_queue , 25 ))
652653 # daemon subprocesses are killed automagically when the parent process exits
653654 writer .daemon = True
654655 self .fixture_dtest_setup .subprocs .append (writer )
@@ -657,7 +658,7 @@ def _start_continuous_write_and_verify(self, wait_for_rowcount=0, max_wait_s=600
657658 if wait_for_rowcount > 0 :
658659 self ._wait_until_queue_condition ('rows written (but not verified)' , to_verify_queue , operator .ge , wait_for_rowcount , max_wait_s = max_wait_s )
659660
660- verifier = Process (target = data_checker , args = (self , to_verify_queue , verification_done_queue ))
661+ verifier = Process (name = "data_checker" , target = data_checker , args = (self , to_verify_queue , verification_done_queue ))
661662 # daemon subprocesses are killed automagically when the parent process exits
662663 verifier .daemon = True
663664 self .fixture_dtest_setup .subprocs .append (verifier )
0 commit comments