You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Yusaku Sako <yu...@hortonworks.com> on 2014/10/08 17:06:14 UTC

Let's fix AMBARI-7622 (Flaky unit test: TestActionScheduler)

Hi all,

There is a flaky unit test that is getting in the way of reporting
accurate/clean unit test results.

Failed tests:
testOpFailedEventRaisedForAbortedHostRole(org.apache.ambari.server.actionmanager.TestActionScheduler):
expected:<ABORTED> but was:<PENDING>

There's a JIRA tracking this:
https://issues.apache.org/jira/browse/AMBARI-7622.

Let's try to fix this ASAP.
If you have ideas, please pitch in!

Yusaku

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Let's fix AMBARI-7622 (Flaky unit test: TestActionScheduler)

Posted by jun aoki <ja...@apache.org>.
I believe it is a simple fix actually but was configured wrong and left due
to multi-threading. I'm running the last test and will let you guys know.

On Wed, Oct 8, 2014 at 11:49 AM, Yusaku Sako <yu...@hortonworks.com> wrote:

> Cool, thanks.
>
> Yusaku
>
> On Wed, Oct 8, 2014 at 11:30 AM, jun aoki <ja...@apache.org> wrote:
>
> > Yusaku, let me spend some time today and will reply what I find.
> > Others, if you know what it is, please let me know some advice or you can
> > take over.
> > I'm not expert on that area.
> >
> > On Wed, Oct 8, 2014 at 8:06 AM, Yusaku Sako <yu...@hortonworks.com>
> > wrote:
> >
> > > Hi all,
> > >
> > > There is a flaky unit test that is getting in the way of reporting
> > > accurate/clean unit test results.
> > >
> > > Failed tests:
> > >
> > >
> >
> testOpFailedEventRaisedForAbortedHostRole(org.apache.ambari.server.actionmanager.TestActionScheduler):
> > > expected:<ABORTED> but was:<PENDING>
> > >
> > > There's a JIRA tracking this:
> > > https://issues.apache.org/jira/browse/AMBARI-7622.
> > >
> > > Let's try to fix this ASAP.
> > > If you have ideas, please pitch in!
> > >
> > > Yusaku
> > >
> > > --
> > > CONFIDENTIALITY NOTICE
> > > NOTICE: This message is intended for the use of the individual or
> entity
> > to
> > > which it is addressed and may contain information that is confidential,
> > > privileged and exempt from disclosure under applicable law. If the
> reader
> > > of this message is not the intended recipient, you are hereby notified
> > that
> > > any printing, copying, dissemination, distribution, disclosure or
> > > forwarding of this communication is strictly prohibited. If you have
> > > received this communication in error, please contact the sender
> > immediately
> > > and delete it from your system. Thank You.
> > >
> >
> >
> >
> > --
> > -jun
> >
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>



-- 
-jun

Re: Let's fix AMBARI-7622 (Flaky unit test: TestActionScheduler)

Posted by Yusaku Sako <yu...@hortonworks.com>.
Cool, thanks.

Yusaku

On Wed, Oct 8, 2014 at 11:30 AM, jun aoki <ja...@apache.org> wrote:

> Yusaku, let me spend some time today and will reply what I find.
> Others, if you know what it is, please let me know some advice or you can
> take over.
> I'm not expert on that area.
>
> On Wed, Oct 8, 2014 at 8:06 AM, Yusaku Sako <yu...@hortonworks.com>
> wrote:
>
> > Hi all,
> >
> > There is a flaky unit test that is getting in the way of reporting
> > accurate/clean unit test results.
> >
> > Failed tests:
> >
> >
> testOpFailedEventRaisedForAbortedHostRole(org.apache.ambari.server.actionmanager.TestActionScheduler):
> > expected:<ABORTED> but was:<PENDING>
> >
> > There's a JIRA tracking this:
> > https://issues.apache.org/jira/browse/AMBARI-7622.
> >
> > Let's try to fix this ASAP.
> > If you have ideas, please pitch in!
> >
> > Yusaku
> >
> > --
> > CONFIDENTIALITY NOTICE
> > NOTICE: This message is intended for the use of the individual or entity
> to
> > which it is addressed and may contain information that is confidential,
> > privileged and exempt from disclosure under applicable law. If the reader
> > of this message is not the intended recipient, you are hereby notified
> that
> > any printing, copying, dissemination, distribution, disclosure or
> > forwarding of this communication is strictly prohibited. If you have
> > received this communication in error, please contact the sender
> immediately
> > and delete it from your system. Thank You.
> >
>
>
>
> --
> -jun
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Let's fix AMBARI-7622 (Flaky unit test: TestActionScheduler)

Posted by jun aoki <ja...@apache.org>.
Yusaku, let me spend some time today and will reply what I find.
Others, if you know what it is, please let me know some advice or you can
take over.
I'm not expert on that area.

On Wed, Oct 8, 2014 at 8:06 AM, Yusaku Sako <yu...@hortonworks.com> wrote:

> Hi all,
>
> There is a flaky unit test that is getting in the way of reporting
> accurate/clean unit test results.
>
> Failed tests:
>
> testOpFailedEventRaisedForAbortedHostRole(org.apache.ambari.server.actionmanager.TestActionScheduler):
> expected:<ABORTED> but was:<PENDING>
>
> There's a JIRA tracking this:
> https://issues.apache.org/jira/browse/AMBARI-7622.
>
> Let's try to fix this ASAP.
> If you have ideas, please pitch in!
>
> Yusaku
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>



-- 
-jun