functest.git
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 "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 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 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 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"

7 years agoMerge "Remove rnc unit test dir as empty"
Cedric Ollivier [Thu, 10 Aug 2017 08:58:12 +0000 (08:58 +0000)]
Merge "Remove rnc unit test dir as empty"

7 years agoMerge "Add functest-components based on Alpine"
Cedric Ollivier [Thu, 10 Aug 2017 08:57:52 +0000 (08:57 +0000)]
Merge "Add functest-components based on Alpine"

7 years agoMerge "Add functest-features based on Alpine"
Cedric Ollivier [Thu, 10 Aug 2017 08:57:34 +0000 (08:57 +0000)]
Merge "Add functest-features based on Alpine"

7 years agoMerge "Add/Update tempest.conf via a specific file"
Morgan Richomme [Thu, 10 Aug 2017 08:56:10 +0000 (08:56 +0000)]
Merge "Add/Update tempest.conf via a specific file"

7 years agoMerge "Clean smoke requirements"
Cedric Ollivier [Thu, 10 Aug 2017 08:21:36 +0000 (08:21 +0000)]
Merge "Clean smoke requirements"

7 years agoMerge "Add all ODL testcases in functest-smoke"
Cedric Ollivier [Thu, 10 Aug 2017 08:21:28 +0000 (08:21 +0000)]
Merge "Add all ODL testcases in functest-smoke"

7 years agoMerge "Restrict ping only once in ping.sh"
Morgan Richomme [Thu, 10 Aug 2017 07:48:37 +0000 (07:48 +0000)]
Merge "Restrict ping only once in ping.sh"

7 years agoAdd/Update tempest.conf via a specific file 19/39019/4
Linda Wang [Thu, 10 Aug 2017 02:37:56 +0000 (02:37 +0000)]
Add/Update tempest.conf via a specific file

Provides a convenient way to configure all params which users required.

JIRA: FUNCTEST-860

Change-Id: Iadfb704285f94530e1023ee780138f22dd672d33
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoRecord the test cases passed in tempest 71/38671/4
Linda Wang [Thu, 3 Aug 2017 08:51:37 +0000 (08:51 +0000)]
Record the test cases passed in tempest

Also, convert the test cases recorded with string into list

Change-Id: Ie3980a555b4042e6fe9706320d33d4ec4c06ea0c
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Configure AARCH64 image settings for UEFI"
Linda Wang [Wed, 9 Aug 2017 08:30:30 +0000 (08:30 +0000)]
Merge "Configure AARCH64 image settings for UEFI"

7 years agoImproved error handling when Energy recorder API is unavailable. 99/38899/3
Benoit HERARD [Tue, 8 Aug 2017 09:33:56 +0000 (11:33 +0200)]
Improved error handling when Energy recorder API is unavailable.

Log verbosity is reduced when API is discovered unavailable.
Avoid next calls to API if unavailable at config loading.

Change-Id: I68d169396335ae3891e4b808062058945fc2eca1
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
7 years agoMerge "update/improve orchestra_ims"
Morgan Richomme [Tue, 8 Aug 2017 09:07:33 +0000 (09:07 +0000)]
Merge "update/improve orchestra_ims"

7 years agoConfigure AARCH64 image settings for UEFI 87/38887/2
Delia Popescu [Tue, 8 Aug 2017 07:49:20 +0000 (10:49 +0300)]
Configure AARCH64 image settings for UEFI

Configure one parted AARCH64 Cirros image settings for AAVMF(UEFI)

Change-Id: I28ca1ead06c1153e2483c163af9da8e70736ac1c
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
JIRA: ARMBAND-279

7 years agoAdd copper and domino in functest-features 51/38851/1
Cédric Ollivier [Mon, 7 Aug 2017 14:36:56 +0000 (16:36 +0200)]
Add copper and domino in functest-features

Change-Id: I6f7a35b84c9b7f8cde88998f545b30cc200c8ff1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoSwitch to Docker post_checkout hooks 67/38667/2
Cédric Ollivier [Thu, 3 Aug 2017 07:56:20 +0000 (09:56 +0200)]
Switch to Docker post_checkout hooks

Automated builds work when Dockerfile is modified after checkout.
Otherwise they are not triggered [1].

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

