This is a community goal for Ocata. We're already not using any of
the code, but there are some other files and references left over.
This file used to be installed from oslo-incubator:
tools/install_venv_common.py
It was meant to be used by the legacy run_tests.sh, which does not
exist in this repo.
Change-Id: I5040101102167ae3c2701019ceaad8bf8833a3c1
Partial-Bug: #1639103
Including a script to reproduce our test environment from c10k testing.
Also including two new features to test httpd: arbitrary response delay
for slow connections and path to reset counters for subsequent tests
with the same backend instances.
Change-Id: I5171d1addcc546050213d96bf7d00af0ff1bad80
Test load balancer with multiple client threads sending requests
concurrently.
Rename _check_connection() to _wait_for_http_service() to better
communicate what this method does.
Extend _send_requests() to accept an optional path argument.
Use screen instead of nohup to background test httpd in CirrOS
instances.
Remove duplicate initialization of server_ips from BaseTestCase.
Change-Id: Ia3fa2ee1977c630e70a13e069e383edfd81ecde8
Otherwise it's impossible to identify what's the cause of the
failure (connection, timeout, certificate, etc..).
Change-Id: Ia4eda232b1d3ee5e9f7c2958a4857e155230affb
Closes-Bug: 1633427
The openstack directory was used to keep codes from oslo-incubator,
we have retired oslo-incubator,so don't use this directory any more.
Change-Id: I9ad0065bcc564dd21457ce58fc32372b22ad29cb
This deploys two controller nodes with an haproxy in
fron of the main API endpoint and workers on both
nodes: primary and subnode1.
Change-Id: Iecc38aa950e8b5a4c42db6b609820443efe437c2
Related-Bug: 1628481
In the default amphora image, load system sysctl optimizations inside
the amphora-haproxy network namespace when it's created.
Change-Id: I00981460c18784f268ee048662dfe0e42d4f42f3
Co-Authored-By: Dustin Lundqiust <dustin@null-ptr.net>
The existing pregenerated certificates (CA) were already expired
and not working on the multinode tests. Those pregenerated
certificates are used so all the nodes share the same CA.
This patch introduces a script to regenerate the certs in the
repo too.
Change-Id: I977c29e3d5867e22efd60d6bdda8a98a26559fc9
Closes-Bug: 1633436
octavia already uses PBR:-
setuptools.setup(
setup_requires=['pbr>=1.8'],
pbr=True)
This patch removes `MANIFEST.in` file as pbr generates a
sensible manifest from git files and some standard files
and it removes the need for an explicit `MANIFEST.in` file.
Change-Id: I0b6a7a6eb3be8c1982a4fd7576dea1db9890f69c
Closes-Bug: #1608980
Our devstack plugin assumes the developer is using OVS in their
environment. However, there are sometimes cases where it's useful to run
tests using linuxbridge. This commit adds support for linuxbridge in the
development devstack environment.
Change-Id: Id8fa3f9882bd5dfee7ca5af7060b9c4624363a8e
Co-Authored-By: Dustin Lundqiust <dustin@null-ptr.net>
Replacing existing bash and netcat based test HTTP server with a golang
implementation, to permit testing of connection limits. While desirable
to avoid introducing an additional testing dependency, employing golang
here solves several problems. The static linked binary works well with
CirrOS images for testing, since not other files need be included in the
CirrOS image. The implementation can scale to large number of
connections (5k in a m1.tiny instance, and in excess of the 20k limit
imposed by Apache Bench in a m1.large) and tracks the maximum number of
concurrent connections reached, this allows connection_limit testing.
Change-Id: Ib1320559142ca05177c5cb93f22baee401c17470
The Octavia devstack plugin is using deprecated nova secgroup-list.
This patch updates the plugin.sh to use the new openstack client
where it can.
Change-Id: I000eff4b2692953fcdaac581aaafe683e9289388
Closes-Bug: #1631087
After the scenario test merge [1] our functional tests were no longer
being run by the py* tests. This patch adds a functional test
environment and updates the cover environment to include the
functional test coverage.
[1] https://review.openstack.org/172199
Change-Id: If6b1de66ed441e0c05cc8daf640b6e713d7e0708
Closes-Bug: #1630012
The health monitor defaults update [1] missed updating a functional
test (they were disabled at the time). This patch fixes those tests
to reflect the change.
[1] https://review.openstack.org/#/c/381993/
Change-Id: I7cdbd0721e0fa675e662e7930e7e21afbb34f39a
Closes-Bug: #1630287
Some of the tests were failing due to improper configuration overrides
in the test cases. This patch fixes those tests to use the current
recommended method with oslo test fixtures that will cleanup after the
test.
Change-Id: I5f1ea16bbc16056aa756415a618a8f4192436dfd
Closes-Bug: #1630060
MTU must be set properly because if the tenant network is some kind
of tunnels, the default mtu may cause packets loss.
Change-Id: Ife10cb8b5ad8e5066f2e7a1565ad72a3e1916688
Closes-Bug: #1627687
1. Add request error count
2. Add root element 'listener' in the API response body
Change-Id: I8beb918c176ed848affa264cb036763240d07dcd
Implements: blueprint stats-support