functest.git
7 years agoInclude tempest_custom in the documentation 09/44809/1
Jose Lausuch [Tue, 10 Oct 2017 14:17:15 +0000 (16:17 +0200)]
Include tempest_custom in the documentation

Change-Id: I86300fff399d1bc73eeeed76b5057e3f6d2f85f3
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
(cherry picked from commit 832bb86db4fba9f65aebf09c058592d28e418134)

7 years agoFix the format issue of documentation 05/44805/1
Linda Wang [Tue, 10 Oct 2017 11:29:42 +0000 (11:29 +0000)]
Fix the format issue of documentation

Also update the structure of functest code.

Change-Id: Id3fa012d6c3204a0a8d7e6e4ba3159c52b68c6f5
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 79140281403a83ecfededbd1b58bf668bd4d1901)

7 years agoUpdate Config Guide 03/44803/1
Jose Lausuch [Tue, 3 Oct 2017 08:46:58 +0000 (10:46 +0200)]
Update Config Guide

Change-Id: If7295f553f203171f5a6efebc8d553d5dca8433a
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
(cherry picked from commit b2735c0a1eb76a184b2ba133045041d92f32abed)

7 years agoUpdate Functest documentation for Euphrates 95/44795/1
Morgan Richomme [Tue, 12 Sep 2017 09:39:11 +0000 (11:39 +0200)]
Update Functest documentation for Euphrates

- Better description of Alpine docker (default artifact)
- Reorganization of config and user guide
- Upgrade of the developer guide

Change-Id: Ie8e10f027bfcdb01c992cd161a1af2d6d6e29536
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 5504724dc69096b36948de9bd07b82f5058242f0)

7 years agoMerge "Complete framework documentation part for VNF" into stable/euphrates
Cedric Ollivier [Tue, 10 Oct 2017 14:01:40 +0000 (14:01 +0000)]
Merge "Complete framework documentation part for VNF" into stable/euphrates

7 years agoComplete framework documentation part for VNF 79/44679/1
Morgan Richomme [Mon, 9 Oct 2017 11:53:25 +0000 (13:53 +0200)]
Complete framework documentation part for VNF

Change-Id: I4c59adfe1cfec278e0b267cc7a05e8addd45d034
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit ee2eb17dbe52418f6bdc6201f78b9f1e8858fdcc)

7 years agoModify the egg name for parser 75/44675/1
shangxdy [Tue, 10 Oct 2017 12:08:13 +0000 (20:08 +0800)]
Modify the egg name for parser

Currently the egg name for heat-translator has been changed
to nfv-heattranslator in parser project, this patch will modify
the docker file.
related patches:
https://gerrit.opnfv.org/gerrit/#/c/41261/

Change-Id: I2d5d214c722fc133aa015a1c9620a49709db17bb
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
(cherry picked from commit d3b74fac61c255430b5589b49d714b441772e248)

7 years agoAdd UEFI image extra properties for CentOS image for aarch64 85/44585/1
Delia Popescu [Mon, 9 Oct 2017 12:24:45 +0000 (15:24 +0300)]
Add UEFI image extra properties for CentOS image for aarch64

Add extra properties for CentOS image when using aarch64
architecture with UEFI boot mode

Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Change-Id: Ie8aa7482627cbb3c31c6c72a31a0e37e86a409c4

7 years agoLive migration support determination in rally 47/44347/2
Juha Kosonen [Thu, 5 Oct 2017 09:53:08 +0000 (12:53 +0300)]
Live migration support determination in rally

Live migration test cases were excluded if tempest was not executed
before rally since tempest config file is created during the execution
of tempest.

Remove the dependency to config file and define the support based on
the number of computes as done in tempest.

Change-Id: I57c18b7c57e6a4bc8bfbdfb4beb5f8d67c6269c4
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit da2f6a0aabf3b5473e1d2d3f55a5f6c9bb6c8559)

7 years agoMerge "Select euphrates zip in cloudify_ims*.yaml" into stable/euphrates
Cedric Ollivier [Tue, 3 Oct 2017 08:21:17 +0000 (08:21 +0000)]
Merge "Select euphrates zip in cloudify_ims*.yaml" into stable/euphrates

7 years agoMerge "Create a router in both vping scenarii" into stable/euphrates
Cedric Ollivier [Tue, 3 Oct 2017 07:58:47 +0000 (07:58 +0000)]
Merge "Create a router in both vping scenarii" into stable/euphrates

7 years agoMerge "Report duration and result when vping fails" into stable/euphrates
Cedric Ollivier [Tue, 3 Oct 2017 07:44:33 +0000 (07:44 +0000)]
Merge "Report duration and result when vping fails" into stable/euphrates

