You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Li Li (JIRA)" <ji...@apache.org> on 2016/07/12 21:02:20 UTC

[jira] [Commented] (SENTRY-1400) [Flaky test] TestSentryWebServerWithSSL times out

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

Li Li commented on SENTRY-1400:
-------------------------------

The TestSentryWebServerWithSSL times out happened during "setup" method, which is before running any test. 
Also TestSentryWebServerWithSSL is not the only failure test in both precommit jobs. 

For example, before the failure of TestSentryWebServerWithSSL, testConnectionWithMultipleRetries failed in [precommit-sentry-build/1872|ttps://builds.apache.org/job/PreCommit-SENTRY-Build/1872/console].
{code}
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 50.514 sec <<< FAILURE! - in org.apache.sentry.provider.db.service.thrift.TestSentryServiceClientPool
testConnectionWithMultipleRetries(org.apache.sentry.provider.db.service.thrift.TestSentryServiceClientPool)  Time elapsed: 0.889 sec  <<< FAILURE!
java.lang.AssertionError: Some tasks are failed.
	at org.apache.sentry.provider.db.service.thrift.TestSentryServiceClientPool.testConnectionWithMultipleRetries(TestSentryServiceClientPool.java:67)

Running org.apache.sentry.provider.db.service.thrift.TestAuthorizingDDLAuditLogWithKerberos
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.472 sec - in org.apache.sentry.provider.db.service.thrift.TestAuthorizingDDLAuditLogWithKerberos
Running org.apache.sentry.provider.db.service.thrift.TestSentryServiceWithInvalidMsgSize
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.086 sec - in org.apache.sentry.provider.db.service.thrift.TestSentryServiceWithInvalidMsgSize
Running org.apache.sentry.provider.db.service.thrift.TestConnectionWithTicketTimeout
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.035 sec - in org.apache.sentry.provider.db.service.thrift.TestConnectionWithTicketTimeout
Running org.apache.sentry.provider.db.service.thrift.TestSentryWebServerWithSSL
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 65.585 sec <<< FAILURE! - in org.apache.sentry.provider.db.service.thrift.TestSentryWebServerWithSSL
org.apache.sentry.provider.db.service.thrift.TestSentryWebServerWithSSL  Time elapsed: 65.584 sec  <<< ERROR!
java.util.concurrent.TimeoutException: Server did not start after 60 seconds
	at org.apache.sentry.provider.db.service.thrift.TestSentryWebServerWithSSL.setup(TestSentryWebServerWithSSL.java:38)
{code}

And before the failure of TestSentryWebServerWithSSL, testRacingClients failed in [precommit-sentry-build/1874|https://builds.apache.org/job/PreCommit-SENTRY-Build/1874/console]. 
{code}
Running org.apache.sentry.service.thrift.TestLeaderStatus
Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 121.833 sec <<< FAILURE! - in org.apache.sentry.service.thrift.TestLeaderStatus
testRacingClients(org.apache.sentry.service.thrift.TestLeaderStatus)  Time elapsed: 60.009 sec  <<< ERROR!
java.lang.Exception: test timed out after 60000 milliseconds
	at org.apache.sentry.service.thrift.TestLeaderStatus.testRacingClients(TestLeaderStatus.java:212)

testRacingClients(org.apache.sentry.service.thrift.TestLeaderStatus)  Time elapsed: 60.003 sec  <<< ERROR!
java.lang.Exception: test timed out after 60000 milliseconds
	at org.apache.sentry.service.thrift.TestLeaderStatus.testRacingClients(TestLeaderStatus.java:204)
{code}

So I think the root reason may not be related to TestSentryWebServerWithSSL.

> [Flaky test] TestSentryWebServerWithSSL times out
> -------------------------------------------------
>
>                 Key: SENTRY-1400
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1400
>             Project: Sentry
>          Issue Type: Test
>            Reporter: Sravya Tirukkovalur
>
> I atleast saw two precommit jobs which failed due to this:
> https://builds.apache.org/job/PreCommit-SENTRY-Build/1872/console
> https://builds.apache.org/job/PreCommit-SENTRY-Build/1874/console
> [~lili] any idea whats going on?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)