functest.git
7 years agobug fix download_images.sh 09/40109/1
Morgan Richomme [Thu, 24 Aug 2017 14:54:42 +0000 (16:54 +0200)]
bug fix download_images.sh

when xz the downloaded file, if the uncompressed target file already exists
it exits with status 1 and breaks the gate

Change-Id: Ie97ff34e6522af48c799e7c8c97dc3310222e683
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Add reporting results for Danube 3.0"
Morgan Richomme [Thu, 24 Aug 2017 14:44:29 +0000 (14:44 +0000)]
Merge "Add reporting results for Danube 3.0"

7 years agoMerge "Functest Doc: first update for Euphrates - move part of the dev group to the...
Morgan Richomme [Thu, 24 Aug 2017 14:26:51 +0000 (14:26 +0000)]
Merge "Functest Doc: first update for Euphrates - move part of the dev group to the testing document - move reporting into user guide - update logs - introduce alpine - introduce functest API - split documents per chapter"

7 years agoMerge "Added means to override the RC file credentials."
Linda Wang [Thu, 24 Aug 2017 14:23:39 +0000 (14:23 +0000)]
Merge "Added means to override the RC file credentials."

7 years agoMerge "Fix the tempest error when creating snapshot"
Cedric Ollivier [Thu, 24 Aug 2017 13:19:11 +0000 (13:19 +0000)]
Merge "Fix the tempest error when creating snapshot"

7 years agoFix the tempest error when creating snapshot 55/40055/7
Linda Wang [Thu, 24 Aug 2017 03:17:35 +0000 (03:17 +0000)]
Fix the tempest error when creating snapshot

Change-Id: I9682f174a835d2bdf1ef3da01e369037e5ad7247
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Add Rally scenarios for telemetry"
Morgan Richomme [Thu, 24 Aug 2017 09:31:11 +0000 (09:31 +0000)]
Merge "Add Rally scenarios for telemetry"

7 years agoAdd Rally scenarios for telemetry 99/37499/5
Martin Kulhavy [Fri, 14 Jul 2017 10:11:31 +0000 (13:11 +0300)]
Add Rally scenarios for telemetry

Ceilometer scenarios were added.

Reasons for testcase blacklisting:
- Deprecated ceilometer client used by Rally. This depends on the
  confuguration of the system, currently it seems to affect all
  installers.
- A bug in ceilometer client (already fixed and merged in OpenStack
  repository).

JIRA: FUNCTEST-849

Change-Id: I0bd7e1e9817538165b7b9705bcec213d7d275359
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoEnsure that aarch64 patch can be applied 75/39975/4
Cédric Ollivier [Wed, 23 Aug 2017 10:03:51 +0000 (12:03 +0200)]
Ensure that aarch64 patch can be applied

It simply creates a new testenv.

Change-Id: I2675d1b3240a59fa985bd91f979efe1896c3d605
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix aarch64 patch 97/39797/7
Cédric Ollivier [Mon, 21 Aug 2017 14:44:06 +0000 (16:44 +0200)]
Fix aarch64 patch

Change-Id: I7915f5f82184b431510d7a2fc8945355fa63ec0c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoDownload images from marketplace.openbaton.org:8082 27/40027/1
Cédric Ollivier [Wed, 23 Aug 2017 18:20:44 +0000 (20:20 +0200)]
Download images from marketplace.openbaton.org:8082

LF admins opened port 8082.

Change-Id: I57a2beff32f0a346855968c4229dae4487ccbd85
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Refactor resource creation and cleanup in Tempest"
Morgan Richomme [Wed, 23 Aug 2017 16:24:56 +0000 (16:24 +0000)]
Merge "Refactor resource creation and cleanup in Tempest"

7 years agoMerge "Updating the constrains for the Barometer test-suite"
Cedric Ollivier [Wed, 23 Aug 2017 15:57:25 +0000 (15:57 +0000)]
Merge "Updating the constrains for the Barometer test-suite"

7 years agoMerge "AArch64: SNAPS: CentOS, Ubuntu image config"
Cedric Ollivier [Wed, 23 Aug 2017 15:45:51 +0000 (15:45 +0000)]
Merge "AArch64: SNAPS: CentOS, Ubuntu image config"

