moonchen opened a new issue, #13319:
URL: https://github.com/apache/trafficserver/issues/13319
The `pqsi-pqsp` gold test (`tests/gold_tests/logging/pqsi-pqsp.test.py`) is
flaky on CI: it verifies the `%<pqsi>`/`%<pqsp>` log fields by issuing a
cache-miss request followed by a cache-hit request and comparing the logged
output to `gold/pqsi-pqsp.gold`. The cache-miss request is expected to log the
IP and source port of the proxy's connection to the origin (`127.0.0.1
<port>`), which the test masks with `sed '1s/^127.0.0.1 [1-6][0-9]*$$/abc/'`
before the comparison. When `pqsi`/`pqsp` instead report `0` for the cache-miss
request — the intermittent behavior reported in #11037 — the first log line is
`0 0`, the mask does not apply, and the gold comparison fails. It passes on
re-run with no code change.
```
Test : Checking that ReturnCode == None - Failed
Run: 3-tr: Failed
Process: Default: Failed
Test : Checking that ReturnCode == 0 - Failed
file .../pqsi-pqsp/_output/3-tr-Default/stream.stdout.txt : Checking
that .../stream.stdout.txt matches gold/pqsi-pqsp.gold - Failed
```
--
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]