1656 Commits

Author SHA1 Message Date
Rafael da Fonseca
e4f09e9ebc Allow proper retry in pip install command
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:27 +02:00
Rafael da Fonseca
5386e0f6b5 Travis reported another false negative, if paramiko was present but version too low for marvin, nosetests wouldn't run and result would be success
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:26 +02:00
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
797a7f05ff use version in branchname if branch is master 2015-06-19 00:01:43 +02:00
Abhinav Roy
108a74a6b8 CLOUDSTACK-8487 : Add vMotion related tests
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #268
2015-06-02 12:01:12 +05:30
Rafael da Fonseca
1958a8e9c1 Cleanup awsapi leftovers
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #328
2015-05-29 19:15:51 +02:00
Stefan Magnus Landrø
161cc194d5 Fixed yum and apt repo locations used by chef in devcloud4
The testing repos seem to be gone, change to upstream

This closes #323

Signed-off-by: Erik Weber <erik@huug.no>
2015-05-28 22:50:02 +02:00
pritisarap12
a7ab794052 CLOUDSTACK-8308: Adding automation test cases for VM/Volume snapshot hardening
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #301
2015-05-27 14:35:47 +05:30
Priti Sarap
c961f2f14d CLOUDSTACK-8476: Disable enable zone pod cluster and host: --Test cases for testing the behavior of resources running on zone, cluster, pod, host and admin/non-admin user after disabling the zone, cluster, pod, host respectively 2015-05-27 14:25:11 +05:30
Gaurav Aradhye
59388b09ab CLOUDSTACK-8500: Adding missing key in test_data.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #279
2015-05-21 16:04:10 +05:30
Gaurav Aradhye
309c1b466f CLOUDSTACK-8498: Including schedule as default key in recurring_snapshot dict used to create recurring snapshot policy
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #276
2015-05-21 14:35:10 +05:30
Gaurav Aradhye
832f0293b3 CLOUDSTACK-8492: Fix dictionary access issue in createChecksum method - common.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #272
2015-05-21 12:32:45 +05:30
Rohit Yadav
9d8a62d0ee systemvmtemplate: install libc6:i386 for 64bit template
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-18 19:58:57 +02:00
Remi Bergsma
95e7673a55 Systemvm: Disable services that slow down boot
The console-setup service brings a nice font to the console, but why would we want to use it. In most cases it takes a <10 seconds to set it up. When using nested hypervising, I found this takes much longer time that causes tests to time-out. I'd suggest turning off these services. They are not required for the services the systemvm provides.
2015-05-18 13:44:09 +02:00
pritisarap12
f6789532b0 CLOUDSTACK-8476: Disabling Zone, Pod, Cluster: --Test cases for testing the behaviour of resources running on zone and admin/non-admin user after disabling the Zone
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #242
2015-05-18 12:18:15 +05:30
Rohit Yadav
0f82650dcf systemvmtemplate: use ovftool for building vmware template if available
This commit fixes a chmod issue where extracted vmdk file is not readable by all
users/groups. The other improvement is to use ovftool to build systemvm template
for vmware if it's available. This is based on a dev ML discussion and a suggested
approach by Ilya: http://markmail.org/message/kntsetgxdbppfh22

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-12 16:46:23 +02:00
Milamber
d75ce3f5cd Update L10N resource files on master branch (with 4.6 translation strings from Transifex) Add new HU resource file for Hungarian translation 2015-05-09 08:37:53 +02:00
Laszlo Hornyak
5b938ef932 Added hu to the language list
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #237
2015-05-09 08:37:53 +02:00
Rohit Yadav
8c929d58c7 apidoc: get version information from $project.version
(cherry picked from commit 09634322683f609ebe371d464d09bb79b160bf3b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	tools/apidoc/pom.xml
2015-05-08 11:37:57 +02:00
Daan Hoogland
1c408dec37 Merge branch '4.5' after 4.5.1 vote passes 2015-05-07 16:03:26 +02:00
Rohit Yadav
4ba72a877c Updating pom.xml version numbers for release 4.5.2-SNAPSHOT
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-07 15:33:01 +02:00
Rohit Yadav
11b7b0a3c3 Merge branch 'GA-4.5.1' into 4.5 2015-05-07 15:27:45 +02:00
Gaurav Aradhye
f33f044d19 CLOUDSTACK-8449: Include zoneid parameter in base library for updateConfiuration method
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #234
2015-05-07 12:32:14 +05:30
Rohit Yadav
069aa4e5f3 CLOUDSTACK-8433: remove awsapi db usage and add upgrade cleanup path
- Removes awsapi db properties usage across codebase
- Removes references from spring xmls, test cases and TransactionLegacy
- Adds sql command to drop database cloudbridge in schema-451to460-cleanup.sql

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-06 15:22:04 +02:00
Abhinandan Prateek
e1a212842a CLOUDSTACK-8429: optimizing travis to run configurable set of tests only after configurable runs 2015-05-06 08:49:16 +05:30
pritisarap12
628dde7fd2 CLOUDSTACK-8308: Adding automation test cases for VM/Volume snapshot continuation
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #230
2015-05-05 20:43:57 +05:30
pritisarap12
a380be6081 CLOUDSTACK-8308: Adding automation test cases for VM/Volume snapshot testpath snapshot limits
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #170
2015-05-05 16:22:18 +05:30
Abhinandan Prateek
1eb6f929ab CLOUDSTACK-8429: optimizing travis to run configurable set of tests only after configurable runs 2015-05-05 14:11:41 +05:30
Rohit Yadav
0eb4eb2370 Updating pom.xml version numbers for release 4.5.1
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-04 12:17:03 +02:00
Rajani Karuturi
89fa251119 CLOUDSTACK-8429: travis: running junit tests only in the first job
added a new environment variable RUNUNITTESTS
running full build if RUNUNITESTS is true else skipping tests
job1 now runs only unittests
removed some of the test files from job9 and job10 as they are timing
out.

This closes #218
2015-05-01 22:57:31 +05:30
Abhinandan Prateek
fb0bfd5d4f CLOUDSTACK-8429: disabling unit test for faster build 2015-05-01 12:35:03 +05:30
Rohit Yadav
0fa1453809 systemvmtemplate: use archived debian 7.8.0 iso since Debian8 is released now
This fixes the urls and jenkins build

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-29 17:19:15 +02:00
Rohit Yadav
a4120b24e4 systemvmtemplate: 7.8.0 iso is archived now, use link from archives
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-29 17:14:11 +02:00
Rajani Karuturi
0b8355920e Merge branch 'volume-upload' into master
This closes #206
2015-04-29 11:12:53 +05:30
Rohit Yadav
1f87057248 marvin: set ssl cert verification only if ssl module supports it
ssl._create_unverified_context is not available for all Python 2.x environment,
the fix would check if the attribute is available before trying to set it

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-28 14:24:26 +02:00