bryancall opened a new pull request, #14044:
URL: https://github.com/apache/trafficserver/pull/14044

   Backport of [#10664](https://github.com/apache/trafficserver/pull/10664) to 
9.2.x.
   
   The bad_method.gold file for good_request_after_bad pins `Age: 0` on the 501 
that the origin returns for the lowercase `gET` request. Traffic Server 
computes Age in whole seconds, so when a second boundary falls between sending 
the request to the origin and receiving the 501, the response carries `Age: 1` 
and the gold comparison fails. In 106 runs of the 9.2.x branch Uranium job on 
11/9 and 11/10, it failed this way 2 times (builds 815 and 995), both with 
`-Age: 0` / `+Age: 1` as the only literal mismatch. This matches any Age value, 
as master's copy of this gold file already does. The test still requires the 
Age header, the keep-alive 501, the error page and the pipelined 200 that 
follows it.
   
   On 9.2.x the gold tests now run under Uranium, so the one-line change lands 
in tests/uranium_tests/headers/gold/bad_method.gold instead of 
tests/gold_tests/headers/gold/bad_method.gold. The file content before and 
after is identical to upstream's.
   
   Testing, in the Fedora 45 CI image with the CI configure flags:
   - With the origin's 501 delayed by 1.5 s, the unfixed test failed 5 of 5 
runs on the Age line (`Age: 1` or `Age: 2`), and the fixed test passed 5 of 5.
   - The fixed test passed 40 of 40 runs without the delay.


-- 
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]

Reply via email to