aboutsummaryrefslogtreecommitdiffstats
path: root/extras
AgeCommit message (Collapse)AuthorFilesLines
11 dayshttp: 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>
11 dayshs-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>
11 dayshs-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>
11 dayshs-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>
12 dayshttp: 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>
2024-09-20hs-test: debugging utility methodsMatus Fabian2-14/+63
Type: test Change-Id: I0c7e8424e53f1ad1896cd8439027e6081ccfeb28 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-09-18hs-test: containerize iperf testsAdrian Villin4-55/+75
Type: test Change-Id: I2c0bb76d96ccadd5ecfd6a04565420855043699e Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-09-17vcl: add http support to vcl_test_protosAritra Basu1-3/+8
Type: improvement Change-Id: Ibb493f1d7713d0e10b8bd1d5ff17b89967b53b8a Signed-off-by: Aritra Basu <aritrbas@cisco.com>
2024-09-10hs-test: upload via proxy testsMatus Fabian8-17/+69
Type: test Change-Id: Id6b4e2348735081c827f814a814c976b601432ec Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-09-08http: large POST handlingMatus Fabian1-6/+40
Type: improvement Change-Id: I28b8e8ccbff6f97e669b0048011b187decbfc892 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-08-28http: http_state_wait_app_reply improvementMatus Fabian1-4/+19
set http status according to whether app also sent the body Type: improvement Change-Id: Ia41603cc21b410ca6929ec3d3e7c4c6808305769 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-08-27hs-test: added a redis-benchmark testAdrian Villin7-136/+405
- basically a copy of LdpIperf test - small update of LdpIperf test - new LDP suite Type: test Change-Id: I3f8653288c6fc6dfd6a061315e983c000974d3ff Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-08-26hs-test: http tests improvementMatus Fabian5-141/+164
- added http specific asserts - added helper functions to NoTopoSuite Type: test Change-Id: I0a7e77ed3ffd938aa3eaa37ed5432fbaab0dab64 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-08-26hs-test: failed summary fixMatus Fabian1-0/+4
Remove failed-summary.log from the previous run, otherwise it might be displayed if all tests pass. Type: test Change-Id: I435de37e298105ed5b92012fe4da3cda3a0670b6 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-08-23http: status line parsing fixMatus Fabian1-2/+25
Request line must only start with method name and server should ignore at least one empty line (CRLF) received prior to the request-line. Type: fix Change-Id: Ifebd992dc4c13df1a3fabfcdef9e7ee644150a21 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-08-23hs-test: core dump improvementMatus Fabian2-17/+20
- load vpp plugin libraries path in gdb - if core dump deceted change message in summary and show bt Type: test Change-Id: If5d44d29703edd16c816efc9d29e6a7a1b20613a Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-08-23hs-test: assert improvementMatus Fabian1-9/+9
Use ExpectWithOffset so Ginkgo's output point to the line in your test. Type: test Change-Id: Icb32c5be683f935a5e86f25c2ec5a6dfad2ec1ea Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-08-22hs-test: fix incorrect exit statusAdrian Villin3-15/+24
- exit status was incorrect when tests didn't compile - better summary formatting - removed "full stack trace: null" from summary when a test times out Type: test Change-Id: Idd6b6bf3429fc8b704dd2345d257e9bdce1b82b7 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-08-22hs-test: fix after mergeMatus Fabian1-2/+2
Type: test Change-Id: I2a1d35a9e7a6c8e8026388a0baacbc18310f0ba1 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-08-22hs-test: nginx proxy/mirroring test cleanupMatus Fabian9-191/+232
- test moved to proxy_test.go - topology and suite updated to be vpp/envoy proxy compliant Type: test Change-Id: Iabee50b76bb8d96851f831c0b57d0e98dc4b3a5f Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-08-22http_static: added last-modified headerAdrian Villin1-1/+12
Type: improvement Change-Id: I492df92ef25f9c0cd57fc8980500b58bebaa94c6 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-08-22hs-test: proxy testing improvementMatus Fabian14-114/+580
- new container topologies and suites for VPP proxy and Envoy proxy - removed build docker image since it can't be used with CI cache builder, container builders are designed to be stateless, they only preserve build-cache, but not images Type: test Change-Id: I93e4d079780d18d6aa3b5ce807adc4707b6f2d9b Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-08-21hs-test: fix vppinstance logs and disable traceAdrian Villin3-4/+3
- fixed a bug where vppinstance logs would concatenate -> each test now has its own bind mount - removed "--trace" flag to avoid skipped tests printing a full stack trace. They are now only printed in the summary. Type: test Change-Id: Ib7f4254717cc798e456b9fca6f81685c8153ee2d Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-08-21hs-test: generate core dump, fix docker logs in CIAdrian Villin7-84/+283
Type: test Change-Id: Ie1f66cdc061d3eccefc2ce58e977d88a33340038 Signed-off-by: Adrian Villin <avillin@cisco.com>