Age | Commit message (Collapse) | Author | Files | Lines |
|
No need to install tacker here. We do it with fuel-plugin-tacker.
Change-Id: Ic912048b8a0f169b062ac14788d94757c81bf073
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
(cherry picked from commit acb35acb2a413612484f1669ea7859e2a8d6c789)
|
|
The custom flavor that is needed for the sfc test case is created in the
tacker deployment phase.
The result of this is that when we use alternative methods of deploying
tacker (i.e. the tacker fuel plugin) the test fails.
Changes:
- Move the flavor creation inside the test case code
- Add an optional public parameter in the [get_or_]create_flavor utility
functions.
Change-Id: Iea13f172076770dde3876b7e27edc9b7ca9b28db
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
(cherry picked from commit 40f68e35389cf19d3fb200d1655ecb055c85d1eb)
|
|
Avoid infinite loop
Change-Id: I2b024b188dcf0cdddb924c5bd13c9dfe81183bdd
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
(cherry picked from commit 8f6343fb8020a8e609f771b0a52d49dc2f1c4f43)
|
|
- Open port 22 in every security group
- Add check_ssh for sfc_colorado1
- Replace exits with continue statements
in sfc_colorado1 test loop
Change-Id: Ic7a7ba67c729667621cc0d1114ee2a42d8846247
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
(cherry picked from commit 4b07146f7d667c04159d57d681102995f6060f86)
|
|
- Remove sleep after floating IP assignment
- Add ssh connection check
- Fix iptables instruction
Change-Id: I1a7aa7f928592f148ff4bcd20167e4684f7a7dbe
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
(cherry picked from commit b9e50a3e0869cef0ff6ac11355abc2387c86839c)
|
|
A iteration is added so that the test is run several times.
We are experiencing that ODL requires one deployment for things
to work
Change-Id: Ic70e8f2dabbf03827dd6d7396d2ab8177140cc97
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
(cherry picked from commit 89195402a303f6340b5f409b1df2e8bab1304270)
|
|
JIRA: https://jira.opnfv.org/browse/SFC-48
The assignment of floating IPs to service functions needs some time
to complete, otherwise we get ssh failures
Change-Id: Ia3e789be95d20801ee2c741a473d407e936f4fb6
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
(cherry picked from commit a684becbcffc993322209b525a64f10ee10d7ab5)
|
|
Add iptables rule to open requests.
Tacker client fails to connect without this firewall rule.
Change-Id: I7ca0258110571d8aacdf8214830e4fce5a172c59
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
(cherry picked from commit a5bdcbf651016ed552967ed124c5fb2a19ad3d98)
|
|
Change-Id: I314cbda828f6ebda70f7fb4e7d39e781696bc073
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit b2c633fc572d842ea093ecab51356290eca1e692)
|
|
JIRA: FUNCTEST-463
Change-Id: I1d54a65c5bfa2542f2fd3a2e408967641e6e4ac9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
(cherry picked from commit 55d301a2622ff5b63d431b9272caa68224d53843)
|
|
According to openstack style guidelines in http://docs.openstack.org/developer/hacking/
**** Do not import objects, only modules (*) ****
so direct FUNCTEST_REPO import should be avoided
from functest.utils.functest_utils import FUNCTEST_REPO as FUNCTEST_REPO
JIRA: FUNCTEST-459
Change-Id: Iac0d07a54957cd7419391de183660ac1ce0efd49
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
Change-Id: I8882ffc8139095a79b6542c508a6293ae231f232
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit 56fa7f26dae9c41235ea1251e1b7d2ea1b389b7c)
|
|
Since there is a function in functest_utils to get
a value from the config_functest.yaml directly, there
is no need to load again that file. Better to use common
functions that are designed for that.
Also, Replace location of the results json file to
the results directory. It will be also pushed to artifacts
repository.
Change-Id: Ic6422ed78ccd0f8b40b519342a7dcf38c502924e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit 861ad3fe18c6ee672c8c82d5d8ad39c6131fdf85)
|
|
JIRA: FUNCTEST-446
Reduce the logs that appear in the Jenkins CI console to make the output
of the SFC test case more readable
- Redirect tacker installation logs to results folder
/home/opnfv/functest/results/odl-sfc.log
- Split odl-sfc preparation into a new script
- Pipe STDERR in the sfc.py script so that "Added to known hosts"
messages do not show in the output
Change-Id: Ibf871ade6827d4817f33623b935c5f1d904086bb
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
As it modifies method params, it could break the testcases.
JIRA: FUNCTEST-428
Conflicts:
testcases/features/copper.py
testcases/features/doctor.py
testcases/features/domino.py
Change-Id: I4263d9bd812f1803e513464e3c321cc4a7281958
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 8bfe49ee5a6d7b93b3ce7fb6aae0072acb1171d9)
|
|
This is half of the fix to make the doctor suite run on arm.
The other half is at https://gerrit.opnfv.org/gerrit/#/c/20369/
In this fix I set an enviroment variable, to be used by
the doctor suite when ran with functest. The variable is set only
when present in config_functest.yaml, which we use as a custom file
when running functest on arm.
Change-Id: If34d3e7734a194bf9fe8b525a362e029767caa4f
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
(cherry picked from commit 53b8060cd60c163315d706a6035e30eb66fe8d15)
|
|
Change-Id: Ic4daa57ddbf6587660f982acd915cd4363d3ccbc
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
(cherry picked from commit e0e414259aded62e66b2795ae789ae81d632902b)
|
|
To keep the jenkins console clean and readable,
dump all the output that the Copper test case
generates to a log file and push it to artifact
repository at the end.
Change-Id: If4812c7e92b4d050757ca07333f7c353a0220056
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
(cherry picked from commit 7442f6fb3ec962481d45a8ee0d12ad96242d9c0e)
|
|
The output shown in the Jenkins console will now be
redirected to a file which will be available and linked
to the artifacts repository.
Change-Id: I2e9b5c2ab681a787aa0fc249844cc13feb581764
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
(cherry picked from commit de6ca443b6ea60111f57bfe1cc6153463847c209)
|
|
functest repo is used by almost every testcase, each place we get it like:
REPOS_DIR = os.getenv('repos_dir')
FUNCTEST_REPO = ("%s/functest" % REPOS_DIR)
provide a common interface in functest_util.py
JIRA: FUNCTEST-453
Change-Id: Ie0635dacc761ed2d05b7e606530368844f32ebaf
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
(cherry picked from commit 470f573a3ac2eb1783efec6da01a3bee33360c65)
|
|
|
|
functest_yaml is needed in almost all of the testcases, the obtain process is the same:
with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
functest_yaml = yaml.safe_load(f)
f.close()
abstract a method to unify the process, and provide the interface
JIRA: FUNCTEST-447
Change-Id: I96a9a9962d7b466f10bbd3b5ab2495957524e22a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
(cherry picked from commit f4d0a05011e961a363c6d99522684ecdeb959716)
|
|
- Change the way the test checks if the vxlan_tool has started.
Now the vxlan_tool is detected even if another python process is up.
- Log the exceptions in the vxlan_tool check block. The exceptions that
occur are not destructive for the testcase but it's better to be
visible.
- Add a 60 seconds sleep before the testcase starts to give plenty of
time to ODL to add the correct flows.
- Move the testcase success/fail check blocks inside the try blocks.
The checks are performed on the stdout variable which is in scope
only inside the try blocks.
Change-Id: I49dec176fb83117e9896ac1d19e8a5bd95e3d7cf
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
(cherry picked from commit 563a540585768d900d70ce79f2a871a9d1fab03e)
|
|
FUNCTEST_REPO appears in lots of feature testcases, but never be used, delete it clean the code
JIRA: FUNCTEST-448
Change-Id: I4a9a10eac29e09b481563ed2c33f4122dd9ee3de
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
(cherry picked from commit 834f81f0ad708b930f66aec1fd8b36e2cfb8b32b)
|
|
- If its not possible to get the IPs, then exit
- Patch Set 2: addressed code review comments
Change-Id: I16e22513b32e2b0da311ebcc280f3611570634a3
Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com>
(cherry picked from commit 429ea989e665ebc3dac381c2629662f327dd9a46)
|
|
Since the poc script is fixed it's fuel commit hash in the setup
script have to be updated to select the fixed poc script.
Change-Id: I1fd22e4dc216fd2889adea0c9889df1d4a1bf476
Signed-off-by: Ferenc Cserepkei <ferenc.cserepkei@ericsson.com>
(cherry picked from commit 0d1faa954ec5a5e2911a2ec6df2f0a5f8782a623)
|
|
fix missed the apt-get action
Change-Id: Iac94576a2f712133eee92e4b5460f85d59e90e94
Signed-off-by: Ferenc Cserepkei <ferenc.cserepkei@ericsson.com>
(cherry picked from commit 2002f166154ca5a9380f9d2da2843477669af8f5)
|
|
The fix https://gerrit.opnfv.org/gerrit/#/c/19351 will need
more time for dicussion. In the meanwhile we can use this
one so that CI does not break anymore.
Change-Id: Icbd54200bd62e5019c2a556699ceb41afdb229ca
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit f1054f8f7c787e50df0c0e27ecb10752393071e2)
|
|
In openstack_util.py, when create/get/update network or other resources failed,
False is returned, which is incompatible with success return value such as id, network_nic.
JIRA: FUNCTEST-427
Change-Id: Id2f55d8524e5aff150ba6bfb799085377a63baa4
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
(cherry picked from commit 3e95a1cd0721924e89e2cfd2960d4736bc6c5588)
|
|
|
|
All files where __main__ is checked can now be executed by everyone.
It results from [1] like the next commit [2].
[1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755
[2] https://gerrit.opnfv.org/gerrit/#/c/16737/
Change-Id: I75395892e9e6afbf8ac9c995258496be557aad5f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
We changed the way to download a single file from gerrit
We point now to the original file as bugs in tacker were fixed
Change-Id: I566b2f95ac1ab6032f22180bb42d0fa49482058c
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
|
|
Change-Id: I3ddb9c38010c6f19ebd507990b57c9c498f49da8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
JIRA: FUNCTEST-416
Change-Id: I1a5800be0dcf75573f44e6214b23917aadc1cbf7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-67
Change-Id: I03620f7f41f78da0ab004d55f72da88e9a30a1ea
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
|
|
The tacker post script was modified in the fuel plug-in and thus the link
must be changed
Change-Id: I541eb43baf70171cb7c7ceb3fae284309a1a458b
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
|
|
When changing the classifier, ODL needs some seconds to update
the switches and sometimes they are not changed when the script
executes the second part of the test ==> test fails
Change-Id: I1fa3306eb7b283d708dbd736d2365456559db9b9
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
|
|
|
|
Change-Id: I099010496dadabc18952de88fd6b3740592fc583
Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
|
|
Change-Id: I496ade3ea5888967e933231f515a340369bffe8f
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
|
|
- A new SF image was created with a new name. Several files must be updated
- There is a new tacker branch for OPNFV Colorado, an update was made
Change-Id: Ib5ed364467baca32fa204155655318cb1ec189f5
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
|
|
|
|
* Doing the test with private IPs as floating are currently not working in ODL
* New SF takes more time to start the service. A while loop is added.
* Configuration of the compute set-up due to ODL limitations added
Change-Id: I5449af940caee456262dac66bc47b66fd05c2a70
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
|
|
JIRA: DOCTOR-63
Change-Id: Iaa8fb5989f69a8853c0e3e03ce87d58fb2d4309b
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
|
|
JIRA: SFC-42
- SSH options added so that the ssh key is not needed
- IPTABLES change done before contacting nova, neutron...
- Fix a problem in the CI test (we need to CD the BASEDIR)
Change-Id: Id63c02a614bf31e5a33637c2bf95270bd1399ff8
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
|
|
JIRA: DOCTOR-63
Change-Id: Ib142a6102a705ee571081651c650ced05f7d5d4f
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|