aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test
AgeCommit message (Collapse)AuthorFilesLines
2024-06-06hs-test: more debug output in http3 testFlorin Coras2-1/+2
Type: test Change-Id: I4d2b949f5ef5446c04ca6f35b0bd659ce389170f Signed-off-by: Florin Coras <fcoras@cisco.com>
2024-06-05hs-test: keep ab/wrk containers alive until teardownAdrian Villin2-1/+3
- Fixes errors while obtaining container logs on test failure (NginxPerf tests), ab/wrk containers are now stopped on test teardown like other containers. Type: test Change-Id: Ic336fcd3ed6bf68dd345d378262cb28eb5efc789 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-06-04hs-test: fix coverage integrationAdrian Villin1-3/+6
- fixed 'make test-cov' not generating gcda files Type: test Change-Id: I9745c6501a97248ab343a5dbb39dddcc75f715fd Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-06-03hs-test: add libunwind dependency to nginx dockerfileAdrian Villin3-7/+2
- Libunwind was missing in Dockerfile.nginx, causing some tests to fail. Tests that were temporarily disabled because of that issue are now re-enabled. Type: test Change-Id: I3f544be483784e8a7a1f22737cafca615b9f836b Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-05-31hs-test: temp skip some testsAdrian Villin2-1/+6
- Some tests are broken in the CI, skipping them for now Type: test Change-Id: I3d4efeee63b819956e5ffa1b3920e81962a2fcc9 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-05-31hs-test: container logging improvementsAdrian Villin3-19/+18
- Reduced the amount of error messages while obtaining container logs when a test fails by keeping track of started containers. NginxPerf tests still have those error messages, because wrk/ab containers shut themselves down before the test ends. Type: test Change-Id: I40a193345e5b46aec1834774f23aebc822eee885 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-05-31hs-test: add libunwind dependency to vpp dockerfileDave Wallace1-1/+1
- missing from https://gerrit.fd.io/r/c/vpp/+/40929 due to hst not running in CI yet. Type: fix Change-Id: Ib5d9b877725624ef7de9f2be5e517609aec7c5a1 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-05-30hs-test: added targets to makefiles to get coverage from HS testsadrianvillin2-0/+25
Type: make Change-Id: Iae7998692890264dfeea98c165617d0efa024d42 Signed-off-by: adrianvillin <avillin@cisco.com>
2024-05-30hs-test: set longer timeouts while debuggingAdrian Villin7-15/+24
Type: test Change-Id: I87baba7efa36dd40f086523b35bc6d3b0a26a1b5 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-05-30hs-test: pin CPUs to containersAdrian Villin8-39/+47
Type: test Change-Id: I412be2dec7ff352740e50e838e0ac466bf0a6674 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-05-28http_static: sanitize path before file readMatus Fabian2-26/+47
Romove dot segments from requested target path before start reading file in file handler to prevent path traversal. Type: fix Change-Id: I3bdd3e9d7fffd33c9c8c608169c1dc73423b7078 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-05-23hs-test: fix CPU alloc when running in parallelAdrian Villin7-28/+42
Type: test Change-Id: I6062eddffb938880d9ec004c8418a9a731891989 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-05-17hs-test: fixed timed out tests passing in the CIAdrian Villin3-33/+36
Type: test Change-Id: Id05ea56bc5dfd80d42b8600cf11e763e25420bd0 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-05-17http: ignore http_proxy env in testsMatus Fabian1-4/+19
Type: test Change-Id: I45a091a43e7ecb3f321fc9ecc761df2b44c9c351 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-05-17hs-test: updated api callsAdrian Villin5-47/+106
Type: test Change-Id: I2583ee74426ef154d03d4991b78ab57c5cec436f Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-05-14http: notify client when connection failedMatus Fabian1-1/+15
Type: fix Change-Id: I87054e9667fe990d9a2dc3950bc3ce348460018a Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-05-14http: fix server sending all status codesMatus Fabian2-9/+72
Type: fix Change-Id: I4bc748e3091c2fbe0142d1b74d21a543a62c4ce0 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-05-10hs-test: logging improvementsAdrian Villin12-31/+123
Type: test Change-Id: Iffefe085e846b6ba614b0d74c4ba9907080a9a59 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-05-09hs-test: add make test-debug targetMatus Fabian1-0/+10
Run tests on vpp debug build. Type: test Change-Id: I51e6f4ac9449c1c5b7eb649af91347188f9227e1 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-05-03http: fix http server in responseMatus Fabian3-3/+18
App name is used in HTTP response Server header. Type: fix Change-Id: Ie3b2d985dd7d554a0352f7e602891f878bebd031 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-05-01http: fix client receiving large dataFilip Tehlar1-1/+1
HTTP client was relying on synchronous rx notifications to the client app when moving lage data from underlying transport proto. Recent change in session layer made such notifications asynchronous making http client not working. This patch fixes the issue. Type: fix Change-Id: I4b24c6185a594a0fe8d5d87c149c53d3b40d7110 Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-05-01hs-test: disable color outputAdrian Villin1-1/+1
Jenkins cannot display colors in console output Type: fix Change-Id: I5365dec471d773dae1f139c5fabd0711298f8bea Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-04-29hs-test: fix cpu allocatorMatus Fabian1-2/+23
Effective CPUs file is different between cgroups v1 and v2. Type: test Change-Id: Ic1b9059435b3f0944624120f57e72da45adca223 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-04-26hs-test: clean up Makefile for compatibility with ci-managementDave Wallace3-17/+22
Type: test Change-Id: Ic767bc1eef0180941dd8730f9fcca1389ad7e043 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-04-23hs-test: add tests repeat optionMatus Fabian2-2/+11
Type: test Change-Id: I0143d26d929f6408a5399d7ca536e48cbd9d46bb Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-04-22hs-test: fix TCP with loss testMatus Fabian3-6/+5
Load NSIM plugin. Type: test Change-Id: I250f51e6622419d98fd17216031a5b4d2da07fba Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-04-19hs-test: transition to ginkgo test frameworkAdrian Villin25-230/+762
Type: test Change-Id: Ia38bf5549d20b22876f6082085b69a52a03d0142 Signed-off-by: Adrian Villin <avillin@cisco.com> Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-03-12hs-test: experimental support for multiple test instancesadrianvillin16-63/+164
- appending PID to interface and container names - added a check for used IP addresses - TestEnvoyProxyHttpTcp and TestTcpWithLoss are broken when running multiple instances Type: test Change-Id: Ib917079ec7cf851dee59ff9c67e74f48c7c5e3c6 Signed-off-by: adrianvillin <avillin@cisco.com>
2024-02-15hs-test: shortened interface names to avoid character limitadrianvillin13-43/+47
Type: test Change-Id: I09df597ccb8a3c4af47b8a36010afb81df533236 Signed-off-by: adrianvillin <avillin@cisco.com>
2024-02-15hs-test: improved loggingadrianvillin10-41/+94
- improved readability of some error messages - printing container logs to stdout on test failure (last 20 lines) Type: test Change-Id: Idbb358bdd89aa7b1a6bdc9d96bf029d4c299ce64 Signed-off-by: adrianvillin <avillin@cisco.com>
2024-01-29hs-test: update docs on debuggingFilip Tehlar1-0/+15
Type: docs Change-Id: I3bd89feb53a35532c79283bcdac2c87635c60920 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2024-01-29hs-test: use relative paths for docker volumesFilip Tehlar7-17/+22
Type: test Change-Id: I9d5c15662e50ceea08d2ccc653db36c5e3df869e Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2024-01-26hs-test: updated golang and packagesadrianvillin3-31/+38
ioutil.ReadFile is deprecated, replaced with os.ReadFile Type: test Change-Id: I9f8075796d05d47ea4dddd7e986026a267a7fe0c Signed-off-by: adrianvillin <avillin@cisco.com>
2024-01-19hs-test: change convention for skipping testsFilip Tehlar3-5/+16
Also re-enable external echo QUIC test. Type: test Change-Id: I3973409c31fd7c42b97ac3ceae1a5cbad6f1b2b6 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2024-01-18hs-test: use specific port for http3 testFilip Tehlar1-1/+1
curl sometimes uses 2 different source ports during the test. Type: test Change-Id: Ib27e9d22a9cc951f4729f4bd0ae99d80bf8d938b Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2024-01-11hs-test: add more assertsFilip Tehlar5-13/+13
Type: test Change-Id: Ia285ff39d9b19464ea086ec847ceaf52c6c0195c Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2024-01-11hs-test: add tls proxy testFilip Tehlar3-12/+22
Type: test Change-Id: I8f3f4c464907356bb1990ea53f0f46befc057acf Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2024-01-11hs-test: retry command on test setup failureFilip Tehlar1-3/+15
Type: test Change-Id: Iad744c4b3f79820e8bd0dd2ef9f18e4f7718e845 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2024-01-09session: support for cl port reuseFlorin Coras1-2/+3
Adds support for connectionless listener port reuse. Until now, cl listeners had fifos allocated to them and therefore only one app worker could ever listen, i.e., a session cannot have multiple fifos. To circumvent the limitation, this separates the fifos from the listener by allocating new cl sessions for each app worker that reuses the app listener. Flows are hashed to app worker cl sessions but, for now, this is not a consistent/fixed hash. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ic6533cd47f2765903669f88c288bd592fb17a19e
2023-12-23hs-test: more proxy vars for docker buildsFlorin Coras1-2/+6
Type: improvement Change-Id: Ica9d87abde7a1dc0b4007911a7e0abab46dfb75d Signed-off-by: Florin Coras <fcoras@cisco.com>
2023-12-22hs-test: use prebuilt curl with http3 supportFlorin Coras3-36/+5
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I4d17ae3f7736dc10c68ca6e304699ea39d012f6c
2023-12-15hs-test: decrease docker image sizeFilip Tehlar1-2/+5
Type: test Change-Id: Ic1ad2f1f983ad8f8e8e8813f941e11757930c92e Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2023-12-15hs-test: remove unnecessary app ns configsFilip Tehlar4-32/+26
Type: test Change-Id: I0226227dc756a5a3af5e9d3b0d65a38c0aa55b3d Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2023-11-30hs-test: add http prom testFilip Tehlar3-0/+16
Type: test Change-Id: Ia15ecc3cf2c087a6959601ff02e187c32570ff60 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2023-10-26hsa: unify echo test setupFilip Tehlar2-31/+86
Type: test Change-Id: I8665492c2f7755901a428aacdb27e98329ff557a Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2023-09-05hs-test: point gdb to vpp source filesFilip Tehlar4-1/+15
Type: test Change-Id: Ie5867737e5d49fd45cc15b690af3493263fb2f6f Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2023-09-05hs-test: verbose output on single test runFilip Tehlar1-1/+1
Type: test Change-Id: I12ae7db36a6f7f9758fd195088877dfcd5606f84 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2023-09-04hs-test: log external appsFilip Tehlar7-94/+97
Type: test Change-Id: Id2b0d408bd46f20b81422506f9db4eb655feddac Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2023-09-04hs-test: fix gdb attachFilip Tehlar1-3/+2
Type: test Change-Id: Ic48ca7a3aab47df50d4e38e6123c90140c944172 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2023-07-28hs-test: improve get statsFilip Tehlar2-4/+19
Type: test Change-Id: Ie681ee43007f4fe787d51d80bda9b433dcb6c09a Signed-off-by: Filip Tehlar <ftehlar@cisco.com>