7 years agoRefactor resource creation and cleanup in Tempest 01/38001/10
Martin Kulhavy [Mon, 24 Jul 2017 13:16:33 +0000 (16:16 +0300)]
Refactor resource creation and cleanup in Tempest

Use Snaps to create resources before running a testcase and to clean up
afterwards.
Use Tempest Cleanup utility to clean other resources.

Change-Id: Ic0f69d3bafb60dfb283d18ac507e9f5992e9ae38
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoMerge "Read aarch64 architecture"
Cedric Ollivier [Wed, 23 Aug 2017 13:32:58 +0000 (13:32 +0000)]
Merge "Read aarch64 architecture"

7 years agoRead aarch64 architecture 91/39991/1
Delia Popescu [Wed, 23 Aug 2017 12:50:53 +0000 (15:50 +0300)]
Read aarch64 architecture

Read aarch64 architecture from env variable exported
by changes from patch https://gerrit.opnfv.org/gerrit/#/c/38689/

Change-Id: If0fc94e8fe67871b94934c305c019b57872ecb07
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
7 years agoMerge "Fixes image download script"
Morgan Richomme [Wed, 23 Aug 2017 12:39:36 +0000 (12:39 +0000)]
Merge "Fixes image download script"

7 years agoMerge "Complete caching images for vnf testcases"
Morgan Richomme [Wed, 23 Aug 2017 12:09:29 +0000 (12:09 +0000)]
Merge "Complete caching images for vnf testcases"

7 years agoAArch64: SNAPS: CentOS, Ubuntu image config 05/39505/6
Catalina Focsa [Thu, 17 Aug 2017 12:57:58 +0000 (14:57 +0200)]
AArch64: SNAPS: CentOS, Ubuntu image config

Change-Id: I8cbbfda7dd4089c122af4e0a459f4c03c1a3bb3a
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
7 years agoMerge "Add the skipped testcases into details"
Cedric Ollivier [Wed, 23 Aug 2017 09:28:59 +0000 (09:28 +0000)]
Merge "Add the skipped testcases into details"

7 years agoMerge "Specify physical_network when creating network"
Cedric Ollivier [Wed, 23 Aug 2017 09:25:18 +0000 (09:25 +0000)]
Merge "Specify physical_network when creating network"

7 years agoFixes image download script 07/39907/2
Tim Rozet [Tue, 22 Aug 2017 19:16:56 +0000 (15:16 -0400)]
Fixes image download script

Fixes Include:
 - Fix previous behavior where multiple copies of the same file would be
   downloaded as blah.qcow.1, blah.qcow.2 and not overwrite original
   file.
 - Fix issue where files were always downloaded, even when they were not
   different from server version.

It temporarily stops downloading from marketplace.openbaton.org:8082
which is blocked by LF firewalls.
wget options are tuned to avoid wasting jjobs time.

Change-Id: I9191847a3f80045329c160e86655cc0a0e80831c
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Config test_accounts_file for refstack_defcore"
Cedric Ollivier [Wed, 23 Aug 2017 08:46:40 +0000 (08:46 +0000)]
Merge "Config test_accounts_file for refstack_defcore"

7 years agoComplete caching images for vnf testcases 15/39915/2
Cédric Ollivier [Tue, 22 Aug 2017 20:53:57 +0000 (22:53 +0200)]
Complete caching images for vnf testcases

It conforms with snaps API for publishing local images.
It completes [1] which only modifies the yaml files.

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

Change-Id: I325a245c0e7bb15bb1f9570996500573cfe257b0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoUse dnsmasq to cache DNS queries 73/39873/4
Cédric Ollivier [Tue, 22 Aug 2017 13:01:10 +0000 (15:01 +0200)]
Use dnsmasq to cache DNS queries

It's mandatory for clearwater_ims as musl's resolver queries
nameservers all in parallel and accepts whichever response arrives
first [1].

[1] http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc#Name_Resolver_.2F_DNS

Change-Id: I01a17436279a0be2fac1b27b73052edc594c33e0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Allow caching images for vnf testcases."
valentin boucher [Tue, 22 Aug 2017 14:00:25 +0000 (14:00 +0000)]
Merge "Allow caching images for vnf testcases."

