summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2016-08-23py3:Remove six.iterXXXLu lei1-3/+1
1、As mentioned in [1], we should avoid using six.iteritems/keys achieve iterators. We can use dict.items/keys instead, as it will return iterators in PY3 as well. And dict.items/keys will more readable. 2、In py2, the performance about list should be negligible, see the link [2]. [1] https://wiki.openstack.org/wiki/Python3 [2] http://lists.openstack.org/pipermail/openstack-dev/ 2015-June/066391.html TrivialFix. Change-Id: I0cbe8af3210233a58d25f0df187c3d085405aa2a
2016-08-19Add Dockerfile for congressMD NADEEM1-6/+6
Change-Id: I30c4d7929940c751bf88c4bf9a0e200025ebd5c8 Partially-Implements: blueprint enable-congress-container
2016-08-16Add support for building vmtp containerLarry Rensing1-0/+3
Add needed library packages and Dockerfile to build vmtp container. Co-Authored-By: Larry Rensing <lr699s@att.com> Partially implements: bp vmtp-container Change-Id: I54340947f3bdf61d3e4f54884fed90ac318124ff
2016-08-15Merge "Dockerfiles for Networking-SFC Container"Jenkins1-3/+9
2016-08-11Added Test case for env and volume compMD NADEEM1-0/+56
Change-Id: Ie98072ded6fee96b4e8c43cfe5124ead8e73e885 Implements: blueprint ansible-unit-tests
2016-08-06Dockerfiles for Networking-SFC Containerprithiv1-3/+9
Networking-SFC is a neutron big-tent project Kolla does not have Networking-SFC agent support for now. This is essential for Service Function Chaining use case. Build Networking-SFC Container. Change-Id: I67b4d6e061dbe31e2211cd3210726ab4c30cd087 Partially-Implements: blueprint enable-networking-sfc-support
2016-08-02Added Test case for attribute compMD NADEEM1-0/+71
Change-Id: Ib9f3773d86fd00941f8dfb6f9b1019b01044cad3 Partially-Implements: blueprint ansible-unit-tests
2016-08-01Fix the kolla_docker issue with docker 1.12Jeffrey Zhang1-0/+22
After docker 1.12, the RepoTags will be None rather than [] in the image list API. This PS will handle the both case. Change-Id: Ie2da44b44229c2f190550755b50876f607f9cc0c Closes-Bug: #1608358
2016-07-26Merge "Added unit test for volume operations"Jenkins1-0/+73
2016-07-14Added unit test for volume operationsMD NADEEM1-0/+73
Change-Id: I7ad73a81559d8856bd8a41d24f274a19d5a9ff03 Partially-Implements: blueprint ansible-unit-tests
2016-07-08Build docker images for OpenStack WatcherDave Walker (Daviey)1-2/+4
Watcher is part of the OpenStack big-tent and is formally known as "OpenStack Infrastructure Optimization service". Whilst it provides a range of default goals and strategies, the most relevant case is to enable re-balancing of the compute hosts by taking CPU usage (data from Ceilometer) into account and live migrating instances as required. Currently this only builds the Docker images for type source but binary builds are gracefully ignored. The ansible configurations will be part of a later commit. Change-Id: I9bb81ee625d9fcf6513e44e2ed20384e34da2adc Partial-bug: #1598929 Partially-implements: bp watcher Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-07-08Merge "Add Senlin Docker container"Jenkins1-2/+4
2016-06-30Add Senlin Docker containerEduardo Gonzalez1-2/+4
Change-Id: I52e08e2df77106969c5975ebda2510ea8aefa8b5 Partially-implements: bp senlin-container Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-06-28Added unit test for image operationMD NADEEM1-0/+115
Change-Id: I44a5ba649d73f4ca2d48065625c8d67445576944 Partially-Implements: blueprint ansible-unit-tests
2016-06-27Add test for remove container, get state and get envMD NADEEM1-0/+71
Change-Id: Id3abd50dbcdb21654d5f5bc344e960aff2c5d5d7 Partially-Implements: blueprint ansible-unit-tests
2016-06-27Add unit test for stop and restart containerMD NADEEM1-1/+60
Change-Id: Icd73eb6e2d5b4207142ef249c8995c98056ae1c4 Partially-Implements: blueprint ansible-unit-tests
2016-06-21Add Kuryr Docker containerHui Kang1-2/+2
Co-authored-by: Mohammad Banikazemi <mb@us.ibm.com> Partially-implements: bp kuryr-docker-plugin Change-Id: Ife54f71984ff6c9825769e81fd39e3444c6fe310
2016-06-18Merge "Added unit test for start container"Jenkins1-11/+60
2016-06-16Added unit test for start containerMD NADEEM1-11/+60
This patch check two senario first if we choose to start a new container with name say XXX, however in the env a container already exist with XXX name and second to start a stopped container. Change-Id: Ibd6c5fbcc6f37ea2481634ac2e6b3edb91ae7aab Partially-Implements: blueprint ansible-unit-tests
2016-06-15Merge "Add support for mistral ubuntu binary containers"Jenkins1-2/+1
2016-06-14Added unit test for start containerMD NADEEM1-2/+50
Partially-Implements: blueprint ansible-unit-tests Change-Id: I398f73f24ee5fa29dd11cd9bb8582cc6c195d007
2016-06-12Added unit test for kolla_dockerMD NADEEM1-0/+144
Added unit test for create container. Change-Id: If67025791e52581c8853da50623cc9547f4e9298 Partially-Implements: blueprint ansible-unit-tests
2016-06-07Make build.py importable libJeffrey Zhang1-1/+1
First step to break it down is to make it importable lib rather than self-contained script. Change-Id: Ibbc924c2849cc79006046f62f31a1909ce959066 Partially-implements: bp build-refactor
2016-06-01Add support for mistral ubuntu binary containersSwapnil Kulkarni (coolsvap)1-2/+1
partially implements blueprint add-mistral-binary Change-Id: I5aeb4eba3233947421baf0d35319e1090370a61a Depends-On: If4be00b937e14ec93443dcb7249cf17099d57cbe
2016-05-31Merge "Fix kolla-build return codes"Jenkins1-1/+1
2016-05-27Merge "Add support for murano binary containers for rpm based distros"Jenkins1-5/+2
2016-05-27Fix kolla-build return codesWill Miller1-1/+1
Add a main wrapper function to return 1 if any images failed to build; otherwise, return 0. Rename the old main() to run_build(), which still returns image statuses, to avoid interfering with unit tests. Change-Id: I5817cc9cebb4f42dc13e0535223e5dc8931a3aab Co-Authored-By: Mark Goddard <mgoddard@cray.com> Closes-Bug: #1578404
2016-05-25Add support for murano binary containers for rpm based distrosSwapnil Kulkarni (coolsvap)1-5/+2
Change-Id: I0b916d238f28fe1b536abfb01228b24dbabe8b91 Depends-On: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug:#1582537
2016-05-25Add support for magnum ubuntu binary containersSwapnil Kulkarni (coolsvap)1-1/+0
Change-Id: I5ad90f96aa58a99765feb2a3bc96157a4a61310f Depends-On: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug:#1582518
2016-05-02Remove dependencies on kazoo and friendsSteven Dake1-58/+0
Since kolla-mesos has been retired, there is no need in the code base to keep the zookeeper implementation. As a result, just remove it. If we were to keep it we need virtualenvs for that part of the code base which installs the python dependencies related to it for from-binary installs. This just simplifies the implementation tremendously and culls dead code. Change-Id: Ieda226e652d67f5b5667112f4f2556f3171366d3 Closes-Bug: #1577194
2016-04-13Add Mistral Binary ContainersSwapnil Kulkarni (coolsvap)1-2/+0
Added mistral binary containers for rpm based distros. Change-Id: Ic2de5ee191a4ed3e2ef3083fb4bb480096e9463f Partially-implements: bp add-mistral-binary
2016-04-02Add Ubuntu binary build and deploy gateJeffrey Zhang1-0/+17
The Ubuntu Mitaka repo is release, and we have add it. So it is time to add the Ubuntu binary gate. Closes-Bug: #1560386 Change-Id: I29d01147595c4ebebfa00798d01d5fd7398123a6
2016-03-22Remove ironic images from excluded listJeff Peeler1-6/+0
It looks like as far as building goes, the ironic containers are fine. So if this passes the gate then this should be fine to merge. TrivialFix Change-Id: I646ec301304602b5cdca6de75712b7cffde75a9e
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