aboutsummaryrefslogtreecommitdiffstats
path: root/extras
AgeCommit message (Collapse)AuthorFilesLines
2025-01-09hs-test: fix skipping docker image buildingAdrian Villin1-11/+11
- building docker images will now be properly skipped Type: test Change-Id: I57ae71814bdf5eefaac16472dfb56e86564219e6 Signed-off-by: Adrian Villin <avillin@cisco.com>
2025-01-09hs-test: copy vpp-data to docker images lastAdrian Villin2-3/+6
Type: test Change-Id: I773321d21c75e081fa54fae1d9862b4bc75e3794 Signed-off-by: Adrian Villin <avillin@cisco.com>
2025-01-09hsa: proxying UDP in HTTP/1.1Matus Fabian6-17/+446
Type: feature Change-Id: Ic0ff9b9bfbad9fbc602fbcec0d8906cd21d63a2c Signed-off-by: Matus Fabian <matfabia@cisco.com>
2025-01-07hs-test: cleanup nsim testFlorin Coras1-6/+0
After nsim fixes in gerrit 42052 echo tests with nsim should be stable with multiple workers and should no longer require a ping to work. Type: improvement Change-Id: Ice4b353153c57b547df60d21723fa8cf953ca5d0 Signed-off-by: Florin Coras <fcoras@cisco.com>
2024-12-30session: proxy session migration fixMatus Fabian2-2/+30
Type: fix Change-Id: I487ee4e69d8885f46d7a4af2c66a710da66108c5 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-12-22hs-test: vpp connect proxy stress testsMatus Fabian2-2/+190
Type: test Change-Id: Ie0b4e2d5f6d8ac19e86599f5f9ecbb642c3027ea Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-12-21hs-test: rebuild images when switching build typeMatus Fabian2-4/+5
Rebuild hst docker images when the previous test run had different vpp build type, e.g. 1) make test 2) make tes-debug Type: test Change-Id: If3a6f11f4f50bbfa88ef3808f98dcba3ab61d348 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-12-21hs-test: display vpp version in the summaryMatus Fabian2-0/+15
Display output of 'show version verbose' from vpp in the summary report at the end of a test run. Type: test Change-Id: Iae3d886dd4106678b60389ec42ba42a159940403 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-12-18hs-test: fix readCpusMatus Fabian1-2/+5
return error otherwise hst might panic Type: test Change-Id: Ib3ec8a2113af4594f2c2fc54ae72e358bfadaef2 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-12-13hs-test: always build when running 'make build'Adrian Villin2-10/+16
- running 'make build' will now always build docker images, 'make test' will try to skip building them unless FORCE_BUILD=true - now also checking ubuntu version Type: make Change-Id: Ie16e8dc4712963de19e2450e058b867c1cede7ee Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-12hs-test: skip building images if no new changesAdrian Villin1-0/+20
- skip building if new changes are .go, .sum, .mod, .txt, .test, IP address files or dotfiles Type: test Change-Id: Ib041a077fa34120e86ebb43cd19e50142ef01f16 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-12hs-test: update docs, makefile, maintainersAdrian Villin3-16/+29
- don't run 'make list-tests' after 'make help' Type: docs Change-Id: I1b2ae02faf53b072b96c91f2e1fead52128f4710 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-12hs-test: added a test counter and time elapsedAdrian Villin1-0/+14
- only works when not running in parallel Type: test Change-Id: Iab9881f8a2a93c6ef5129742e3c0ad950f9e5328 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-12hs-test: fix a runtime errorAdrian Villin1-2/+6
- framework panicked if core_pattern was set to "core" Type: test Change-Id: I14211cc59779090a61e6e08a18d16fd7399b2bed Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-11hs-test: fix nginx http3 dockerfileAdrian Villin1-1/+1
- now working with UBUNTU_VERSION=24.04 Type: test Change-Id: I60aa62b8dcf3e96392af7179925e0f0fa3e15f11 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-11hs-test: replaced container/interface getter funcAdrian Villin22-374/+378
- replaced s.GetContainerByName("xyz") with s.Containers.Xyz in tests and suites - same thing for interfaces - each suite has its own structs with containers/interfaces - structs are initialized in SetupSuite Type: test Change-Id: I5bd99605b40921b7b8c844e8650f6fb0915e9e99 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-10hs-test: added multi-threaded proxy testsAdrian Villin8-52/+176
- TCP and UDP iperf proxy tests added Type: test Change-Id: Ic6f429cc6d48388ce9a17f8b9cd7c4b54b9a7e4d Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-10hs-test: skip vppctl assert on teardownAdrian Villin1-1/+18
- core dump check would get skipped if vpp crashed and vppctl was called on teardown Type: test Change-Id: I9dda7036042158332c8ec815f6eb4bb3c2f7000f Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-10http: fix http_free_header_tableMatus Fabian1-0/+10
Type: fix Change-Id: I014aebc84d0c219cc0c99120e9cd51fcc520a41c Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-12-10http: connection upgrade mechanismMatus Fabian2-9/+65
Handle "Connection" and "Upgrade" headers in http transport layer which are used to create a tunnel for some other protocol on the same connection. Type: improvement Change-Id: Icf5479f36fbcc7259b157eaad957211be5ea2aae Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-12-10hs-test: arm supportMatus Fabian13-23/+44
CPU arch dependencies cleanup. Everything works fine apart from redis-benchmark test. Type: test Change-Id: I4a1e7d3bce994f6ea0681e06955ef9c621468642 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-12-10hs-test: improved iperf testingAdrian Villin4-11/+125
- set iperf to json output - added iperf json parsing function - we can now check if iperf transferred more than X megabytes (other asserts can be added) Type: test Change-Id: I560104a153456b46f22a1affee4301018063b99d Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-10hs-test: remove client app retriesAdrian Villin1-22/+12
- simple fix to avoid apps trying to start after a test timeout/interrupt Type: test Change-Id: I4e6fcbb2bb00c07e35cda1ebf6fcb76a913f7a32 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-12-08http: http_decap_udp_payload_datagram fixMatus Fabian1-1/+1
Properly handle incomplete capsule. Type: fix Change-Id: Ied7fca861f02e401451beaff09e612bcf471d8e0 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-27hs-test: added ldp iperf tcp testAdrian Villin2-6/+13
- renamed other iperf tests Type: test Change-Id: I9cc7b49f23e9e0c6a01d2f74aef722d580478f75 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-27hs-test: don't use reserved UDP ports for bindingAdrian Villin1-2/+36
Type: test Change-Id: Ief0d238bbbf533779618b971f01099aa113c1c08 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-22hs-test: added multithreaded vpp proxy testsAdrian Villin6-16/+67
- if a test is named '...MTTest', 3 cpus will be allocated to vpp - updated docs Type: test Change-Id: I756dfb6cdbff4368d606ca3abbc1a510cd1d6b51 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-21hs-test: added tls tcp iperf testAdrian Villin2-5/+23
Type: test Change-Id: I7ed1a6dea644eb19b8022db07344503121e61517 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-21hsa: added request repeating to http clientAdrian Villin2-2/+78
- added request repeating (repeat <count>|duration <seconds>) - added basic stats Type: feature Change-Id: Ic69eac8029eac31ea5ace5b5c0da1ce7a3543ac0 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-18hs-test: udp proxy testing infraMatus Fabian2-0/+215
Type: test Change-Id: Ib32a48429312a771c6ebe8022c7bdbccdde3a36f Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-14hs-test: reduce curl image sizeMatus Fabian1-2/+1
before: REPOSITORY TAG IMAGE ID CREATED SIZE hs-test/curl latest 4eededa5f68a 27 minutes ago 973MB now: REPOSITORY TAG IMAGE ID CREATED SIZE hs-test/curl latest 1a8faf0cbf8b About a minute ago 110MB Type: improvement Change-Id: I7da5f5f26c3738e022225b1bb66d75f748074496 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-14http: state machine improvementMatus Fabian1-3/+3
Split in two, one for rx and second for tx, which is more suitable for http tunnels. Updated state names too, some of them were bit confusing. Type: improvement Change-Id: I2310deaa49196819f9d8147a5d9af188465dbd65 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-14hs-test: fix memleak testingMatus Fabian1-1/+1
Type: fix Change-Id: I8d88fc5ccb37cc18c785b5dca47c7f66afefb73a Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-04hsa: added GET method to clientAdrian Villin1-9/+93
Type: improvement Change-Id: I46f7e1e2b509a463ff4b2492bf6412b67a1afdc4 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-01http: CONNECT method for tunnellingMatus Fabian1-9/+27
Type: improvement Change-Id: I6af16ddcc6734bb831227ce65cb39e87294fc4cd Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-10-29http: "absolute-form" target URL parsingMatus Fabian3-19/+8
Type: improvement Change-Id: If39680a148d39add40433547369b2ddad3c2e226 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-10-26vppapigen: fix f-string in crccheckerOle Troan1-2/+5
Type: fix Change-Id: I9ae35b34cfd7de96726aa0b45987a896783ef7e0 Signed-off-by: Ole Troan <otroan@employees.org>
2024-10-25http: pass timeout using extended configMatus Fabian2-3/+35
App can now pass http connection timeout using extended configuration, ext cfg type TRANSPORT_ENDPT_EXT_CFG_HTTP, value (in seconds) set in ext cfg member opaque. It is optional, default value is 60 seconds. Type: improvement Change-Id: Ibeff4bbd3153421be350ff564ec3c8e52e5b9639 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-10-15hs-test: various improvementsAdrian Villin15-42/+53
- fixed timed out/panicked tests not copying logs to CI archives - fixed log formatting - renamed SuiteTimeout to TestTimeout - fixed ginkgo node leak on test timeout -> added AssertChannelClosed - updated docs Type: test Change-Id: Ia71d765bd61576230a4cfd26d4b14fd1be1692c7 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-10-14http: Content-Length value parsing improvementMatus Fabian1-1/+1
Type: improvement Change-Id: Ida8ca43b5fed41fc0b13a2dde97e7e35c55283c9 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-10-14hs-test: http_static wrk testsMatus Fabian1-1/+35
Type: test Change-Id: I87cddb88f2a62e79d66832827134ddaa95740839 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-10-10hs-test: added dry run modeAdrian Villin18-129/+296
- DRYRUN=true will set up most containers. Some need to be started manually (curl, nginx...). The framework will create a vpp-config file with interface configs that will get executed on VPP startup. - set Ginkgo to use -v instead of -vv when running a single test - s.Log() now supports formatting - added 'useEnvVars' parameter to container.Exec Type: test Change-Id: Id1da7947a1448ee4b74b86cc4f243442256a5ba8 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-10-09hs-test: support running multiple specific testsAdrian Villin2-13/+16
- make test TEST=[test1],[test2] runs those two tests in random order Type: test Change-Id: I1a1af7c99ef7867ca94cec4175605f428dcd58fd Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-10-07hs-test: force test failure when vpp core presentMatus Fabian1-6/+11
Type: test Change-Id: I874ee185a51dda9b620f3b783e466b8e88600d18 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-10-04hs-test: fix core_pattern volume mountsFlorin Coras1-3/+7
If system is configured to use something like apport, avoid mounting. Type: fix Change-Id: I6af900bd334acba974c9c4ae30c3b2ce26d1f49b Signed-off-by: Florin Coras <fcoras@cisco.com>
2024-10-03hs-test: prom consecutive connections testMatus Fabian2-26/+42
Type: test Change-Id: Ide4571dd8ac9bcb64fcd5ba408b6d1f99d34185f Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-10-03hs-test: added nginx multi-thread testsAdrian Villin16-202/+168
- added Dockerfile.envoy - removed nginx vcl.conf file as it's created by the framework now Type: test Change-Id: I5f2be015c864c8d2aa938a22b1abece64989999b Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-10-03hs-test: use nginx 1.26.2 for NginxHttp3TestAdrian Villin9-47/+46
- test is no longer marked as extended - no building required -> removed nginx build scripts Type: test Change-Id: I1814b1e4b7e514f81797efa3b5c1e818d2fe4cda Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-09-28hs-test: replaced gofmt with goimportsAdrian Villin17-25/+51
- goimports properly formats imports Type: test Change-Id: I78c162dd552fd3ee3d59955d7ea215af30601425 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-09-20hs-test: proxy testing improvementsMatus Fabian9-33/+75
- nginx and curl timeouts are extended if debug flag is set - added write-out for curl (outputs extra info after transfer is done) Type: test Change-Id: I3f6c336a14cd00b9ae8669d2fa26e00709162100 Signed-off-by: Matus Fabian <matfabia@cisco.com>