Change-Id: I6ba9e06f9e62011d2f1c1788f2647b1175842ef3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix import and docstrings in onos/teston 65/38665/1
Cédric Ollivier [Wed, 2 Aug 2017 19:18:46 +0000 (21:18 +0200)]
Fix import and docstrings in onos/teston

Change-Id: Ie38f3b0ab8805cd7ca3e946533be37598be9434e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRemove rnc unit test dir as empty 63/38663/1
Cédric Ollivier [Wed, 2 Aug 2017 19:12:43 +0000 (21:12 +0200)]
Remove rnc unit test dir as empty

Change-Id: Id52e49b41f36c58a849c304eed543f8a8465ff9e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd functest-components based on Alpine 13/38613/1
Cédric Ollivier [Wed, 2 Aug 2017 11:37:14 +0000 (13:37 +0200)]
Add functest-components based on Alpine

It integrates the whole test suite:
  - tempest_full_parallel
  - tempest_custom
  - rally_full

Change-Id: If215d8e12262072828f348ac323dba963849bf14
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd functest-features based on Alpine 07/38607/2
Cédric Ollivier [Wed, 2 Aug 2017 10:14:16 +0000 (12:14 +0200)]
Add functest-features based on Alpine

It integrates the next testcases:
  - bgpvpn
  - security_scan
  - functest-odl-sfc
  - barometercollectd

It also modifies several cmds in the former testcases.yaml to ensure
backward compatibility.

Depends-On: I75aaf950f7b072c142fa9894cef7ef7f057adac3
Depends-On: I50219cad42bf0e085c2edf2e1abe149c2e057a99
Change-Id: Idf3d6b4a769edd1a5401748886e0ed64d4f5f281
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoClean smoke requirements 01/38601/3
Cédric Ollivier [Tue, 18 Jul 2017 04:30:14 +0000 (06:30 +0200)]
Clean smoke requirements

Change-Id: I16884fa550e9b42cd0b57338c4b8b6598ac33dbb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd all ODL testcases in functest-smoke 99/38599/3
Cédric Ollivier [Tue, 18 Jul 2017 04:18:21 +0000 (06:18 +0200)]
Add all ODL testcases in functest-smoke

It clones the related git repositories in /src and adapts the former
Dockerfiles too.

Change-Id: Ied5016f8cd5ed49f4e29bae5aa4413fad2477637
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Fixed test description for snaps_smoke."
Jose Lausuch [Tue, 1 Aug 2017 09:09:35 +0000 (09:09 +0000)]
Merge "Fixed test description for snaps_smoke."

7 years agoFixed test description for snaps_smoke. 51/38451/1
spisarski [Mon, 31 Jul 2017 15:11:00 +0000 (09:11 -0600)]
Fixed test description for snaps_smoke.

Change-Id: Ia533337a07c3a47579d0fa97b6bb3b4b3daf94e5
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
7 years agoRestrict ping only once in ping.sh 75/38375/2
Linda Wang [Sat, 29 Jul 2017 03:37:46 +0000 (03:37 +0000)]
Restrict ping only once in ping.sh

Otherwise, it makes no sense to configure ping_timeout as
200 times.

Change-Id: I6e15f5149f24a4316f6d5b70bcda9a46418d1522
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoupdate/improve orchestra_ims 59/38359/3
Michael Pauls [Fri, 28 Jul 2017 19:00:13 +0000 (21:00 +0200)]
update/improve orchestra_ims

-enable orchestra_ims testcase
-update orchestra_ims according to restructed vnf base class
-SNAPS integration
-improve code based on pylint suggestions
-add unit tests (to be completed)

Change-Id: Id12f645c76096376b8a867bf36d7bbb69bac58e7
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
7 years agoOmit space line in openrc file 41/38241/3
Linda Wang [Thu, 27 Jul 2017 01:42:51 +0000 (01:42 +0000)]
Omit space line in openrc file

For alpine testing in compass OSA, sourcing openrc failed due to space
lines included.

Change-Id: I23166090a2fa7c2ce0aa03be581231cbb3cea34a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Enable parser project"
Serena Feng [Wed, 26 Jul 2017 01:33:53 +0000 (01:33 +0000)]
Merge "Enable parser project"

