Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/functest from branch 'master'
- Merge "Clean run_tests.py and the related ut"
- 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>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Update ODL tag to release/carbon"
- Update ODL tag to release/carbon
Change-Id: I82a5bdaeff5de74f11cd210f6437c720d0ee8aee
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/dovetail from branch 'master'
- add nginx to host static files
JIRA: DOVETAIL-485
Tornado does not support directory listing, so add nginx to host static files, and support log file browsing
Change-Id: Ic1427ab9c64661b3993ac60943f470b125a0fbe7
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
|
|
* Update docs/submodules/doctor from branch 'master'
- Merge "Decode received data in byte type to str type"
- Decode received data in byte type to str type
json.loads in Python 3.5 doesn't accept a byte-type values so we need to
decode it. Note that this is specific to Python 3.5; Python 2.7 and 3.6
accept byte-type values.
Change-Id: I490f8e0f02a6ce277f86e75b32d1210bfcca8d49
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
* Update docs/submodules/doctor from branch 'master'
- Merge "fix some bugs in monitor"
- fix some bugs in monitor
1.send bytes data to the socket
see https://docs.python.org/3/library/socket.html
2.fix a endless loop
Change-Id: I880e713266347d8836cec45ebf9a500bb7c813f4
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
|
|
* Update docs/submodules/doctor from branch 'master'
- Delete project after stopping Inspector
At cleanup phase, the sample Inspector fails to re-enable the state of
the compute services. Such happens because the novaclient instance it's
using is bound to the 'doctor' project, which has just been deleted at
user.delete(). Thus, it is necessary to postpone the deletion of the
project after stopping the inspector.
Change-Id: I8cd5885cdfd3671a6c28342bdee65eac64dafaa8
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "jjb: xci: bifrost-verify-jobs: Kill the job after 90 minutes"
- jjb: xci: bifrost-verify-jobs: Kill the job after 90 minutes
Make use of the build-timeout macro to kill the job after 90 minutes
which is more than enough for a bifrost job to finish.
Change-Id: Ic7ffa8291d057bf22f7d97d017c00bd3f3b6f4a9
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "jjb: global: releng-macros: Add timeout wrapper"
- jjb: global: releng-macros: Add timeout wrapper
Add new timeout wrapper which can be used to kill a job if it
take too long to finish
Change-Id: I15a20fc92ea7855d11983b5734064aace138a2b5
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "jjb: xci: Use centos-minimal instead of centos7 element"
- jjb: xci: Use centos-minimal instead of centos7 element
The full distro elements are not well maintained. Upstream OpenStack
also prefers the minimal elements when building images for the CI so
we should do the same to minimize the delta between the two systems.
Change-Id: Ifeddb0a74c2434df2cfa95cde36b4aaac1516698
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/yardstick from branch 'master'
- samplevnf: fix make_ip_addr
we get TypeError sometimes, so
we need to catch them
Change-Id: I5fc58006f18acf84f62d8f4a21077d71b2fb0ed8
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Fix domain in tenant creation"
- 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>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Obtain build_tag by CONST instead of get function"
- Obtain build_tag by CONST instead of get function
JIRA: FUNCTEST-763
Change-Id: I86b0b515a3d51df20a35c2aeb461a95d0c5797fd
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Remove timestamp in the details for tempest"
- 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>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Switch to blocking: false for ODL testcase"
- 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>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Fully integrate promise in functest-features"
- Fully integrate promise in functest-features
Change-Id: I52a4719df1fd5f4159d0ba5eed1a9b14b8ba72f6
Depends-On: Ia9ae55b127d0d324d97974f5e9b1923d7636d7cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/joid from branch 'master'
- adding the formating correctly.
Change-Id: Ief2012b454c2f8285c75c9234841d0d704cc2d17
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "[qtip] refactoring ci scripts"
- [qtip] refactoring ci scripts
- manage help scripts in qtip repo instead of releng
- call entry script in qtip from releng
JIRA: QTIP-268
Change-Id: Ibd0d2c2533c1a7f1963f6c3214c563499cce8b22
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
* Update docs/submodules/joid from branch 'master'
- modified to setup contraints on single bindin space charms.
Change-Id: Ied886a0865a637ac206a831c7ce98933c600e5e7
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
* Update docs/submodules/dovetail from branch 'master'
- Add a sample tempest_conf.yaml file into userconfig
1. Functest cvp.0.5.0 supports to config tempest.conf file when running
tempest test cases.
2. Dovetail provides a sample tempest_conf.yaml file, and user can edit
this file before running tempest test cases.
3. All the values in this file will be used to update tempest.conf file.
Change-Id: I1afb50f1405c6cef992132899e0549396f587872
Signed-off-by: xudan <xudan16@huawei.com>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "Migrate contents from benchmarks to resources"
- Migrate contents from benchmarks to resources
Change-Id: I189c3d5224ec58ad63851d173b94204b273c3696
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "utils: create TASK_LOG_DIR if it doesn't exist"
- utils: create TASK_LOG_DIR if it doesn't exist
Change-Id: I10630599065e6c159b137bd4d6ee89353a1c411b
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "Verify the route list before parsing the data key"
- Verify the route list before parsing the data key
Exception:
line 502, in get_route_data
return next((route[data_key] for route in route_list if route['if'] ==
port), None)
TypeError: 'NoneType' object is not iterable
Change-Id: Ia45d90a4e9a61cb917b23efd03b86eafb249b747
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "run_traffic: capture and exit gracefully if crash in trex run_traffic"
- run_traffic: capture and exit gracefully if crash in trex run_traffic
new non-blocking code of run_traffic has raise condition which causes
trex client to exit with STLError. This patches captures the exception
and exit gracefully
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in
_bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114,
in run
self._target(*self._args, **self._kwargs)
File
"/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/network_services/vnf_generic/vnf/sample_vnf.py",
line 945, in _traffic_runner
self.resource_helper.run_traffic(traffic_profile)
File
"/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/network_services/vnf_generic/vnf/sample_vnf.py",
line 506, in run_traffic
self._run_traffic_once(traffic_profile)
File
"/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/network_services/vnf_generic/vnf/tg_rfc2544_trex.py",
line 63, in _run_traffic_once
self.client.stop(self.my_ports)
File
"/opt/nsb_bin/trex/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py",
line 1202, in wrap2
raise STLError("'{0}' - connection to the server had been lost: '{1}'".format(func_name, client.conn.get_disconnection_cause()))
STLError:
Change-Id: Ie5741339451e0a3f9c4bb48f64fd35d86d18e5d4
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/joid from branch 'master'
- adding space variable for K8 scenarios.
Change-Id: If64c8af0b232c4ab126035b7a3fe266d86f232c9
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
* Update docs/submodules/dovetail from branch 'master'
- Tag dovetail with cvp.0.5.0
JIRA: DOVETAIL-483
1. docker image used
yardstick: danube.3.2
functest: cvp.0.5.0
bottlenecks: cvp.0.4.0
testapi: cvp.0.5.0
dovetail: cvp.0.5.0
2. main changes
Bugfix: wrong command in function 'check_https_enabled'
Use opnfv/functest:cvp.0.5.0 and do some adaptions in dovetail tool
Create a tar file for all logs
Add tempest test cases into proposed_tests
Fix testapi base_url for public_url
Add user guide for results operations on web
3. For more information, refer to
https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool
Change-Id: Iec548b077a704ff68d6b93de3436e109d59371cd
Signed-off-by: xudan <xudan16@huawei.com>
|
|
* Update docs/submodules/joid from branch 'master'
- modified to add the opensack api on seperate network.
Change-Id: I8e909778cf50bc93118b68cfc2282c113fb7d7be
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
* Update docs/submodules/daisy from branch 'master'
- Fix an error in sed statement
JIRA: DAISY-42
Change-Id: I0fd709bb0dbee42cdc73076773cb635be6ba02cd
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "update scenario scores"
- update scenario scores
update score url:
POST /api/v1/scenarios/<scenario_name>/scores? \
installer=<installer_name>& \
version=<version_name>& \
project=<project_name>
add new score record interface
add unit test
add swagger specification
Change-Id: Ib7bb31f303a9a9402325476bfdadb58aa0df560e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "delete obsolete scenario update code"
- delete obsolete scenario update code
1) update scenario will be subsitituted with new methods,
in this patch delete the obsolete code first to make clean room
2) test_queryCombination() will fail randomly, in this patch disable
it first, reopen when problem solved
Change-Id: I1939876465934ea09894255712057a78f120be71
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
* Update docs/submodules/promise from branch 'master'
- Move promise package to root directory
It seems mandatory as Functest must install promise in editable mode.
Then npm install can be called in the source directory.
It completes "Add promise package" [1]
It would have worked well in classical mode.
[1] https://gerrit.opnfv.org/gerrit/#/c/38639/
Change-Id: Ia9ae55b127d0d324d97974f5e9b1923d7636d7cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/joid from branch 'master'
- modfied to use lxd/nodes/0 for classic.
Change-Id: I36cd18fbd595d507cf09148a2c4a442b24b9cf3b
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Remove copper refs"
- 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>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Remove netready refs"
- 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>
|
|
* Update docs/submodules/functest from branch 'master'
- Merge "Update promise upper constraint"
- 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>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "Remove Python packaging files"
- Remove Python packaging files
Since we don't release releng as a python project, it doesn't make much
sense to include a setup.py.
The jjb testenv in tox.ini is modified to pin jenkins-job-builder and no
longer require setup.py nor jjb/test-requirements.txt, and the modules
testenv is moved to it's own tox.ini under modules.
Locally testing of jjb can still be done using:
tox -e jjb
Change-Id: I512b1a8f9cd7d48a2f14b1bbe966b525793a6fe3
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "YAML fixes"
- YAML fixes
There are multiple issues wiht YAML loading.
1. Jinja2 renders None values as a string 'None'. This is not valid YAML
we need to render None values to '~' or 'null' which is the native YAML
None value.
2. Jinja2 renders dict and lists that contain unicode with
u'foo' values. This is not value YAML syntax.
Because we are serializing dict and lists into YAML, we
need to encode them as valid YAML. We can override Jinja2 finalize to
use yaml.dump to dump inline YAML.
We use yaml.safe_dump(elem, default_flow_style=True).replace('\n', '')
to generate valid single-line YAML dict and list values.
But this problem highlights the general difficulties with templating and
loading files.
We could avoid this Python->Jinja2->YAML->Python issue by directly
injecting the list or dict after the YAML is loaded.
I'm not sure of the real utility of these templates.
3. On Python 2 YAML loader is rendering all strings
as unicode. This does not work for Trex because Trex is broken
and badly coded. Trex does type checking against str() which
is different for Python 2 and Python 3.
The default YAML loader will return native string types, str() or unicode()
for Python 2 and Python 3 respectively.
The bad Trex codes is in convert_val:
https://github.com/cisco-system-traffic-generator/trex-core/blob/master/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_packet_builder_scapy.py#L674
def convert_val (val):
if is_integer(val):
return val
if type(val) == str:
return ipv4_str_to_num (is_valid_ipv4(val))
raise CTRexPacketBuildException(-11,("init val invalid %s ") % val );
This code is doing type(val) == str. This is bad and broken.
We can't fix Trex, so we have to render all strings as native str() types
The bug here was that the Heat template loader template_format.py
was overriding the global YAML loader to always return unicode.
We don't want this global override.
To fix this we have to use local subclasses of the yaml.SafeLoader
class.
But in order to dynamically subclass from CSafeLoader or SafeLoader
we have to use the type() builtin to define a new class at runtime.
Once we have new classes defined, we can safely isolate different
YAML constructors and return unicode or not depending on the case.
To be consistent we implement a new yaml_loader.py module to centralize
all non-Heat template yaml loading to ensure correct uncode/str
conversion
Change-Id: Iebf9cf78fbda390977c390436b0869e7bbf503eb
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
* Update docs/submodules/pharos from branch 'master'
- Mount PostgreSQL Data from Persistent Volume
Each time the postgresql container is torn down the database is lost.
By using a presistent volume managed outside of docker compose, the
postgresql data can persist across updates and service restarts.
The volume needs to exist before the postgres container can start: this
is done with the 'make data' command.
Note: postgres container creates a volume at /var/lib/postgresql/data.
Mounting at this location ensures the data is persisted into the
external volume.
Change-Id: I958ba57fc735c594378d575bc7108bee0d30c1e3
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "xci: Remove prototypes directory due to migration to releng-xci repo"
- xci: Remove prototypes directory due to migration to releng-xci repo
Change-Id: I3b8a1dff64151dc55f05e621bab61f2b214bfd05
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
* Update docs/submodules/functest from branch 'master'
- Revert "Enable parser project"
This reverts commit 39e2116d5ff360dae7159f5557caa2b2a46c48b2.
Change-Id: I7c0b63b22c5cf6e9fa2ee1f182abad96a3931098
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/releng from branch 'master'
- bug fix: bad path on auto generated documentation
bad path fix on https://gerrit.opnfv.org/gerrit/#/c/39141/
Change-Id: Ieb8023aa7fde620c2e6b755b8e6255d2281f7a90
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
* Update docs/submodules/dovetail from branch 'master'
- Bugfix: wrong command in function 'check_https_enabled'
JIRA: DOVETAIL-482
1. In function check_https_enabled, it will use cmd
"openstack catalog show identity |awk '/public/ {print $4}'"
to check if it is https.
2. However, this command will not work if it is https.
3. Check https via OS_AUTH_URL rather than "openstack catalog show identity".
Change-Id: If40ffa8e9b33c38123ff4b834198a8eaaedc1c9c
Signed-off-by: xudan <xudan16@huawei.com>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "Add basic ui"
- Add basic ui
- Repos Listing
- Creation and updation
- Running Benchmarking
- Listed and detailed view of logs
- Add django management command to import frontend dependencies
Change-Id: If6f7dbc1fc18b022d9dda7a76f76dfee1c110450
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "bug fix: bad path on auto generated documentation"
- bug fix: bad path on auto generated documentation
as mentioned in the jenkins logs [1], the folder is not correct
replace functest/api/_
build by docs/api/_build
[1]: https://build.opnfv.org/ci/view/functest/job/functest-docs-upload-master/48/console
Change-Id: I40f4c08474ff017f1616d463b6c5165cd6514c32
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "Bug fix: generate fuel reporting page when no aarch64 available"
- Bug fix: generate fuel reporting page when no aarch64 available
In fuel we may deal with x86 or aarch64 architecture
We generate dedicated reporting page
- fuel@x86
- fuel@aarch64
However when there is no results for one of the architecture
the test on the number of architecture lead to a bug
Change-Id: I9906bd6078c8493587dc667eb23399a1e8311e77
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
* Update docs/submodules/releng from branch 'master'
- Merge "Add daisy to reporting"
- Add daisy to reporting
Change-Id: I5fd940b8c1be1c327cfcd481c27049f94ae2f175
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "compute-qpi CI scripts"
- compute-qpi CI scripts
- Move compute-qpi ci scripts in releng repos to qtip repos.
- Support apex
- Introduce TEST_SUITE
JIRA: QTIP-65
Change-Id: I3633463e1bb5226ebcaffb4b53a3c56b433f6efb
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
|
|
* Update docs/submodules/openretriever from branch 'master'
- Merge "Fix some issues in ovsdpdk, cni for ovsdpdk"
- Fix some issues in ovsdpdk, cni for ovsdpdk
Change-Id: Ib919a14a74c6d33c74c7d4f9baa5fd81b9054cbd
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
* Update docs/submodules/qtip from branch 'master'
- Merge "Fix permission issue on apex"
- Fix permission issue on apex
root privilege is required for ceph commands
Change-Id: Idf42342d0035359d6bcb475d12ea0808d5d26802
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
* Update docs/submodules/yardstick from branch 'master'
- Merge "Remove redundancy file and do relative modification"
- Remove redundancy file and do relative modification
Change-Id: If6f672a2cbe218a20e3d8f3d093d31f6887d7ca3
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
|
|
* Update docs/submodules/yardstick from branch 'master'
- html_template: can't use iteritems, use items
iteritems is not supported in Python 3
we have to use items()
Change-Id: Ib923dfea4220eeab311949c9f6f420fef378e98a
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|