See <http://jenkins.buildacloud.org/job/simulator-singlerun/811/changes>
Changes: [saksham.srivastava] CLOUDSTACK-8091: Stale entry exists for a VM NIC even after an exception while adding a new nic to vm ------------------------------------------ [...truncated 8733 lines...] [INFO] Building Apache CloudStack DevCloud-KVM 4.6.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-devcloud-kvm --- [INFO] Deleting <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm/target> (includes = [**/*], excludes = []) [INFO] Deleting <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm> (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-devcloud-kvm --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-devcloud-kvm --- [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-devcloud-kvm --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cloud-devcloud-kvm --- [INFO] Installing <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm/pom.xml> to /var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-devcloud-kvm/4.6.0-SNAPSHOT/cloud-devcloud-kvm-4.6.0-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS [2.622s] [INFO] Apache CloudStack ................................. SUCCESS [2.569s] [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [0.961s] [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [4.498s] [INFO] Apache CloudStack Utils ........................... SUCCESS [22.028s] [INFO] Apache CloudStack Framework ....................... SUCCESS [0.071s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [10.538s] [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [5.935s] [INFO] Apache CloudStack API ............................. SUCCESS [22.621s] [INFO] Apache CloudStack Framework - REST ................ SUCCESS [3.521s] [INFO] Apache CloudStack Framework - IPC ................. SUCCESS [6.015s] [INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.056s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [7.256s] [INFO] Apache CloudStack Framework - Security ............ SUCCESS [3.582s] [INFO] Apache CloudStack Core ............................ SUCCESS [29.869s] [INFO] Apache CloudStack Agents .......................... SUCCESS [9.384s] [INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [5.150s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [2.857s] [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [21.000s] [INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [8.038s] [INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [4.185s] [INFO] Apache CloudStack Server .......................... SUCCESS [59.616s] [INFO] Apache CloudStack Usage Server .................... SUCCESS [9.977s] [INFO] Apache CloudStack Cloud Engine Orchestration Component SUCCESS [13.084s] [INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.047s] [INFO] Apache CloudStack Secondary Storage ............... SUCCESS [0.412s] [INFO] Apache CloudStack Secondary Storage Service ....... SUCCESS [7.600s] [INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [10.040s] [INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [5.909s] [INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [4.175s] [INFO] Apache CloudStack Engine Storage Data Motion Component SUCCESS [3.872s] [INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [3.639s] [INFO] Apache CloudStack Engine Storage Snapshot Component SUCCESS [9.767s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [2.582s] [INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [7.042s] [INFO] Apache CloudStack Plugin POM ...................... SUCCESS [1.363s] [INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [9.051s] [INFO] Apache CloudStack Plugin - Storage Volume default provider SUCCESS [3.070s] [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider SUCCESS [6.800s] [INFO] Apache CloudStack Plugin - API SolidFire .......... SUCCESS [3.700s] [INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [6.019s] [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [2.827s] [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SUCCESS [2.987s] [INFO] Apache CloudStack Plugin - Explicit Dedication Processor SUCCESS [3.618s] [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner SUCCESS [3.098s] [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SUCCESS [3.004s] [INFO] Apache CloudStack Plugin - Implicit Dedication Planner SUCCESS [8.593s] [INFO] Apache CloudStack Plugin - Skip Heurestics Planner SUCCESS [2.985s] [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [3.196s] [INFO] Apache CloudStack Plugin - Dedicated Resources .... SUCCESS [8.131s] [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [4.821s] [INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [4.980s] [INFO] Apache CloudStack Plugin - Hypervisor XenServer ... SUCCESS [12.210s] [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [12.626s] [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [3.455s] [INFO] Apache CloudStack Plugin - In Memory Event Bus .... SUCCESS [6.275s] [INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SUCCESS [6.030s] [INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SUCCESS [3.708s] [INFO] Apache CloudStack Plugin - Hypervisor Hyper-V ..... SUCCESS [8.680s] [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SUCCESS [6.814s] [INFO] Apache CloudStack Plugin - Network Internal Load Balancer SUCCESS [11.918s] [INFO] Apache CloudStack Framework - Spring Life Cycle ... SUCCESS [2.905s] [INFO] Apache CloudStack Plugin - Network Juniper Contrail SUCCESS [16.016s] [INFO] Apache CloudStack Plugin - Palo Alto .............. SUCCESS [9.637s] [INFO] Apache CloudStack Plugin - Network Netscaler ...... SUCCESS [5.563s] [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS [14.692s] [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SUCCESS [7.705s] [INFO] Apache CloudStack Plugin - Network Brocade VCS .... SUCCESS [11.918s] [INFO] Apache CloudStack Plugin - Midokura Midonet ....... SUCCESS [9.600s] [INFO] Apache CloudStack Plugin - Stratosphere SSP ....... SUCCESS [8.022s] [INFO] Apache CloudStack Plugin - Network Opendaylight ... SUCCESS [7.749s] [INFO] Apache CloudStack Plugin - Storage Allocator Random SUCCESS [3.013s] [INFO] Apache CloudStack Plugin - User Authenticator LDAP SUCCESS [4.842s] [INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [5.330s] [INFO] Apache CloudStack Plugin - User Authenticator Plain Text SUCCESS [2.823s] [INFO] Apache CloudStack Plugin - User Authenticator SAML2 SUCCESS [16.428s] [INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted SUCCESS [6.240s] [INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS [2.844s] [INFO] Apache CloudStack Plugin - Storage Image S3 ....... SUCCESS [3.556s] [INFO] Apache CloudStack Plugin - Storage Image Swift provider SUCCESS [2.646s] [INFO] Apache CloudStack Plugin - Storage Image default provider SUCCESS [3.294s] [INFO] Apache CloudStack Plugin - Storage Image sample provider SUCCESS [2.771s] [INFO] Apache CloudStack Plugin - Storage Volume Nexenta Provider SUCCESS [5.555s] [INFO] Apache CloudStack Plugin - Storage Volume CloudByte Provider SUCCESS [4.410s] [INFO] Apache CloudStack Plugin - Storage Volume sample provider SUCCESS [3.120s] [INFO] Apache CloudStack Plugin - SNMP Alerts ............ SUCCESS [6.084s] [INFO] Apache CloudStack Plugin - Syslog Alerts .......... SUCCESS [5.153s] [INFO] Apache CloudStack Plugin - Network VXLAN .......... SUCCESS [6.183s] [INFO] Apache CloudStack Plugin - GloboDNS ............... SUCCESS [11.093s] [INFO] Apache CloudStack Plugin - Hypervisor Simulator ... SUCCESS [6.548s] [INFO] Apache CloudStack Framework - Spring Module ....... SUCCESS [8.645s] [INFO] Apache CloudStack Secondary Storage Controller .... SUCCESS [4.811s] [INFO] Apache CloudStack Console Proxy - RDP Client ...... SUCCESS [10.840s] [INFO] Apache CloudStack Console Proxy ................... SUCCESS [0.474s] [INFO] Apache CloudStack Console Proxy - Server .......... SUCCESS [6.760s] [INFO] Apache CloudStack System VM ....................... SUCCESS [11.314s] [INFO] Apache CloudStack Client UI ....................... SUCCESS [28.262s] [INFO] Apache CloudStack Framework - QuickCloud .......... SUCCESS [1.879s] [INFO] Apache CloudStack Test ............................ SUCCESS [1.814s] [INFO] Apache CloudStack Developer Mode .................. SUCCESS [2.396s] [INFO] Apache CloudStack Developer Tools ................. SUCCESS [0.552s] [INFO] Apache CloudStack apidocs ......................... SUCCESS [40.780s] [INFO] Apache CloudStack marvin .......................... SUCCESS [6.601s] [INFO] Apache CloudStack DevCloud ........................ SUCCESS [1.423s] [INFO] Apache CloudStack DevCloud-KVM .................... SUCCESS [0.587s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13:06.639s [INFO] Finished at: Thu Dec 18 07:44:34 EST 2014 [INFO] Final Memory: 91M/411M [INFO] ------------------------------------------------------------------------ [simulator-singlerun] $ mvn -P developer,simulator -Ddeploydb -pl developer [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack Developer Mode 4.6.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-developer --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ cloud-developer --- [WARNING] Ignoring missing properties file: <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/../utils/conf/db.properties.override> [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-developer --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (default) @ cloud-developer --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] >>> exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer >>> [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-developer --- [INFO] Starting audit... Audit done. [INFO] [INFO] <<< exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer <<< [INFO] [INFO] --- exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer --- log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. ========> WARNING: Provided file does not exist: <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/../utils/conf/db.properties.override> ========> WARNING: Provided file does not exist: <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/developer-prefill.sql.override> ========> Initializing database=cloud with host=localhost port=3306 username=cloud password=cloud ============> Running query: drop database if exists `cloud` ============> Running query: create database `cloud` ============> Running query: GRANT ALL ON cloud.* to 'cloud'@`localhost` identified by 'cloud' ============> Running query: GRANT ALL ON cloud.* to 'cloud'@`%` identified by 'cloud' ========> Initializing database=cloud_usage with host=localhost port=3306 username=cloud password=cloud ============> Running query: drop database if exists `cloud_usage` ============> Running query: create database `cloud_usage` ============> Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`localhost` identified by 'cloud' ============> Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`%` identified by 'cloud' ========> Initializing database=cloudbridge with host=localhost port=3306 username=cloud password=cloud ============> Running query: drop database if exists `cloudbridge` ============> Running query: create database `cloudbridge` ============> Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`localhost` identified by 'cloud' ============> Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`%` identified by 'cloud' ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema-premium.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/templates.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_schema.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_index.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart_alter.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_bucketpolicy.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_policy_alter.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering_alter.sql> ========> Processing SQL file at <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/developer-prefill.sql> ========> Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker [WARNING] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:744) Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade the database at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:402) at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:498) at com.cloud.upgrade.DatabaseCreator.main(DatabaseCreator.java:217) ... 6 more Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to execute upgrade script: <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/db/schema-442to450.sql> at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:314) at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:371) ... 8 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'default' in 'field list' at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:185) at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87) at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:305) ... 9 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2:04.388s [INFO] Finished at: Thu Dec 18 07:46:43 EST 2014 [INFO] Final Memory: 41M/159M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "simulator" could not be activated because it does not exist. [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (create-schema) on project cloud-developer: An exception occured while executing the Java class. null: InvocationTargetException: Unable to upgrade the database: Unable to execute upgrade script: <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/db/schema-442to450.sql>: Unknown column 'default' in 'field list' -> [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/MojoExecutionException Build step 'Invoke top-level Maven targets' marked build as failure [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing JUnit [xUnit] [INFO] - [JUnit] - 1 test report file(s) were found with the pattern 'xunit.xml' relative to '<http://jenkins.buildacloud.org/job/simulator-singlerun/ws/'> for the testing framework 'JUnit'. [xUnit] [ERROR] - Test reports were found but not all of them are new. Did all the tests run? * <http://jenkins.buildacloud.org/job/simulator-singlerun/ws/xunit.xml> is 1 hr 14 min old [xUnit] [INFO] - Failing BUILD. [xUnit] [INFO] - There are errors when processing test results. [xUnit] [INFO] - Skipping tests recording. [xUnit] [INFO] - Stop build.