7 years agoMerge "Give a list of links to wget"
valentin boucher [Tue, 22 Aug 2017 13:59:19 +0000 (13:59 +0000)]
Merge "Give a list of links to wget"

7 years agoFunctest Doc: first update for Euphrates 37/39437/11
Morgan Richomme [Wed, 16 Aug 2017 14:38:23 +0000 (16:38 +0200)]
Functest Doc: first update for Euphrates
- move part of the dev group to the testing document
- move reporting into user guide
- update logs
- introduce alpine
- introduce functest API
- split documents per chapter

Change-Id: I08268091ce50309e891a648333da2054e902bcea
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoConfig test_accounts_file for refstack_defcore 67/39867/3
Linda Wang [Tue, 22 Aug 2017 11:38:58 +0000 (11:38 +0000)]
Config test_accounts_file for refstack_defcore

Tenant and user are required by refstack_defcore, which could
be configured in the test_accounts_file. [1]

[1]: https://github.com/openstack/refstack-client/blob/master/refstack_client/refstack_client.py#L170-L193

Change-Id: I9c920b6f15f491d671ebf222976305bedf4dd747
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Euphrates cleaning: remove any reference to aaa vnf"
Cedric Ollivier [Tue, 22 Aug 2017 06:32:13 +0000 (06:32 +0000)]
Merge "Euphrates cleaning: remove any reference to aaa vnf"

7 years agoSpecify physical_network when creating network 81/39481/3
Linda Wang [Thu, 17 Aug 2017 08:01:55 +0000 (08:01 +0000)]
Specify physical_network when creating network

When the network_type is vlan, it is necessary to specify
physical_network and segmentation_id.

JIRA: FUNCTEST-863

Change-Id: Ia1acb0181e4f78654ecf5500c4c0366b143a91f5
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoAdd the skipped testcases into details 37/39837/1
Linda Wang [Tue, 22 Aug 2017 02:19:31 +0000 (02:19 +0000)]
Add the skipped testcases into details

When running tempest_custom, if all tests are skipped, record them
in details.

Change-Id: Ie18ec0911ff298f91c524a9cd039929c2d0f6425
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Create API to update openrc"
Linda Wang [Mon, 21 Aug 2017 14:36:49 +0000 (14:36 +0000)]
Merge "Create API to update openrc"

7 years agoMerge "Create API to run a test case"
Linda Wang [Mon, 21 Aug 2017 14:36:22 +0000 (14:36 +0000)]
Merge "Create API to run a test case"

7 years agoMerge "Specify valid external network as an env"
Linda Wang [Mon, 21 Aug 2017 14:35:19 +0000 (14:35 +0000)]
Merge "Specify valid external network as an env"

7 years agoAdded means to override the RC file credentials. 51/36751/5
spisarski [Thu, 29 Jun 2017 20:31:08 +0000 (14:31 -0600)]
Added means to override the RC file credentials.

This has been done primarily to support tests using SNAPS-OO

JIRA: FUNCTEST-847

Change-Id: Icf02c085a95c20d4088e5aafd6380c70689a4ee0
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
7 years agoEuphrates cleaning: remove any reference to aaa vnf 85/39785/1
Morgan Richomme [Mon, 21 Aug 2017 13:46:58 +0000 (15:46 +0200)]
Euphrates cleaning: remove any reference to aaa vnf

aaa vnf was created in Danube to illustrate the vnf abstraction
as real implementations are now available and nobody really
implements a real aaa test case, it is better to remove any reference
to aaa vnf

Note modification on the documentation will be done accordingly

Change-Id: Iab6d96c955a6a7dc178588592382e42d68ec604c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAllow caching images for vnf testcases. 57/39757/2
Cédric Ollivier [Mon, 21 Aug 2017 12:47:59 +0000 (14:47 +0200)]
Allow caching images for vnf testcases.

Change-Id: Ib9b8cc46600bfd29e2ae5f56e995397477cb4ad6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoGive a list of links to wget 55/39755/1
Cédric Ollivier [Mon, 21 Aug 2017 12:42:37 +0000 (14:42 +0200)]
Give a list of links to wget

