aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-21Switch to Shade in rallyJuha Kosonen2-167/+231
Use Shade for managing OpenStack resources in rally. Conflicts: functest/opnfv_tests/openstack/rally/rally.py functest/tests/unit/openstack/rally/test_rally.py Change-Id: Ic8b7aaef6886f6ca4930b2ea463317b75ed8d3c9 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit e32353a740a3aaa76031fe9c2372b11f88add1bb)
2018-05-21Update ODL testcase to OpenStack ShadeCédric Ollivier2-35/+155
Conflicts: functest/opnfv_tests/sdn/odl/odl.py functest/tests/unit/odl/test_odl.py Change-Id: I7832b5ed274e181449f9db9fb03a2d27038520ae Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c9b0a0a1bf5b30f241dee566c815d4e527ec9628)
2018-05-21Switch to project domain nameCédric Ollivier1-3/+5
At least Fuel, Apex and Joid don't export OS_PROJECT_DOMAIN_ID. https://build.opnfv.org/ci/view/functest/job/functest-joid-baremetal-daily-master/353/console Change-Id: I8441d2de1841d5a9ce78c6929fd78da01c45548c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 084dd47cdeb68f150165e009877ed995cb9db6dc)
2018-05-21Rewrite TempestResourcesManagerCédric Ollivier5-255/+141
It now leverages on OpenStack Shade to allow gating OpenStack master as asked by TSC. Switching to OpenStack master (OpenStack SDK Rocky) requires to change only one line. It stops dedicating the network to the user possibly created because the support is incomplete (the users have to be registed in tempest.conf and the multiprocessing has to be enforced). It also writes the second image and the second flavor in tempest.conf. Conflicts: functest/opnfv_tests/openstack/tempest/tempest.py functest/tests/unit/openstack/tempest/test_conf_utils.py functest/tests/unit/openstack/tempest/test_tempest.py Change-Id: I9fe2c90a6073ebc240e9aa8fdf2ef93d5dd5f15f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9fb702111ae63824a2e293d327437d0486a565d2)
2018-05-20Add image extra properties back in vping_baseDelia Popescu2-1/+6
Image extra properties are missing for ARM Set image_url for ARM JIRA: ARMBAND-383 Change-Id: I0e2730c3f22214ad61d72424ea76173f1783d0ca Signed-off-by: Delia Popescu <delia.popescu@enea.com> (cherry picked from commit 1aaeab75130345ae9198de23d013f9840044c8b5)
2018-05-20Improve ssh timeout in vping_sshCédric Ollivier1-6/+18
It seems that 10s is not enough for Fuel. Change-Id: I46d3d2c9091946befb0e056a8c8cc56c59087471 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e1e1317226b4022b6e77ae7ddcc9a1ef9d8ccbd2)
2018-05-20Simplify vping_sshCédric Ollivier8-98/+32
It directly calls ping from the ssh socket. It fixes a possible missing security rule. It stops blocking if vpings are in failure. Change-Id: I64092a155bb134fa8b7d31d0d13f695e019540d1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 213ca8e4e4d155ed6d5626020e56c3a241d1dace)
2018-05-20Implement get_external_network via shadeCédric Ollivier3-1/+87
It fixes the current issues as EXTERNAL_NETWORK is mainly unset by all Installers [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-fuel-armband-baremetal-arm-daily-fraser/31/console Change-Id: I8ee62623701c15b9ff962d0a0e07a77934ff03ac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8cf94642d8e41af5b23892323528aaab0e087a83)
2018-05-20Rewrite vping_ssh and vping_userdataCédric Ollivier5-482/+204
They now leverage on shade to allow gating OpenStack master as asked by TSC. Switching to OpenStack master (openstacksdk) requires to change only one line. It deletes the related unit tests as they have to be fully rewritten. They will be added in another change. Conflict: functest/opnfv_tests/openstack/vping/vping_base.py Change-Id: I0c60681d6e1c0944960770429ef972947dd85321 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f1fbaabcc46dafe4b9937af600294f042cab31e0)
2018-05-20Set image_url as filenameCédric Ollivier1-2/+1
It will be reused as soon as vping switches to openstacksdk. Change-Id: Ib84f4b35b22ead1741579ec9140d3626f9102469 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 67d0f2c89b22a18580c6a3acdcdff1648af36e95)
2018-05-20Switch from deploy utils to the right objectsCédric Ollivier4-35/+49
It also prints the full exceptions and removes useless casts. Change-Id: I19ff1ae90670833f998c0d17592da82207235229 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit fd18d52e94cc293c32bb7f69a00ec4604bdace0e)
2018-05-16Merge "Fix UserConfig objects" into stable/fraserCedric Ollivier2-2/+2
2018-05-16Fix UserConfig objectsCédric Ollivier2-2/+2
UserConfig is expecting domain_name as arg instead of domain. Else all vnfs cannot work against non Default domains. Change-Id: I4bb53df9d9c03524b19ec32f8d346d94ba78d188 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4bdb6e5de13eb5dc7f175dcc45d0dfedd0582fe4)
2018-05-16Fine-tuning the juju-epc codebase for better error-handlingsoumaya1-33/+68
The changes are mostly basic/cosmetic in nature. - Add some additional info in loggers. - Remove timeout from few commands(such as juju deploy) - Add exception logging for few commands(such as juju bootstrap). - Change rsync to cp for feature file transfer within ABot. Change-Id: Ibeaae17f1c25d04b7830ed42719b70e6c99228cf Signed-off-by: soumaya <soumaya.nayek@rebaca.com> (cherry picked from commit a69c4be1d1b4c6cc5021a14e63c9f73d28490942)
2018-05-16Updated documentation for juju_epc testssoumaya2-4/+40
Change-Id: If9399b7b385cb2660e76fcd42776c0dfcb4f7677 Signed-off-by: soumaya <soumaya.nayek@rebaca.com> (cherry picked from commit bd029d8b6b6801461904a257d566cd46a8c8d130)
2018-05-14Update cirros image version for ARM architectureDelia Popescu3-7/+5
Change-Id: Ia7a65a4f83798cb80ca7470d475c2c2d8c9fb6ea Signed-off-by: Delia Popescu <delia.popescu@enea.com> (cherry picked from commit c967e4702b215b3899c822c60529651335220cfa)
2018-05-11Leverage on local descriptorCédric Ollivier1-3/+1
It simply seems dummy. Change-Id: Ifb83dd0310f523f211911a35e7b481f9da6f9704 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7668df132aa661973a37aa5842be502765ba4922)
2018-05-11Install Cloudify descritors in functest-vnfCédric Ollivier5-23/+18
It completes [1] to fix gates [2] and stops getting thirdparty vnf master (dependencies). It also prints data to ease debugging. [1] https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater/commit/abd39d772c77317a25745feaaf312165e7588346 [2] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-fraser/110/console Conflicts: docker/vnf/Dockerfile functest/opnfv_tests/vnf/ims/cloudify_ims.yaml Change-Id: Ib317a491e54820f4edb01fcecfca9d2a08b40c0f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 19807ef8967c21da41fe5f5566751be8de250434)
2018-05-09Merge "Functest fail to parse tempest-based results" into stable/fraserLinda Wang1-3/+6
2018-05-07Make volumes appear as SCSI devices in aarch64Charalampos Kominos1-0/+8
Adding volumes in openstack by default uses virtio_blk and the devices appear as /dev/vdX. In aarch64 however a qemu pci slot is already in use so the tests cannot assign more than one volume to a VM. Forcing the drives to use virtio-scsi solves the issue and allows more volumes to be attached as /dev/sdX. The variable defining the drive is VOLUME_DEVICE_NAME and is passed as environmental variable when the container is created. JIRA: ARMBAND-376 Change-Id: Ia688cff338ff319e22a3b26796fa197297c23ce0 Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com> (cherry picked from commit a663c33645681f66ebe6b6af79c4e9f5910fb26b)
2018-05-07Functest fail to parse tempest-based resultsxudan1-3/+6
1. The regular expression can't work well for all tempest-based results 2. Refer to http://testresults.opnfv.org/test/api/v1/results?project=functest&case_name=refstack_defcore&last=1 3. There are 88 success test cases but the list of success is empty 4. tempest test case name is not always begin with {0}, it maybe any number 5. The test case whose name has the keyword 'fail' will also be list in 'failures' Change-Id: I5187aaaabdca762256be9162cc85ba42263169bc Signed-off-by: xudan <xudan16@huawei.com> (cherry picked from commit 9286e052afe194c400479275edaa2aaf8ed52de8)
2018-04-27Control vping cleanup step via --nocleanLinda Wang3-46/+40
Change-Id: Ic43b100348e77fd96aab9abc5a9ec4a0b47a2f87 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 1ca85485f74d09dfd6787b75fb40cb70dce64e4b)
2018-04-24Check shell scripts via bashateCédric Ollivier5-19/+33
It also removes functest/cli/functest-complete.sh. Change-Id: I5d9313be6a155b4adf1b82ce2b111ec06823cd8f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 00b78ca96bef67166e0118a0dbdb5152f401a608)
2018-04-23Update graphs in userguideLinda Wang4-2/+2
1. Functest structural concept 2. Clearwater architecture Change-Id: I88e39d6d08f1eb28a389d2b8a7a1669295f6aa49 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit ccaa9c9d495575bd16da001a984597456bf152e4)
2018-04-22Bypass NoneType errors when creating router in rallyCédric Ollivier1-1/+1
It converts private subnet name to str as it's mandary till [1]. It could be reverted as soon as [2] is merged in snaps. [1] https://gerrit.opnfv.org/gerrit/#/c/56091/ [2] https://gerrit.opnfv.org/gerrit/#/c/56171/ Change-Id: Ia728415207f8ecb5b5ac55982f82337c45671c4c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f0870e3735324941f5bd77243f36f9214cd531ac)
2018-04-21Bypass NoneType errors when creating routerCédric Ollivier1-2/+2
It converts private subnet name to str as it's mandary till [1]. It could be reverted as soon as [2] is merged in snaps. [1] https://gerrit.opnfv.org/gerrit/#/c/56091/ [2] https://gerrit.opnfv.org/gerrit/#/c/56171/ Change-Id: I849944fa9d4d2be21fe1a37b76c4cfd231b6d56f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-21Add timeouts in juju_epcCédric Ollivier1-11/+19
juju_epc still hangs if OpenStack isn't well deployed [1]. As releng doesn't publish logs if the job is aborted, timeout has to be added mostly everywhere. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-fraser/31/console Change-Id: I0296cd811bda0234aab98f184b3ab247a5b32017 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6279d9372d0a1827bb14e365cd02e9888941315d)
2018-04-20Merge "Update configguide" into stable/fraseropnfv-6.0.0Cedric Ollivier1-202/+94
2018-04-20Merge "Update version in setup.cfg (Fraser)" into stable/fraserCedric Ollivier1-1/+1
2018-04-20Merge "Last Release updates before tag (Fraser)" into stable/fraserCedric Ollivier6-131/+131
2018-04-20Update configguideLinda Wang1-202/+94
JIRA: FUNCTEST-959 Change-Id: Id75689154a63b7258d753f26bb5ff01c0b06012e Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit e37cf21781d60f498e08683df4ca7b1993c52052)
2018-04-20Update version in setup.cfg (Fraser)Cédric Ollivier1-1/+1
Change-Id: I4a8daeb788e18b0507f92b2e145e08614afc1b5a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-20Merge "Update test results in userguide" into stable/fraserCedric Ollivier2-65/+106
2018-04-20Merge "Add Kubernetes test details to functest userguide" into stable/fraserJuha Kosonen1-0/+28
2018-04-20Last Release updates before tag (Fraser)Cédric Ollivier6-131/+131
Change-Id: Id56f6b6bd6d35ce8edc006eb8824bcee67a3ca9a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-20Update test results in userguideLinda Wang2-65/+106
JIRA: FUNCTEST-958 Change-Id: I45fcdac6c645e52db9d664b7bd96319bbac49a63 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 4b18074ae39972ec9674e4d80d8392f06e6df61a)
2018-04-20Add Kubernetes test results to functest userguideKonrad Djimeli1-0/+36
Change-Id: I8b9d7a449ea3b123993c6619b368a4afb0dd2e3e Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com> (cherry picked from commit f0b362607b73f03d7ceef4e358920a5186b2c780)
2018-04-20Add Kubernetes test details to functest userguideKonrad Djimeli1-0/+28
Change-Id: I032bfe5f079c185d6217800b4a4d16e94c29b05c Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com> (cherry picked from commit cf04ef760710de425afef62d2584d7fb5a908d33)
2018-04-20Fix image paths in cloudify_ims_perf.yamlCédric Ollivier1-2/+2
Change-Id: If58b5f2021df8a0de672a30459b5b0b12f3fcef2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4c140b0cc3f484ce441e0f24a6a3a8c906d4cc59)
2018-04-20Set fraser as branch in cloudify_vrouter reposCédric Ollivier1-2/+2
Change-Id: I1338c07f7eab398723b5e7599cf94b032d014cdd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-19Download fraser.zip instead of master.zip (cloudify_ims)Cédric Ollivier2-2/+2
Change-Id: I6a5ebb27f445b816cf449f8b9db60e70278b338f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-19Take the new Abot charm branch into accountCédric Ollivier1-0/+2
Change-Id: I0cc1ea6b9bed335b4f0cc740f37fe399dc89146b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-19Use timeout to wrap juju-waitCédric Ollivier1-2/+4
It allows getting logs as releng doesn't push them if global timeout. Change-Id: I4bbb3818feff37d29b4ccd586f3e940380feef2e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 251024b29199ecee86661b8850751d982b7c5797)
2018-04-17Check app workload in juju_epcCédric Ollivier1-16/+16
It avoids interpreting rsync errors in case of deployment failures. Mysql is still unchecked. Change-Id: I01b4470b86637d0fc322c422f05240a928305158 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-17Merge "Get debug data before cleaning juju_epc" into stable/fraserCedric Ollivier1-0/+6
2018-04-17Get debug data before cleaning juju_epcCédric Ollivier1-0/+6
It could help us to detect the issue when testing Apex (nosdn). It should be only printed on exceptions instead but this proposal is safer and straightforward. Change-Id: I2cccc737e3b3572af72c2653bf32bc02f9ab9077 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c789cca4a6e9afefba0c1622d49a181dd35437f7)
2018-04-17Set scp debug flag in juju_epcCédric Ollivier1-3/+3
Change-Id: Ic57d05416ac7c8bc459363ea479237101c22f27e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ed3a825ec90796fe72387b4bd74033a991b2351b)
2018-04-17Update Xtesting to 0.32Cédric Ollivier1-1/+1
It includes an enhancement about logger (needed by sdnvpn). Change-Id: Ie906cf895605cedb4c495dd845e8cd6be91e21db Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-15Fix emails and copyrights in all conf.pyCédric Ollivier9-27/+27
Change-Id: Idbd735443ec106f14e088c1469701507c28d7545 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e521f245ee0575427de49b92506199c6316bb29f)
2018-04-15Check API doc via doc8Cédric Ollivier6-233/+19
It also cleans unseless dirs. Change-Id: I13be1359b36c49e8f199087fe2a23818c6d1b6e0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4fdae297551f0d1be07cf2edd39e3428923b52ae)