Rafael da Fonseca
f77f4c2f11
xunit-reader.py was returning success in case of exception being thrown during test!
...
Revert the fix to throw failed test on exception, will fix that in a separate branch so all the other fixes can be committed already and not raise failure on an old intermittent issue that was hidden
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:26 +02:00
Rafael da Fonseca
773e4158b6
Print log data on after_failure.sh
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:26 +02:00
Rafael da Fonseca
348bd2f3cc
Use upstart to start mysql and get rid of the warnings
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:26 +02:00
Rafael da Fonseca
e52f3ab932
Add urandom as random source in install.sh
...
Add urandom as random source in before_script.sh
Remove commented lines in before_script.sh
Remove commented lines in install.sh
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:26 +02:00
Rafael da Fonseca
b95f47c4d4
Remove some more unwanted stuff in install.sh
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:25 +02:00
Rafael da Fonseca
c4a38bdb0d
Tomcat download is not doing anything except waste time and disk
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:25 +02:00
Rafael da Fonseca
4047dd571d
Can't run travis_wait from script, this just throws an error
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:25 +02:00
Rafael da Fonseca
118f607942
Add some retry and debug to python packages install Sometimes after a full successful run, travis will fail due to not being able to parse tests output
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:25 +02:00
Rafael da Fonseca
9a50e0f03e
Fix phase2 deps download for maven 3.2.5 This version didn't like missing <version> tag on artifacts
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:25 +02:00
Rafael da Fonseca
7838bfcc70
Add timeout to nc command, as it was waiting forever and not going through the while loop. This will make sure nc gets restared to retry in case something nasty is happening in the running process
...
host command not present in build env, switch to getent
second phase of dep download turning some error, print failure log
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:25 +02:00
Rafael da Fonseca
c1c0382bf5
Don't sleep for a fixed amount of time, no use in continuing if repo is unavailable Check if DNS resolution is working properly when failure occurs
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:25 +02:00
Rafael da Fonseca
6a6d64b99a
Get some verbosity and debug on after_script.sh to troubleshoot timeouts on this phase Travis is using maven 3.2.5 and this script was setting an alternate maven path before running script Setting CATALINA_BASE and CATALINA_HOME is of no consequence while running jetty, just adds more problems
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:24 +02:00
Rafael da Fonseca
b55ef551ca
It seems the network failures last for a bit.. allow some sleeping time Add some verbosity for status checking
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:24 +02:00
Rafael da Fonseca
f0dcd403e7
Second phase wan't running properly due to path issue Add extra echo command to make sure there's data in the pom
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:24 +02:00
Rafael da Fonseca
f0e1c8908b
Send output to oblivion because of this message in travis log view: This log is too long to be displayed. Please reduce the verbosity of your build or download the raw log.
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:24 +02:00
Rafael da Fonseca
880f116a62
This is a quick fix to attempt to resolve most of the travis failures Most of the failures have been due to transient network failures, that are causing dependency artifact downloads to fail Maven does not have a way to retry this without restarting the whole build, so the mvn dependency plugin is the best bet Unfortunately, running a dependency:resolve on the project returns yet to be compiled dependencies, and causes it to fail... There is an option to excludeGroupIds and excludeArtifactIds in the docs for this goal, but unfortunately they don't seem to work This drafts a dummy pom in a quick and dirty way, just to download all the deps in one go, while retrying for RETRY_COUNT times if it fails
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:24 +02:00
Daan Hoogland
bbb165a037
findbugs: use preferred encoding explicitly
2015-06-20 10:36:15 +02:00
Daan Hoogland
916a6d0104
findbugs: prepare prepared statements to leverage the advantages of'em
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
This closes #496
2015-06-20 03:37:20 +02:00
Daan Hoogland
9eff27a080
findbugs: static member should be final
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
This closes #495
2015-06-20 00:57:59 +02:00
Daan Hoogland
871ba9c521
findbugs: ignored return value should have been returned down stack
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
This closes #494
2015-06-20 00:57:01 +02:00
Rafael da Fonseca
3efe053952
Test would also throw success if vm was still 'Starting' after 1 minute, this resolves that Reduced for loop to two runs as it will make those many calls to the API if state was Running to start with
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
This closes #493
2015-06-19 23:40:31 +02:00
Rafael da Fonseca
480cd4693f
Allow some time for the SSVM to start before throwing a failure
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-19 23:40:31 +02:00
Daan Hoogland
6e068551d6
findbugs: use a prepared statement as prepared statement
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
This closes #492
2015-06-19 23:26:00 +02:00
Daan Hoogland
e713ed3b11
findbugs: prepared statements don't make sense if these are not actually prepared
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-19 23:26:00 +02:00
Daan Hoogland
e3407a3939
findbugs: encoding using preferred Charset
2015-06-19 23:03:05 +02:00
Rafael da Fonseca
870e1898eb
Use same sudoers config for all distros Cleanup buggy code for sudoers file editing
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
This closes #332
2015-06-19 16:00:57 +02:00
Daan Hoogland
c45c9bfeef
findbugs UC useless condition not sure what findbugs means yet, but this should at least turn both warnings into one.
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
This closes #490
2015-06-19 15:53:09 +02:00
Daan Hoogland
bb613baa2b
findbugs: repeated condition seems c&p error the tested states sugest that EXPUNGED should be the last one
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #491
2015-06-19 15:26:53 +03:00
Daan Hoogland
1532203e36
findbugs: decoding String using preferred Charset
2015-06-19 14:22:19 +02:00
Daan Hoogland
9d1c38e7e7
findbugs: encoding string with preferred Charset
2015-06-19 14:19:54 +02:00
Daan Hoogland
ee3085db47
findbugs: repeated condition removed
2015-06-19 13:54:38 +02:00
Sanjeev Neelarapu
964deb0245
VM deployments from ISO and attaching ISOs to vm are not supported in LXC. So no point in running iso tests for LXC Bug-Id: CS-42250 Reviewed-By: Shweta
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #487
2015-06-19 13:41:41 +03:00
Sowmya Krishnan
a764d2c09d
Move tests to maint/ folder and added few error checking
2015-06-19 15:51:39 +05:30
Sanjay Tripathi
84d4c9bf4c
Recurring snapshot issue post upgrade from 3.0.7 to 4.5
...
This closes #486
2015-06-19 16:03:42 +05:30
Sanjay Tripathi
9044a02d9a
VM Snapshot Usage for DATA disk is reported as the size of the DATA disk instead of the actual snapshot size.
...
This closes #485
2015-06-19 15:55:21 +05:30
Sanjay Tripathi
92a9ee097d
AsyncJob reports 'Successful' even if RevertToVMSnapshot operation fails.
...
This closes #484
2015-06-19 15:48:21 +05:30
Abhinandan Prateek
bcfb8240e1
CLOUDSTACK-8570:Exception in calculating reserved capacity for dynamic service offering
2015-06-19 09:30:33 +05:30
Daan Hoogland
797a7f05ff
use version in branchname if branch is master
2015-06-19 00:01:43 +02:00
Daan Hoogland
b9dd67c383
CLOUDSTACK-8545 port of the fix to not reboot routers on out of band migration persé
2015-06-18 16:42:08 +02:00
Rafael da Fonseca
931cb95022
Fix 2 findbugs SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING warnings in ConfigurationManagerImpl.java
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #476
2015-06-18 13:37:39 +03:00
Rafael da Fonseca
b678b47793
Fix findbugs SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING warning in ConfigurationServerImpl.java
...
Remove checkstyle reported trailing space
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #477
2015-06-18 13:36:44 +03:00
Jayapal
59e6596fef
Fixed issue in adding vm SG rules on vm reboot for xenserver 6.5
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #479
2015-06-18 13:32:00 +03:00
Daan Hoogland
ba5b6b152e
findbugs: deal with all the encoding issues in a unified way further getBytes() calls can getBytes(StringUtils.getPrefferedCharset()) instead
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #467
This closes #467
2015-06-18 12:13:26 +02:00
Gaurav Aradhye
897ea3db76
CLOUDSTACK-8527: Skipping VPC tests on HyperV
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #458
2015-06-18 12:12:46 +02:00
pritisarap12
a5a1818d2a
CLOUDSTACK-8555: Skip resize volume operation for HyperV
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #465
2015-06-18 15:23:52 +05:30
ramamurtis
5c5d445d32
CLOUDSTACK-8548: Message translations in Japanese and Chinese
...
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This closes #380
2015-06-18 14:56:29 +05:30
Rafael da Fonseca
5d258fa163
Fix 2 findbugs SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING warnings in DatabaseConfig.java
...
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This closes #478
2015-06-18 14:36:26 +05:30
Rafael da Fonseca
2993291e7c
Fix findbugs SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING warning in AsyncJobDaoImpl.java
...
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This closes #475
2015-06-18 14:35:52 +05:30
Rafael da Fonseca
b84093f691
Fix findbugs SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING warning in PrimaryDataStoreDaoImpl.java
...
Remove trailing spaces that checkstyle complained about
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #474
2015-06-17 22:46:58 +02:00
Rafael da Fonseca
1407033cc2
Fix findbugs SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING warning in UserVmDaoImpl.java detail field was vulnerable
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #473
2015-06-17 22:38:19 +02:00