Now download_images.sh simply relies on wget -i.
It downloads all requirements as the biggest ones are mandatory or
scenario independent (VNF)

The offical ubuntu-16.04-server-cloudimg-amd64-disk1.img is
selected instead of the one hosting by OPNFV SDNVPN.

Change-Id: Ica566bb351f22dfba001678fe93b8a2b1523941a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Remove opera testcase as Opera is inactive"
Morgan Richomme [Mon, 21 Aug 2017 12:21:06 +0000 (12:21 +0000)]
Merge "Remove opera testcase as Opera is inactive"

7 years agoMerge "Remove the tenant and user created for tempest"
Cedric Ollivier [Mon, 21 Aug 2017 11:25:45 +0000 (11:25 +0000)]
Merge "Remove the tenant and user created for tempest"

7 years agoRemove opera testcase as Opera is inactive 25/39725/2
Cédric Ollivier [Mon, 21 Aug 2017 08:11:12 +0000 (10:11 +0200)]
Remove opera testcase as Opera is inactive

testcases.yaml is updated as well.

Change-Id: I88b3a51a732496899f6825fd38137bcf7e6a8caa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoCreate API to run a test case 65/39565/2
Linda Wang [Fri, 18 Aug 2017 06:09:56 +0000 (06:09 +0000)]
Create API to run a test case

Two APIs are created here:
1. Run a test case
2. Get the result of the task id

JIRA: FUNCTEST-853

Change-Id: I12950933b143b82fb6aeb186ea1b35ddd16e6097
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoComplete the container opnfv-vnf 71/39671/1
Cédric Ollivier [Sat, 19 Aug 2017 20:03:12 +0000 (22:03 +0200)]
Complete the container opnfv-vnf

It adds the following testcases:
  - aaa
  - orchestra_openims
  - orchestra_clearwaterims

opera_vims is not yet integrated as it depends on Opera [1] and its
package must be fixed before being installed in Functest [2].

vyos_vrouter will be added when a package is available for installing
opnfv-functest-vrouter [3].

[1] https://wiki.opnfv.org/display/OPERA/Opera+Home
[2] https://git.opnfv.org/opera/tree/requirements.txt
[3] https://github.com/oolorg/opnfv-functest-vrouter

Change-Id: Iccd4626ec29c1e9eb1c2accc81fdf1a9ae1e613f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix ci_loop conditions for vnf 69/39669/1
Cédric Ollivier [Sun, 20 Aug 2017 08:28:37 +0000 (10:28 +0200)]
Fix ci_loop conditions for vnf

Weekly jobs should run all tests (vnf included).

Change-Id: I25b43654d48e9ae5df5c18fd565423a310d4c68b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAllow defining CI_LOOP via env 67/39667/1
Cédric Ollivier [Sun, 20 Aug 2017 07:25:32 +0000 (09:25 +0200)]
Allow defining CI_LOOP via env

CI_LOOP is more human-readable than BUILD_TAG and could be set by env.
Weekly is still the default value even if it can be considered than
daily is more relevant.

Change-Id: Ia8e370fe0f967ba2c83d0212f8e045d815b4ddb3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Integrate cloudify_ims in functest-features"
Cedric Ollivier [Sun, 20 Aug 2017 10:22:08 +0000 (10:22 +0000)]
Merge "Integrate cloudify_ims in functest-features"

7 years agoUpdating the constrains for the Barometer test-suite 17/39617/3
Calin Gherghe [Fri, 18 Aug 2017 18:39:11 +0000 (18:39 +0000)]
Updating the constrains for the Barometer test-suite

The patch switches the tests for Apex, which is the only Installer
supported by the Barometer project for the OPNFV Euphrates Release.

Change-Id: Ic064a41402bc4f27280f8d5e408d59ad41f888bc
Signed-off-by: Calin Gherghe <calin.gherghe@intel.com>
7 years agoCreate API to update openrc 71/39571/6
Linda Wang [Fri, 18 Aug 2017 07:08:12 +0000 (07:08 +0000)]
Create API to update openrc

