You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Mike Tutkowski <mi...@solidfire.com> on 2016/01/03 02:21:10 UTC

[Master] Build Failing

Hi,

I just updated (SHA = 67b753c11bab236187a0a68d92ca8e49cef1b3fd) and am
seeing the following failure:

Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
<<< FAILURE! - in org.apache.cloudstack.quota.QuotaStatementTest

testSendStatement(org.apache.cloudstack.quota.QuotaStatementTest)  Time
elapsed: 0.011 sec  <<< FAILURE!

org.mockito.exceptions.verification.WantedButNotInvoked:

Wanted but not invoked:

alertManager.sendQuotaAlert(


org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@6e9d6ff7

);

-> at
org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)

Actually, there were zero interactions with this mock.


at
org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)



Results :


Failed tests:

  QuotaStatementTest.testSendStatement:251

Wanted but not invoked:

alertManager.sendQuotaAlert(


org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@6e9d6ff7

);

-> at
org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)

Is it possible I'm missing something I should have in my master environment
or is this a general build problem?

Thanks!
-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*

Re: [Master] Build Failing

Posted by Abhinandan Prateek <ab...@shapeblue.com>.
The following PR takes care of quota-framework unit test failure: https://github.com/apache/cloudstack/pull/1303

Regards,
-abhi





[ShapeBlue]<http://www.shapeblue.com>
Abhinandan Prateek
Software Architect      ,       ShapeBlue


d:       | s: +44 203 603 0540<tel:|%20s:%20+44%20203%20603%200540>      |      m:      +91 970 11 99011<tel:+91%20970%2011%2099011>

e:      abhinandan.prateek@shapeblue.com | t: <mailto:abhinandan.prateek@shapeblue.com%20|%20t:>         |      w:      www.shapeblue.com<http://www.shapeblue.com>

a:      53 Chandos Place, Covent Garden London WC2N 4HS UK


[cid:image05c0ce.png@aa91a828.47a9f6d6]


Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.




On 03/01/16, 3:06 PM, "Remi Bergsma" <RB...@schubergphilis.com> wrote:

>Hi,
>
>The Jenkins build "Build-master-slowbuild" has been failing since Dec 2. First due to 5 new findbugs issues, and indeed, since 2016 (build #2876) due to the quota unit tests.
>
>@abhi @rohit can you guys fix this asap?
>
>It is also the reason why Jenkins builds of PR #1300 and #1301 are failing (the new ones in 2016).
>
>
>
>I think we need to resolve both issues asap. It looks like PR #1289 resolves the findbugs issues? If so, let’s complete the reviews and tests so we can merge it.
>
>Regards,
>Remi
>
>
>On 03/01/16 06:42, "Mike Tutkowski" <mi...@solidfire.com> wrote:
>
>>I didn't spend much time trying to debug this...just re-ran the build with
>>-D skipTests=true so I could continue doing what I was doing.
>>
>>Could this possibly have something to do with the new year? I tried to
>>re-run a build from a branch that was not updated and it actually failed at
>>the same quota test (this branch was building fine a few days ago...in
>>2015).
>>
>>On Sat, Jan 2, 2016 at 6:21 PM, Mike Tutkowski <mike.tutkowski@solidfire.com
>>> wrote:
>>
>>> Hi,
>>>
>>> I just updated (SHA = 67b753c11bab236187a0a68d92ca8e49cef1b3fd) and am
>>> seeing the following failure:
>>>
>>> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
>>> <<< FAILURE! - in org.apache.cloudstack.quota.QuotaStatementTest
>>>
>>> testSendStatement(org.apache.cloudstack.quota.QuotaStatementTest) Time
>>> elapsed: 0.011 sec <<< FAILURE!
>>>
>>> org.mockito.exceptions.verification.WantedButNotInvoked:
>>>
>>> Wanted but not invoked:
>>>
>>> alertManager.sendQuotaAlert(
>>>
>>>
>>> org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@6e9d6ff7
>>>
>>> );
>>>
>>> -> at
>>> org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)
>>>
>>> Actually, there were zero interactions with this mock.
>>>
>>>
>>> at
>>> org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)
>>>
>>>
>>>
>>> Results :
>>>
>>>
>>> Failed tests:
>>>
>>> QuotaStatementTest.testSendStatement:251
>>>
>>> Wanted but not invoked:
>>>
>>> alertManager.sendQuotaAlert(
>>>
>>>
>>> org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@6e9d6ff7
>>>
>>> );
>>>
>>> -> at
>>> org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)
>>>
>>> Is it possible I'm missing something I should have in my master
>>> environment or is this a general build problem?
>>>
>>> Thanks!
>>> --
>>> *Mike Tutkowski*
>>> *Senior CloudStack Developer, SolidFire Inc.*
>>> e: mike.tutkowski@solidfire.com
>>> o: 303.746.7302
>>> Advancing the way the world uses the cloud
>>> <http://solidfire.com/solution/overview/?video=play>*™*
>>>
>>
>>
>>
>>--
>>*Mike Tutkowski*
>>*Senior CloudStack Developer, SolidFire Inc.*
>>e: mike.tutkowski@solidfire.com
>>o: 303.746.7302
>>Advancing the way the world uses the cloud
>><http://solidfire.com/solution/overview/?video=play>*™*
Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> | CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> | CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> | CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