7 years agoSelect euphrates zip in cloudify_ims*.yaml 23/44023/1
Cédric Ollivier [Tue, 3 Oct 2017 07:41:05 +0000 (09:41 +0200)]
Select euphrates zip in cloudify_ims*.yaml

Co-Authored-By: valentin boucher <valentin.boucher@orange.com>
Change-Id: Ie7c3d10952662888718c70a3f8055ebca9e85d4d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Disable vyos_vrouter" into stable/euphrates
Cedric Ollivier [Tue, 3 Oct 2017 07:31:57 +0000 (07:31 +0000)]
Merge "Disable vyos_vrouter" into stable/euphrates

7 years agoMerge "Fix timeout for socket connection" into stable/euphrates
Jose Lausuch [Tue, 3 Oct 2017 06:37:04 +0000 (06:37 +0000)]
Merge "Fix timeout for socket connection" into stable/euphrates

7 years agoCreate a router in both vping scenarii 15/44015/1
Cédric Ollivier [Mon, 2 Oct 2017 22:27:36 +0000 (00:27 +0200)]
Create a router in both vping scenarii

It fixes vping_userdata as it allows getting metadata due to the
gateway defined for the subnet.

It could be noted that DHCP can add the route needed if no gateway is
defined and if force_metadata is set in dhcp_agent.ini.

Change-Id: Ia62e0f00e3d2caee6262dd9cd9966d1f21fe40d5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit a691a8c2868d3f8af531e0bff513023c3a704aaf)

7 years agoReport duration and result when vping fails 11/44011/1
Cédric Ollivier [Tue, 3 Oct 2017 04:16:20 +0000 (06:16 +0200)]
Report duration and result when vping fails

It completes "Bug fix: vping_userdata test status was not properly
reported" [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/43911/

Change-Id: I7e8be6cd564a24ca174e63cfc295861c51cae8ed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 5ffb995c110be39364535f56c86c46d092b8cea0)

7 years agoDisable vyos_vrouter 09/44009/1
Cédric Ollivier [Tue, 3 Oct 2017 04:29:23 +0000 (06:29 +0200)]
Disable vyos_vrouter

It's postponed to 5.1.

Change-Id: Ic06d47b4b5df167044363b40aea0c7932b550be7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit ef034e78a6a3cfe90da77a60ae88d0d6bfddfb2e)

7 years agoAdd icmp rules for clearwaterims case 05/44005/1
Michael Pauls [Mon, 2 Oct 2017 17:36:42 +0000 (19:36 +0200)]
Add icmp rules for clearwaterims case

icmp rules must be enabled since a ping is used internally
to check that other components are up and reachable

Change-Id: I1ae3c301f30455c57193ddfe1757e971f5612c18
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
(cherry picked from commit 4a27c90843abd3a8d002e37f0f9f22307f2ec9fc)

7 years agoFix timeout for socket connection 03/44003/1
Linda Wang [Tue, 26 Sep 2017 03:31:51 +0000 (03:31 +0000)]
Fix timeout for socket connection

Change-Id: I0688761ba7224f40f79310295efadd9b40bfeefb
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 112e652af2b2f61192d3f1bd903522a14be06b94)

7 years agoBug fix: vping_userdata test status was not properly reported 19/43919/1
Morgan Richomme [Mon, 2 Oct 2017 15:11:13 +0000 (17:11 +0200)]
Bug fix: vping_userdata test status was not properly reported

vping_base is calling vping_userdata
vping_user data could return only EX_TESTCASE_FAILED or EX_OK
by default vping_base always returns EX_OK (based on self.result=100..)
it returned EX_RUN_ERROR only if upper class report EX_RUN_ERROR

that is why vping_userdata was always PASS even if the trace "Ping OK"
cannot be retrieved from the Nova console

it seems that when running the vping_userdata, we systematically got
 Failed to read iid from metadata

Change-Id: If72441dd93bffada5c7a5399c87db68d7ebeebed
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit e36a14f6db0bc5ac93469bb553810de506f29bef)

7 years agoAdd ${DOCKER_TAG} in Docker hooks 55/43855/1
Cédric Ollivier [Mon, 2 Oct 2017 11:12:40 +0000 (13:12 +0200)]
Add ${DOCKER_TAG} in Docker hooks

It eases creating Docker images based on branches or tags.

Conflicts:
docker/components/hooks/post_checkout
docker/features/hooks/post_checkout
docker/healthcheck/hooks/post_checkout
docker/restapi/hooks/post_checkout
docker/smoke/hooks/post_checkout
docker/vnf/hooks/post_checkout

Change-Id: Id84513c53cad72a1fcd0debf06579481609b8bc2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 29647efa114151d53ede5ba2d989593992c0b29f)

7 years agoEnable promise on all fuel and joid scenarii 21/43821/1
Cédric Ollivier [Mon, 2 Oct 2017 07:56:02 +0000 (09:56 +0200)]
Enable promise on all fuel and joid scenarii