API: /api/v1/functest/openstack/action
METHOD: POST
PARAMS:
{
    "action": "update_openrc",
    "args": {
         "openrc": {
             "OS_AUTH_URL": "http://192.168.30.222:5000/v3",
             "OS_IDENTITY_API_VERSION": "3",
             "OS_IMAGE_API_VERSION": "2",
             "OS_PASSWORD": "console",
             "OS_PROJECT_DOMAIN_NAME": "default",
             "OS_PROJECT_NAME": "admin",
             "OS_TENANT_NAME": "admin",
             "OS_USERNAME": "admin",
             "OS_USER_DOMAIN_NAME": "default"
         }
    }
}

JIRA: FUNCTEST-855

Change-Id: I7c935483c264f2b1b47239684392c8a37dc23d26
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoRemove the tenant and user created for tempest 87/39487/3
Linda Wang [Thu, 17 Aug 2017 09:40:56 +0000 (09:40 +0000)]
Remove the tenant and user created for tempest

According to the module [1] in tempest to parse tempest.conf,
the three params in session idenity are invalid:

[identity]
tenant_name = tempest
username = tempest
password = Tempest123!

Then there is no need to create tenant and user before running
tempest and refstack_defcore.

[1]: https://github.com/openstack/tempest/blob/14.0.0/tempest/config.py#L120

JIRA: FUNCTEST-864

Change-Id: Idac46e1e620324c584c8021c0bdf843f8823155a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoIntegrate cloudify_ims in functest-features 47/39047/4
Cédric Ollivier [Mon, 7 Aug 2017 18:27:29 +0000 (20:27 +0200)]
Integrate cloudify_ims in functest-features

We only rely on system libraries in case of Alpine.
It's not possible in case of Ubuntu 14.04 because libxml is too old.

Change-Id: I304f8ea5e9a6541e9719210db9d07949107bf193
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Fix summary in run_tests.py"
Cedric Ollivier [Fri, 18 Aug 2017 12:44:09 +0000 (12:44 +0000)]
Merge "Fix summary in run_tests.py"

7 years agoFix summary in run_tests.py 87/39587/1
Cédric Ollivier [Fri, 18 Aug 2017 12:22:20 +0000 (14:22 +0200)]
Fix summary in run_tests.py

It fixes summary() when several tests have not been executed after a
blocking test in failure.

Change-Id: I3c0af4c8083ffa76f786756d409c09e018bbecc8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Put domain name in CONST"
Juha Kosonen [Fri, 18 Aug 2017 12:18:47 +0000 (12:18 +0000)]
Merge "Put domain name in CONST"

7 years agoMerge "Switch to blocking: false for ODL in functest-smoke"
Cedric Ollivier [Fri, 18 Aug 2017 08:45:37 +0000 (08:45 +0000)]
Merge "Switch to blocking: false for ODL in functest-smoke"

7 years agoMerge "Remove multisite support"
Morgan Richomme [Fri, 18 Aug 2017 08:31:51 +0000 (08:31 +0000)]
Merge "Remove multisite support"

7 years agoPut domain name in CONST 67/39567/1
Alex Yang [Fri, 18 Aug 2017 07:05:14 +0000 (15:05 +0800)]
Put domain name in CONST

Domain name is not obtained in source_rc_file() but used in the
patch https://gerrit.opnfv.org/gerrit/#/c/39109/.

Change-Id: Iceaf352f7ad5e15f15906f0e3aa1c5ab5ae30a42
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoRemove multisite support 69/39569/1
Juha Kosonen [Fri, 18 Aug 2017 06:57:25 +0000 (09:57 +0300)]
Remove multisite support

JIRA: FUNCTEST-866

Change-Id: I55a4416688b2aca0897910cac69b33e154e73095
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoSwitch to blocking: false for ODL in functest-smoke 15/39515/1
Cédric Ollivier [Thu, 17 Aug 2017 14:47:21 +0000 (16:47 +0200)]
Switch to blocking: false for ODL in functest-smoke

It completes the previous change vs the former container [1].

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

Change-Id: Ie0e55e859e550de9ffb30ce1e6f03859e6869332
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoDisable temporarily Doctor from Functest 09/39509/1
Morgan Richomme [Thu, 17 Aug 2017 13:57:50 +0000 (15:57 +0200)]
Disable temporarily Doctor from Functest

