[jira] [Commented] (SOLR-13212) when TestInjection.nonGracefullClose causes a TestShutdownFailError, test is garunteed tofail due to leaked objects (causes failures in (Hdfs)RestartWhileUpdatingTest)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SOLR-13212) when TestInjection.nonGracefullClose causes a TestShutdownFailError, test is garunteed tofail due to leaked objects (causes failures in (Hdfs)RestartWhileUpdatingTest)

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-13212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16765095#comment-16765095 ]

Kevin Risden commented on SOLR-13212:
-------------------------------------

I have seen a few failures potentially related to this. I was looking into RestartWhileUpdatingTest since it was failing in pairs with HdfsRestartWhileUpdatingTest. These seeds reproduced for me on master prior to this change. I have not gone back to check if these seeds still fail.
{code:java}
ant test  -Dtestcase=RestartWhileUpdatingTest -Dtests.method=test -Dtests.seed=A0538FF30965A861 -Dtests.nightly=true -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=ms-MY -Dtests.timezone=US/Pacific-New -Dtests.asserts=true -Dtests.file.encoding=US-ASCII

ant test  -Dtestcase=HdfsRestartWhileUpdatingTest -Dtests.method=test -Dtests.seed=A0538FF30965A861 -Dtests.nightly=true -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=id -Dtests.timezone=Asia/Krasnoyarsk -Dtests.asserts=true -Dtests.file.encoding=US-ASCII




ant test  -Dtestcase=RestartWhileUpdatingTest -Dtests.method=test -Dtests.seed=213E403F6C03AF26 -Dtests.nightly=true -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=de-LU -Dtests.timezone=Asia/Istanbul -Dtests.asserts=true -Dtests.file.encoding=US-ASCII

ant test  -Dtestcase=HdfsRestartWhileUpdatingTest -Dtests.method=test -Dtests.seed=213E403F6C03AF26 -Dtests.nightly=true -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=ar-SY -Dtests.timezone=Indian/Comoro -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
{code}

> when TestInjection.nonGracefullClose causes a TestShutdownFailError, test is garunteed tofail due to leaked objects (causes failures in (Hdfs)RestartWhileUpdatingTest)
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-13212
>                 URL: https://issues.apache.org/jira/browse/SOLR-13212
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public)
>            Reporter: Hoss Man
>            Priority: Major
>         Attachments: SOLR-13212.patch
>
>
>  While investigating suite level test failures in {{RestartWhileUpdatingTest}} (and it's subclass  {{HdfsRestartWhileUpdatingTest}}) due to leaked objects i realized that this happens anytime {{TestInjection.injectNonGracefullClose}} causes a {{TestShutdownFailError}} to be thrown.
> The test will still be able to restart the node, and the test (method) will succeed, but the suite will fail due to the leaked objects.
> NOTE: These are currently the only tests using {{TestInjection.nonGracefullClose}}.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]