Change-Id: I9735788fbbe715968560570543d1dc9d55e065b7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 36b648a6e928ac0819a607cd2231faa803418b7a)

7 years agoremove icmp rules from secgroups 93/43793/1
Michael Pauls [Fri, 29 Sep 2017 11:03:00 +0000 (13:03 +0200)]
remove icmp rules from secgroups

Change-Id: I8f7d2170eee9777be6455d38eaff703338b155fa
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
(cherry picked from commit c93ae73855ba928eb6661ac2468c5a0bae7c5506)

7 years agoRemove tempest_custom from testcases configs 89/43789/1
Cédric Ollivier [Sat, 30 Sep 2017 12:00:37 +0000 (14:00 +0200)]
Remove tempest_custom from testcases configs

Change-Id: I1237eaada5257a8c01753837a5820d840b51bff1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit a8f1d8ea374c9538b1d7a223116d8d7d9b783c89)

7 years agoFix userdata issue for vping and orchestra 77/43777/1
Linda Wang [Sat, 30 Sep 2017 02:29:30 +0000 (02:29 +0000)]
Fix userdata issue for vping and orchestra

1. When creating VM, the type of the param userdata should be str, to
   conform with that in snaps [1].
2. Remove the infinite loop for vping in userdata
3. Fix the criteria for vping_userdata and vping_ssh

[1]: https://git.opnfv.org/snaps/tree/snaps/openstack/utils/nova_utils.py#n92

Change-Id: I262a7ebb93ec90bb6f8f3acb5d564f210abcfc4b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 5a24cb4a7db33e693a063f5c2a66406283aa5cfb)

7 years agoForce python2 when creating venv for refstack 87/43587/1
Linda Wang [Fri, 29 Sep 2017 05:15:59 +0000 (05:15 +0000)]
Force python2 when creating venv for refstack

python3 has been selected since it was installed for doctor [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/41823/

JIRA: FUNCTEST-875

Change-Id: I942122b46dc0ebe594306877f5a0350f876d7c01
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit f36d607e1b8f7660bbcb4c06d589d4eeb76158e3)

7 years agoMerge "Fix connection error due to invalid lib version usage." into stable/euphrates
Cedric Ollivier [Thu, 28 Sep 2017 17:09:57 +0000 (17:09 +0000)]
Merge "Fix connection error due to invalid lib version usage." into stable/euphrates

7 years agoMerge "Add log details on SDK first connection." into stable/euphrates
Cedric Ollivier [Thu, 28 Sep 2017 17:09:39 +0000 (17:09 +0000)]
Merge "Add log details on SDK first connection." into stable/euphrates

7 years agoSwitch to OS_PROJECT_NAME 79/43479/1
Cédric Ollivier [Thu, 28 Sep 2017 10:42:30 +0000 (12:42 +0200)]
Switch to OS_PROJECT_NAME

It simply conforms with OpenStack keystone v3.

JIRA: FUNCTEST-877

Change-Id: I989a6eb4d8564948927c184a899b62ca763ef824
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 5c178f0d30f0701dee0d0a629023f05edfde338e)

7 years agoFix connection error due to invalid lib version usage. 61/43461/1
Benoit HERARD [Thu, 28 Sep 2017 11:31:29 +0000 (13:31 +0200)]
Fix connection error due to invalid lib version usage.

Connection timeouts on "requests" objects was developped with
requests 2.18 but target runtime is 2.12.
Advanced timeout management of 2.18 is not available in 2.12.

Change-Id: Ie6d81b91d4bcc0d73cffd007d9e46cdb19e47597
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
(cherry picked from commit 86d5c31424187329f69a7e0efaa9dbe0dac98e56)

7 years agoAdd log details on SDK first connection. 59/43459/1
Benoit HERARD [Wed, 27 Sep 2017 12:01:28 +0000 (14:01 +0200)]
Add log details on SDK first connection.

On first call to energy recording API, if API
is unreachable, SDK don't do anything anymore.
This change add logs on error for this first connection.

Change-Id: I88892c769d6208c6ddf5d714d438ab584826844e
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
(cherry picked from commit 405a0872282f5b29bb9e60ba19b11b17c8047647)

7 years agoAdd post_push hooks 55/43355/3
Cédric Ollivier [Wed, 27 Sep 2017 19:07:58 +0000 (21:07 +0200)]
Add post_push hooks

It allows creating the stable tags as allowed by Docker hub [1].

[1] https://github.com/docker/hub-feedback/issues/341

Change-Id: I84909b20fc8b926eb5414db7d57100aaa6060f84
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoDisable Promise testsuite on Fuel installer 47/43047/1
Charalampos Kominos [Mon, 25 Sep 2017 13:43:04 +0000 (15:43 +0200)]
Disable Promise testsuite on Fuel installer

