CI: run everything pytest-able and various cleanups - #701
Open
notroj wants to merge 5 commits into
Open
Conversation
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 4, 2026
…rignals. [skip ci] GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936869 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 4, 2026
suites via test/run-all-tests.sh against the check/ build tree. (PHONY_TARGETS): Add check-pytest and check-all-pytest. * test/run-all-tests.sh: Document PYHTTPD_CONFIG. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936870 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 4, 2026
register_argc_argv so PHP tests see $_SERVER['argc']/['argv'] under FPM, which mod_php's config for this never actually reached. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936871 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 4, 2026
resolve() the httpd path before deriving ab's; it follows the check/bin/httpd symlink out of the check/ tree, so ab was never found there. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936872 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 4, 2026
Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936873 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 4, 2026
jobs together. No functional change. [skip ci] Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936874 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 4, 2026
Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936875 13f79535-47bb-0310-9956-ffa450edef68
notroj
force-pushed
the
ci-more-pytesting
branch
2 times, most recently
from
August 7, 2026 13:24
a478c46 to
3e0a8ae
Compare
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 7, 2026
variable. Fixes: 01a5969 (SVN r1936849) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936968 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 7, 2026
t/conf/cacheroot/, t/htdocs/modules/autoindex2/, t/htdocs/modules/substitute/test.txt, and t/state/. * test/pytest_suite/t/htdocs/apache/cfg_getline/.htaccess, authz_core/a/.htaccess, authz_core/a/b/.htaccess, authz_core/a/b/c/.htaccess: Remove stale generated content that had been committed by mistake. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936969 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 7, 2026
instead of just checking the config string is non-empty. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936973 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 7, 2026
* test/pytest_suite/conftest.py (framework): Record error_log's size before httpd starts, as session_log_start. * test/pytest_suite/tests/t/modules/test_proxy_beacon.py (test_proxy_beacon): Scope the "added backend" log check to session_log_start instead of the per-test window or byte 0. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936976 13f79535-47bb-0310-9956-ffa450edef68
notroj
force-pushed
the
ci-more-pytesting
branch
from
August 7, 2026 15:51
aa66436 to
9a0a827
Compare
notroj
added a commit
to notroj/httpd
that referenced
this pull request
Aug 7, 2026
…rignals. [skip ci] GitHub: PR apache#701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936869 13f79535-47bb-0310-9956-ffa450edef68
notroj
added a commit
to notroj/httpd
that referenced
this pull request
Aug 7, 2026
suites via test/run-all-tests.sh against the check/ build tree. (PHONY_TARGETS): Add check-pytest and check-all-pytest. * test/run-all-tests.sh: Document PYHTTPD_CONFIG. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR apache#701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936870 13f79535-47bb-0310-9956-ffa450edef68
notroj
added a commit
to notroj/httpd
that referenced
this pull request
Aug 7, 2026
register_argc_argv so PHP tests see $_SERVER['argc']/['argv'] under FPM, which mod_php's config for this never actually reached. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR apache#701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936871 13f79535-47bb-0310-9956-ffa450edef68
notroj
added a commit
to notroj/httpd
that referenced
this pull request
Aug 7, 2026
resolve() the httpd path before deriving ab's; it follows the check/bin/httpd symlink out of the check/ tree, so ab was never found there. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR apache#701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936872 13f79535-47bb-0310-9956-ffa450edef68
notroj
added a commit
to notroj/httpd
that referenced
this pull request
Aug 7, 2026
Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR apache#701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936873 13f79535-47bb-0310-9956-ffa450edef68
notroj
added a commit
to notroj/httpd
that referenced
this pull request
Aug 7, 2026
jobs together. No functional change. [skip ci] Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR apache#701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936874 13f79535-47bb-0310-9956-ffa450edef68
notroj
added a commit
to notroj/httpd
that referenced
this pull request
Aug 7, 2026
Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR apache#701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936875 13f79535-47bb-0310-9956-ffa450edef68
Covers RFC 2617 challenge/response, nonce lifecycle (tamper/stale/ expiry/one-time), AuthDigestNcCheck, AuthDigestDomain, provider fallback, and config-time validation. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
* test/travis_run_linux.sh: Replace TEST_CORE/TEST_PROXY/TEST_H2 with one TEST_PYTEST block, running `make check-all-pytest` over every test/modules/*/ suite except modules/md (needs an ACME/pebble server not available here). Keep the old TEST_MD/pebble logic for reference, under a conditional that is never set. * .github/workflows/linux.yml: Replace the "HTTP/2 test suite" job and the disabled "ACME test suite" job with one "Python pytest test suites" job setting TEST_PYTEST=1. Drop TEST_INSTALL: check-all-pytest tests the check/ build tree directly. Drop the python3-pytest/ python3-cryptography/etc. packages, since both suites now manage their own dependencies via uv; install uv from the Ubuntu package instead. Capture the new suites' error logs as failure artifacts. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
an Ubuntu package, so the shared "Install prerequisites" apt-get command was failing outright. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
and ASan pool-debug jobs. Move pipx and curl into the always-installed base packages; add nghttp2-client to the ASan jobs. * test/travis_run_linux.sh: Exclude modules/http2 from the pytest run when mod_http2.so wasn't built. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
@STATEDIR@ config template variable. * test/pytest_suite/t/conf/cache.conf.in, tests/t/modules/test_cache.py: Use @STATEDIR@/cacheroot/ for CacheRoot, instead of t/conf/cacheroot. * test/pytest_suite/.gitignore: Drop the now-obsolete t/conf/cacheroot/ entry. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
notroj
force-pushed
the
ci-more-pytesting
branch
from
August 10, 2026 10:23
9a0a827 to
d180293
Compare
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 10, 2026
@STATEDIR@ config template variable. * test/pytest_suite/t/conf/cache.conf.in, tests/t/modules/test_cache.py: Use @STATEDIR@/cacheroot/ for CacheRoot, instead of t/conf/cacheroot. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937025 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Aug 10, 2026
* test/travis_run_linux.sh: Replace TEST_CORE/TEST_PROXY/TEST_H2 with one TEST_PYTEST block, running `make check-all-pytest` over every test/modules/*/ suite except modules/md (needs an ACME/pebble server not available here) and mod_http2 if not built. * .github/workflows/linux.yml: Replace the "HTTP/2 test suite" job and the disabled "ACME test suite" job with one "Python pytest test suites" job setting TEST_PYTEST=1. Drop TEST_INSTALL: check-all-pytest tests the check/ build tree directly. Drop the python3-pytest/ python3-cryptography/etc. packages, since both suites now manage their own dependencies via uv; install uv via pipx instead. Set TEST_PYTEST=1 for the UBSan, ASAN jobs. * test/README.ci: Updated. Assisted-by: Claude Sonnet 5 <noreply@anthropic.com> GitHub: PR #701 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937026 13f79535-47bb-0310-9956-ffa450edef68
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.