@@ -431,6 +431,7 @@ def upgrade_scenario(self, populate=True, create_schema=True, rolling=False, aft
431431
432432 self .upgrade_to_version (version_meta , partial = True , nodes = (node ,), internode_ssl = internode_ssl )
433433
434+ logger .debug (str (self .fixture_dtest_setup .subprocs ))
434435 self ._check_on_subprocs (self .fixture_dtest_setup .subprocs )
435436 logger .debug ('Successfully upgraded %d of %d nodes to %s' %
436437 (num + 1 , len (self .cluster .nodelist ()), version_meta .version ))
@@ -488,7 +489,7 @@ def _check_on_subprocs(self, subprocs):
488489 if not all (subproc_statuses ):
489490 message = "A subprocess has terminated early. Subprocess statuses: "
490491 for s in subprocs :
491- message += "{name} (is_alive: {aliveness}), " .format (name = s .name , aliveness = s .is_alive ())
492+ message += "{name} (is_alive: {aliveness}, exitCode: {exitCode} ), " .format (name = s .name , aliveness = s .is_alive (), exitCode = s . exitcode )
492493 message += "attempting to terminate remaining subprocesses now."
493494 self ._terminate_subprocs ()
494495 raise RuntimeError (message )
@@ -653,7 +654,7 @@ def _start_continuous_write_and_verify(self, wait_for_rowcount=0, max_wait_s=600
653654 # queue of verified writes, which are update candidates
654655 verification_done_queue = Queue (maxsize = 500 )
655656
656- writer = Process (target = data_writer , args = (self , to_verify_queue , verification_done_queue , 25 ))
657+ writer = Process (name = "data_writer" , target = data_writer , args = (self , to_verify_queue , verification_done_queue , 25 ))
657658 # daemon subprocesses are killed automagically when the parent process exits
658659 writer .daemon = True
659660 self .fixture_dtest_setup .subprocs .append (writer )
@@ -662,7 +663,7 @@ def _start_continuous_write_and_verify(self, wait_for_rowcount=0, max_wait_s=600
662663 if wait_for_rowcount > 0 :
663664 self ._wait_until_queue_condition ('rows written (but not verified)' , to_verify_queue , operator .ge , wait_for_rowcount , max_wait_s = max_wait_s )
664665
665- verifier = Process (target = data_checker , args = (self , to_verify_queue , verification_done_queue ))
666+ verifier = Process (name = "data_checker" , target = data_checker , args = (self , to_verify_queue , verification_done_queue ))
666667 # daemon subprocesses are killed automagically when the parent process exits
667668 verifier .daemon = True
668669 self .fixture_dtest_setup .subprocs .append (verifier )
0 commit comments