When promise reads API v3.0 from the creds file it automatically
uses v2.0. which is deprecated and not used by fuel. Therefore
promise is removed from the functest suite

JIRA: ARMBAND-314

Change-Id: I22b875c198c1922fd4ddb06c81c05884b5248eb4
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
(cherry picked from commit 8c3791f730effbf09fc95ef2bc66ff0d0a37e87b)

7 years agoFix creds still used by vrouter 17/42917/1
root [Mon, 25 Sep 2017 01:44:10 +0000 (01:44 +0000)]
Fix creds still used by vrouter

1. 'CloudifyVrouter' object has no attribute 'creds'
2. 'CloudifyVrouter' object was still use 'creds'
3. Doing test of modified vyos_vrouter on our labs.

Refer to following commit.
 https://gerrit.opnfv.org/gerrit/#/c/41249/

Change-Id: Id1b4dfa4c35aba9bbb4fd64ef58446d3e99468df
Signed-off-by: root <shuya.nakama@okinawaopenlabs.org>
(cherry picked from commit 233a9bf775c1e9fe66e588ec45266c15bdb142b1)

7 years agoMerge "Support https when testing ODL" into stable/euphrates
Morgan Richomme [Fri, 22 Sep 2017 06:28:56 +0000 (06:28 +0000)]
Merge "Support https when testing ODL" into stable/euphrates

7 years agoSupport https when testing ODL 19/42719/1
Cédric Ollivier [Wed, 20 Sep 2017 08:52:33 +0000 (10:52 +0200)]
Support https when testing ODL

It conforms with the last change on ODL tests [1].
Neutron endpoint is passed via robot args instead of Neutron ip.
Keystone url (based on OS_AUTH_URL) is passed too to replace Keystone
ip.

[1] https://git.opendaylight.org/gerrit/#/c/63293/

Conflicts:
    docker/restapi/Dockerfile
    docker/smoke/Dockerfile

Change-Id: Ie44f55304a438b1b0289ec69ac2241664be70e80
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit dd99f5356ef08f3a2a1ed18d63492391390df752)

7 years agoAdding orchestra test cases to orchestra project 47/42647/1
Morgan Richomme [Thu, 21 Sep 2017 07:14:01 +0000 (09:14 +0200)]
Adding orchestra test cases to orchestra project

Orchestra introduced 2 VNF test cases:

 * orchestra_openims
 * orchestra_clearwaterims

In the configuration, the 2 projects are still assigned to functest project
This patch associate the cases with their real project

Change-Id: I81f6d6fb473916f0f91a5b3795b3ed433c283fb4
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 2aa38f32b9ea0cb248f25d52f100240b2a002bc6)

7 years agoRemove void return value mocks in rally unit tests 23/42623/1
Juha Kosonen [Thu, 21 Sep 2017 08:23:42 +0000 (11:23 +0300)]
Remove void return value mocks in rally unit tests

Change-Id: I369b98fb9120830b1868f438c7da2a039a60d890
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit 31524290992dad02d5ca1e6b17304bf31b56b7f7)

7 years agoMerge "Remove white space when listing testcases" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:04:07 +0000 (05:04 +0000)]
Merge "Remove white space when listing testcases" into stable/euphrates

7 years agoMerge "Dedicated flavors for rally tests" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:03:52 +0000 (05:03 +0000)]
Merge "Dedicated flavors for rally tests" into stable/euphrates

7 years agoMerge "Fix image name in rally scenarios" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:03:44 +0000 (05:03 +0000)]
Merge "Fix image name in rally scenarios" into stable/euphrates

7 years agoMerge "Remove restriction to fuel on vyosvrouter case in Alpine" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:03:35 +0000 (05:03 +0000)]
Merge "Remove restriction to fuel on vyosvrouter case in Alpine" into stable/euphrates

7 years agoRemove false hooks for functest-parser 83/42583/1
Cédric Ollivier [Wed, 20 Sep 2017 22:59:29 +0000 (00:59 +0200)]
Remove false hooks for functest-parser

Change-Id: I58f186b249083fc13e4bcfc4e933fd11f5d4b20e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 47c049623b07dd563218959ad59c0e027a354836)

7 years agoAdd python3-dev and python3-pip in former Dockerfile 63/42563/1
Cédric Ollivier [Wed, 20 Sep 2017 19:02:23 +0000 (21:02 +0200)]
Add python3-dev and python3-pip in former Dockerfile

Otherwise the former container cannot be built as Doctor requires a
full updated python3 env.

Change-Id: Ic90c13abad33e7cb15e7e51dcaac83b9ddf3930b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 95ffa691887b35cd60d287f13d8633094110d78e)

