cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jenk...@cloudstack.org
Subject Build failed in Jenkins: simulator-singlerun #953
Date Tue, 03 Feb 2015 18:21:16 GMT
See <http://jenkins.buildacloud.org/job/simulator-singlerun/953/changes>

Changes:

[Rohit Yadav] CLOUDSTACK-8198: Use random local storage UUID

------------------------------------------
[...truncated 8444 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 [3.184s]
[INFO] Apache CloudStack ................................. SUCCESS [3.659s]
[INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [1.981s]
[INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [5.664s]
[INFO] Apache CloudStack Utils ........................... SUCCESS [33.620s]
[INFO] Apache CloudStack Framework ....................... SUCCESS [0.081s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [11.632s]
[INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [6.003s]
[INFO] Apache CloudStack API ............................. SUCCESS [24.086s]
[INFO] Apache CloudStack Framework - REST ................ SUCCESS [5.839s]
[INFO] Apache CloudStack Framework - IPC ................. SUCCESS [6.534s]
[INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.056s]
[INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [7.568s]
[INFO] Apache CloudStack Framework - Security ............ SUCCESS [2.983s]
[INFO] Apache CloudStack Core ............................ SUCCESS [33.265s]
[INFO] Apache CloudStack Agents .......................... SUCCESS [12.595s]
[INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [4.616s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [2.497s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [21.012s]
[INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [7.171s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [3.876s]
[INFO] Apache CloudStack Server .......................... SUCCESS [1:03.833s]
[INFO] Apache CloudStack Usage Server .................... SUCCESS [9.916s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS [12.941s]
[INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.085s]
[INFO] Apache CloudStack Secondary Storage ............... SUCCESS [0.479s]
[INFO] Apache CloudStack Secondary Storage Service ....... SUCCESS [8.591s]
[INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [10.047s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [6.101s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [3.685s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [3.516s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [3.104s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [12.067s]
[INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [2.523s]
[INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [7.487s]
[INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.550s]
[INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [9.696s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS [3.554s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS [7.312s]
[INFO] Apache CloudStack Plugin - API SolidFire .......... SUCCESS [3.586s]
[INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [5.978s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [2.567s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS [3.131s]
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor  SUCCESS [3.005s]
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner  SUCCESS [2.620s]
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner  SUCCESS [2.904s]
[INFO] Apache CloudStack Plugin - Implicit Dedication Planner  SUCCESS [9.447s]
[INFO] Apache CloudStack Plugin - Skip Heurestics Planner  SUCCESS [2.808s]
[INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [2.885s]
[INFO] Apache CloudStack Plugin - Dedicated Resources .... SUCCESS [8.517s]
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [5.534s]
[INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [5.086s]
[INFO] Apache CloudStack Plugin - Hypervisor XenServer ... SUCCESS [13.987s]
[INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [17.233s]
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [3.023s]
[INFO] Apache CloudStack Plugin - In Memory Event Bus .... SUCCESS [5.748s]
[INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SUCCESS [6.053s]
[INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SUCCESS [4.104s]
[INFO] Apache CloudStack Plugin - Hypervisor Hyper-V ..... SUCCESS [8.507s]
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer  SUCCESS [7.134s]
[INFO] Apache CloudStack Plugin - Network Internal Load Balancer  SUCCESS [11.629s]
[INFO] Apache CloudStack Framework - Spring Life Cycle ... SUCCESS [3.155s]
[INFO] Apache CloudStack Plugin - Network Juniper Contrail  SUCCESS [17.031s]
[INFO] Apache CloudStack Plugin - Palo Alto .............. SUCCESS [9.668s]
[INFO] Apache CloudStack Plugin - Network Netscaler ...... SUCCESS [5.738s]
[INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS [14.766s]
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment  SUCCESS [7.655s]
[INFO] Apache CloudStack Plugin - Network Brocade VCS .... SUCCESS [12.297s]
[INFO] Apache CloudStack Plugin - Midokura Midonet ....... SUCCESS [10.539s]
[INFO] Apache CloudStack Plugin - Stratosphere SSP ....... SUCCESS [8.449s]
[INFO] Apache CloudStack Plugin - Network Opendaylight ... SUCCESS [7.934s]
[INFO] Apache CloudStack Plugin - Storage Allocator Random  SUCCESS [2.958s]
[INFO] Apache CloudStack Plugin - User Authenticator LDAP  SUCCESS [5.702s]
[INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [6.006s]
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text  SUCCESS [2.787s]
[INFO] Apache CloudStack Plugin - User Authenticator SAML2  SUCCESS [54.107s]
[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted  SUCCESS [6.435s]
[INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS [2.383s]
[INFO] Apache CloudStack Plugin - Storage Image S3 ....... SUCCESS [3.057s]
[INFO] Apache CloudStack Plugin - Storage Image Swift provider  SUCCESS [2.916s]
[INFO] Apache CloudStack Plugin - Storage Image default provider  SUCCESS [3.157s]
[INFO] Apache CloudStack Plugin - Storage Image sample provider  SUCCESS [2.673s]
[INFO] Apache CloudStack Plugin - Storage Volume Nexenta Provider  SUCCESS [5.588s]
[INFO] Apache CloudStack Plugin - Storage Volume CloudByte Provider  SUCCESS [4.621s]
[INFO] Apache CloudStack Plugin - Storage Volume sample provider  SUCCESS [3.077s]
[INFO] Apache CloudStack Plugin - SNMP Alerts ............ SUCCESS [5.900s]
[INFO] Apache CloudStack Plugin - Syslog Alerts .......... SUCCESS [4.826s]
[INFO] Apache CloudStack Plugin - Network VXLAN .......... SUCCESS [6.351s]
[INFO] Apache CloudStack Plugin - GloboDNS ............... SUCCESS [11.311s]
[INFO] Apache CloudStack Plugin - Hypervisor Simulator ... SUCCESS [5.736s]
[INFO] Apache CloudStack Framework - Spring Module ....... SUCCESS [8.145s]
[INFO] Apache CloudStack Secondary Storage Controller .... SUCCESS [3.875s]
[INFO] Apache CloudStack Console Proxy - RDP Client ...... SUCCESS [12.105s]
[INFO] Apache CloudStack Console Proxy ................... SUCCESS [0.447s]
[INFO] Apache CloudStack Console Proxy - Server .......... SUCCESS [6.358s]
[INFO] Apache CloudStack System VM ....................... SUCCESS [13.254s]
[INFO] Apache CloudStack Client UI ....................... SUCCESS [33.324s]
[INFO] Apache CloudStack Framework - QuickCloud .......... SUCCESS [0.508s]
[INFO] Apache CloudStack Test ............................ SUCCESS [1.485s]
[INFO] Apache CloudStack Developer Mode .................. SUCCESS [3.615s]
[INFO] Apache CloudStack Developer Tools ................. SUCCESS [0.750s]
[INFO] Apache CloudStack apidocs ......................... SUCCESS [42.681s]
[INFO] Apache CloudStack marvin .......................... SUCCESS [6.826s]
[INFO] Apache CloudStack DevCloud ........................ SUCCESS [1.216s]
[INFO] Apache CloudStack DevCloud-KVM .................... SUCCESS [0.575s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:35.390s
[INFO] Finished at: Tue Feb 03 13:20:27 EST 2015
[INFO] Final Memory: 95M/442M
[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.8: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-217to218.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: Table 'version' already
exists
	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: 1:11.933s
[INFO] Finished at: Tue Feb 03 13:21:43 EST 2015
[INFO] Final Memory: 48M/191M
[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-217to218.sql>:
Table 'version' already exists -> [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 2 hr 44
min old

[xUnit] [INFO] - Failing BUILD.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.

Mime
View raw message