The test case is currently failing whatever the scenario/installer

It is misleading for some scenarios (e.g. barometer)
As it is systematically failing for the moment, it makes more sense
to disable the test rather than complexify regex constraints

The test case will be reenabled when the following points will be fixed:
- Python 3 support (pending question to Release Manager)
- packaging OK: pending patches [1] [2] (need merge of [1])
- remove packet installation in run

[1] https://gerrit.opnfv.org/gerrit/#/c/38177/
[2] https://gerrit.opnfv.org/gerrit/#/c/38053/

Change-Id: Ic06786f0d516f1702dc44dc521ba8ca810ee76f9
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "add orchestra_clearwaterims testcase"
Morgan Richomme [Thu, 17 Aug 2017 12:11:28 +0000 (12:11 +0000)]
Merge "add orchestra_clearwaterims testcase"

7 years agoMerge "Use separate timeouts for connection and reading."
Morgan Richomme [Thu, 17 Aug 2017 12:11:21 +0000 (12:11 +0000)]
Merge "Use separate timeouts for connection and reading."

7 years agoSpecify valid external network as an env 01/39501/1
Linda Wang [Thu, 17 Aug 2017 12:07:30 +0000 (12:07 +0000)]
Specify valid external network as an env

In some deployments, the retrieved external network by the
def get_external_net checked by "router:external" is not available.
So it is necessary to specify the available external network
as an env by user for some deployments.

JIRA: FUNCTEST-865

Change-Id: I561bc7d57e06214516a4cdbebd67632cd9746fba
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "API proposal for functest"
Cedric Ollivier [Thu, 17 Aug 2017 11:12:52 +0000 (11:12 +0000)]
Merge "API proposal for functest"

7 years agoMerge "Clean run_tests.py and the related ut"
Cedric Ollivier [Thu, 17 Aug 2017 10:01:36 +0000 (10:01 +0000)]
Merge "Clean run_tests.py and the related ut"

7 years agoMerge "Update ODL tag to release/carbon"
Cedric Ollivier [Thu, 17 Aug 2017 10:01:12 +0000 (10:01 +0000)]
Merge "Update ODL tag to release/carbon"

7 years agoAPI proposal for functest 03/36703/34
Linda Wang [Thu, 29 Jun 2017 07:12:29 +0000 (07:12 +0000)]
API proposal for functest

1. Propose a basic framework for API
2. And these functions have been realized:
   1) Show environment
   2) Prepare Environment
   3) Show credentials
   4) List all testcases
   5) Show a testcase
   6) List all tiers
   7) Show a tier
   8) List all testcases within given tier

JIRA: FUNCTEST-843

Change-Id: Ib961446708077b56465eda0052f6d38806b62594
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Fix domain in tenant creation"
Juha Kosonen [Thu, 17 Aug 2017 07:57:31 +0000 (07:57 +0000)]
Merge "Fix domain in tenant creation"

7 years agoMerge "Obtain build_tag by CONST instead of get function"
Linda Wang [Thu, 17 Aug 2017 07:50:30 +0000 (07:50 +0000)]
Merge "Obtain build_tag by CONST instead of get function"

7 years agoMerge "Remove timestamp in the details for tempest"
Linda Wang [Thu, 17 Aug 2017 07:50:21 +0000 (07:50 +0000)]
Merge "Remove timestamp in the details for tempest"

7 years agoMerge "Switch to blocking: false for ODL testcase"
Cedric Ollivier [Thu, 17 Aug 2017 07:29:05 +0000 (07:29 +0000)]
Merge "Switch to blocking: false for ODL testcase"

7 years agoSwitch to blocking: false for ODL testcase 71/39271/2
Nikolas Hermanns [Mon, 14 Aug 2017 15:32:55 +0000 (17:32 +0200)]
Switch to blocking: false for ODL testcase

ODL basic suite doesn't support Keystone v3 [1] and then the related
testcase should not block the testing till it's fixed.

[1] https://jira.opnfv.org/browse/FUNCTEST-862