7 years agoDedicated flavors for rally tests 61/42561/1
Juha Kosonen [Wed, 20 Sep 2017 07:15:07 +0000 (10:15 +0300)]
Dedicated flavors for rally tests

Create flavors and use them in rally scenarios instead of expecting
certain flavors to pre-exist.

Change-Id: I77c94ab80fcabd7b80ffb36f9856a48121858009
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit 3b98874f010329198b8c3a13a4711c17a593b9cc)

7 years agoFix image name in rally scenarios 59/42559/1
Juha Kosonen [Mon, 18 Sep 2017 10:39:31 +0000 (13:39 +0300)]
Fix image name in rally scenarios

Change-Id: I0a78a16d44c1e0e0b2edec2e43954c1f08e8bb09
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit a9cb468fae75d4e95689fa9ea02a94a73df95648)

7 years agoRemove restriction to fuel on vyosvrouter case in Alpine 57/42557/1
Morgan Richomme [Tue, 19 Sep 2017 13:48:16 +0000 (15:48 +0200)]
Remove restriction to fuel on vyosvrouter case in Alpine

It was done in old docker but not reported in Alpine

Change-Id: I3479ad996b64187f58e97cc3b4a4b2ceefeec287
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 55b11d41b5d96e159c4abf3df6c03245d4f737dc)

7 years agoRemove white space when listing testcases 55/42555/1
Linda Wang [Wed, 20 Sep 2017 10:08:09 +0000 (10:08 +0000)]
Remove white space when listing testcases

Change-Id: I2f3c7a9301a6b2dcb03a90175be23223f6a6229a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit e4ad79cabc3292a1cb0d8642f0c9eddbbc2befd1)

7 years agoEnable Doctor testcase 49/42549/1
dongwenjuan [Wed, 13 Sep 2017 03:21:38 +0000 (11:21 +0800)]
Enable Doctor testcase

It upates upper-constraints.txt and thirdparty-requirements.txt as
doctor-test was renamed to doctor-tests.

It installs the doctor packages and its requirements via python3.
Then python_version>='3.0' conditions are added to avoid installing
them for python2.

It also calls the new console scripts and modifies the installer
list supporting it.

Conflicts:
    upper-constraints.txt

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Icd855f4534d9d9591165e99aa0eed6b1030018e0
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 1e1fba3aa18ebcbff6746586654805a44e88e9fe)

7 years agoAdd swagger support for Rest API 27/42427/1
Linda Wang [Tue, 12 Sep 2017 07:37:19 +0000 (07:37 +0000)]
Add swagger support for Rest API

JIRA: FUNCTEST-854

Change-Id: Ic010604d3ba0cc46092cf2a1ae8bb41afa73c920
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit b621b6b4b70299a60ad3e26ed6b04450f84b603e)

7 years agoUpdate Docker hooks 09/42409/1
Cédric Ollivier [Tue, 19 Sep 2017 12:17:06 +0000 (14:17 +0200)]
Update Docker hooks

It takes euphrates into account in Docker tag name.

Change-Id: Id455152655c8174b7cab9780c27d923f33173f28
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Select ansible 2.3.2.0" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:54:31 +0000 (11:54 +0000)]
Merge "Select ansible 2.3.2.0" into stable/euphrates

7 years agoMerge "Return Functest status to Jenkins" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:33:04 +0000 (11:33 +0000)]
Merge "Return Functest status to Jenkins" into stable/euphrates

7 years agoMerge "Enable parser testcase" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:08:53 +0000 (11:08 +0000)]
Merge "Enable parser testcase" into stable/euphrates

7 years agoMerge "Enable Domino testcase" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:08:37 +0000 (11:08 +0000)]
Merge "Enable Domino testcase" into stable/euphrates

7 years agoMerge "Remove securityscanning testcase" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:06:18 +0000 (11:06 +0000)]
Merge "Remove securityscanning testcase" into stable/euphrates

7 years agoMerge "Remove useless enabled: true in testcases.yaml" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:06:03 +0000 (11:06 +0000)]
Merge "Remove useless enabled: true in testcases.yaml" into stable/euphrates

7 years agoMerge "Prepare Functest euphrates containers" into stable/euphrates
Jose Lausuch [Tue, 19 Sep 2017 10:16:10 +0000 (10:16 +0000)]
Merge "Prepare Functest euphrates containers" into stable/euphrates

7 years agoMerge "Fix one whitespace character" into stable/euphrates
Jose Lausuch [Tue, 19 Sep 2017 10:15:58 +0000 (10:15 +0000)]
Merge "Fix one whitespace character" into stable/euphrates

7 years agoMerge "Fix stable/euphrates .gitreview" into stable/euphrates
Jose Lausuch [Tue, 19 Sep 2017 10:15:53 +0000 (10:15 +0000)]
Merge "Fix stable/euphrates .gitreview" into stable/euphrates

