You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2018/08/24 18:31:00 UTC

[jira] [Updated] (YARN-8051) TestRMEmbeddedElector#testCallbackSynchronization is flakey

     [ https://issues.apache.org/jira/browse/YARN-8051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Lowe updated YARN-8051:
-----------------------------
    Affects Version/s: 2.10.0
                       2.9.1
                       2.8.4
                       3.0.2
                       3.1.1
     Target Version/s: 2.10.0, 3.2.0, 2.9.2, 2.8.5, 3.0.4, 3.1.2  (was: 3.2.0)
        Fix Version/s: 3.1.2
                       3.0.4

Thanks, [~rkanter]]!  We've been seeing this fail on older builds, so I committed this to branch-3.1 and branch-3.0 as well.  I'll put up a patch for branch-2 shortly since 2.x still compiles for JDK7.

> TestRMEmbeddedElector#testCallbackSynchronization is flakey
> -----------------------------------------------------------
>
>                 Key: YARN-8051
>                 URL: https://issues.apache.org/jira/browse/YARN-8051
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 2.10.0, 2.9.1, 2.8.4, 3.0.2, 3.2.0, 3.1.1
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>            Priority: Major
>             Fix For: 3.2.0, 3.0.4, 3.1.2
>
>         Attachments: YARN-8051.001.patch, YARN-8051.002.patch
>
>
> We've seen some rare flakey failures in {{TestRMEmbeddedElector#testCallbackSynchronization}}:
> {noformat}
> org.mockito.exceptions.verification.WantedButNotInvoked: 
> Wanted but not invoked:
> adminService.transitionToStandby(<any>);
> -> at org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector.testCallbackSynchronizationNeutral(TestRMEmbeddedElector.java:215)
> Actually, there were zero interactions with this mock.
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector.testCallbackSynchronizationNeutral(TestRMEmbeddedElector.java:215)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector.testCallbackSynchronization(TestRMEmbeddedElector.java:146)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector.testCallbackSynchronization(TestRMEmbeddedElector.java:109)
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org