Change-Id: Ib9c92c5ff37ab720bdfc311df834f18bac39daa7
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoMerge "Fully integrate promise in functest-features"
Cedric Ollivier [Thu, 17 Aug 2017 06:12:29 +0000 (06:12 +0000)]
Merge "Fully integrate promise in functest-features"

7 years agoClean run_tests.py and the related ut 43/39443/2
Cédric Ollivier [Wed, 16 Aug 2017 17:20:17 +0000 (19:20 +0200)]
Clean run_tests.py and the related ut

It enhances run_tests.py as proposed in [1].
It also prints all skipped tests in summary and fixes copyright
headers. All the related unit tests have been updated too.

[1] https://jira.opnfv.org/browse/FUNCTEST-832

JIRA: FUNCTEST-832
Change-Id: I59b96422bc7942ecd6270c45ab7a3fb603c13ccb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoUpdate ODL tag to release/carbon 45/39445/1
Cédric Ollivier [Wed, 16 Aug 2017 17:40:56 +0000 (19:40 +0200)]
Update ODL tag to release/carbon

Change-Id: I82a5bdaeff5de74f11cd210f6437c720d0ee8aee
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Remove copper refs"
Cedric Ollivier [Wed, 16 Aug 2017 17:44:28 +0000 (17:44 +0000)]
Merge "Remove copper refs"

7 years agoMerge "Remove netready refs"
Cedric Ollivier [Wed, 16 Aug 2017 17:44:17 +0000 (17:44 +0000)]
Merge "Remove netready refs"

7 years agoMerge "Update promise upper constraint"
Cedric Ollivier [Wed, 16 Aug 2017 17:44:08 +0000 (17:44 +0000)]
Merge "Update promise upper constraint"

7 years agoUse separate timeouts for connection and reading. 29/39429/2
Benoit HERARD [Wed, 16 Aug 2017 12:12:47 +0000 (14:12 +0200)]
Use separate timeouts for connection and reading.

Use a short timeout for connection timeout to avoid to slow down testcase
when remote recording API is not available and use a longer one to read data
from API on successfull connections.

Change-Id: I743c02f890059bf55b47cb4240d52fe0741f7cae
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
7 years agoRevert "Enable parser project" 27/39327/2
Cedric Ollivier [Tue, 15 Aug 2017 08:19:05 +0000 (08:19 +0000)]
Revert "Enable parser project"

This reverts commit 39e2116d5ff360dae7159f5557caa2b2a46c48b2.

Change-Id: I7c0b63b22c5cf6e9fa2ee1f182abad96a3931098
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix domain in tenant creation 09/39109/4
Juha Kosonen [Fri, 11 Aug 2017 06:31:25 +0000 (09:31 +0300)]
Fix domain in tenant creation

Use the ID of the domain when creating a tenant on keystone v3.

Change-Id: Ic415237e2bb2d537f07ab2245816a575f977aaa0
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoObtain build_tag by CONST instead of get function 15/39315/2
Linda Wang [Tue, 15 Aug 2017 06:49:51 +0000 (06:49 +0000)]
Obtain build_tag by CONST instead of get function

JIRA: FUNCTEST-763

Change-Id: I86b0b515a3d51df20a35c2aeb461a95d0c5797fd
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoRemove timestamp in the details for tempest 01/39101/3
Linda Wang [Fri, 11 Aug 2017 05:28:21 +0000 (05:28 +0000)]
Remove timestamp in the details for tempest