7 years agoSelect ansible 2.3.2.0 03/42403/1
Cédric Ollivier [Tue, 19 Sep 2017 09:39:43 +0000 (11:39 +0200)]
Select ansible 2.3.2.0

Badly the ansible version is not defined in OpenStack's
upper-constaints.txt. It must be added in the OPNFV one.

Otherwise, rally fails [1]

[1] https://build.opnfv.org/ci/job/functest-fuel-baremetal-daily-master/1866/console

Change-Id: Id6814376ce96d35db65f6290d0a31283a15de0b2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit c3c326570b29276d5ac2f703f64fb5f797de62d2)

7 years agoReturn Functest status to Jenkins 73/42373/2
Cédric Ollivier [Mon, 18 Sep 2017 12:16:07 +0000 (14:16 +0200)]
Return Functest status to Jenkins

It avoids mixing Functest and Features CI issues by simply exiting the
status of Functest testcases. The result of third-party testcases are
printed into console but are no longer taken into account into the
global status.

Change-Id: I040ff54780db2ddb6d81993839fee09f5e472323
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 516d1bd7811f5751d796748ddd52f798bbd5a40f)

7 years agoEnable parser testcase 21/42321/2
shangxdy [Thu, 14 Sep 2017 11:05:32 +0000 (19:05 +0800)]
Enable parser testcase

Currently parser tescase in functest disabled, it's
neccessary to enable it since we have tested successfully
with the installers of fuel, apex and daisy.

Change-Id: Ic3995cec813cc41c897b9c600b90d1fbbe8a74e2
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
(cherry picked from commit 734cb4d6d66b2fa638e82d366d480404997e005e)

7 years agoEnable Domino testcase 01/42201/2
Cédric Ollivier [Sat, 16 Sep 2017 09:38:22 +0000 (11:38 +0200)]
Enable Domino testcase

Domino is part of the OPNFV projects released for E [1].
As now Domino is ready for Functest integration (package and
requirements), the testcase can be enabled.

If the testcase fails, the issues should be related to Domino.

[1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017951.html

Change-Id: I26f3d3ae338def0f77c46c2cbda1baf3d55c1a41
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 555ac3f8656004d469c04370448a8a46f8a1418d)

7 years agoRemove securityscanning testcase 99/42199/2
Cédric Ollivier [Sat, 16 Sep 2017 09:15:51 +0000 (11:15 +0200)]
Remove securityscanning testcase

As the project is no longer released [1], security_scan is removed
from testcases config files.

It stops installing the related python package too.

[1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017951.html

Conflicts:
      upper-constraints.txt

Change-Id: Ieb9ff4c2975fbf2c85b875a088b0ec18503a3722
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 59999eb2f2bf3b28c50a9b75fc551192450d28e3)

7 years agoRemove useless enabled: true in testcases.yaml 97/42197/2
Cédric Ollivier [Fri, 15 Sep 2017 11:58:40 +0000 (13:58 +0200)]
Remove useless enabled: true in testcases.yaml

Change-Id: Ief2f4f580b4daef74e64d203fa1fc2be8f7e50c7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 955706810fa3c9adb153bf581c703ec473b57a56)

7 years agoPrepare Functest euphrates containers 21/42121/4
Cédric Ollivier [Sat, 16 Sep 2017 07:09:43 +0000 (09:09 +0200)]
Prepare Functest euphrates containers

They depend on git commit ids for the next OPNFV projects:
  - releng [1]
  - securityscanning

Securityscanning should be first removed in master and then the patch
will be cherry-picked in stable/euphrates. A temporarily git commit
id is used here to allow building the containers before that changes.

[1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017865.html

Change-Id: Ib7bd4206a6ef7f5bb8cd58f324d3e437a3b704a1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix one whitespace character 33/42133/2
Cédric Ollivier [Sat, 16 Sep 2017 08:48:00 +0000 (10:48 +0200)]
Fix one whitespace character

Change-Id: I631061178f4c96d28dfa4fcf22af0fef2c4f5db4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d120b6cf30631ee7a0f27f4fc1d07facd6ce4047)

7 years agoFix stable/euphrates .gitreview 19/42119/2
Cédric Ollivier [Sat, 16 Sep 2017 06:52:46 +0000 (08:52 +0200)]
Fix stable/euphrates .gitreview

It simply adds defaultbranch=stable/euphrates

Change-Id: I06cbebc719f9188415d5de68a008d16f0b915dec
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoincrease timeout of NFVO installation 51/42251/1
Michael Pauls [Mon, 18 Sep 2017 09:19:04 +0000 (11:19 +0200)]
increase timeout of NFVO installation

some pods are less powerful and require more time for the
installation of the orchestrator

