summaryrefslogtreecommitdiffstats
path: root/docs/submodules
AgeCommit message (Collapse)AuthorFilesLines
2017-10-02Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/armband from branch 'master' - u/fuel: Bump & rebase for Salt version sync Change-Id: I5641802152c4e9dc6cec3218848921be5179e815 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-02Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "ansible: add grub.cfg hugepages regexp replace" - ansible: add grub.cfg hugepages regexp replace when building the image in chroot we can't run update-grub of grub-mkconfig because both commands probe for root partitions, which doesn't work in the chroot. Instead we manually regexp replace the kernel boot line in /boot/**/grub*.cfg Change-Id: I31fac2a3db4d1d044f11357b1715119066509676 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-02Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Optimize Core usage for the sampleVNFs" - Optimize Core usage for the sampleVNFs Change-Id: I80aa7e796b9ca4c4881c78310860e293a4a75560 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-02Update git submodulesManuel Buil1-0/+0
* Update docs/submodules/sfc from branch 'master' - Create a scenario role As discussed with the releng-xci team, each project should have the scenario in its repo Change-Id: I2cb407892edeeccabf396c7b1c341c78fba2828e Signed-off-by: Manuel Buil <mbuil@suse.com> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-10-02Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Merge "xci: scripts: start-new-vm.sh: Use Docker to build OS images" - xci: scripts: start-new-vm.sh: Use Docker to build OS images Use a docker container to build the OS images so we can build images and start new virtual machines on all supported operating systems. This way all developers can now launch a virtual machine to quickly reproduce Jenkins results which should assist with debugging problems. Since the container runs with elevated privileges it's best to ensure that we have exclusive access to devices. Finally, we remove the build-dib-os.sh script which is now part of the container itself. The build image process now becomes more stable since it runs on clean evnironment all the time so the only external factor is the upstream distribution repositories. Change-Id: I6b443192419ee2546a23430f421b152766d16333 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-02Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Merge "docs: Fix env var OPNFV_RELENG_DEV_PATH" - docs: Fix env var OPNFV_RELENG_DEV_PATH Change-Id: I95fd4efe4d1a47ce682489ffd7c2ce588a1764e5 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-10-02Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Merge "Add the name for CentOS NFS server package" - Add the name for CentOS NFS server package Change-Id: I5a8ff4c358ab9f1d548c9cc834faa2465ec63d41 Signed-off-by: Tapio Tallgren <tapio.tallgren@nokia.com>
2017-10-02Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/yardstick from branch 'master' - load_images.sh: Add missing ssh_options Empty ssh_options led to ssh login failure, which stopped the whole script. Change-Id: I8374a30a02b14d04eb0f623a0c58d7ebed77a589 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-02Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Merge "xci: xci-deploy.sh: Fix variable names for bifrost and OSA" - xci: xci-deploy.sh: Fix variable names for bifrost and OSA The correct variable name is OPENSTACK_{BIFROST,OSA}_DEV_PATH instead of OPNFV_{BIFROST,OSA}_DEV_PATH. JIRA: RELENG-312 Change-Id: I6c1349434d2ff8f82e1bccd1a758467c3ee0a61f Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-02Update git submodulesTrevor Bramwell1-0/+0
* Update docs/submodules/releng from branch 'master' - Ignore Scenarios directory when yamllinting SFC These yaml files are for defining scenario in XCI and can be ignored for now. Change-Id: I48b1598406e34a5129c7c7dab73f6a06af6db82e Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-10-02Update git submodulesMichael Polenchuk1-0/+0
* Update docs/submodules/fuel from branch 'master' - Align salt version & repos Change-Id: If7cb8473f5c290d1d5f22fce5567f7b8da24fd9f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-10-02Update git submodulesFeng Pan1-0/+0
* Update docs/submodules/apex from branch 'master' - Merge "Fixes python-networking-sfc install" - Fixes python-networking-sfc install Change-Id: Ib86cd5845e94e351615c3eb7db07b6a3bcec966f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-10-02Update git submodulesManuel Buil1-0/+0
* Update docs/submodules/sfc from branch 'master' - Update the documentation for the release Change-Id: Ief3908496bd6809c412bd394e7fd744f2ee796ae Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-10-02Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "CI: add new test cases into CI so they can have result" - CI: add new test cases into CI so they can have result Change-Id: Ib2b165c41121b29b2af378dc420c2360786de3f0 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-10-02Update git submodulesEmma Foley1-0/+0
* Update docs/submodules/barometer from branch 'master' - Updates the COLLECTD_OPENSTACK branch used in the Makefiles Change-Id: I53e05b37cbcf414a5562f1100280687359635ac0 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2017-10-02Update git submodulesGiuseppe Carella1-0/+0
* Update docs/submodules/orchestra from branch 'master' - Extended documentation for Euphrates Inlcuded user guide and configuration guide that can be used to get started immediately with orchestra Change-Id: Idec9cf8462b0497addc8419fb77744a639fd8718 Signed-off-by: Giuseppe Carella <cargius@gmail.com> Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-10-02Update git submodulesManuel Buil1-0/+0
* Update docs/submodules/sfc from branch 'master' - Release notes update This is an update of the release notes for the Euphrates release Change-Id: Ia74839aceb53f6a647b4695c0cc3f7cf8d8e8282 Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-10-02Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Enabling multi_VM & multi port launch in standalone context" - Enabling multi_VM & multi port launch in standalone context new context names: - SRIOV - StandaloneSriov - OvsDpdk - StandaloneOvsDpdk - Seperate helper, libvirt, server info class - Allow multi-port and multi-VM support. Change-Id: I3c65e4535082fa0e2f4c6ee11c3bca9ccfdc01b8 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Martin Banszel <martinx.banszel@intel.com>
2017-10-02Update git submodulesMorgan Richomme1-0/+0
* Update docs/submodules/functest from branch 'master' - Bug fix: vping_userdata test status was not properly reported vping_base is calling vping_userdata vping_user data could return only EX_TESTCASE_FAILED or EX_OK by default vping_base always returns EX_OK (based on self.result=100..) it returned EX_RUN_ERROR only if upper class report EX_RUN_ERROR that is why vping_userdata was always PASS even if the trace "Ping OK" cannot be retrieved from the Nova console it seems that when running the vping_userdata, we systematically got Failed to read iid from metadata Change-Id: If72441dd93bffada5c7a5399c87db68d7ebeebed Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-10-02Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/fuel from branch 'master' - Merge "[virtual] Reset mtu for compute management bridge" - [virtual] Reset mtu for compute management bridge Use default mtu for br-mgmt in order to resolve the live migration failure (cannot recv data: connection timed out) Change-Id: I9cee453d87f849e29fc877fff237f8e604f2df53 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-10-02Update git submodulesYujun Zhang1-0/+0
* Update docs/submodules/fuel from branch 'master' - Enable options for customizing deploy workflow Change-Id: I1011734895771fdaf653c59348a9ce0aeeff47a7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-10-02Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "drain runner queue and undo cancel_join_thread" - drain runner queue and undo cancel_join_thread Sometimes the runners can hang. Initially debugging lead to the queue join thread, so I thought we could cancel all the join threads and everything would be okay. But it turns out canceling the queue join threads can lead to corruption of the queues, so when we go to drain the queues the task hangs. But it also turns out that we were not properly draining the queues in the task process. We were waiting for all the runners to exit, then draining the queues. This is bad and will cause the queues to fill up and hang and/or drop data or corrupt the queues. The proper fix seems to be to draining the queues in a loop before calling join with a timeout. Also modified the queue drain loops to no block on queue.get() Revert "cancel all queue join threads" This reverts commit 75c0e3a54b8f6e8fd77c7d9d95decab830159929. Revert "duration runner: add teardown and cancel all queue join threads" This reverts commit 7eb6abb6931b24e085b139cc3500f4497cdde57d. Change-Id: Ic4f8e814cf23615621c1250535967716b425ac18 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-02Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Grafana Dashboard update for Prox Tests" - Grafana Dashboard update for Prox Tests JIRA: YARDSTICK-802 Updated the Grafana dashboards to collect KPI's correctly & incorporate scale up changes in topology Influx-db stores the KPI’s fields as: <TG><Port><kpi> TG has changed from : tg__1 to tg__0 VNF has changed from : vnf__1 to vnf__0 Change-Id: I3bd8be61210906bc4de95c9b1986033572d93277 Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
2017-10-02Update git submodulesAbhijit Sinha1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Prox L3FWD 2-port test fix JIRA: YARDSTICK-802 Updated the handle config for l3fwd 2 port test The tx and rx descripters is removed as they were not there in original DATS config. The BM test was dropping packets beacuse of this. Change-Id: I40d113267cbb3376a772b5a5aaecf74bea9d06fb Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
2017-10-02Update git submodulesBertrand Souville1-0/+0
* Update docs/submodules/promise from branch 'master' - Added support for Keystone v3 JIRA: PROMISE-80 Modified Promise shim-layer as well Change-Id: I82340a6af5c3e6056e77323ca5c44ecdf4e109b6 Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
2017-10-02Update git submodulesRyota MIBU1-0/+0
* Update docs/submodules/doctor from branch 'master' - fix referring neutron option in inspector Change-Id: I01173cdf301f168edebfc2ec6df82b015adebca7 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-10-02Update git submodulesDan Radez1-0/+0
* Update docs/submodules/apex from branch 'master' - Adding unittests for undercloud.py Change-Id: I65d73f7a1ad27f319857a72b7d9f738b04318aa6 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-10-02Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Merge "Install python-openstackclient by default" - Install python-openstackclient by default It is important to have the client installed for the ease of the users so they can use the client for trying out their new deployment. Change-Id: I091c1e23ff320cb9fcdb2743998483a6bc1fcdad Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-10-02Update git submodulesTim Rozet1-0/+0
* Update docs/submodules/apex from branch 'master' - Merge "nosdn-fdio scenarios fixes" - nosdn-fdio scenarios fixes - pin vpp/networking-vpp versions - Add external_network_bridge config back to puppet-neutron Change-Id: Ia58fb55638390757ea3350b2921897c4d315f9b5 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-10-02Update git submodulesStuart Mackie1-0/+0
* Update docs/submodules/joid from branch 'master' - git review New ocl packages, new key for packages, updated server info for lab Change-Id: Iee2316f5e624278731c6625eec572c099f6c1a70 Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
2017-10-02Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Merge "xci: install-ansible.sh: Fix distribution detection" - xci: install-ansible.sh: Fix distribution detection Relying on the installed package manager to detect the distribution is not reliable since it's possible to install multiple package managers at the same time. As such, lets simply use the information in the os-release files. Change-Id: Ic170d2aee1398d5c82403c3469365822bf053de7 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-02Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Merge "xci: scripts: start-new-vm.sh: Fix default test case" - xci: scripts: start-new-vm.sh: Fix default test case Export XCI_FLAVOR to mini to minic the CI. Moreover, fix the script to not use relative paths. Change-Id: I16947c596b8bbff20371b6d345dffd215f76aecc Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-02Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "Remove functest alpine images from docker builds" - Remove functest alpine images from docker builds They are already built via Dockerhub automatically Change-Id: If0b336a0be741b17c2f7b80eaa51a0f235ad9ddf Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-10-02Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Add ${DOCKER_TAG} in Docker hooks It eases creating Docker images based on branches or tags. Change-Id: Id84513c53cad72a1fcd0debf06579481609b8bc2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-02Update git submodulesLorand Jakab1-0/+0
* Update docs/submodules/fds from branch 'master' - FDS DVR doc - Updated flow diagram for LISP Change-Id: I2e792f1695327ab59af8f7afa0ffcfb8caecd5e4 Signed-off-by: Lorand Jakab <lojakab@cisco.com>
2017-10-02Update git submodulesFrank1-0/+0
* Update docs/submodules/fds from branch 'master' - FDS DVR doc - Updated components diagram Change-Id: I90f50f2781f3ca70ae6204883f330328303d3a03 Signed-off-by: Frank <fbrockne@cisco.com>
2017-10-02Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/releng from branch 'master' - [Functest] Continue the job execution if healhcheck fails This will allow the push-test-logs.sh script to be executed in any case instead of exiting directly Change-Id: I03c40e2f368485389a21313f98745217ae634eca Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-10-02Update git submodulesDeepak S1-0/+0
* Update docs/submodules/samplevnf from branch 'master' - Merge "update userguide alignment" - update userguide alignment Change-Id: Id0eb364fdeb7e9b084c247b0875e9de7b599abfb Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-02Update git submodulesDeepak S1-0/+0
* Update docs/submodules/samplevnf from branch 'master' - Merge "update userguide alignment" - update userguide alignment Change-Id: Ie938d84d31c2145167fc2b816a02bd8c0a3210ec Signed-off-by: Deepak S <deepak.s@linux.intel.com> - Remove default section in the createrapid Change-Id: Id9c22f92955b64242971ff768a64132451c8350e Signed-off-by: Deepak S <deepak.s@linux.intel.com> - Splitting the script in 2 parts: createrapid.py and runrapid.py The split of the scripts is documented in the README file. The VM also runs now devbind.sh with the proper MAC address to bind the dataplane interface with the DPDK poll mode driver. Change-Id: I3e7a6235379dc80530934376c7799ac3396b5325 Luc Provoost <luc.provoost@intel.com> Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-02Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Enable promise on all fuel and joid scenarii Change-Id: I9735788fbbe715968560570543d1dc9d55e065b7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-02Update git submodulesFatih Degirmenci1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Merge "Update .gitignore for documentation" - Update .gitignore for documentation Change-Id: I39a8b8a874345f90cd60f34ca10422b20f66e32b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-10-02Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "Keep Docker builds from thrashing on same server" - Keep Docker builds from thrashing on same server There is a possiblity of multiple docker builds of a docker repo being scheduled on the same host: 1) Patch is merged 2) Docker build is triggered 3) New patch is merged before the Docker build/push finishes triggering a second build 4) First build fails as second build starts by cleaning image from first build Reintroducing the check for builds in progress, but specific to the Docker repo, should allow mulitiple Docker builds on a node to run, while keeping multiple builds on a per-repo basis from thrashing each other. JIRA: RELENG-315 Change-Id: I74c01850a036c831b93a8cd5fa8522337abb9ff4 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-10-02Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Merge "Add documentation for user guide and sandbox" - Add documentation for user guide and sandbox This change adds the user guide and sandbox information. The documentation is created by using the information we have on Wiki and README.rst. Wiki pages and README.rst will be removed once all the documentation is moved to docs.opnfv.org. Parts of the README.rst such as more advanced ways to use the sandbox will be placed in developer guide and it is accessible by a link placed in user guide. Change-Id: I7214a53d7ab39125d2164c5b3468b1ba18933b31 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-10-01Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - xci: file: ansible-role-requirements: Bump SHA for rabbitmq-server The rabbitmq-server contains some fixes for SUSE so lets just bump this role instead of switching the entire OSA pin SHA so close to the Euphrates release. Change-Id: Ic034ed4bd9e290cadc5336d781b0e24036d5cd46 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Fix src/dst ip update in ixia configuration" - Fix src/dst ip update in ixia configuration Change-Id: I03976c182e164a512a5ef48ad20928f27451c3f6 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Adding example testcase to enable multiport support for http" - Adding example testcase to enable multiport support for http Change-Id: I780aa3ea6b04df08baffb5ee5beff66bdc37f37e Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "NSB: cancel all queue join threads" - NSB: cancel all queue join threads In some cases we are blocking in base.Runner join() because the queues are not empty call cancel_join_thread to prevent the Queue from blocking the Process exit https://docs.python.org/3.3/library/multiprocessing.html#all-platforms Joining processes that use queues Bear in mind that a process that has put items in a queue will wait before terminating until all the buffered items are fed by the "feeder" thread to the underlying pipe. (The child process can call the cancel_join_thread() method of the queue to avoid this behaviour.) This means that whenever you use a queue you need to make sure that all items which have been put on the queue will eventually be removed before the process is joined. Otherwise you cannot be sure that processes which have put items on the queue will terminate. Remember also that non-daemonic processes will be joined automatically. Warning As mentioned above, if a child process has put items on a queue (and it has not used JoinableQueue.cancel_join_thread), then that process will not terminate until all buffered items have been flushed to the pipe. This means that if you try joining that process you may get a deadlock unless you are sure that all items which have been put on the queue have been consumed. Similarly, if the child process is non-daemonic then the parent process may hang on exit when it tries to join all its non-daemonic children. cancel_join_thread() Prevent join_thread() from blocking. In particular, this prevents the background thread from being joined automatically when the process exits – see join_thread(). A better name for this method might be allow_exit_without_flush(). It is likely to cause enqueued data to lost, and you almost certainly will not need to use it. It is really only there if you need the current process to exit immediately without waiting to flush enqueued data to the underlying pipe, and you don’t care about lost data. Change-Id: I61f11a3b01109d96b7a5445c60f1e171401157fc Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "code inspection fixes: test_pktgen" - code inspection fixes: test_pktgen Change-Id: I05cb069984b7674924cfcb1ed023048c0aa0c444 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "duration runner: add teardown and cancel all queue join threads" - duration runner: add teardown and cancel all queue join threads calculate timeout once catch exceptions in benchmark.teardown() In some cases we are blocking in base.Runner join() because the queues are not empty call cancel_join_thread to prevent the Queue from blocking the Process exit https://docs.python.org/3.3/library/multiprocessing.html#all-platforms Joining processes that use queues Bear in mind that a process that has put items in a queue will wait before terminating until all the buffered items are fed by the "feeder" thread to the underlying pipe. (The child process can call the cancel_join_thread() method of the queue to avoid this behaviour.) This means that whenever you use a queue you need to make sure that all items which have been put on the queue will eventually be removed before the process is joined. Otherwise you cannot be sure that processes which have put items on the queue will terminate. Remember also that non-daemonic processes will be joined automatically. Warning As mentioned above, if a child process has put items on a queue (and it has not used JoinableQueue.cancel_join_thread), then that process will not terminate until all buffered items have been flushed to the pipe. This means that if you try joining that process you may get a deadlock unless you are sure that all items which have been put on the queue have been consumed. Similarly, if the child process is non-daemonic then the parent process may hang on exit when it tries to join all its non-daemonic children. cancel_join_thread() Prevent join_thread() from blocking. In particular, this prevents the background thread from being joined automatically when the process exits – see join_thread(). A better name for this method might be allow_exit_without_flush(). It is likely to cause enqueued data to lost, and you almost certainly will not need to use it. It is really only there if you need the current process to exit immediately without waiting to flush enqueued data to the underlying pipe, and you don’t care about lost data. Change-Id: If7b904a060b9ed68b7def78c851deefca4e0de5d Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - cancel all queue join threads In some cases we are blocking in base.Runner join() because the queues are not empty call cancel_join_thread to prevent the Queue from blocking the Process exit https://docs.python.org/3.3/library/multiprocessing.html#all-platforms Joining processes that use queues Bear in mind that a process that has put items in a queue will wait before terminating until all the buffered items are fed by the "feeder" thread to the underlying pipe. (The child process can call the cancel_join_thread() method of the queue to avoid this behaviour.) This means that whenever you use a queue you need to make sure that all items which have been put on the queue will eventually be removed before the process is joined. Otherwise you cannot be sure that processes which have put items on the queue will terminate. Remember also that non-daemonic processes will be joined automatically. Warning As mentioned above, if a child process has put items on a queue (and it has not used JoinableQueue.cancel_join_thread), then that process will not terminate until all buffered items have been flushed to the pipe. This means that if you try joining that process you may get a deadlock unless you are sure that all items which have been put on the queue have been consumed. Similarly, if the child process is non-daemonic then the parent process may hang on exit when it tries to join all its non-daemonic children. cancel_join_thread() Prevent join_thread() from blocking. In particular, this prevents the background thread from being joined automatically when the process exits – see join_thread(). A better name for this method might be allow_exit_without_flush(). It is likely to cause enqueued data to lost, and you almost certainly will not need to use it. It is really only there if you need the current process to exit immediately without waiting to flush enqueued data to the underlying pipe, and you don’t care about lost data. Change-Id: I345c722a752bddf9f0824a11cdf52ae9f04669af Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>