@@ -432,6 +432,7 @@ def upgrade_scenario(self, populate=True, create_schema=True, rolling=False, aft
432432
433433 self .upgrade_to_version (version_meta , partial = True , nodes = (node ,), internode_ssl = internode_ssl )
434434
435+ logger .debug (str (self .fixture_dtest_setup .subprocs ))
435436 self ._check_on_subprocs (self .fixture_dtest_setup .subprocs )
436437 logger .debug ('Successfully upgraded %d of %d nodes to %s' %
437438 (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 )
@@ -654,7 +655,7 @@ def _start_continuous_write_and_verify(self, wait_for_rowcount=0, max_wait_s=600
654655 # queue of verified writes, which are update candidates
655656 verification_done_queue = Queue (maxsize = 500 )
656657
657- writer = Process (target = data_writer , args = (self , to_verify_queue , verification_done_queue , 25 ))
658+ writer = Process (name = "data_writer" , target = data_writer , args = (self , to_verify_queue , verification_done_queue , 25 ))
658659 # daemon subprocesses are killed automagically when the parent process exits
659660 writer .daemon = True
660661 self .fixture_dtest_setup .subprocs .append (writer )
@@ -663,7 +664,7 @@ def _start_continuous_write_and_verify(self, wait_for_rowcount=0, max_wait_s=600
663664 if wait_for_rowcount > 0 :
664665 self ._wait_until_queue_condition ('rows written (but not verified)' , to_verify_queue , operator .ge , wait_for_rowcount , max_wait_s = max_wait_s )
665666
666- verifier = Process (target = data_checker , args = (self , to_verify_queue , verification_done_queue ))
667+ verifier = Process (name = "data_checker" , target = data_checker , args = (self , to_verify_queue , verification_done_queue ))
667668 # daemon subprocesses are killed automagically when the parent process exits
668669 verifier .daemon = True
669670 self .fixture_dtest_setup .subprocs .append (verifier )
0 commit comments