7 years agoFix dockerfile patch for aarch64 49/38049/2
Delia Popescu [Tue, 25 Jul 2017 07:25:32 +0000 (10:25 +0300)]
Fix dockerfile patch for aarch64

Patched the patch https://gerrit.opnfv.org/gerrit/#/c/37869/
Fixed some issues regarding spaces in the patch file

Change-Id: Ieac4b766e36d274bd044cd4110626b5314ea6556
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
7 years agoEnable parser project 61/38061/1
shangxdy [Tue, 25 Jul 2017 09:43:45 +0000 (17:43 +0800)]
Enable parser project

Enable parser project in functest

Change-Id: I9bbf5dc5904f53d1a0a640726fbf57b2b702bdfe
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
7 years agoModified Dockerfile.aarch to a patch 69/37869/3
Delia Popescu [Thu, 20 Jul 2017 14:55:09 +0000 (17:55 +0300)]
Modified Dockerfile.aarch to a patch

Docker image for functest on ARM was build using a different Dockerfile.
Now the ARM Dockerfile is created with a patch,
in order to avoid modifying both files.
This Dockerfile.aarch64.patch is applied by opnfv-docker.sh from releng project.

Change-Id: Ib3d4230b79811a9c563b2687a78e8c4724f7efc7
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
7 years agoMerge "Add AARCH64 images back to Functest"
Jose Lausuch [Thu, 20 Jul 2017 12:42:46 +0000 (12:42 +0000)]
Merge "Add AARCH64 images back to Functest"

7 years agoMerge "Save space in Alpine containers"
Cedric Ollivier [Wed, 19 Jul 2017 09:32:37 +0000 (09:32 +0000)]
Merge "Save space in Alpine containers"

7 years agoMerge "Add script to build all containers"
Cedric Ollivier [Wed, 19 Jul 2017 09:32:25 +0000 (09:32 +0000)]
Merge "Add script to build all containers"

7 years agoAdd id to test_list for tempest_custom 21/37721/1
Linda Wang [Wed, 19 Jul 2017 05:16:02 +0000 (05:16 +0000)]
Add id to test_list for tempest_custom

Tempest_custom will fail if only the test name is provided without id.

Change-Id: I170eff4215bcb09c6469072079091670aabaad5b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Change calls to SNAPS library exposing OpenStack instance objects."
Jose Lausuch [Tue, 18 Jul 2017 13:47:00 +0000 (13:47 +0000)]
Merge "Change calls to SNAPS library exposing OpenStack instance objects."

7 years agoAdd AARCH64 images back to Functest 33/37633/3
deliamadalina [Mon, 17 Jul 2017 11:32:41 +0000 (14:32 +0300)]
Add AARCH64 images back to Functest

aarch64 path files is reupdated with aarch64 cirros images
Functest is now able to run on aarch64 too, using the appropriate images
JIRA: ARMBAND-279

Change-Id: I05de0cb8315a33322225a6caedaa64a5a4833e4e
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
7 years agoMerge "Conform the RefStack testcase with the Rally context"
Jose Lausuch [Mon, 17 Jul 2017 11:05:45 +0000 (11:05 +0000)]
Merge "Conform the RefStack testcase with the Rally context"

7 years agoMerge "Wait for refstack-client to finish"
Jose Lausuch [Mon, 17 Jul 2017 11:05:13 +0000 (11:05 +0000)]
Merge "Wait for refstack-client to finish"

7 years agoSave space in Alpine containers 21/37621/2
Cédric Ollivier [Mon, 17 Jul 2017 10:31:06 +0000 (12:31 +0200)]
Save space in Alpine containers

It decreases the size of Functest core and smoke containers by 20%.

Change-Id: Id75117b1404e3cce004ef51c61040cdb7ade6976
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Remove add_images.sh"
Jose Lausuch [Mon, 17 Jul 2017 07:36:38 +0000 (07:36 +0000)]
Merge "Remove add_images.sh"

7 years agoAdd script to build all containers 15/37215/6
Cédric Ollivier [Tue, 11 Jul 2017 21:53:36 +0000 (23:53 +0200)]
Add script to build all containers

It also sets opnfv as default repository as they will be pushed by
releng.

It adds hooks asked for automated build via Docker which allows
continuous integration before the update of jjobs.

