bryancall opened a new pull request, #14073: URL: https://github.com/apache/trafficserver/pull/14073
The autest-uds CI job on master has failed in every build Jenkins still keeps from after the conversion, 6 of 6 from 11/06 to 11/10, each with the same 18 failed tests and one teardown error. The job last passed on 03/19, when it still ran AuTest. That job runs Uranium with `--curl-uds`: every ATS gets an extra Unix domain socket listener and the `curl` fixture sends its requests through it. No PR job runs that mode, so the breakage went unnoticed after the AuTest to Uranium conversion in [#13545](https://github.com/apache/trafficserver/pull/13545). Most of the failures were the harness. When a test set its own `proxy.config.http.server_ports`, `ATS.start()` still appended the TLS, QUIC and PROXY protocol listeners its options enabled, so a port the test already listed appeared twice and ATS failed to start with status 70. That accounts for 12 of them: the eight `test_connections_throttle_exempt` cases, `test_background_fill`, `test_connect_verifier_http2`, `test_h2_malformed_request_logging` and `test_forwarded`. The harness now appends only the socket to a configured value, as the value is used without UDS, and builds the default with the replay runner's own `_server_ports()`. The rest restore the UDS handling the AuTest versions had: - `test_connect_curl`, the TLS and QUIC cases of `test_early_hints`, and `test_cert_update` skip under UDS. curl drops `--proxy`, and with it `--proxytunnel`, when `--unix-socket` is set, and the clear-text socket cannot carry TLS or QUIC. - `test_stek_share`, `test_test_TSHttpSsnInfo`, `test_post_slow_server` and `test_log_pipe` send their request to the network listener with `curl.run`, as the AuTest versions did. Three are TLS or HTTP/3 requests, and `test_log_pipe` logs `%<hii>`, the address the client connected to. - background_fetch logged `ERROR: [background_fetch] Unknown address family 1` for every Unix socket client when its debug tag was on, which the teardown diags check rejects. It now logs that the client is on a Unix domain socket; the client's end of that socket is unbound, so there is no path to print. cache_fill's copy of that code gets the same change; its tests still skip under UDS, so no test reaches that copy. ## Test plan All runs in `ci.trafficserver.apache.org/ats/fedora:45` with the `branch-urtest-uds` preset, the same build and `urtest.sh --no-run-in-docker -n 2` command the job uses. - Red, unfixed master at 1991c3c115, full suite in UDS mode with `--run-manual`: 25 failed, 1199 passed, 55 skipped, 2 errors. All 19 failures from the CI job reproduce; the other six are manual tests the job skips (`test_traffic_dump_http3` fail and error, five txn_box cases, `test_post_slow_server`). - Red, the new `test_services.py` cases against the old `ats.py`: 2 failed, 49 passed. Both configured-listener cases fail on the duplicated port. - Green, this branch, full suite in UDS mode exactly as the job runs it (`urtest.sh --no-run-in-docker -n 2`): 1219 passed, 66 skipped, 0 failed. That is the job's 1279 tests plus the six new unit tests; the two new skips are `test_connect_curl` and `test_cert_update`. - Green, the 13 touched test files with `--run-manual`: 70 passed, 2 skipped in UDS mode and 72 passed without it. `test_post_slow_server` fails in both modes with a 404, because its remap rule is for `https://localhost` and the request does not send that Host. That is an existing problem in a manual test and is not changed here. - background_fetch in UDS mode logs `Client is on a Unix domain socket` where it used to log `ERROR: [background_fetch] Unknown address family 1`. - The CI job itself, a copy of master/autest-uds pointed at this branch rebased onto aafc7467b7: [experimental/autest-uds-iterate #2](https://ci.trafficserver.apache.org/job/experimental/job/autest-uds-iterate/2/) at b3c3dac734 finished SUCCESS with 1235 passed, 67 skipped, 0 failed (the 16 extra are tests master gained since the first run). Master's last autest-uds run, [#211](https://ci.trafficserver.apache.org/job/master/job/autest-uds/211/), has the 18 failures. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
