aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2016-03-10Update gnocchi for centos binarySwapnil Kulkarni (coolsvap)1-4/+2
Gnocchi packages are now available in centos repos[1] for liberty and the images build. backport: liberty Closes-Bug:#1478145 [1] http://mirror.centos.org/centos/7/cloud/x86_64/openstack-liberty/ Change-Id: I957754d4a4e35b026d3e27ee23f33ce2e78592ec
2016-03-01Add new gates for oraclelinuxPaul Bourke1-0/+35
Change-Id: Ic5c0e266639c8ed76d0af473d076d9ae6749102a Implements: bp oraclelinux-gate
2016-02-29Move ironic-discoverd to ironic-inspectorAllen Gao1-2/+2
Closes-Bug: #1551052 Change-Id: Ic226287bbf1f1e8d5cc2e1d80ce2975448b1f95c
2016-02-27Reconfigure keystone serviceJeffrey Zhang1-2/+4
Partially-implements: bp kolla-reconfig Change-Id: Ied293e59bf4531e88a0e5e5bf9a5f5f495d2a0e7
2016-01-26Merge "Separate exclusion list for source and binary types"Jenkins1-27/+32
2016-01-26Merge "Convert gate to file backend rather than partition"Jenkins6-280/+2
2016-01-26Separate exclusion list for source and binary typesMichal Rostecki1-27/+32
Separate list of excluded images for source and binary unit tests. Change-Id: I4b6032db25c898272491c44c7a06f7cddf7a2298 Closes-Bug: #1487252
2016-01-22Merge "Add binary support for Manila container"Jenkins1-2/+1
2016-01-22Add binary support for Manila containerMarc Koderer1-2/+1
Change-Id: Iea77fa26c17e120b5c0487eca8a76972281ee99a Partially-Implements: blueprint enable-manila-containers
2016-01-21Convert gate to file backend rather than partitionSamYaple6-280/+2
The existing gate partitioned a disk for use with docker, depending on the gate it would use the swap disk (RAX) or a spare disk (HP). However, with the new gates (Bluebox + OVH) there is neither a spare disk nor a swap disk. This leaves us with one choice: File based loop device. This patch creates a file at /swapfile to ensure we have swap. It creates a file at /docker to ensure we have a loop device for Docker. Right now the /docker file is 10GB and the /swapfile is 4GB due to size limitations in the gate across all servers and types. This has proven to be enough space for all our current tests. Additionally, reduce the number of threads the gate uses to 4 to prevent the lockup and hour timeout we have been seeing as more recently in the gate. The scripts that setup the gate are moved to the tools directory rather than the tests directory to match the structure of the other projects. Partially-Implements: blueprint functional-testing-gate Change-Id: I3e370f2382b6df36103d8b2ceda9b21d9b4229d5
2016-01-20Update docker-py reqs in gate setupAllen Gao1-1/+1
TrivialFix Change-Id: Idb0447a94a730fbcd822a855c865074817dd11b3
2016-01-19Merge "add unittest code base"Jenkins1-1/+1
2016-01-18Add manila container (source only)Marc Koderer1-1/+2
Support manila as container. First step only supports building from source. Change-Id: I60bb67536c9afdb9f0532b3cdc2c400a68608003 Partially-Implements: blueprint enable-manila-containers
2016-01-18add unittest code baseJeffrey Zhang1-1/+1
* add a base TestCase class * load the tests from the project root rather than only tests dir * add a test case for WorkerThread builder function Change-Id: Icf878f9249b475a311123c8235c42b1212d02ca6 Partially-implements: bp add-ut-codebase
2016-01-13Merge "Add some additional debug to gate"Jenkins1-0/+21
2016-01-13Add py27 py34 pypy unittestJeffrey Zhang4-3/+9
Change-Id: Iaf58463bd156924839062b8284a2d7151a153db5
2016-01-12Add some additional debug to gateSamYaple1-0/+21
This info won't affect gate output as all info is logged to a file. TrivialFix Change-Id: Id92c1ebc60937fb376c69541d2f308a9d711c85e
2016-01-07Remove the kolla-build.confJeffrey Zhang1-0/+2
use tox -e genconfig to generate this file DocImpact Closes-Bug: #1531202 Change-Id: I3a6e57c3cc48aeb3a45a055b173207ea6e214960
2016-01-04Fix grammatical mistake, Changed character from "an" to "a"yangyapeng1-1/+1
Change-Id: I407793db93ce002cb88bb04193b46869e26d63bc
2016-01-03Unblock Docker pinning in gateSamYaple4-5/+4
Docker and docker-py can now be unpinned since Kolla has been converted to using the kolla_docker module and we no longer rely on upstream to unblock us. Change-Id: I6ee2b78c31ef0447da6154b75db381d5cdd55ab6 Partially-Implements: blueprint kolla-docker-module
2015-12-31Merge "Python 3 deprecated the logger.warn method in favor of warning"Jenkins1-1/+1
2015-12-31Merge "Make the logging more safe"Jenkins1-4/+4
2015-12-30Make the logging more safeJeffrey Zhang1-4/+4
TrivialFix Change-Id: I72c541c1846e503486b402e88d5b29364920fc83
2015-12-29Python 3 deprecated the logger.warn method in favor of warningWanlong Gao1-1/+1
Python 3 deprecated the logger.warn method, see: https://docs.python.org/3/library/logging.html#logging.warning, so we prefer to use warning to avoid DeprecationWarning. Change-Id: Ic4e07276def17ef39764601c8a7e0991f9a4efbc Closes-Bug: 1508442
2015-12-28Added dockerfiles for mistral.hparekh1-1/+2
Change-Id: Ie74a91dccf654da9305722d14af2f0a893dbaaff Partially-implements: blueprint enable-mistral-container
2015-12-14Merge "Skip gate FS optimization if no secondary disk"Jenkins2-35/+42
2015-12-11Improve ansible deployment failure reportingMartin André1-1/+3
Change-Id: I73395afa2a2d8f3dc835e010e3b1959ec725da2a Closes-Bug: #1525102 Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
2015-12-11Skip gate FS optimization if no secondary diskMartin André2-35/+42
This commit removes the assumption that all gate nodes have a secondary disk, and skip tuning the filesystem if the node doesn't have one. This fixes gate failures on OVH nodes. Closes-Bug: #1525047 Change-Id: Ief22f34b32caf7a8b446df888fc5cc1964ad272e
2015-12-04Merge "Add support for copying files from a "zk://" source"Jenkins1-0/+58
2015-12-03Set docker api version to autoArtur Zarzycki1-1/+1
Change-Id: I25d957a2368fa4e52b5fa9253d7ea5ec4046d830 Closes-Bug: #1521949
2015-12-02Add support for copying files from a "zk://" sourceAngus Salkeld1-0/+58
Co-Authored-By: Michal Rostecki <mrostecki@mirantis.com> Implements: blueprint zookeeper Change-Id: I176f063d3802716846b921e210c1569d28bd90d8
2015-11-22Convert gate to Ansible setupSam Yaple5-48/+126
To support multinode we must now distribute our setup to multiple hosts. Instead of making special rules for this, we are going to convert our existing setup to Ansible. This way both setup proceedures take place in the exact same fashion. Partially-Implements: blueprint multinode-gate Change-Id: I43ece298bba994e9b5083403ef3cf6d4245cda6d
2015-11-21Dynamically find the extra partitioned block deviceDavid Moreau Simard1-2/+4
This provides support for using loopback devices for the extra disk. Change-Id: Ia61b32e27ba619d15860daa6a9ed75291dad1d06 Closes-bug: #1518641
2015-11-17Add support for loading kolla config from ENVAngus Salkeld1-0/+17
Implements: blueprint zookeeper Change-Id: Ibabcb5d6d304be9290633338c513f16651d4479a
2015-11-16Add Python 3.x supportMichal Rostecki1-1/+2
Implements: blueprint python3 Change-Id: I1e02568907aa38dd0efcb428235004ce47d73af8
2015-11-10Merge "We now have a logs publisher"Jenkins1-0/+5
2015-11-10Add a test case for load_configAngus Salkeld1-0/+47
This is just a basic test to make sure loading from file works. Change-Id: I074f36023ac4198c436fcee1668d32f9d1f0e61b
2015-11-09We now have a logs publisherSam Yaple1-0/+5
We need to create a directory to allow publishing of logs. Change-Id: Ieeac5d236b698bedaccb8b5f0bb16f0de9df9386 Backport: Liberty Partially-Implements: blueprint multinode-gate
2015-11-05Restrucutre gate scriptsSam Yaple2-10/+32
So we can respect DRY and share as much code as possible I have broken out the common code between the aio and multinode gate scripts. Additionally, this lays the ground work for removing our policy on root-everywhere by using sudo. Once we get the non-root stuff worked out we can gate as non-root user. Change-Id: I781c597ab10f2296b95f51ae27e0fa617ffe0a66 Partially-Implements: blueprint multinode-gate
2015-11-05Adjust gate btrfs setupSam Yaple1-0/+7
This is in preperation for the DinD gate. Change-Id: I2d2489df00808824f957ed0e3aa3a44496ff7e3e Partially-Implements: blueprint multinode-gate
2015-11-05Remove unused setup_fedora.shSam Yaple1-38/+0
The Fedora code is no longer used and can be removed. Should it be needed in the future the code is very similiar to CentOS. As is it will just become out of date as the code is never excersied. Change-Id: I7df832e5b0830ac8b4507f000ed8ed6e43d39463 Partially-Implements: blueprint multinode-gate
2015-10-23Update the super function nameSam Yaple1-3/+3
Change-Id: Ifeefe3c146e6b5e118956024c769e71b2e506a5b Partially-Implements: blueprint functional-testing-gate
2015-10-20In gate functional testingSam Yaple2-2/+70
This runs the ansible playbooks to completion. It does not validate that OpenStack is working yet, but it will ensure Ansible did not break. Additional gates will be needed for this and there is a patch in project-config to handle that. Change-Id: I7a24a704023cc8f19d42844636e9cb512060f693 backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-10-13Pin docker to 1.8.2 in gateSam Yaple3-3/+3
Change-Id: I1207f04771267702a7b592643a07dd0d92bacbc9 backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-09-28Add Ansible support for IronicJeff Peeler1-1/+3
Configuration based off upstream documentation here: http://docs.openstack.org/developer/ironic/deploy/install-guide.html A few notes: -ironic-api is not configured to use mod_wsgi -several places it's noted that discoverd is going away and needs to be replaced with ironic-inspector - (sqlite connection should be changed too) -currently enabling ironic reconfigures nova compute (driver and scheduler) as well as changes neutron network settings -a nice enhancement would be to configure the web console Required post-deployment configuration: Create the flat network to launch the instances: neutron net-create --tenant-id $TENANT_ID sharednet1 --shared \ --provider:network_type flat --provider:physical_network physnet1 neutron subnet-create sharednet1 $NETWORK_CIDR --name $SUBNET_NAME \ --ip-version=4 --gateway=$GATEWAY_IP --allocation-pool \ start=$START_IP,end=$END_IP --enable-dhcp And then the above ID is used to set cleaning_network_uuid in the neutron section of ironic.conf. Change-Id: I572e7ff1f23c4e57a2c50817cafe9269fd9950dd Implements: blueprint ironic-container
2015-09-02Setup ubuntu build gateSam Yaple1-3/+17
Change-Id: I65c8ab12761c7e36923d4c5a0c3bbfc4b9adaf73 Partially-Implements: blueprint functional-testing-gate
2015-08-29Remove deprecated --template option from gatingSteven Dake1-24/+7
The template option is deprecated and --template is now default. Also rename the tox jobs test calls since we won't have Docker build operations. Change-Id: I99df9c337680003e042e7e56a19d6cae2a59ed74 Partially-Implements: blueprint gate-source-builds
2015-08-28Remove docker directorySteven Dake1-63/+0
Remove the docker directory (yay) and old build tools. This will result in an f21 failing gate - however, I have a patch submission to remove that gate from our project configuration. Change-Id: I3c461cedb6906422c8076f60c470e773d6cdcf33 Partially-Implements: blueprint remove-docker-dir
2015-08-28Start of removal of docker directorySteven Dake1-2/+2
Start off the removal of the docker directory by making the gate only run against docker templates. The idea is we are going to from this patch set forward completely abandon the functioning of the docker directory and focus on making templates work properly. In order to facilitate that, this patch set makes sure each change gates properly for the changed service in the Templates build. Note because git review and gerrit can't keep history on removal followed by a git move operation, we first git rm the files affected then git mv them to get the gate working again. Every other patch in this patch set will fail the gate. That is expected behavior. Change-Id: I1be2e2638aef4ada038bfe5f3dd563f040542df2
2015-08-27Remove tiered building in build.pySam Yaple1-8/+5
Many tiers have been shed over this issue and frankly enough is enough on this tiering thing, it's tiering us apart! Now we use threading a bit better as well. No more tiers! Puns very much intended. Additionally, this refactors the function names to make inc0 happier and be consistent. We also modify the test_build.py to catch the new statuses introduced by the regex patch. Then we remove the Ubuntu Source from the Docker folder test as that will never ever be functional. Also fixed regex to properly match true regex expressions. Co-Authored-By: Michal Jastrzebski (inc0) <michal.jastrzebski@intel.com> Change-Id: I650fd6af76eddb809756762222e66aefd6fc1dca Partially-Implements: blueprint build-script