Change-Id: I08b55b1ff334afe6c0f58af3100cfa04f76d8ef0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoConform the RefStack testcase with the Rally context 63/37563/3
Cédric Ollivier [Sat, 15 Jul 2017 08:53:02 +0000 (10:53 +0200)]
Conform the RefStack testcase with the Rally context

If the RefStack testcase relies on the Tempest configuration
generated by Rally, it must conforms with the related context [1].

[1] https://raw.githubusercontent.com/openstack/rally/0.9.1/rally/plugins/openstack/verification/tempest/context.py

Change-Id: Ia62c0a328c53a1541aeaf8668e1f34ae67898eed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoWait for refstack-client to finish 37/37537/4
Cédric Ollivier [Fri, 14 Jul 2017 19:05:17 +0000 (21:05 +0200)]
Wait for refstack-client to finish

The previous implementation waited for /bin/sh to finish instead of
refstack-client. Then tempest still ran in background even if the
tescase was considered as finished.

Now all tempest logs are only printed in the dedicated file.

Change-Id: I94cd7c6fe68f3bc21782d8d9c43feee338c103ae
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Release notes for Danube.3.0"
Jose Lausuch [Sat, 15 Jul 2017 15:30:54 +0000 (15:30 +0000)]
Merge "Release notes for Danube.3.0"

7 years agoMerge "Correct odl port for compass installer"
Cedric Ollivier [Sat, 15 Jul 2017 13:49:02 +0000 (13:49 +0000)]
Merge "Correct odl port for compass installer"

7 years agoChange calls to SNAPS library exposing OpenStack instance objects. 43/37543/1
spisarski [Fri, 14 Jul 2017 19:49:45 +0000 (13:49 -0600)]
Change calls to SNAPS library exposing OpenStack instance objects.

Openstack object structures can change when new API versions are released and
SNAPS no longer is exposing OpenStack object implementations as this makes
the library brittle. The only two SNAPS method calls affected are when functest
needs to query for external networks and when vPing Userdata needs to obtain
the console logs.

JIRA: SNAPS-125

Change-Id: If6000e50eaa274713d9a6c964eabd1f73ded684e
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
7 years agoMerge "Use decorators for mock patching"
Jose Lausuch [Fri, 14 Jul 2017 10:15:16 +0000 (10:15 +0000)]
Merge "Use decorators for mock patching"

7 years agoRelease notes for Danube.3.0 69/37269/8
jose.lausuch [Wed, 12 Jul 2017 15:21:18 +0000 (17:21 +0200)]
Release notes for Danube.3.0

Change-Id: I528b4ef11b5957856c36c0f18c0aa28a38d450a4
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Release notes for Danube 2.0"
Jose Lausuch [Fri, 14 Jul 2017 09:28:43 +0000 (09:28 +0000)]
Merge "Release notes for Danube 2.0"

7 years agoRemove add_images.sh 73/37373/2
jose.lausuch [Thu, 13 Jul 2017 12:21:55 +0000 (14:21 +0200)]
Remove add_images.sh

The Docker images should not host any OS image. They shall
be pre-downloaded and mounted as a docker volume to the
functest container.

Also, add scenario argument to skip images that are not needed for
the scenario

Change-Id: I652ec32b177ddea73c8a253359e873f13bf0c950
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoFix some issues in cloudify_ims 71/37271/2
boucherv [Wed, 12 Jul 2017 16:18:37 +0000 (18:18 +0200)]
Fix some issues in cloudify_ims

- Blocking ssh
- Timeout for SCP
- Debug in clearwater-ims-base
- Flavor with snaps

Change-Id: Ib11a4ebf20e698caccbb16920ae7d715f931fc58
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoCorrect odl port for compass installer 41/37341/3
Yifei Xue [Thu, 13 Jul 2017 07:13:21 +0000 (15:13 +0800)]
Correct odl port for compass installer

For the port 8181 has been used by OSA repo LXC
in compass deployment. So we change the port here
in functest to 8080.

Change-Id: Ia262319f7513497db6e849521de6be6328ec97ba
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoRelease notes for Danube 2.0 67/37267/2
jose.lausuch [Wed, 3 May 2017 20:11:17 +0000 (22:11 +0200)]
Release notes for Danube 2.0