Example:
"success":
["2017-08-15 06:59:30.445 1180 INFO opnfv-tempest [-] {0} tempest.sce
nario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops"]
which is updated to:
"success":
["tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_serv
er_basic_ops"]

Change-Id: Iad13e380b3a1fdc37b7742929512098bccc6d460
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoFully integrate promise in functest-features 13/39313/1
Cédric Ollivier [Tue, 15 Aug 2017 06:21:26 +0000 (08:21 +0200)]
Fully integrate promise in functest-features

Change-Id: I52a4719df1fd5f4159d0ba5eed1a9b14b8ba72f6
Depends-On: Ia9ae55b127d0d324d97974f5e9b1923d7636d7cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRemove copper refs 67/39167/2
Cédric Ollivier [Sat, 12 Aug 2017 10:31:24 +0000 (12:31 +0200)]
Remove copper refs

Copper withdrew from E release (see comments in [1]).

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

Change-Id: I1af463f5d60a6099592c1005ce27d3ca0c40cbbf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRemove netready refs 65/39165/1
Cédric Ollivier [Sat, 12 Aug 2017 10:13:39 +0000 (12:13 +0200)]
Remove netready refs

Netready withdrew from E release [1]

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

Change-Id: I456b91e0bb454a4205df98d0e96032302d3b20a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoUpdate promise upper constraint 63/39163/2
Cédric Ollivier [Sat, 12 Aug 2017 09:49:03 +0000 (11:49 +0200)]
Update promise upper constraint

It follows "Move promise package to root directory" [1].
Then it allows installing promise in editable mode.

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

Change-Id: Id51d934c18a8f6567195de6b7775a62452bb9f83
Depends-On: Ia9ae55b127d0d324d97974f5e9b1923d7636d7cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoadd orchestra_clearwaterims testcase 49/38949/7
Michael Pauls [Wed, 9 Aug 2017 00:42:46 +0000 (02:42 +0200)]
add orchestra_clearwaterims testcase

-rename testcase orchestra_ims to orchestra_openims
-add orchestra_clearwaterims testcase
-add unit tests

Change-Id: I5291f84068915fa15e3fb7b63c5dbd0daec0acca
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
7 years agoKeep the promise working dir in /src 77/39077/1
Cédric Ollivier [Thu, 10 Aug 2017 16:07:45 +0000 (18:07 +0200)]
Keep the promise working dir in /src

Otherwise npm install fails.

Change-Id: I1be15bc83e0dfab1ad1471106326ff347385f31e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Integrate the netready package"
Cedric Ollivier [Thu, 10 Aug 2017 14:40:57 +0000 (14:40 +0000)]
Merge "Integrate the netready package"

7 years agoMerge "Integrate the promise package"
Cedric Ollivier [Thu, 10 Aug 2017 14:40:31 +0000 (14:40 +0000)]
Merge "Integrate the promise package"

7 years agoFix the logic of adding/updating tempest.conf 57/39057/1
Linda Wang [Thu, 10 Aug 2017 12:06:05 +0000 (12:06 +0000)]
Fix the logic of adding/updating tempest.conf

Change-Id: I850311a9306607106836f24594019e98d2fd9499
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoIntegrate the netready package 73/38873/2
Cédric Ollivier [Mon, 7 Aug 2017 20:50:06 +0000 (22:50 +0200)]
Integrate the netready package

It also adds the related testcases in functest-features.

Change-Id: I584da9d890622c1bdd2ace0b12b4be37250fda56
Depends-On: I3842e6828f60972cb1df0bc15f849cd08badd895
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoIntegrate the promise package 45/39045/1
Cédric Ollivier [Thu, 10 Aug 2017 09:51:10 +0000 (11:51 +0200)]
Integrate the promise package

Change-Id: I128bfa62b9ccd8e53683def329e8470693c2e556
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Improved error handling when Energy recorder API is unavailable."
Morgan Richomme [Thu, 10 Aug 2017 09:26:46 +0000 (09:26 +0000)]
Merge "Improved error handling when Energy recorder API is unavailable."

7 years agoMerge "Record the test cases passed in tempest"
Cedric Ollivier [Thu, 10 Aug 2017 09:23:50 +0000 (09:23 +0000)]
Merge "Record the test cases passed in tempest"

7 years agoMerge "Add copper and domino in functest-features"
Cedric Ollivier [Thu, 10 Aug 2017 09:21:58 +0000 (09:21 +0000)]
Merge "Add copper and domino in functest-features"

7 years agoMerge "Switch to Docker post_checkout hooks"
Cedric Ollivier [Thu, 10 Aug 2017 08:58:43 +0000 (08:58 +0000)]
Merge "Switch to Docker post_checkout hooks"

7 years agoMerge "Fix import and docstrings in onos/teston"
Cedric Ollivier [Thu, 10 Aug 2017 08:58:27 +0000 (08:58 +0000)]
Merge "Fix import and docstrings in onos/teston"