Re: [Master] Build Failing

Posted by Remi Bergsma <RB...@schubergphilis.com>.
Hi,

The Jenkins build "Build-master-slowbuild" has been failing since Dec 2. First due to 5 new findbugs issues, and indeed, since 2016 (build #2876) due to the quota unit tests.

@abhi @rohit can you guys fix this asap?

It is also the reason why Jenkins builds of PR #1300 and #1301 are failing (the new ones in 2016).



I think we need to resolve both issues asap. It looks like PR #1289 resolves the findbugs issues? If so, let’s complete the reviews and tests so we can merge it.

Regards,
Remi


On 03/01/16 06:42, "Mike Tutkowski" <mi...@solidfire.com> wrote:

>I didn't spend much time trying to debug this...just re-ran the build with
>-D skipTests=true so I could continue doing what I was doing.
>
>Could this possibly have something to do with the new year? I tried to
>re-run a build from a branch that was not updated and it actually failed at
>the same quota test (this branch was building fine a few days ago...in
>2015).
>
>On Sat, Jan 2, 2016 at 6:21 PM, Mike Tutkowski <mike.tutkowski@solidfire.com
>> wrote:
>
>> Hi,
>>
>> I just updated (SHA = 67b753c11bab236187a0a68d92ca8e49cef1b3fd) and am
>> seeing the following failure:
>>
>> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
>> <<< FAILURE! - in org.apache.cloudstack.quota.QuotaStatementTest
>>
>> testSendStatement(org.apache.cloudstack.quota.QuotaStatementTest)  Time
>> elapsed: 0.011 sec  <<< FAILURE!
>>
>> org.mockito.exceptions.verification.WantedButNotInvoked:
>>
>> Wanted but not invoked:
>>
>> alertManager.sendQuotaAlert(
>>
>>
>> org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@6e9d6ff7
>>
>> );
>>
>> -> at
>> org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)
>>
>> Actually, there were zero interactions with this mock.
>>
>>
>> at
>> org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)
>>
>>
>>
>> Results :
>>
>>
>> Failed tests:
>>
>>   QuotaStatementTest.testSendStatement:251
>>
>> Wanted but not invoked:
>>
>> alertManager.sendQuotaAlert(
>>
>>
>> org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@6e9d6ff7
>>
>> );
>>
>> -> at
>> org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)
>>
>> Is it possible I'm missing something I should have in my master
>> environment or is this a general build problem?
>>
>> Thanks!
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkowski@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the cloud
>> <http://solidfire.com/solution/overview/?video=play>*™*
>>
>
>
>
>-- 
>*Mike Tutkowski*
>*Senior CloudStack Developer, SolidFire Inc.*
>e: mike.tutkowski@solidfire.com
>o: 303.746.7302
>Advancing the way the world uses the cloud
><http://solidfire.com/solution/overview/?video=play>*™*

Re: [Master] Build Failing

Posted by Mike Tutkowski <mi...@solidfire.com>.
I didn't spend much time trying to debug this...just re-ran the build with
-D skipTests=true so I could continue doing what I was doing.

Could this possibly have something to do with the new year? I tried to
re-run a build from a branch that was not updated and it actually failed at
the same quota test (this branch was building fine a few days ago...in
2015).

On Sat, Jan 2, 2016 at 6:21 PM, Mike Tutkowski <mike.tutkowski@solidfire.com
> wrote:

> Hi,
>
> I just updated (SHA = 67b753c11bab236187a0a68d92ca8e49cef1b3fd) and am
> seeing the following failure:
>
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
> <<< FAILURE! - in org.apache.cloudstack.quota.QuotaStatementTest
>
> testSendStatement(org.apache.cloudstack.quota.QuotaStatementTest)  Time
> elapsed: 0.011 sec  <<< FAILURE!
>
> org.mockito.exceptions.verification.WantedButNotInvoked:
>
> Wanted but not invoked:
>
> alertManager.sendQuotaAlert(
>
>
> org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@6e9d6ff7
>
> );
>
> -> at
> org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)
>
> Actually, there were zero interactions with this mock.
>
>
> at
> org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)
>
>
>
> Results :
>
>
> Failed tests:
>
>   QuotaStatementTest.testSendStatement:251
>
> Wanted but not invoked:
>
> alertManager.sendQuotaAlert(
>
>
> org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@6e9d6ff7
>
> );
>
> -> at
> org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)
>
> Is it possible I'm missing something I should have in my master
> environment or is this a general build problem?
>
> Thanks!
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*