mirror of https://github.com/wolfSSL/wolfssl.git
The scripts that wait for a server to publish its ready file declare counter at file scope and never reset it, so the retry budget is shared by every server start in the script instead of applying to each one. Once the early cases have used it up, every later create_port() falls straight through to "NO ready file ending test", kills a server that was starting normally, and the client then fails with "port number cannot be 0". Retry loops do not help, since the budget is already spent when they run. The failure needs only a build whose server start-up is slow enough to consume a few tenths of a second each time. It showed up in the FIPS dev-no-POST kernel-settings-all-pqc-asm job, where the server pays for the CASTs, the PQC algorithms and the vector-register fallback fuzzer: psk.test gave up after exactly 20 waits and tls13.test after exactly 51, both the full script budget rather than a per-case one. Reset counter where the wait begins, which is what the ocsp-stapling scripts already do. Reproduced with a wrapper that delays the server by one second: psk.test then fails on its third case before the change and passes after it. |
||
|---|---|---|
| .. | ||
| bench | ||
| testdata | ||
| advisory-vex-overlay.example.json | ||
| advisory-vex-overlay.schema.json | ||
| aria-cmake-build-test.sh | ||
| asn1_oid_sum.pl | ||
| benchmark.test | ||
| benchmark_compare.sh | ||
| bomsh_verify.py | ||
| cleanup_testfiles.sh | ||
| crl-gen-openssl.test | ||
| crl-revoked.test | ||
| csaf_validate.mjs | ||
| cwe-names.json | ||
| dertoc.pl | ||
| dtls.test | ||
| dtlscid.test | ||
| external.test | ||
| falcon-interop.c | ||
| gen-advisory | ||
| gen-sbom | ||
| google.test | ||
| include.am | ||
| makedistsmall.sh | ||
| memtest.sh | ||
| multi-msg-record.py | ||
| multi-msg-record.test | ||
| ocsp-responder-openssl-interop.test | ||
| ocsp-stapling-with-ca-as-responder.test | ||
| ocsp-stapling-with-wolfssl-responder.test | ||
| ocsp-stapling.test | ||
| ocsp-stapling2.test | ||
| ocsp-stapling_tls13multi.test | ||
| ocsp.test | ||
| openssl.test | ||
| openssl_srtp.test | ||
| pem.test | ||
| ping.test | ||
| pkcallbacks.test | ||
| psk.test | ||
| resume.test | ||
| rsapss.test | ||
| sbom.am | ||
| sniffer-gen.sh | ||
| sniffer-ipv6.pcap | ||
| sniffer-static-rsa.pcap | ||
| sniffer-testsuite.test | ||
| sniffer-tls12-keylog.out | ||
| sniffer-tls12-keylog.pcap | ||
| sniffer-tls12-keylog.sslkeylog | ||
| sniffer-tls13-dh-resume.pcap | ||
| sniffer-tls13-dh.pcap | ||
| sniffer-tls13-ecc-resume.pcap | ||
| sniffer-tls13-ecc.pcap | ||
| sniffer-tls13-hrr.pcap | ||
| sniffer-tls13-keylog.out | ||
| sniffer-tls13-keylog.pcap | ||
| sniffer-tls13-keylog.sslkeylog | ||
| sniffer-tls13-x25519-resume.pcap | ||
| sniffer-tls13-x25519.pcap | ||
| stm32l4-v4_0_1_build.sh | ||
| test_csaf_validate.mjs | ||
| test_gen_advisory.py | ||
| test_gen_sbom.py | ||
| tls13.test | ||
| trusted_peer.test | ||
| tsp.test | ||
| unit.test.in | ||
| user_settings_asm.sh | ||