Change-Id: Ibe121dad771f0df36ffa15ec13d637b835cf09a8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Switch to check_deployment instead of check_os.sh"
Morgan Richomme [Wed, 12 Jul 2017 15:12:22 +0000 (15:12 +0000)]
Merge "Switch to check_deployment instead of check_os.sh"

7 years agoSwitch to check_deployment instead of check_os.sh 71/37071/5
jose.lausuch [Fri, 7 Jul 2017 12:19:39 +0000 (14:19 +0200)]
Switch to check_deployment instead of check_os.sh

Change-Id: Idcc67643f813068c3cd06f4c0dfd3289bb7df138
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Add odl configurations for odl testcase in daisy environment"
Cedric Ollivier [Wed, 12 Jul 2017 08:04:29 +0000 (08:04 +0000)]
Merge "Add odl configurations for odl testcase in daisy environment"

7 years agoMerge "New python script to check openstack deployment"
valentin boucher [Wed, 12 Jul 2017 07:52:38 +0000 (07:52 +0000)]
Merge "New python script to check openstack deployment"

7 years agoAdd odl configurations for odl testcase in daisy environment 65/37165/2
Alex Yang [Tue, 11 Jul 2017 09:03:52 +0000 (17:03 +0800)]
Add odl configurations for odl testcase in daisy environment

To support odl testcase in the environment deployed by daisy installer.

Change-Id: I70bc668520cf28385fcff8489c773b880e7b4080
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoMerge "Add openssh-client in core"
Cedric Ollivier [Tue, 11 Jul 2017 15:18:10 +0000 (15:18 +0000)]
Merge "Add openssh-client in core"

7 years agoUse decorators for mock patching 77/37177/3
Martin Kulhavy [Tue, 11 Jul 2017 12:06:04 +0000 (15:06 +0300)]
Use decorators for mock patching

Instead of using the `with` clause, mock patching is prepended to each
testing method as a decorator.

Change-Id: Ieb962d6fd0b9a6cdc649c44e39f69b543426dce9
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoAdd openssh-client in core 83/37183/1
Cédric Ollivier [Tue, 11 Jul 2017 14:48:43 +0000 (16:48 +0200)]
Add openssh-client in core

It's required by snaps ansible tests.

Change-Id: Iebd4c7b8de8637a18dd40040749b9a1a0781fff2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd decorators in testcases for energy recording. 59/37059/9
Benoit HERARD [Fri, 7 Jul 2017 07:44:48 +0000 (09:44 +0200)]
Add decorators in testcases for energy recording.

Test cases are:
- rally (sanity and full)
- refstack
- cloudify_ims
- vping_ssh

It also fix a bug on "energy_recording" decorator of energy module.

Change-Id: I625c214552ad1b89eaf7e196e706d7c69b37da33
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
7 years agoNew python script to check openstack deployment 67/37067/11
jose.lausuch [Fri, 7 Jul 2017 10:44:36 +0000 (12:44 +0200)]
New python script to check openstack deployment

This is a crucial part of functest env prepare.
The former check_os.sh is missing some error
control and is sometimes trying to connect to an
empty endpoint if the sed/awk commands were wrong.
This python script is more robust in that sense.
You can see an example of execution in [1].

[1] http://paste.openstack.org/raw/614852/

Change-Id: I622befa13b58d2d31a08d307befb12a2be28fe4d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Define CMD in smoke and healthcheck containers"
Jose Lausuch [Tue, 11 Jul 2017 08:10:17 +0000 (08:10 +0000)]
Merge "Define CMD in smoke and healthcheck containers"

7 years agoMerge "Download Functest's upper-constraints.txt"
Jose Lausuch [Tue, 11 Jul 2017 08:10:07 +0000 (08:10 +0000)]
Merge "Download Functest's upper-constraints.txt"

7 years agoMerge "Add upper-constraints.txt for Functest"
Jose Lausuch [Tue, 11 Jul 2017 08:09:11 +0000 (08:09 +0000)]
Merge "Add upper-constraints.txt for Functest"

7 years agoMerge "Add lesser containers based on Alpine"
Jose Lausuch [Tue, 11 Jul 2017 08:08:46 +0000 (08:08 +0000)]
Merge "Add lesser containers based on Alpine"