Alexandru Avadanii [Fri, 2 Mar 2018 17:29:53 +0000 (18:29 +0100)]
Update git submodules
* Update docs/submodules/pharos from branch 'master'
- generate_config: New `-b` arg for batch processing
Sometimes, parsing multiple j2 templates based on the same PDF+IDF
is needed, in which case we'd have to call generate_config once for
each template.
Add a new argument, `-b`, which allows batch processing of multiple
templates in one go:
- files ending in '.j2' (e.g. 'template.yml.j2') will be expanded to
a file without the '.j2' suffix in the same directory as the
source template (e.g. 'template.yml');
- templates not ending in '.j2' are skipped in batch mode;
- in order to pass multiple templates, `-j` argument can now be passed
multiple times, similar to `-i`;
- although relative filepaths still work, it is highly recommended to
use the full path (abspath) for j2 templates;
- to avoid filename collisions, j2 parser will open '/' (as well as
any directories specified via `-i`) and lookup each j2 template
by its full path;
Add a new argument, `-v` for verbose logging.
While at it, import only needed functions from 'os.path' to make our
code more compact and easier to read.
Change-Id: I2291935d42e4196813cd75154d5b674bcc330183
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Zhijiang Hu [Tue, 27 Feb 2018 08:15:59 +0000 (16:15 +0800)]
Update git submodules
* Update docs/submodules/daisy from branch 'master'
- Update docs for Fraser release
Change-Id: Iccaaeb1018b51d80814a7263366eff8e8bd0e1d2
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
ahothan [Sat, 3 Mar 2018 01:11:11 +0000 (17:11 -0800)]
Update git submodules
* Update docs/submodules/nfvbench from branch 'master'
- Move docker container to tag 1.2.7
Change-Id: I556204e6d64b3b71402f65ba3cc1b63e3969e0ca
Signed-off-by: ahothan <ahothan@cisco.com>
ahothan [Sat, 3 Mar 2018 01:06:26 +0000 (17:06 -0800)]
Update git submodules
* Update docs/submodules/nfvbench from branch 'master'
- [NFVBENCH-72] ARP retry log may cause exception
Fix exception - use proper type
May happen when retrying wait for ARP replies
Change-Id: Idc33926306268b662117deba499a35eac66affc4
Signed-off-by: ahothan <ahothan@cisco.com>
Ross Brattain [Fri, 2 Mar 2018 21:44:13 +0000 (21:44 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "VNF interfaces are sorted by "vpci" address before being populated"
- VNF interfaces are sorted by "vpci" address before being populated
In [1], VNF interfaces in TG PROX are sorted by "vpci" address, before
this value is populated in "vnfd_helper". "vpci_if_name_ascending" is
only used in TP ProxPofile [2] to generate the stats.
This patch delays this sorting process until the stats generation.
[1]https://github.com/opnfv/yardstick/blob/
a74ad5a1ec1a73389c5983440b2031b0bc72cea1/yardstick/network_services/vnf_generic/vnf/tg_prox.py#L62-L64
[2]https://github.com/opnfv/yardstick/blob/
a74ad5a1ec1a73389c5983440b2031b0bc72cea1/yardstick/network_services/traffic_profile/prox_profile.py#L33
JIRA: YARDSTICK-1044
Change-Id: I988dc48f9a82baa1c64f728d9e6d54f2f4bae010
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Ross Brattain [Fri, 2 Mar 2018 19:29:11 +0000 (19:29 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Prohibit the importation of a list of libraries"
- Prohibit the importation of a list of libraries
Some modules can't be imported and used in Yardstick. For example,
"ansible" has GPLv3 license and can't be used as a library in this
project without modifying Yardstick license.
JIRA: YARDSTICK-896
Change-Id: I9d6bec0493ac50f1051235cc77e81059dfc3e01c
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Ross Brattain [Fri, 2 Mar 2018 19:27:20 +0000 (19:27 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Layout fixes to test case descriptions"
- Layout fixes to test case descriptions
Change-Id: I9658b023e4f3db7e22d67c71dfbba61511d981c6
Signed-off-by: Mika Rautakumpu <mika.rautakumpu@nokia.com>
Ross Brattain [Fri, 2 Mar 2018 19:26:45 +0000 (19:26 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Remove main() and __main__ from tests."
- Remove main() and __main__ from tests.
Removes the unnecessary main() functions from tests.
Also removes shebang (#!) where it appears at the top of files.
JIRA: YARDSTICK-861
Change-Id: I79180d1eb9c5bce640142dd62ce28c7437c1b210
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Emma Foley [Mon, 19 Feb 2018 16:06:50 +0000 (16:06 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Add yardstick.benchmark.contexts.heat.HeatContext._delete_key_file()
* Move logic for removing key file into its own method
* Update the log message to be more useful
JIRA: YARDSTICK-1026
Change-Id: I8c131720ed91c939698c41ad63d586396fcce1fe
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Cédric Ollivier [Fri, 2 Mar 2018 16:14:31 +0000 (17:14 +0100)]
Update git submodules
* Update docs/submodules/sdnvpn from branch 'master'
- Update networking-bgpvpn to 7.0.0
networking-bgpvpn 7.0.0 was released for Pike [1]
[1] https://docs.openstack.org/releasenotes/networking-bgpvpn/pike.html
Change-Id: I4baf1810ee2390c71a0f4b831f11baedabc95360
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 2 Mar 2018 08:04:15 +0000 (09:04 +0100)]
Update git submodules
* Update docs/submodules/sdnvpn from branch 'master'
- Switch to Xtesting
It inherits from xtesting.core.feature [1].
[1] http://xtesting.readthedocs.io/en/latest/apidoc/xtesting.core.feature.html
Change-Id: I3d64bce859de7132384b3cf0a6383348cc20b3b1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
valentin boucher [Fri, 2 Mar 2018 18:41:27 +0000 (18:41 +0000)]
Update git submodules
* Update docs/submodules/functest from branch 'master'
- Merge "Add functest-patrole in build.sh"
- Add functest-patrole in build.sh
Change-Id: I4a749a0981a81a5b032fa564719c51db2e6c6551
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
valentin boucher [Fri, 2 Mar 2018 18:38:45 +0000 (18:38 +0000)]
Update git submodules
* Update docs/submodules/functest from branch 'master'
- Merge "Set networking-bgpvpn version in upper-constraints.txt"
- Set networking-bgpvpn version in upper-constraints.txt
As it's not listed in OpenStack requirements, it must be pinned in
Functest.
Change-Id: I4e692ef00d4b6e5dad9899ae279891699c9dcebc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
valentin boucher [Fri, 2 Mar 2018 18:37:54 +0000 (18:37 +0000)]
Update git submodules
* Update docs/submodules/functest from branch 'master'
- Merge "Leverage on Xtesting"
- Leverage on Xtesting
It removes all the files which have moved to Xtesting.
Vnf inheritances and env management will be improved in other
changes.
It keeps the same tree thanks to a symlink to allow publishing
artifacts.
Change-Id: I551bbd3f344cdab0158a50b7b09e541576695631
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Markos Chandras [Fri, 2 Mar 2018 14:25:47 +0000 (14:25 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- jjb: xci: Use core OpenStack installation by default
We do not need all the components installed when deploying OpenStack
so we can speed up the jobs by removing some of them.
Change-Id: I19120915d0ef7c59b8b470c5fb87e9c0aa3e3673
Signed-off-by: Markos Chandras <mchandras@suse.de>
Fatih Degirmenci [Fri, 2 Mar 2018 13:49:13 +0000 (13:49 +0000)]
Update git submodules
* Update docs/submodules/releng-xci from branch 'master'
- xci: Bump SHAs to the latest stable/queens
Rocky is still in early stages of development so bump SHAs to the
latest version for Queens.
Change-Id: I0721e6188889c3548c266c042414397385b85ca2
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Gordon Kelly [Thu, 1 Mar 2018 01:36:20 +0000 (01:36 +0000)]
Update git submodules
* Update docs/submodules/barometer from branch 'master'
- ansible: add checks to ensure all ipmi dependancies are met
Change-Id: I342016af10a1ed3a11364bda7bd7a563882fafbd
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
Alexandru Avadanii [Fri, 2 Mar 2018 16:37:51 +0000 (16:37 +0000)]
Update git submodules
* Update docs/submodules/fuel from branch 'master'
- Merge "Conform network scheme to tagged public interface"
- Conform network scheme to tagged public interface
Change-Id: I503c8ad32900406e1fa375cec9a91b454889d8bf
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Alexandru Avadanii [Fri, 2 Mar 2018 16:37:22 +0000 (16:37 +0000)]
Update git submodules
* Update docs/submodules/fuel from branch 'master'
- Merge "[ovs/dpdk] [noha] Do not add private nic to ifaces"
- [ovs/dpdk] [noha] Do not add private nic to ifaces
All settings specific to private nic are handled by linux.network.dpdk
but since the private nic's `interface.type` is currently 'eth', it is
not filtered out from /etc/network/interfaces.
To prevent this, define `interface.type` as a dummy value containing the
'dpdk' substring.
Change-Id: I565153ee80698572209e12b4eec5f44f9416d945
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 2 Mar 2018 16:36:58 +0000 (16:36 +0000)]
Update git submodules
* Update docs/submodules/pharos from branch 'master'
- Merge "config/utils: YAML: Use C bindings if available"
- config/utils: YAML: Use C bindings if available
Time diff before/after this change for the same template via
generate_config expansion:
-user 0m0.144s
+user 0m0.096s
Change-Id: Id574afcd8a74a530d791ebed8b72ccae53703611
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Abhijit Sinha [Fri, 2 Mar 2018 15:39:36 +0000 (15:39 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Replace assertEqual(None, xx) with assertIsNone(xx)"
- Replace assertEqual(None, xx) with assertIsNone(xx)
Change-Id: Ie956d8064a8fbcbd3d56c5a79c4c613d35184af4
JIRA: YARDSTICK-942
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Abhijit Sinha [Fri, 2 Mar 2018 15:35:28 +0000 (15:35 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Make files pep8 compliant before replacing assertEqual(None, xx)"
- Make files pep8 compliant before replacing assertEqual(None, xx)
* tests/unit/network_services/helpers/test_samplevnf_helper.py
* tests/unit/network_services/traffic_profile/test_rfc2544.py
* yardstick/tests/unit/common/test_ansible_common.py
JIRA: YARDSTICK-942
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: Ib3c71db5f5774d2bfb3a9cbd260b838eb5501448
Gordon Kelly [Fri, 2 Mar 2018 15:17:22 +0000 (15:17 +0000)]
Update git submodules
* Update docs/submodules/barometer from branch 'master'
- Merge "ansible: add functionality to copy custom config files to target node"
- ansible: add functionality to copy custom config files to target node
Change-Id: I6e7cb3e0923495e236b74444b1da3f4450122d02
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
Michael Polenchuk [Fri, 2 Mar 2018 07:42:12 +0000 (11:42 +0400)]
Update git submodules
* Update docs/submodules/fuel from branch 'master'
- Install missing python module of jsonschema
Change-Id: Ib903863a7a46008c93ee795083712a50a022a41d
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Emma Foley [Fri, 2 Mar 2018 14:06:26 +0000 (14:06 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "remove releng from Dockerfile and elsewhere"
- remove releng from Dockerfile and elsewhere
Current CI does openrc fetching before starting
the Docker container and then passes openrc
via Docker mount
JIRA: YARDSTICK-691
Change-Id: Id0649130f48db5a5586149b237c5252b953e57be
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Fatih Degirmenci [Fri, 2 Mar 2018 10:44:47 +0000 (10:44 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- xci: Cat functest log until the log upload is enabled
Change-Id: I883e6e29cf102d1069e3760ab95dd24d76d0a222
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Fatih Degirmenci [Fri, 2 Mar 2018 10:37:13 +0000 (10:37 +0000)]
Update git submodules
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Pin kubespray to working sha"
- Pin kubespray to working sha
Kubespray works fine on supported distros so it is important we pin
the sha and bump it in a controlled manner since people might be trying
xci/k8 scenario and we want them to have working versions.
Apart from that, scenario specific verify/merge jobs are being created
at the moment and we need a working version to test the CI/testing side
of things.
Change-Id: I8702ed697057386449dc99d8cd14391de18f345a
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Rodolfo Alonso Hernandez [Fri, 2 Mar 2018 09:42:34 +0000 (09:42 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Add "render-only" option to "task" command"
- Add "render-only" option to "task" command
This new option provides to the user the ability to output the rendered
input files. This option could be useful in case the input files are
Jinja2 templates, depending on input arguments. The user can preview
the rendered input tasks files without executing them.
JIRA: YARDSTICK-1020
Change-Id: Ib15ade7e1adcb29beae5e635fb5d02045c4432bb
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Jose Lausuch [Fri, 2 Mar 2018 08:41:15 +0000 (08:41 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- Merge "Add envs via volume mapping"
- Add envs via volume mapping
Change-Id: I39bdde31bfc5674eecf1528427b55a7f0335bd89
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Trevor Bramwell [Thu, 1 Mar 2018 19:46:12 +0000 (11:46 -0800)]
Update git submodules
* Update docs/submodules/dovetail from branch 'master'
- Remove Whitespace from CVP Docker README
Change-Id: Ic880258ef8ffbcbdcf3452419dd385227567a5a3
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
wutianwei [Fri, 2 Mar 2018 03:55:27 +0000 (11:55 +0800)]
Update git submodules
* Update docs/submodules/compass4nfv from branch 'master'
- move the update cache after role of setup-k8s-network
If don't setup network, the host cannot connect to the Internet on baremetal pod.
So we should update cache after setting the network.
Change-Id: Ief0eb2d82c67b0ace2cfb233b9792f6e009a1524
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Alexandru Avadanii [Thu, 1 Mar 2018 22:47:31 +0000 (23:47 +0100)]
Update git submodules
* Update docs/submodules/pharos from branch 'master'
- generate_config: New `-i` arg for j2 includes dir
jinja2 does not support imports from parent directories, so in order
for j2 to be able to use '{% from <some>.j2 import ... %}' constructs
with included j2 residing on a separate dirpath than current j2, add
support for explicitly adding directories to the templater search
path.
This also allows calling generate_config with only file basename as
'-j' arg value, as long as the dirname is passed via '-i' (can be
extended later to parsing multiple j2 files at once).
Change-Id: I943fda9262a6f7de5ee6fcc3e7bc9828c339651a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
- generate_config: Enable 'do' j2 extension
'do' is useful to avoid hacks like {% set _ = x.update(...) %}.
Instead: {% do x.update(...) %}.
[1] http://jinja.pocoo.org/docs/2.10/extensions/
Change-Id: I886beb97e0383ba11b81aa21cf12b11ebc4b05b2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Aric Gardner [Fri, 2 Mar 2018 06:56:02 +0000 (06:56 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- Merge "[fuel, armband] Fix broken regex in cond (2)"
- [fuel, armband] Fix broken regex in cond (2)
Fixes:
af7df31
Change-Id: I6369ded12a50a2aa7f0268488c5511fba9732a99
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Serena Feng [Fri, 2 Mar 2018 05:46:36 +0000 (05:46 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- Merge "add testapi-client verify job"
- add testapi-client verify job
Change-Id: I83f57a0967d6b8744a7c4890092fe0596e705291
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Fri, 2 Mar 2018 01:08:05 +0000 (01:08 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- Merge changes from topics 'decouple_verify_automate', 'simplify_automate_jjb'
* changes:
decouple testresults verify job from automate job
simplify automate jjb definition using releng_macro
- decouple testresults verify job from automate job
Change-Id: I45f01dbeb3ed9c1d3efe495f57bcbbfbb0d0b3e2
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
- simplify automate jjb definition using releng_macro
1. leveraging macro gerrit-trigger-patchset-created
2. leveraging macro gerrit-trigger-change-merged
3. rename automate to testresults-automate
Change-Id: I3dfee8dad28db7e818b912fed6d65b60b3f96391
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Ross Brattain [Thu, 1 Mar 2018 21:17:05 +0000 (21:17 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Add ability to reuse existing OpenStack set-up"
- Add ability to reuse existing OpenStack set-up
This change adds two optional flags to the context configuration for heat:
* no_setup -- to re-use an existing OpenStack deployment
* no_teardown -- to skip undeploying the context, so it is available in other testcases
In order to achieve this, resource naming had to be made more predictable.
When no_setup or no_teardown are set:
* Do not add a suffix to context name
* When searching, try with and without a suffix to find a server by name
All behaviors remain the same unless these values are set.
NOTE:
This feature doesn't work with the NSPerf scenario, because the
interfaces in the VNFs are bound to DPDK after the first test, so the
look-up for missing topology information fails in subsequent test
runs, as the interfaces are not visable to the kernel.
This can be addressed either by either unbinding the interfaces from
DPDK at the end of each test, or modifying the look-up for the missing
topology information to query DPDK as well.
The change will be made in a future patch.
JIRA: YARDSTICK-886
Change-Id: I6df5e86e419c283a2bee41917e4f62179aa9c31a
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Ross Brattain [Wed, 4 Oct 2017 20:38:43 +0000 (13:38 -0700)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- NSB: move interface probe to VNF, and attempt driver-only probe first
If no devices are present we can't detect MAC address so
we can't match Heat ports to interfaces.
If only the driver is missing we can try to probe the driver using
lspci. We can use lspci to ask the kernel what driver it should use
for the PCI device.
If we can't probe at all because the device is already bound, we can
use dpkd-devind to find all the PCI address we care about and create a
map with PCI device and real kernel driver.
Then we can dpdk force rebind to the kernel driver.
Once we have rebound to the kernel driver we can detect
MAC address and all the other attributes that are required.
Fix VnfSshHelper to allow override of wait timeout
And a bunch of other refactors that got swept up in this
JIRA: YARDSTICK-835
Change-Id: I14cb657ed289a77941d048345d06ced5b5d5da52
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Alexandru Avadanii [Thu, 1 Mar 2018 17:23:01 +0000 (18:23 +0100)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- [fuel, armband] Fix broken regex in dovetail cond
Fixes:
af7df31
Change-Id: I13e20591ce82792a12a514ae62e3b3dd4ed50e65
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Thu, 1 Mar 2018 16:57:19 +0000 (16:57 +0000)]
Update git submodules
* Update docs/submodules/fuel from branch 'master'
- Merge "lib.sh: Validate pdf/idf with pharos schema"
- lib.sh: Validate pdf/idf with pharos schema
Run the pharos yaml schema validation for configuration files
before expanding them
JIRA: FUEL-341
Change-Id: Ia1d69f53265876683a1b6674665a9594ba7dae16
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
Cedric Ollivier [Thu, 1 Mar 2018 16:53:37 +0000 (16:53 +0000)]
Update git submodules
* Update docs/submodules/functest from branch 'master'
- Merge "Add xtesting in upper-constraints.txt"
- Add xtesting in upper-constraints.txt
functest-kubernetes requires xtesting and still reads this file.
Change-Id: I18d357cc88ae9a7e80aca568d408823291dc2ab3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Thu, 1 Mar 2018 16:53:30 +0000 (16:53 +0000)]
Update git submodules
* Update docs/submodules/functest from branch 'master'
- Merge "Set universal wheels"
- Set universal wheels
Change-Id: I869679def8913ac804899655d80dbc6a830a6378
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Manuel Buil [Tue, 27 Feb 2018 17:09:32 +0000 (18:09 +0100)]
Update git submodules
* Update docs/submodules/sfc from branch 'master'
- Bug fix: Problem with SNAPs integration
SNAPs changed the API:
https://github.com/opnfv/snaps/commit/
c711acf8ae3e4ad6f746500747857bcc9fd6f7be#diff-0b922a3e087121238d5a8b08ef5b894aR480
Now we require to pass keystone client to get the neutron port
Change-Id: I93fa4b127255c1a078aa3644773b7c8b886cea6d
Signed-off-by: Manuel Buil <mbuil@suse.com>
Ross Brattain [Thu, 1 Mar 2018 16:17:51 +0000 (16:17 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Add methods to get an existing stack"
- Add methods to get an existing stack
* Add yardstick/orchestrator/heat.py:HeatStack.get
* Add yardstick/benchmark/contexts/heay.py:HeatContext.retrieve_existing_stack
JIRA: YARDSTICK-886
Change-Id: I6974b79a25f98066a49b1bc8ccd11383e7962091
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Ross Brattain [Thu, 1 Mar 2018 16:16:12 +0000 (16:16 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Use context name instead of key_uuid"
- Use context name instead of key_uuid
context.key_uuid is only used as a suffix for the key files.
There is already a unique ID associated with a the context;
the context name includes a task ID, which is a UUID.
This patch sets context.key_uuid to to context.name instead of
generating a separate UUID
As a result, get_short_key_uuid() is not needed.
JIRA: YARDSTICK-1028
Change-Id: Id175061d6cfe23a068bb3d12ce176c1f176e8236
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Ross Brattain [Thu, 1 Mar 2018 16:15:11 +0000 (16:15 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge changes from topics 'feat/keep_vnf', 'YARDSTICK-886'
* changes:
Add _create_new_stack method
Update TaskParser to deal with qualified name in Context
Add qualified name to Context
- Add _create_new_stack method
The logic for creating a new stack in contexts/heat.py:HeatContext
can added to a method to make the code eassier to read and test.
This is in preparation for an update to deploy() that would allow
an existing stack to be reused, or a new stack created.
By having the create_new_stack logic in a new method, deploy()
becomes easier to read and test.
JIRA: YARDSTICK-886
Change-Id: I7af01e2209a3460658f8db0249b7c620743cced0
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
- Update TaskParser to deal with qualified name in Context
The context name depends on the defined name in the testcase input
file, the task ID and the flags of the context.
If the context is going to be undeployed at the end of the test, the
task ID is suffixed to the name to avoid interferences with previous
deployments. If the context needs to be deployed at the end of the
test, the name assigned is kept.
This patch makes this process transparent to the developer.
This patch modifies how TaskParser determines the correct context name,
taking into account that the name might change based on context flags.
JIRA: YARDSTICK-886
Change-Id: I44da30dac562c1a4166e084645ae91c17798651d
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
- Add qualified name to Context
The context name depends on the defined name in the testcase input
file, the task ID and the flags of the context.
If the context is going to be undeployed at the end of the test, the
task ID is suffixed to the name to avoid interferences with previous
deployments. If the context needs to be deployed at the end of the
test, the name assigned is kept.
This patch makes base.Context use Flags when initialising contexts,
this sets the name property based on the no_setup and no_teardown
flags.
Since base.Context is an abstract class, it cannot be instantiated.
However, there are some non-abstract methods that need testing.
Since DummyContext does not override any of these methods, it can be used for
testing.
JIRA: YARDSTICK-886
Change-Id: I1447fb5ed447691eaeb0a97f928c0b3333799d07
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Gordon Kelly [Wed, 28 Feb 2018 21:35:13 +0000 (21:35 +0000)]
Update git submodules
* Update docs/submodules/barometer from branch 'master'
- ansible: add roles to launch ves and kafka containers
Change-Id: Ida03c47bbe94600b034c95bd0d795e62c253303c
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
Ross Brattain [Thu, 1 Mar 2018 15:11:31 +0000 (15:11 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "vFW scale-up template."
- vFW scale-up template.
Added topology and traffic profile templates
Added support for using JinJa2 templates in topology definition
Added support for static pipeline configs for SampleVNFs
JIRA: YARDSTICK-1043
Change-Id: Iab99fd5b5ad69ca32ee70b9fe47779387ad27e7f
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Ross Brattain [Thu, 1 Mar 2018 15:11:20 +0000 (15:11 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Add arguments to the traffic profile render"
- Add arguments to the traffic profile render
In order to render configurable traffic profiles in NSB test cases,
a new variable is introduced: "extra_arg". The content of
this variable is added to the VNFD render data, under a key called
"extra_args".
This will allow the user to define Jinja templates for traffic profiles.
E.g.:
$ cat test_case_definition.yml
scenarios:
- type: NSPerf
traffic_profile: traffic_profile.yml
extra_args:
vports: 10
$ cat traffic_profile.yml
{% set vports = get(extra_args, 'vports', '0') or 4 %}
{% for vport in range(vports|int) %}
uplink_{{vport}}:
data...
{% endfor %}
JIRA: YARDSTICK-946
Change-Id: Ib3c1f2d89efa012772edf2156e97d5f4742a6b80
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Ross Brattain [Thu, 1 Mar 2018 15:11:03 +0000 (15:11 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Import "traffic_profile" modules only once"
- Import "traffic_profile" modules only once
"traffic_profile" modules should be imported only once. Every time
TrafficProfile.get is called, the modules under
"yardstick.network_services.traffic_profiles" are loaded [1]. Instead
of this, the modules should be registered only once the first time
"yardstick.network_services.traffic_profiles.base" is loaded. This
will reduce the execution time and will avoid unnecessary calls.
[1] https://github.com/opnfv/yardstick/blob/
d2c7cc4e9768ed003257a95c92cdb278d516761b/yardstick/network_services/traffic_profile/base.py#L36-L37
JIRA: YARDSTICK-951
Change-Id: Ia3565378ba3a1377fcb0aea8bda50ef8189414fd
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Fatih Degirmenci [Thu, 1 Mar 2018 14:31:03 +0000 (14:31 +0000)]
Update git submodules
* Update docs/submodules/releng-xci from branch 'master'
- Do not fail the if virsh command fails
Change-Id: Id9c55b45719399c6c78c0d3d8b97926a2907b7f8
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Fatih Degirmenci [Thu, 1 Mar 2018 14:29:13 +0000 (14:29 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- xci: Do not fail the job if virsh command fails
Change-Id: Ie5fae322f98ec6c9c2236486642c0d71c6a04aae
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
xudan [Tue, 27 Feb 2018 06:54:02 +0000 (01:54 -0500)]
Update git submodules
* Update docs/submodules/dovetail from branch 'master'
- Bugfix: Dovetail tool will crash when hosts.yaml file with incorrect format
If the hosts.yaml file is like,
—
hosts_info:
192.168.141.101:
it will raise an exception,
File "/usr/local/lib/python2.7/dist-packages/dovetail/utils/dovetail_utils.py",
line 227, in add_hosts_info
names=hostnames)
File "/usr/local/lib/python2.7/dist-packages/python_hosts/hosts.py",
line 54, in _init_
raise Exception('Address and Name(s) must be specified.')
Exception: Address and Name(s) must be specified.
If the hosts.yaml file is empty, it will crash with,
File "/usr/local/lib/python2.7/dist-packages/dovetail/container.py",
line 174, in create
if hosts_yaml['hosts_info']:
TypeError: 'NoneType' object has no attribute '_getitem_'
JIRA: DOVETAIL-621
Change-Id: I547928e514b3294c048379459c07df89879fbb03
Signed-off-by: xudan <xudan16@huawei.com>
Jose Lausuch [Thu, 1 Mar 2018 14:19:49 +0000 (14:19 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- Merge "Add functest-kubernetes project job"
- Add functest-kubernetes project job
It mainly inherits from functest project jobs.
Change-Id: Ibcb8825ee3d98ca816a5036e0a66776e314f2ddb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Fatih Degirmenci [Thu, 1 Mar 2018 13:47:22 +0000 (13:47 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- xci: Fix scenario name extraction
Change-Id: Ifcea3d364b73d0d19d46aaf2bd2210ec6440f383
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Rodolfo Alonso Hernandez [Thu, 1 Mar 2018 13:23:54 +0000 (13:23 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Module to manage pip packages"
- Module to manage pip packages
This new module provides methods to manage Python PIP packages from
a URL, from a local directory or from a build PIP package.
The implemented commands are:
- Install package.
- Remove package.
- List all installed packages in the system.
JIRA: YARDSTICK-910
Change-Id: I8f7d1b77c0c384b801cc6f5e67d8b45ce7c6bfdf
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Periyasamy Palanisamy [Tue, 12 Dec 2017 09:22:43 +0000 (10:22 +0100)]
Update git submodules
* Update docs/submodules/releng-xci from branch 'master'
- os-odl-bgpvpn scenario support
- Integrate XCI with outband od-odl-bgpvpn role
- Install python-neutronclient on opnfv vm for the
openstack bgpvpn specific cli commands
Change-Id: Ib737349e2b2429bd366881f1e3657daf8c5c30ac
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Jose Lausuch [Thu, 1 Mar 2018 12:17:00 +0000 (12:17 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- Merge "Build opnfv/xtesting via functest-xtesting"
- Build opnfv/xtesting via functest-xtesting
Change-Id: I63d79a2c84221736e08d4bea1a2cf8ac92c023d9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Thu, 1 Mar 2018 12:16:54 +0000 (12:16 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- Merge "Pull the latest parent when building containers"
- Pull the latest parent when building containers
Change-Id: I534c14f4415c16661fb95966077621497c6f9cdc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Periyasamy Palanisamy [Thu, 1 Mar 2018 09:32:23 +0000 (10:32 +0100)]
Update git submodules
* Update docs/submodules/sdnvpn from branch 'master'
- update python modules shebang line for python intrepreter directive
Change-Id: I1929a5b86a89a96fbf5c21b3bc419c9237034aba
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Periyasamy Palanisamy [Thu, 1 Mar 2018 08:40:48 +0000 (09:40 +0100)]
Update git submodules
* Update docs/submodules/sdnvpn from branch 'master'
- fix for sdnvpn testsuite execution stops abruptly
* updated the recommended shebang line for python intrepreter directive
Change-Id: Icd3023f03c8b5524afcb5d600a9d03749496acea
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Linda Wang [Thu, 1 Mar 2018 04:58:07 +0000 (04:58 +0000)]
Update git submodules
* Update docs/submodules/functest from branch 'master'
- Enable barometer run on compass
Change-Id: Ic6f4f2a2d06dc70338da3bad53deca0a62a03232
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Fatih Degirmenci [Wed, 28 Feb 2018 18:48:25 +0000 (18:48 +0000)]
Update git submodules
* Update docs/submodules/releng-xci from branch 'master'
- Be quiet while downloading images
Change-Id: I8848d5bae22a408482d51a84636d230d25ca22be
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Fatih Degirmenci [Wed, 28 Feb 2018 11:37:52 +0000 (11:37 +0000)]
Update git submodules
* Update docs/submodules/releng-xci from branch 'master'
- functest: Move run-functest.sh execution out of ansible
Ansible throws out the log at the end of task execution which
makes it hard to read. This change renames the role to prepare-functest
and then takes the script execution out which will be executed by
releng/jjb/xci/xci-run-functest.sh.
Change-Id: Icf399ce4f04357814ed7109cd11113a9decddc50
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Ross Brattain [Thu, 1 Mar 2018 02:30:48 +0000 (18:30 -0800)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- scenario: add opnfv_os-odl-bgpvpn-noha_daily.yaml
adding missing scenario for Apex.
https://gerrit.opnfv.org/gerrit/#/c/50045/
JIRA: YARDSTICK-998
Change-Id: I211f567587a4864b403ce321fea007a3c0963136
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
wutianwei [Thu, 1 Mar 2018 07:16:13 +0000 (15:16 +0800)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- [compass4nfv] add nosdn-bar-noha scenario
Change-Id: I5a513e143aff0775d066532af14165c4509aa82e
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Michael Polenchuk [Wed, 28 Feb 2018 14:10:17 +0000 (18:10 +0400)]
Update git submodules
* Update docs/submodules/fuel from branch 'master'
- Clean up upstreamed patches
Change-Id: Icee56da3720f0926e42390965581639f6a344b77
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
zhihui wu [Thu, 1 Mar 2018 06:39:03 +0000 (06:39 +0000)]
Update git submodules
* Update docs/submodules/qtip from branch 'master'
- Merge "Auto Generated INFO.yaml file"
- Auto Generated INFO.yaml file
INFO.yaml meant to be machine readable.
This file was auto generated from an ldap lookup
and your projects INFO file.
Meeting times are not currently filled out.
please ammend this patchset to complete
Going forward comitter promotions should be done
against this file.
PTLs:
Must be merged for you to gain delete access on
testresults.opnfv.org
If project_lead: is missing (my script could not parse)
please amend with same from commiters section eg:
project_lead: &opnfv_$project_ptl
name: 'Lead Name'
email: 'lead email'
id: 'lead lfid'
company: 'lead company'
Change-Id: I2ec5d1630c6ef871002e52ea10bc9b80d889f3a6
Signed-off-by: agardner <agardner@linuxfoundation.org>
zhihui wu [Thu, 1 Mar 2018 05:20:00 +0000 (05:20 +0000)]
Update git submodules
* Update docs/submodules/qtip from branch 'master'
- Merge "bugfix about sut"
- bugfix about sut
1. currently experimental job only runs against vnf
2. bugfix: for qtip Renaming a container with the
same name as its current name
3. update quickstart.sh usage
Change-Id: I363fcfdb4199b3ddc408fdf3c54b11cdf62fa728
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
zhihui wu [Thu, 1 Mar 2018 01:49:28 +0000 (09:49 +0800)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- modify qtip job template
The parameter 'SUT' is meaningless to storage job and experiment
job.
Change-Id: I40322962111896773821b8ef2f05e6f330d7da00
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
rexlee8776 [Sat, 27 Jan 2018 06:15:51 +0000 (06:15 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Bugfix: yardstick env grafana fails when access the server
current timeout is 10 seconds, it would fail if grafana
server start slow in some cases.
JIRA: YARDSTICK-972
Change-Id: I783206fdd1352e94ba7e498283f70b5a6834b6fa
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
zhihui wu [Thu, 1 Mar 2018 02:30:57 +0000 (02:30 +0000)]
Update git submodules
* Update docs/submodules/qtip from branch 'master'
- Merge "support rfc2544 test using spirent virtual test center"
- support rfc2544 test using spirent virtual test center
1. support rfc2544 throughput and latency test with different packet size
2. support vswitch performance test based on STCv affinity deployment
Change-Id: I597de973ab95039dcbcd2da8473a3a5c87a10c14
Signed-off-by: Qiang Dai <Qiang.Dai@spirent.com>
Jack Chan [Thu, 1 Mar 2018 02:20:38 +0000 (02:20 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "fix pep8 problem in env.py"
- fix pep8 problem in env.py
JIRA: YARDSTICK-1033
Change-Id: Ia0f745b1a21845afc5c3b3ec58d7a79da56d6a6c
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Xuan Jia [Thu, 1 Mar 2018 01:25:33 +0000 (01:25 +0000)]
Update git submodules
* Update docs/submodules/container4nfv from branch 'master'
- Merge "Add new committer Trevor.Tao"
- Add new committer Trevor.Tao
Change-Id: I1318d5ce6d5f5002f8d63dfa40eb577fdf9d5f85
Signed-off-by: Xuan Jia <jason.jiaxuan@gmail.com>
Yifei Xue [Thu, 1 Mar 2018 01:07:01 +0000 (01:07 +0000)]
Update git submodules
* Update docs/submodules/compass4nfv from branch 'master'
- Merge "Update Stor4nfv plugin with nbp csi install"
- Update Stor4nfv plugin with nbp csi install
Change-Id: Ia32ea3c29b78f18aae258fa89b017e894b09301f
Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
Gordon Kelly [Wed, 28 Feb 2018 21:27:51 +0000 (21:27 +0000)]
Update git submodules
* Update docs/submodules/barometer from branch 'master'
- Merge "docker: add Dockerfile for barometer-snmp"
- docker: add Dockerfile for barometer-snmp
Change-Id: I0e53dc5c9889c3f503ab4459aae8143243959c17
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
Gordon Kelly [Wed, 28 Feb 2018 21:27:36 +0000 (21:27 +0000)]
Update git submodules
* Update docs/submodules/barometer from branch 'master'
- Merge "ansible: add roles to launch collectd, influxdb and grafana containers"
- ansible: add roles to launch collectd, influxdb and grafana containers
Change-Id: I330172a2165e51a1557f084fd85fce12dfaad3a7
Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
Ross Brattain [Tue, 13 Feb 2018 01:34:40 +0000 (17:34 -0800)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- NSB: Rename traffic_profile to trex_traffic_profile
Make it more clear that traffic_profile is not a generic class.
Eventually we can refactor a more generic traffic profile.
Change-Id: I1bf44a8cafcdeb8d74efb9e85a34f6d7b526d036
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Fatih Degirmenci [Wed, 28 Feb 2018 19:18:49 +0000 (19:18 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- xci: Use distro specific ssh config while sshing to xci vms
Change-Id: I9366639570315f879a662ca9e65a1894cd905a92
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Periyasamy Palanisamy [Wed, 28 Feb 2018 19:10:24 +0000 (20:10 +0100)]
Update git submodules
* Update docs/submodules/sdnvpn from branch 'master'
- add user variables for quagga configuration
As per the review https://git.opendaylight.org/gerrit/#/c/66195 in
ansible-opendaylight role, adding required quagga specific
user variables to configure OpenDaylight with BGPVPN functionality.
Change-Id: I78e3389c4624fe92f34da13bde6a03d3f51c9675
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Fatih Degirmenci [Wed, 28 Feb 2018 19:00:05 +0000 (19:00 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- xci: Use distro specific ssh config while sshing to xci vms
Change-Id: I231488cd9de58a9051bd289c3d584841e7335417
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Christian Trautman [Wed, 28 Feb 2018 17:34:38 +0000 (12:34 -0500)]
Update git submodules
* Update docs/submodules/vswitchperf from branch 'master'
- Xena_Doc_mono_install_update: Update mono install pointer
Mono Version 5.10 breaks mono execution of Xena2544.exe.
Fix Xena install notes to point to a working version of Mono(5.8)
when setting up to use Xena2544.exe.
JIRA:VSPERF-561
Change-Id: I3bbfaaeef55fc465cba943eb8b1a31abe2faba1f
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Fatih Degirmenci [Wed, 28 Feb 2018 18:43:17 +0000 (18:43 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- Merge "xci: Use distro specific ssh config while sshing to xci vms"
- xci: Use distro specific ssh config while sshing to xci vms
Change-Id: I5e8b738d4293040b2792a926cd13708180590bbb
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Calin Gherghe [Wed, 28 Feb 2018 18:43:03 +0000 (18:43 +0000)]
Update git submodules
* Update docs/submodules/barometer from branch 'master'
- Merge "Fix syntax error in baro_test/collectd.py:mcelog_install"
- Fix syntax error in baro_test/collectd.py:mcelog_install
The version of CentOS that's used no longer matches the version that
is explicitly checked in collectd.py:mcelog_install.
As a result the code on L637-L642[1] is now being called.
This code was syntactically incorrect, however, was previously not being
called, witht eh update to the version, it is now being executed and
causing failures in deployment [2].
[1] https://github.com/opnfv/barometer/blob/
c10400426df872be3236677dcb749c755f4a559c/baro_tests/collectd.py#L637-L642
[2] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-master/809/consoleText
Change-Id: I35274d4ede17510c3ae03c756eda7bc9f78b4e17
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Fatih Degirmenci [Wed, 28 Feb 2018 18:25:14 +0000 (18:25 +0000)]
Update git submodules
* Update docs/submodules/releng-xci from branch 'master'
- Ensure the ssh config files are created per distro
If 2 jobs for different distros start on the same host, the
generated xci-vm-config files might be rewritten by both jobs
causing trouble for the other. This change creates ssh config
per distro to prevent potential issues.
Change-Id: If6c0a86fd51bf3ba920e9206849ed1537894c7e1
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Emma Foley [Wed, 28 Feb 2018 18:01:24 +0000 (18:01 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Add Flags class to base.Context"
- Add Flags class to base.Context
This patch adds a Flags class to represent the flags passed to
the context.
Flags will contain a set of attributes (for example no_setup and no_teardown).
Those attributes will modify the behaviour of the context.
The attributes added initially are:
* 'no_setup' (default: False)
* 'no_teardown' (default: False)
In future patches, they will be used by the context to:
* Change the name of the context.
* Skip the deploy() and undeploy() methods to keep the VNFs active after the
testcases are run.
JIRA: YARDSTICK-886
Change-Id: I734b082aa101649eea8991304a8b753ae96aa9de
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Abhijit Sinha [Wed, 28 Feb 2018 17:49:00 +0000 (17:49 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Mock TRex STL libraries globally"
- Mock TRex STL libraries globally
TRex Python libraries are not going to be available during
unit testing execution. Those modules calling TRex libraries
should be mocked individually. This patch will remove the need
of mocking those libraries per module.
JIRA: YARDSTICK-1010
Change-Id: I4aa11d43ecf32a3dad78f869541b4afea4ec1d28
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Ross Brattain [Wed, 28 Feb 2018 01:06:41 +0000 (17:06 -0800)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- [Yardstick] add apt-get autoremove to free up disk space
yardstick builds are failing due to running out of disk space
when too many kernels are left installed.
Try apt-get autoremove to cleanup before updating
[yardstick-verify-master] $ /bin/bash /tmp/jenkins4572301318127685434.sh
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.1ubuntu2).
python3-dev is already the newest version (3.5.1-3).
python-dev is already the newest version (2.7.12-1~16.04).
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic
linux-headers-4.4.0-103 linux-headers-4.4.0-103-generic
linux-headers-4.4.0-104 linux-headers-4.4.0-104-generic
linux-headers-4.4.0-108 linux-headers-4.4.0-108-generic
linux-headers-4.4.0-109 linux-headers-4.4.0-109-generic
linux-image-4.4.0-101-generic linux-image-4.4.0-103-generic
linux-image-4.4.0-104-generic linux-image-4.4.0-108-generic
linux-image-4.4.0-109-generic linux-image-extra-4.4.0-101-generic
linux-image-extra-4.4.0-103-generic linux-image-extra-4.4.0-104-generic
linux-image-extra-4.4.0-108-generic linux-image-extra-4.4.0-109-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-extra-4.4.0-116-generic (4.4.0-116.140) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-116-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-116-generic with 1.
Change-Id: I79396162c5300c8cbaecc474473af81842f79db8
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Cedric Ollivier [Wed, 28 Feb 2018 15:53:01 +0000 (15:53 +0000)]
Update git submodules
* Update docs/submodules/functest from branch 'master'
- Merge "Add guid in neutron resource names in juju_epc"
- Add guid in neutron resource names in juju_epc
JIRA: FUNCTEST-937
Change-Id: Ia0912dfe2cdbecf4c169aecb6ba1b71774e0a02f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Ross Brattain [Wed, 28 Feb 2018 15:52:57 +0000 (15:52 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Deprecate authentication variable OS_TENANT_NAME"
- Deprecate authentication variable OS_TENANT_NAME
OS_TENANT_NAME was deprecated as authentication variable in Keystone
when moved from v2 to v3, in Icehouse (2014). Because this project doesn't
support oldest versions, by default the only identification API version
supported is v3.
JIRA: YARDSTICK-902
Change-Id: I273fb0151ba583f7c8a5a809e5e8864e92c27d31
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Georg Kunz [Tue, 27 Feb 2018 14:12:42 +0000 (15:12 +0100)]
Update git submodules
* Update docs/submodules/dovetail from branch 'master'
- Removing old INFO file
The INFO file has been replaced by the INFO.yaml file.
Change-Id: I818697134cbb380a318237fdf593d7b6bf95ec04
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Fatih Degirmenci [Wed, 28 Feb 2018 15:11:38 +0000 (15:11 +0000)]
Update git submodules
* Update docs/submodules/releng-xci from branch 'master'
- Fix the proxy command and hostname for opnfv vm in ssh config
Change-Id: Ic036a4f5ef8b24b88154f9314957339d3954839a
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Fatih Degirmenci [Wed, 28 Feb 2018 11:42:02 +0000 (11:42 +0000)]
Update git submodules
* Update docs/submodules/releng from branch 'master'
- xci: Move run-functest.sh execution out of ansible
Change-Id: I40195f08012774c22178a27f146c402b33ecd8fc
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Georg Kunz [Tue, 27 Feb 2018 14:08:54 +0000 (15:08 +0100)]
Update git submodules
* Update docs/submodules/dovetail from branch 'master'
- Removal of Wenjing Chu from the list of committers
https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2018-February/020497.html
Change-Id: Ic2b536551d919e9b66f41ba00dd6dc8b71d93f7b
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Cedric Ollivier [Wed, 28 Feb 2018 15:03:20 +0000 (15:03 +0000)]
Update git submodules
* Update docs/submodules/functest from branch 'master'
- Merge "Integrate Patrole as a new testcase"
- Integrate Patrole as a new testcase
It's published in a new container because the current results don't
allow gating.
0.2 is selected to meet OpenStack Pike's requirements.
Co-Authored-By: Rémi Le Trocquer <remi.letrocquer@orange.com>
Change-Id: Iafcf8f66ee3531fc43136886095774885bfc3150
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Trevor Bramwell [Tue, 20 Feb 2018 17:58:38 +0000 (09:58 -0800)]
Update git submodules
* Update docs/submodules/dovetail from branch 'master'
- Update CVP Docker Compose Configuration
- Uses extra files config.env, vhost.env to hold environment variables
for docker configuration.
- Provides samples for these config that can be copied and modified to
fit deployment requirements.
- Updates the docker images to the newest releases.
Change-Id: Ibe9b8597edfb38940297433708497c244200d0af
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
valentin boucher [Wed, 28 Feb 2018 14:49:11 +0000 (14:49 +0000)]
Update git submodules
* Update docs/submodules/functest from branch 'master'
- Merge "Support different user/project domain values"
- Support different user/project domain values
For the moment, VNF works well only if
OS_PROJECT_DOMAIN_NAME=Default
OS_USER_DOMAIN_NAME=Default
It's now possible to use domain != Default
JIRA: FUNCTEST-935
Change-Id: I779a93538662ff32906d91d7cf3b2c5c3e872765
Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com>
Aaron Smith [Wed, 28 Feb 2018 14:24:35 +0000 (14:24 +0000)]
Update git submodules
* Update docs/submodules/barometer from branch 'master'
- Revert "Merge conflict"
This reverts commit
7f4ef61d68c3ed96759f3553b2793e0ce6a7e4a5.
Change-Id: I0ac115a5e6dfbc53051ed7ee6ae0ceb72a8128af
Signed-off-by: TsaLaGi <aasmith@redhat.com>
Justin chi [Wed, 28 Feb 2018 13:33:30 +0000 (13:33 +0000)]
Update git submodules
* Update docs/submodules/compass4nfv from branch 'master'
- Merge "Auto Generated INFO.yaml file"
- Auto Generated INFO.yaml file
INFO.yaml meant to be machine readable.
This file was auto generated from an ldap lookup
and your projects INFO file.
Meeting times are not currently filled out.
please ammend this patchset to complete
Going forward comitter promotions should be done
against this file.
PTLs:
Must be merged for you to gain delete access on
testresults.opnfv.org
Change-Id: I3144202a10825e7907be09cc3c66a4227c34064c
Signed-off-by: agardner <agardner@linuxfoundation.org>
Abhijit Sinha [Wed, 28 Feb 2018 13:22:40 +0000 (13:22 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Improve SampleVNF hugepages setup"
- Improve SampleVNF hugepages setup
The goal of this function is to:
- Read the default hugepage size.
- Set 16GB of hugepages.
- Check if the status of the last action.
According to [1], the default hugepage size could be read in
"/proc/meminfo", always in kB. Then "/proc/sys/vm/nr_hugepages"
could be used to set the number of default hugepages.
[1] https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt
JIRA: YARDSTICK-997
Change-Id: I762d1b16294ba1c1c2feee56610819ac358c7410
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Abhijit Sinha [Wed, 28 Feb 2018 13:05:45 +0000 (13:05 +0000)]
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Addition of storage of extra counters for Grafana"
- Addition of storage of extra counters for Grafana
JIRA: YARDSTICK-1036
This stores a number of extra counters in influxdb for Prox test cases.
It also stores existing counters with a "succcess_" tag.
Previously throughput where stored without success or failure indication.
Also "Result_" counters are also stored.
These can now be used by Grafana to graph output.
Change-Id: Ie5636c14ecbab1b53a988bdfbd47ddd1fcdbd695
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>