Change-Id: Iebd39c0ef8f3dcfa7fecb1e507b2f05890b5c490
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
(cherry picked from commit f7348cba120c5bd2f4df51b1a290bea4c0d01a61)

7 years agoMerge "Bug fix: wrong dependency filter for lxd scenarios"
Morgan Richomme [Fri, 15 Sep 2017 09:05:41 +0000 (09:05 +0000)]
Merge "Bug fix: wrong dependency filter for lxd scenarios"

7 years agoMerge "Refactor resource creation and cleanup in rally"
Cedric Ollivier [Fri, 15 Sep 2017 08:39:02 +0000 (08:39 +0000)]
Merge "Refactor resource creation and cleanup in rally"

7 years agoBug fix: wrong dependency filter for lxd scenarios 45/42045/1
Morgan Richomme [Fri, 15 Sep 2017 07:52:52 +0000 (09:52 +0200)]
Bug fix: wrong dependency filter for lxd scenarios

lxd scenario cannot run all the api_check tests, a regex has been set
but on the wrong dependency (installer instead of scenario)

Change-Id: I313e8d1ed3fa30488c100549f574a0cded08768f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoRefactor resource creation and cleanup in rally 31/41931/3
Juha Kosonen [Thu, 14 Sep 2017 08:23:56 +0000 (11:23 +0300)]
Refactor resource creation and cleanup in rally

Use SNAPS to create and delete resources.

Change-Id: Ic4d390382acea2be196e8a7518cb8cce25276a45
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoEnable tempest run concurrently 23/42023/2
Linda Wang [Fri, 15 Sep 2017 02:17:44 +0000 (02:17 +0000)]
Enable tempest run concurrently

Append a guid to the end of names of resources created for tempest,
including project, user, network, images and flavors.

Change-Id: I01fc7c5cb45cd5724a99ba1d220c3f3f7d6639cf
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "New testcase creation named "cloudify_ims_perf""
Cedric Ollivier [Thu, 14 Sep 2017 21:26:15 +0000 (21:26 +0000)]
Merge "New testcase creation named "cloudify_ims_perf""

7 years agoNew testcase creation named "cloudify_ims_perf" 07/40007/15
boucherv [Wed, 23 Aug 2017 14:23:34 +0000 (16:23 +0200)]
New testcase creation named "cloudify_ims_perf"

* IMS deployment with "cloudify_ims" testcase
* IXIA infrastructure creation with SNAPS
* Module configuration with REST API
* Configure and run the perf tests with REST API

Change-Id: I3dfddda87f9e9f4f03df375f6a032ded26a627b3
Signed-off-by: boucherv <valentin.boucher@orange.com>
Co-Authored-By: Arturo Sordo Miralles <asordo@ixiacom.com>
7 years agoMerge "Override tempest upper-constraints in functest-parser"
Cedric Ollivier [Thu, 14 Sep 2017 20:56:19 +0000 (20:56 +0000)]
Merge "Override tempest upper-constraints in functest-parser"

7 years agoMerge "Select $OPENSTACK_TAG instead of stable/ocata"
Morgan Richomme [Thu, 14 Sep 2017 15:15:22 +0000 (15:15 +0000)]
Merge "Select $OPENSTACK_TAG instead of stable/ocata"

7 years agoOverride tempest upper-constraints in functest-parser 79/41979/1
Cédric Ollivier [Thu, 14 Sep 2017 14:50:19 +0000 (16:50 +0200)]
Override tempest upper-constraints in functest-parser

Change-Id: Ib08fb665724bd7b7ec8f8a010486e615d2cd5f5b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoSelect $OPENSTACK_TAG instead of stable/ocata 77/41977/1
Cédric Ollivier [Thu, 14 Sep 2017 14:25:54 +0000 (16:25 +0200)]
Select $OPENSTACK_TAG instead of stable/ocata

It modifies functest and functest-core containers.

Change-Id: I505baf460412e73d3bf4563b13edd849c2f02fac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Optimize Alpine Dockerfiles"
Cedric Ollivier [Thu, 14 Sep 2017 07:52:03 +0000 (07:52 +0000)]
Merge "Optimize Alpine Dockerfiles"

7 years agoMerge "Allow reading log file with byte offset"
Cedric Ollivier [Thu, 14 Sep 2017 04:48:00 +0000 (04:48 +0000)]
Merge "Allow reading log file with byte offset"

7 years agoOptimize Alpine Dockerfiles 27/41827/3
Cédric Ollivier [Wed, 13 Sep 2017 04:15:32 +0000 (06:15 +0200)]
Optimize Alpine Dockerfiles

It mainly splits vnfs runtime and build dependencies to save space at
the end.

