Fixed the test cases 

-----Original Message-----
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 
Sent: Monday, May 5, 2014 1:09 PM
To: dev@cloudstack.apache.org
Subject: RE: Build failed in Jenkins: build-master #748

Am working on fixing the unit test.

-----Original Message-----
From: jenk...@cloudstack.org [mailto:jenk...@cloudstack.org] 
Sent: Monday, May 5, 2014 12:56 PM
To: dev@cloudstack.apache.org; Rajesh Battala
Subject: Build failed in Jenkins: build-master #748

See <http://jenkins.buildacloud.org/job/build-master/748/changes>

Changes:

[rajesh.battala] CLOUDSTACK-6528 SetupGuestNetwork command is not deleting the 
guest network configured on the eth device

[rajesh.battala] CLOUDSTACK-6518 [Hyper-V] Efficient way of finding the empty 
nic in VR/VpcVR to configure VPC entities

------------------------------------------
[...truncated 932 lines...]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-framework-security --- [INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-framework-security --- [INFO] [INFO] --- 
maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-framework-security --- [debug] execute contextualize [INFO] Using 'UTF-8' 
encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-framework-security --- [INFO] Compiling 7 source files to 
<http://jenkins.buildacloud.org/job/build-master/ws/framework/security/target/classes>
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-framework-security --- [debug] execute contextualize [INFO] Using 'UTF-8' 
encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<http://jenkins.buildacloud.org/job/build-master/ws/framework/security/test/resources>
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-framework-security --- [INFO] No sources to compile [INFO] [INFO] --- 
maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-security --- 
[INFO] Surefire report directory: 
<http://jenkins.buildacloud.org/job/build-master/ws/framework/security/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Core 4.5.0-SNAPSHOT [INFO] 
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-core --- [INFO] 
Deleting <http://jenkins.buildacloud.org/job/build-master/ws/core/target> 
(includes = [**/*], excludes = []) [INFO] Deleting 
<http://jenkins.buildacloud.org/job/build-master/ws/core> (includes = [target, 
dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check 
(cloudstack-checkstyle) @ cloud-core --- [INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-core --- 
[INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-core --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to 
copy filtered resources.
[INFO] Copying 26 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-core 
--- [INFO] Compiling 325 source files to 
<http://jenkins.buildacloud.org/job/build-master/ws/core/target/classes>
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-core --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to 
copy filtered resources.
[INFO] skip non existing resourceDirectory 
<http://jenkins.buildacloud.org/job/build-master/ws/core/test/resources>
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-core --- [INFO] Compiling 21 source files to 
<http://jenkins.buildacloud.org/job/build-master/ws/core/target/test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-core --- 
[INFO] Surefire report directory: 
<http://jenkins.buildacloud.org/job/build-master/ws/core/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.cloud.network.HAProxyConfiguratorTest
log4j:WARN No appenders could be found for logger 
(com.cloud.network.HAProxyConfigurator).
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: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.128 sec 
Running com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest
Tests run: 20, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.579 sec <<< 
FAILURE!
Running com.cloud.agent.transport.RequestTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.318 sec 
Running org.apache.cloudstack.api.agent.test.BackupSnapshotAnswerTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec 
Running org.apache.cloudstack.api.agent.test.AttachVolumeCommandTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec 
Running org.apache.cloudstack.api.agent.test.ChangeAgentCommandTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec 
Running org.apache.cloudstack.api.agent.test.BackupSnapshotCommandTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec 
Running org.apache.cloudstack.api.agent.test.CheckOnHostCommandTest
Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec 
Running org.apache.cloudstack.api.agent.test.AnswerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec 
Running org.apache.cloudstack.api.agent.test.CheckNetworkAnswerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec 
Running org.apache.cloudstack.api.agent.test.ChangeAgentAnswerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec 
Running org.apache.cloudstack.api.agent.test.CheckNetworkCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec 
Running org.apache.cloudstack.api.agent.test.SnapshotCommandTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec 
Running org.apache.cloudstack.api.agent.test.CancelCommandTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec 
Running org.apache.cloudstack.api.agent.test.CheckHealthCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec 
Running org.apache.cloudstack.api.agent.test.BumpUpPriorityCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec 
Running org.apache.cloudstack.api.agent.test.CheckHealthAnswerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec 
Running org.apache.cloudstack.api.agent.test.AgentControlCommandTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running 
org.apache.cloudstack.api.agent.test.AgentControlAnswerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Running 
org.apache.cloudstack.api.agent.test.AttachVolumeAnswerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec 
Running org.apache.cloudstack.api.agent.test.AttachIsoCommandTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec

Results :

Failed tests:   
testSetupGuestNetworkCommand(com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest):
 expected:< -C [ ]-M 01:23:45:67:89:AB...> but was:< -C []-M 
01:23:45:67:89:AB...>

Tests run: 139, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[0.609s] [INFO] Apache CloudStack ................................. SUCCESS 
[0.568s] [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS 
[1.080s] [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS 
[2.773s] [INFO] Apache CloudStack Utils ........................... SUCCESS 
[9.726s] [INFO] Apache CloudStack Framework ....................... SUCCESS 
[0.039s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS 
[5.689s] [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS 
[3.500s] [INFO] Apache CloudStack API ............................. SUCCESS 
[10.865s] [INFO] Apache CloudStack Framework - REST ................ SUCCESS 
[2.293s] [INFO] Apache CloudStack Framework - IPC ................. SUCCESS 
[4.984s] [INFO] Apache CloudStack Cloud Engine .................... SUCCESS 
[0.036s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS 
[3.779s] [INFO] Apache CloudStack Framework - Security ............ SUCCESS 
[1.894s] [INFO] Apache CloudStack Core ............................ FAILURE 
[7.819s] [INFO] Apache CloudStack Agents .......................... SKIPPED 
[INFO] Apache CloudStack Framework - Clustering .......... SKIPPED [INFO] 
Apache CloudStack Framework - Jobs ................ SKIPPED [INFO] Apache 
CloudStack Cloud Engine Schema Component ... SKIPPED [INFO] Apache CloudStack 
Framework - Event Notification .. SKIPPED [INFO] Apache CloudStack Cloud Engine 
Internal Components API  SKIPPED [INFO] Apache CloudStack Server 
.......................... SKIPPED [INFO] Apache CloudStack Usage Server 
.................... SKIPPED [INFO] Apache CloudStack Cloud Engine 
Orchestration Component  SKIPPED [INFO] Apache CloudStack Cloud Services 
.................. SKIPPED [INFO] Apache CloudStack Secondary Storage 
............... 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 - In Memory 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 Framework - Spring 
Life Cycle ... SKIPPED [INFO] Apache CloudStack Plugin - Network Juniper 
Contrail  SKIPPED [INFO] Apache CloudStack Plugin - Palo Alto .............. 
SKIPPED [INFO] Apache CloudStack Plugin - Network Netscaler ...... 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 - Network Opendaylight ... 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 Nexenta 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 CloudByte 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 Module ....... SKIPPED [INFO] Apache CloudStack 
IAM Service ..................... SKIPPED [INFO] Apache CloudStack IAM - Server 
.................... SKIPPED [INFO] Apache CloudStack IAM - Plugin 
.................... SKIPPED [INFO] Apache CloudStack Secondary Storage 
Controller .... 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 System VM ....................... SKIPPED [INFO] 
Apache CloudStack Client UI ....................... SKIPPED [INFO] Apache 
CloudStack Framework - QuickCloud .......... SKIPPED [INFO] Apache CloudStack 
AWS API Bridge .................. SKIPPED [INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.537s
[INFO] Finished at: Mon May 05 09:25:56 CEST 2014 [INFO] Final Memory: 51M/332M 
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on 
project cloud-core: There are test failures.
[ERROR]
[ERROR] Please refer to 
<http://jenkins.buildacloud.org/job/build-master/ws/core/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-core
Build step 'Invoke top-level Maven targets' marked build as failure

Reply via email to