cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Jirsa (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10659) Windows CassCI: Fail on timed-out tests
Date Fri, 22 Sep 2017 04:28:00 GMT


Jeff Jirsa commented on CASSANDRA-10659:

[~mambocab] / [~JoshuaMcKenzie] / [~philipthompson] - if any of you believe this should still
be open, please let me know. Otherwise I'm inclined to close as won't-fix since cassci is
no longer generally available , and I suspect any other more general test failures can be
addressed elsewhere?

> Windows CassCI: Fail on timed-out tests
> ---------------------------------------
>                 Key: CASSANDRA-10659
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jim Witschey
>            Assignee: Jim Witschey
> On our Windows CassCI environments, it looks like some dtests are prone to hanging, e.g.:
> Ideally these tests wouldn't hang, but regardless, we should figure out a way to make
them fail, rather than timing out Jenkins and botching the rest of the test run.
> The built-in [{{nosetests}} {{multiprocess}} plugin|]
would solve this problem for us -- we could run the tests with {{nosetests --processes=1 --process-timeout=X}}
and it would stop the test and fail if the test took too long. However, it's broken on Windows.
I've filed [a quick issue on the {{nose}} GitHub|],
but in the meantime, we should figure out how to avoid this.
> Possible solutions:
> # [~philipthompson] had a script that would shell out to {{nosetests}} for each test
and kill that process if it took too long. If I understand correctly, that script is broken,
or assumes things that are no longer true. We can revamp it if we want.
> # We could make a patch for {{nose}} to fix the {{multiprocess}} plugin.
> # We could hack in some of {{multiprocessing}}'s functionality into the {{dtest}} suite
> 3. may be the best workaround for this problem -- our timeouts aren't caused just when
a tests runs long, but when Jenkins doesn't get any output on stdout from a hanging test.
We may be able to monitor stdout from a second process and fail the test before Jenkins would
time out.
> Pinging [~JoshuaMcKenzie] as this is a Windows issue.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message