[ https://issues.apache.org/jira/browse/CASSANDRA-17311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483776#comment-17483776 ]
Josh McKenzie commented on CASSANDRA-17311: ------------------------------------------- This is likely related to / a dupe of CASSANDRA-17140. Let's sit on this until that resolves and see if it takes this with it. > Test Failure: > dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestUpgrade_current_3_0_x_To_indev_3_0_x.test_rolling_upgrade > (from Cassandra dtests) > ------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-17311 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17311 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest/python > Reporter: Josh McKenzie > Priority: Normal > Fix For: 3.0.x > > > Failed 16 times in the last 16 runs. Flakiness: 0%, Stability: 0% > h3. Error Message > RuntimeError: A subprocess has terminated early. Subprocess statuses: > Process-1 (is_alive: True), Process-2 (is_alive: False), attempting to > terminate remaining subprocesses now. > {code} > Stacktrace > self = > <upgrade_tests.upgrade_through_versions_test.TestUpgrade_current_3_0_x_To_indev_3_0_x > object at 0x7fac42587190> > @pytest.mark.timeout(3000) > def test_rolling_upgrade(self): > """ > Test rolling upgrade of the cluster, so we have mixed versions > part way through. > """ > > self.upgrade_scenario(rolling=True) > upgrade_tests/upgrade_through_versions_test.py:320: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > upgrade_tests/upgrade_through_versions_test.py:398: in upgrade_scenario > self._check_on_subprocs(self.fixture_dtest_setup.subprocs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > self = > <upgrade_tests.upgrade_through_versions_test.TestUpgrade_current_3_0_x_To_indev_3_0_x > object at 0x7fac42587190> > subprocs = [<Process name='Process-1' pid=30475 parent=320 stopped > exitcode=-SIGKILL daemon>, <Process name='Process-2' pid=30494 parent=320 > stopped exitcode=1 daemon>] > def _check_on_subprocs(self, subprocs): > """ > Check on given subprocesses. > > If any are not alive, we'll go ahead and terminate any remaining > alive subprocesses since this test is going to fail. > """ > subproc_statuses = [s.is_alive() for s in subprocs] > if not all(subproc_statuses): > message = "A subprocess has terminated early. Subprocess > statuses: " > for s in subprocs: > message += "{name} (is_alive: {aliveness}), > ".format(name=s.name, aliveness=s.is_alive()) > message += "attempting to terminate remaining subprocesses now." > self._terminate_subprocs() > > raise RuntimeError(message) > E RuntimeError: A subprocess has terminated early. Subprocess > statuses: Process-1 (is_alive: True), Process-2 (is_alive: False), attempting > to terminate remaining subprocesses now. > upgrade_tests/upgrade_through_versions_test.py:456: RuntimeError > {code} > -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org