← Commit list

14478429e7

Stefan Eissing
Stefan Eissing
2025-12-10
SUCCESS Duration: 206s

Subject

pytest: quiche flakiness

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/http/test_05_errors.py+3 -0
@@ -60,6 +60,9 @@ class TestErrors:
def test_05_02_partial_20(self, env: Env, httpd, nghttpx, proto):
if proto == 'h3' and env.curl_uses_ossl_quic():
pytest.skip("openssl-quic is flaky in yielding proper error codes")
+ if proto == 'h3' and env.curl_uses_lib('quiche') and \
+ not env.curl_lib_version_at_least('quiche', '0.24.5'):
+ pytest.skip("quiche issue #2277 not fixed")
count = 20
curl = CurlClient(env=env)
urln = f'https://{env.authority_for(env.domain1, proto)}' \
tests/http/test_14_auth.py+3 -2
@@ -107,8 +107,9 @@ class TestAuth:
'--basic', '--user', f'test:{password}',
'--trace-config', 'http/2,http/3'
])
- # but apache denies on length limit
- r.check_response(http_status=431)
+ # but apache either denies on length limit or gives a 400
+ r.check_exit_code(0)
+ assert r.stats[0]['http_code'] in [400, 431]
# PUT data, basic auth with very large pw
@pytest.mark.parametrize("proto", Env.http_mplx_protos())
tests/http/testenv/nghttpx.py+0 -1
@@ -247,7 +247,6 @@ class NghttpxQuic(Nghttpx):
'--frontend-quic-early-data',
])
args.extend([
- f'--backend=127.0.0.1,{self.env.https_port};{self._domain};sni={self._domain};proto=h2;tls',
f'--backend=127.0.0.1,{self.env.http_port}',
'--log-level=ERROR',
f'--pid-file={self._pid_file}',