Change-Id: I8307fa416066cc8c50b96862de8bafd2c47a2ace
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd packages in docker alpine containers 57/41857/2
Manuel Buil [Wed, 13 Sep 2017 12:41:48 +0000 (14:41 +0200)]
Add packages in docker alpine containers

To run our SFC tests we require openssh and sshpass to be installed in
the container

Change-Id: I40b3d740855d48939f9411697abbd3bbbb70370f
Signed-off-by: Manuel Buil <mbuil@suse.com>
7 years agoMerge "Add Functest restapi container"
Cedric Ollivier [Wed, 13 Sep 2017 14:02:44 +0000 (14:02 +0000)]
Merge "Add Functest restapi container"

7 years agoMerge "Remove thirdparty-requirements.txt in smoke"
Cedric Ollivier [Wed, 13 Sep 2017 14:02:19 +0000 (14:02 +0000)]
Merge "Remove thirdparty-requirements.txt in smoke"

7 years agoMerge "Add Docker automated build hooks for Parser"
Cedric Ollivier [Wed, 13 Sep 2017 14:02:09 +0000 (14:02 +0000)]
Merge "Add Docker automated build hooks for Parser"

7 years agoAllow reading log file with byte offset 31/41831/2
Linda Wang [Wed, 13 Sep 2017 06:26:26 +0000 (06:26 +0000)]
Allow reading log file with byte offset

Change-Id: I8cd6acef66d798fa43e20ca9d885dcbaa99a5b42
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoDisable urllib3 warnings 77/40677/4
Linda Wang [Wed, 30 Aug 2017 09:00:27 +0000 (09:00 +0000)]
Disable urllib3 warnings

1. When running in compass OSA, lots of SubjectAltNameWarnings are
   shown in console, so just disable the warnings here.
   See https://github.com/shazow/urllib3/issues/497 for details
2. Redirect warnings issued by the warnings module to the logging system
   via logging.captureWarnings(True)
3. But urllib3 warning is still there for two cmds about rally/tempest.

Change-Id: Ic22cf8e2babc10c9d55a7ed46b841312a4e430a7
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoAdd Functest restapi container 19/41819/1
Cédric Ollivier [Wed, 13 Sep 2017 02:45:41 +0000 (04:45 +0200)]
Add Functest restapi container

It allows running all testcases via Functest REST API [1]. 

[1] https://wiki.opnfv.org/display/functest/Running+test+cases+via+new+Functest+REST+API

Change-Id: Iaa69b7367653398582b876df1362f72c787c6b7b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRemove thirdparty-requirements.txt in smoke 17/41817/1
Cédric Ollivier [Wed, 13 Sep 2017 02:17:33 +0000 (04:17 +0200)]
Remove thirdparty-requirements.txt in smoke

As refstack must be installed via local dir (to sync requirements),
it's useless to list it again in a requirements file.

Change-Id: I9099fff185694fd41cf02e1265b1d4ab7659d7f2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd Docker automated build hooks for Parser 15/41815/1
Cédric Ollivier [Wed, 13 Sep 2017 01:54:14 +0000 (03:54 +0200)]
Add Docker automated build hooks for Parser

Change-Id: Ie42058fba915e3fbe9098ff14b31768723e8e24e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Fix some errors about getting tiers resources"
Jose Lausuch [Tue, 12 Sep 2017 07:35:35 +0000 (07:35 +0000)]
Merge "Fix some errors about getting tiers resources"

7 years agoMerge "set marketplace port to 8080 for NFVO"
Morgan Richomme [Tue, 12 Sep 2017 06:06:25 +0000 (06:06 +0000)]
Merge "set marketplace port to 8080 for NFVO"

7 years agoMerge "Re-enable orchestra tests (VNF)"
Cedric Ollivier [Tue, 12 Sep 2017 05:00:48 +0000 (05:00 +0000)]
Merge "Re-enable orchestra tests (VNF)"

7 years agoFix some errors about getting tiers resources 57/41657/1
Linda Wang [Tue, 12 Sep 2017 03:40:23 +0000 (03:40 +0000)]
Fix some errors about getting tiers resources

Change-Id: I95cf1cb453e30875498d4dfbbe15f19452c48df1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoset marketplace port to 8080 for NFVO 41/41541/1
Michael Pauls [Mon, 11 Sep 2017 15:43:56 +0000 (17:43 +0200)]
set marketplace port to 8080 for NFVO

Change-Id: I336b54e63fcb4a7e64f139628536f334c86b1745
JIRA: ORCHESTRA-17
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
7 years agoFix bug in cloudify_ims: no return code 39/41539/1
boucherv [Mon, 11 Sep 2017 15:36:07 +0000 (17:36 +0200)]
Fix bug in cloudify_ims: no return code

Change-Id: I89ab2f9b57d9f4710201af5852aa12925f122079
Signed-off-by: boucherv <valentin.boucher@orange.com>