cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Animesh Chaturvedi <animesh.chaturv...@citrix.com>
Subject RE: Build failed in Jenkins: cloudstack-4.3-maven-build
Date Fri, 14 Feb 2014 05:57:29 GMT
I have tried on two machines (1cygwin, 1 linux) and do not run into this issue and able to
successfully build. 

I am ready to push the VOTE but this Jenkins build is holding me off. Any souls want to try
it out.

Thanks
Animesh.

> -----Original Message-----
> From: Animesh Chaturvedi [mailto:animesh.chaturvedi@citrix.com]
> Sent: Thursday, February 13, 2014 7:09 PM
> To: dev@cloudstack.apache.org
> Subject: RE: Build failed in Jenkins: cloudstack-4.3-maven-build #480
> 
> Folks
> 
> I need help with in fixing this test  failure. I did not run into it in my local
> setup. Can someone familiar with that code check on this?
> 
> 
> -------------------------------------------------------------------------------
> Test set: com.cloud.vpc.NetworkACLServiceTest
> -------------------------------------------------------------------------------
> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.12 sec <<<
> FAILURE!
> testDeleteACLItem(com.cloud.vpc.NetworkACLServiceTest)  Time elapsed:
> 0.109 sec  <<< ERROR!
> java.lang.NullPointerException
> 	at
> com.cloud.network.vpc.NetworkACLServiceImpl.revokeNetworkACLItem(Netw
> orkACLServiceImpl.java:596)
> 	at
> com.cloud.vpc.NetworkACLServiceTest.testDeleteACLItem(NetworkACLService
> Test.java:181)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:57)
> 
> Thanks
> Animesh
> 
> > -----Original Message-----
> > From: jenkins@cloudstack.org [mailto:jenkins@cloudstack.org]
> > Sent: Thursday, February 13, 2014 5:31 PM
> > To: dev@cloudstack.apache.org
> > Subject: Build failed in Jenkins: cloudstack-4.3-maven-build #480
> >
> > See <http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-
> > build/480/changes>
> >
> > Changes:
> >
> > [animesh] CLOUDSTACK-6068: set display flag to true in
> > service/disk_offering_details tables
> >
> > [animesh] CLOUDSTACK-6068: set display flag to true in
> > service/disk_offering_details tables
> >
> > [animesh] pass isSourceNat to second ip on the same network(cherry
> > picked from commit 5af163ff7f658c30c6d93b50ac17c9cc0c5eb8c1)
> >
> > [animesh] CLOUDSTACK-6089: Implement equals() method for
> > ResourceTagResponse
> >
> > [animesh] CLOUDSTACK-6089: Use resource tag's key to determine match
> > in
> >
> > [animesh] CLOUDSTACK-6083 corrected firewall rule cidr load issue
> >
> > [animesh] CLOUDSTACK-6065: Fix NPE problem caused by the lack of
> > context setup in threads from agent manager thread pool
> >
> > ------------------------------------------
> > [...truncated 918 lines...]
> > -------------------------------------------------------
> >  T E S T S
> > -------------------------------------------------------
> >
> > Results :
> >
> > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> >
> > [INFO]
> > [INFO]
> > ----------------------------------------------------------------------
> > -- [INFO] Building Apache CloudStack Server 4.3.0 [INFO]
> > --------------------------------
> > ----------------------------------------
> > [INFO]
> > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-server
> > --- [INFO] Deleting
> > <http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-
> > build/ws/server/target> (includes = [**/*], excludes = []) [INFO]
> > Deleting
> > <http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/serv
> > er> (includes = [target, dist], excludes = []) [INFO] [INFO] ---
> > maven-remote- resources-plugin:1.3:process (default) @ cloud-server
> > --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (generate-resource)
> > @ cloud-server --- [INFO] Executing tasks
> >
> > main:
> >      [copy] Copying 3 files to
> > <http://jenkins.buildacloud.org/job/cloudstack-
> > 4.3-maven-build/ws/server/target/conf>
> >      [copy] Copying 1 file to
> > <http://jenkins.buildacloud.org/job/cloudstack-
> > 4.3-maven-build/ws/server/target/conf>
> > [INFO] Executed tasks
> > [INFO]
> > [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> > cloud- server --- [debug] execute contextualize [INFO] Using 'UTF-8'
> > encoding to copy filtered resources.
> > [INFO] Copying 30 resources
> > [INFO] Copying 3 resources
> > [INFO]
> > [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
> > cloud- server --- [INFO] Compiling 358 source files to
> > <http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-
> > build/ws/server/target/classes>
> > [INFO]
> > [INFO] --- maven-resources-plugin:2.5:testResources
> > (default-testResources) @ cloud-server --- [debug] execute contextualize
> [INFO] Using 'UTF-8'
> > encoding to copy filtered resources.
> > [INFO] Copying 29 resources
> > [INFO] Copying 3 resources
> > [INFO]
> > [INFO] --- maven-compiler-plugin:2.5.1:testCompile
> > (default-testCompile) @ cloud-server --- [INFO] Compiling 75 source
> > files to
> > <http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-
> > build/ws/server/target/test-classes>
> > [INFO]
> > [INFO] --- maven-surefire-plugin:2.12:test (default-test) @
> > cloud-server --- [INFO] Surefire report directory:
> > <http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-
> > build/ws/server/target/surefire-reports>
> >
> > -------------------------------------------------------
> >  T E S T S
> > -------------------------------------------------------
> > Running
> > org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplT
> > est log4j:WARN No appenders could be found for logger
> > (org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImpl
> > Test
> > ).
> > log4j:WARN Please initialize the log4j system properly.
> > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
> > for more info.
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.307
> > sec Running org.apache.cloudstack.region.RegionManagerTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041
> > sec Running org.apache.cloudstack.service.ServiceOfferingVOTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038
> > sec Running org.apache.cloudstack.affinity.AffinityApiUnitTest
> > Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.844
> > sec Running org.apache.cloudstack.privategw.AclOnPrivateGwTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.27
> > sec Running org.apache.cloudstack.network.lb.CertServiceTest
> > Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.155
> > sec Running
> > org.apache.cloudstack.network.lb.ApplicationLoadBalancerTest
> > Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.381
> > sec Running
> > org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest
> > Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.174
> > sec Running com.cloud.keystore.KeystoreTest
> > org.apache.cloudstack.api.response.UserVmResponse/null/{"id":"3","secu
> > rity group":[],"nic":[],"tags":[],"affinitygroup":[]}
> > org.apache.cloudstack.api.response.AlertResponse/null/{"id":"100","des
> > cripti
> > on":"Hello"}
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.208
> > sec Running com.cloud.server.ConfigurationServerImplTest
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021
> > sec Running com.cloud.event.EventControlsUnitTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102
> > sec Running com.cloud.resourcelimit.ResourceLimitManagerImplTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008
> > sec Running com.cloud.api.ApiDispatcherTest Tests run: 1, Failures: 0,
> > Errors: 0,
> > Skipped: 0, Time elapsed: 0.045 sec Running
> > com.cloud.alert.AlertControlsUnitTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026
> > sec Running com.cloud.ha.KVMFencerTest Tests run: 6, Failures: 0,
> > Errors: 0,
> > Skipped: 0, Time elapsed: 0.14 sec Running
> > com.cloud.capacity.CapacityManagerTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094
> > sec Running com.cloud.vm.snapshot.VMSnapshotManagerTest
> > Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.447
> > sec Running com.cloud.vm.UserVmManagerTest Tests run: 9, Failures: 0,
> > Errors: 0,
> > Skipped: 0, Time elapsed: 0.49 sec Running
> > com.cloud.vm.DeploymentPlanningManagerImplTest
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.871
> > sec Running com.cloud.network.NetworkModelTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072
> > sec Running com.cloud.network.security.SecurityGroupManagerImplTest
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.291
> > sec Running com.cloud.network.security.SecurityGroupQueueTest
> > Num Vms= 50 Queue size = 50
> > Num Vms= 20000 Queue size = 20000 time=2733 ms Num Vms= 5000
> Queue
> > size = 5000 time=2187 ms Num Vms= 1 Queue size = 1 time=0 ms Num
> Vms=
> > 1000000 Queue size = 1000000 time=1575 ms Num Vms= 1 Queue size = 1
> > time=228 ms Total jobs dequeued = 10, num queued=1003 queue current
> > size=993 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
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.021
> > sec Running com.cloud.network.UpdatePhysicalNetworkTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022
> > sec Running com.cloud.network.DedicateGuestVlanRangesTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
> > sec Running com.cloud.network.CreatePrivateNetworkTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
> > sec Running com.cloud.network.firewall.FirewallManagerTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001
> > sec Running com.cloud.network.dao.NetworkDaoTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001
> > sec Running com.cloud.vpc.Site2SiteVpnTest Tests run: 1, Failures: 0,
> > Errors: 0,
> > Skipped: 0, Time elapsed: 2.201 sec Running
> > com.cloud.vpc.NetworkACLServiceTest
> > Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.12
> > sec <<< FAILURE!
> > Running com.cloud.vpc.NetworkACLManagerTest
> > Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14
> > sec Running com.cloud.configuration.ValidateIpRangeTest
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007
> > sec Running com.cloud.configuration.ConfigurationManagerTest
> > Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034
> > sec
> >
> > Results :
> >
> > Tests in error:
> >   testDeleteACLItem(com.cloud.vpc.NetworkACLServiceTest)
> >
> > Tests run: 125, Failures: 0, Errors: 1, Skipped: 1
> >
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache CloudStack ................................. SUCCESS
> > [1.425s] [INFO] Apache CloudStack Maven Conventions Parent ........
> > SUCCESS [0.059s] [INFO] Apache CloudStack Framework - Managed Context
> > ..... SUCCESS [3.702s] [INFO] Apache CloudStack Utils
> > ........................... SUCCESS [12.886s] [INFO] Apache CloudStack
> > Framework ....................... SUCCESS [0.030s] [INFO] Apache
> > CloudStack Framework - Event Notification .. SUCCESS [7.046s] [INFO]
> > Apache CloudStack Framework - Configuration ....... SUCCESS [4.829s]
> > [INFO] Apache CloudStack API ............................. SUCCESS
> > [15.749s] [INFO] Apache CloudStack Framework - REST ................
> > SUCCESS [3.046s] [INFO] Apache CloudStack Framework - IPC
> > ................. SUCCESS [7.254s] [INFO] Apache CloudStack Cloud
> > Engine .................... SUCCESS [0.106s] [INFO] Apache CloudStack
> > Cloud Engine API ................ SUCCESS [5.670s] [INFO] Apache
> > CloudStack Core ............................ SUCCESS [11.209s] [INFO]
> > Apache CloudStack Agents .......................... SUCCESS [6.511s]
> > [INFO] Apache CloudStack Framework - Clustering .......... SUCCESS
> > [3.928s] [INFO] Apache CloudStack Framework - Jobs ................
> > SUCCESS [4.190s] [INFO] Apache CloudStack Cloud Engine Schema
> > Component ... SUCCESS [13.423s] [INFO] Apache CloudStack Framework -
> > Event Notification .. SUCCESS [1.916s] [INFO] Apache CloudStack Cloud
> > Engine Internal Components API  SUCCESS [3.734s] [INFO] Apache
> > CloudStack Server .......................... FAILURE [57.216s] [INFO]
> > Apache CloudStack Usage Server .................... SKIPPED [INFO]
> > Apache XenSource XAPI ............................. SKIPPED [INFO]
> > Apache CloudStack Cloud Engine Orchestration Component  SKIPPED [INFO]
> > Apache CloudStack Cloud Services .................. SKIPPED [INFO]
> > Apache CloudStack Secondary Storage Service ....... SKIPPED [INFO]
> > Apache CloudStack Engine Storage Component ........ SKIPPED [INFO]
> > Apache CloudStack Engine Storage Volume Component . SKIPPED [INFO]
> > Apache CloudStack Engine Storage Image Component .. SKIPPED [INFO]
> Apache CloudStack Engine Storage Data Motion Component  SKIPPED [INFO]
> Apache CloudStack Engine Storage Cache Component .. SKIPPED [INFO]
> Apache CloudStack Engine Storage Snapshot Component  SKIPPED [INFO]
> Apache CloudStack Cloud Engine API ................
> > SKIPPED [INFO] Apache CloudStack Cloud Engine Service ............
> > SKIPPED [INFO] Apache CloudStack Plugin POM ......................
> > SKIPPED [INFO] Apache CloudStack Plugin - API Rate Limit .........
> > SKIPPED [INFO] Apache CloudStack Plugin - API Discovery ..........
> > SKIPPED [INFO] Apache CloudStack Plugin - ACL Static Role Based ..
> > SKIPPED [INFO] Apache CloudStack Plugin - Host Anti- Affinity
> > Processor  SKIPPED [INFO] Apache CloudStack Plugin - Explicit
> > Dedication Processor  SKIPPED [INFO] Apache CloudStack Plugin - User
> > Concentrated Pod Deployment Planner  SKIPPED [INFO] Apache CloudStack
> > Plugin - User Dispersing Deployment Planner  SKIPPED [INFO] Apache
> > CloudStack Plugin - Implicit Dedication Planner  SKIPPED [INFO] Apache
> > CloudStack Plugin - Skip Heurestics Planner  SKIPPED [INFO] Apache
> > CloudStack Plugin - Host Allocator Random .. SKIPPED [INFO] Apache
> > CloudStack Plugin - Dedicated Resources .... SKIPPED [INFO] Apache
> > CloudStack Plugin - Hypervisor OracleVM .... SKIPPED [INFO] Apache
> > CloudStack Plugin - Open vSwitch ........... SKIPPED [INFO] Apache
> > CloudStack Plugin - Hypervisor Xen ......... SKIPPED [INFO] Apache
> > CloudStack Plugin - Hypervisor KVM ......... SKIPPED [INFO] Apache
> > CloudStack Plugin - RabbitMQ Event Bus ..... SKIPPED [INFO] Apache
> CloudStack Plugin - Hypervisor Baremetal ... SKIPPED [INFO] Apache
> CloudStack Plugin - Hypervisor UCS .........
> > SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor Hyper-V .....
> > SKIPPED [INFO] Apache CloudStack Plugin - Network Elastic Load
> > Balancer  SKIPPED [INFO] Apache CloudStack Plugin - Network Internal
> > Load Balancer  SKIPPED [INFO] Apache CloudStack Plugin - Network
> > Juniper Contrail  SKIPPED [INFO] Apache CloudStack Plugin - Palo Alto
> > .............. SKIPPED [INFO] Apache CloudStack Checkstyle
> > Configuration ........ SKIPPED [INFO] Apache CloudStack Plugin -
> > Network Nicira NVP ..... SKIPPED [INFO] Apache CloudStack Plugin -
> > BigSwitch Virtual Network Segment  SKIPPED [INFO] Apache CloudStack
> > Plugin
> > - Midokura Midonet ....... SKIPPED [INFO] Apache Cloudstack Plugin -
> > Stratosphere SSP ....... SKIPPED [INFO] Apache CloudStack Plugin -
> > Storage Allocator Random  SKIPPED [INFO] Apache CloudStack Plugin -
> > User Authenticator LDAP  SKIPPED [INFO] Apache CloudStack Plugin -
> > User Authenticator MD5 . SKIPPED [INFO] Apache CloudStack Plugin -
> > User Authenticator Plain Text  SKIPPED [INFO] Apache CloudStack Plugin
> > - User Authenticator SHA256 Salted  SKIPPED [INFO] Apache CloudStack
> > Plugin - Dns Notifier Example ... SKIPPED [INFO] Apache CloudStack
> > Plugin - Storage Image
> > S3 ....... SKIPPED [INFO] Apache CloudStack Plugin - Storage Image
> > Swift provider  SKIPPED [INFO] Apache CloudStack Plugin - Storage
> > Image default provider  SKIPPED [INFO] Apache CloudStack Plugin -
> > Storage Image sample provider  SKIPPED [INFO] Apache CloudStack Plugin
> > - Storage Volume SolidFire Provider  SKIPPED [INFO] Apache CloudStack
> > Plugin - Storage Volume default provider  SKIPPED [INFO] Apache
> > CloudStack Plugin - Storage Volume sample provider  SKIPPED [INFO]
> > Apache CloudStack Plugin - SNMP Alerts ............ SKIPPED [INFO] Apache
> CloudStack Plugin - Syslog Alerts ..........
> > SKIPPED [INFO] Apache CloudStack Plugin - Network VXLAN ..........
> > SKIPPED [INFO] Apache CloudStack Framework - Spring Life Cycle ...
> > SKIPPED [INFO] cloud-framework-spring-module .....................
> > SKIPPED [INFO] Apache CloudStack Test ............................
> > SKIPPED [INFO] Apache CloudStack Client UI .......................
> > SKIPPED [INFO] Apache CloudStack Console Proxy - RDP Client ...... SKIPPED
> [INFO] Apache CloudStack Console Proxy ...................
> > SKIPPED [INFO] Apache CloudStack Console Proxy - Server ..........
> > SKIPPED [INFO] Apache CloudStack Framework - QuickCloud ..........
> > SKIPPED [INFO] -----
> > -------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Total time: 2:47.235s
> > [INFO] Finished at: Thu Feb 13 20:24:13 EST 2014 [INFO] Final Memory:
> > 34M/179M [INFO]
> > ----------------------------------------------------------------------
> > -- [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-
> > plugin:2.12:test (default-test) on project cloud-server: There are test
> failures.
> > [ERROR]
> > [ERROR] Please refer to
> > <http://jenkins.buildacloud.org/job/cloudstack-4.3-
> > maven-build/ws/server/target/surefire-reports> for the individual test
> > results.
> > [ERROR] -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with
> > the -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with
> > the command
> > [ERROR]   mvn <goals> -rf :cloud-server
> > Build step 'Invoke top-level Maven targets' marked build as failure
Mime
View raw message