incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chiradeep Vittal <Chiradeep.Vit...@citrix.com>
Subject Re: "testNumJobsEqToNumVms3" unit test failed when Num Vms=1000000 on MacOS
Date Thu, 01 Nov 2012 18:56:51 GMT
Works for me when I run it in Eclipse. MacOSX 10.6.8 (Java 6)
Num Vms= 50 Queue size = 50
Num Vms= 20000 Queue size = 20000 time=8528 ms
Num Vms= 5000 Queue size = 5000 time=10669 ms
Num Vms= 1 Queue size = 1 time=0 ms
Num Vms= 1000000 Queue size = 1000000 time=1245 ms
Num Vms= 1 Queue size = 1 time=135 ms
Total jobs dequeued = 10, num queued=1002 queue current size=992
Total jobs dequeued = 10, num queued=1010 queue current size=1000
Total jobs dequeued = 1, num queued=1001 queue current size=1000
Total jobs dequeued = 10, num queued=1000 queue current size=990
Total jobs dequeued = 10, num queued=10 queue current size=0




On 11/1/12 11:08 AM, "Clement Chen" <clement.chen@citrix.com> wrote:

>Hi all,
>
>I kept getting the following unit test failure. Is there any OS/DB
>parameter I need to set on MacOS? Thanks.
>
>--------------------------------------------------------------------------
>--------------------------------------------------------------------------
>--------------------------------------------------------------------------
>-------------------------------------------------
>
>2012-11-01 10:35:08,396 DEBUG [network.security.SecurityGroupManagerImpl]
>(main:) Security Group Mgr v2: scheduling ruleset updates for 1001 vms
>(unique=1001), current queue size=0
>2012-11-01 10:35:08,398 DEBUG [network.security.SecurityGroupManagerImpl]
>(main:) Security Group Mgr v2: done scheduling ruleset updates for 1001
>vms: num new jobs=1001 num rows insert or updated=0 time taken=2
>Done 1000 in 2 ms
>2012-11-01 10:35:09,117 WARN  [network.security.SecurityGroupManagerImpl]
>(main:) Could not find ruleset log for vm 1100
>Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.495 sec
>Running com.cloud.network.security.SecurityGroupQueueTest
>Num Vms= 50 Queue size = 50
>Num Vms= 20000 Queue size = 20000 time=1981 ms
>Num Vms= 5000 Queue size = 5000 time=7636 ms
>Num Vms= 1 Queue size = 1 time=3 ms
>Num Vms= 1000000 Queue size = 960742 time=10919 ms       ----->  Error
>Here !!!!!!
>Total jobs dequeued = 10, num queued=1002 queue current size=992
>Total jobs dequeued = 10, num queued=1006 queue current size=996
>Total jobs dequeued = 1, num queued=1001 queue current size=1000
>Total jobs dequeued = 10, num queued=1000 queue current size=990
>Total jobs dequeued = 10, num queued=10 queue current size=0
>Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 23.933
>sec <<< FAILURE!
>Running com.cloud.utils.db.GlobalLockTest
>Configure log4j with default properties
>Thread 0 waited 5 ms, locked=true
>Thread 0  unlocked=true
>Thread 49 waited 2989 ms, locked=true
>Thread 49  unlocked=true
>Thread 1 waited 6012 ms, locked=false
>Thread 2 waited 6007 ms, locked=false
>ŠŠŠŠŠ
>
>Failed tests:   
>testNumJobsEqToNumVms3(com.cloud.network.security.SecurityGroupQueueTest):
> expected:<1000000> but was:<960742>


Mime
View raw message