Commit Graph

79 Commits

Author SHA1 Message Date
c8a9d21e0c * mod_tls: update version of rustls-ffi to v0.13.0.
[Daniel McCarney (@cpu}]



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1917270 13f79535-47bb-0310-9956-ffa450edef68
2024-04-22 13:55:22 +00:00
f65a498b3b CI: Add OpenSSL 3.1 builds, including a no-engine build.
(attempt to use 3.2 failed, unsure why)
- add OpenSSL build binaries to $PATH 

Github: closes #415


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916058 13f79535-47bb-0310-9956-ffa450edef68
2024-02-29 15:33:38 +00:00
0e7a32bcd4 Fix regression in r1916055 - don't duplicate logic in _run_linux.sh
from _before_linux.sh in whether the perl-framework is used/needed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916056 13f79535-47bb-0310-9956-ffa450edef68
2024-02-29 14:11:49 +00:00
a1f6da9855 CI tweaks:
- don't install CPAN modules if NO_TEST_FRAMEWORK is set
- remove the workaround for mod_h2 APR build caching which
  should no longer be necessary now caching is fixed
- fix capturing specific perl-framework failures with "TEST -v" mode


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916055 13f79535-47bb-0310-9956-ffa450edef68
2024-02-29 14:00:55 +00:00
39e25a4a18 CI: Enable caching for the rustls install used for mod_tls testing.
Github: closes #416


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916052 13f79535-47bb-0310-9956-ffa450edef68
2024-02-29 13:19:26 +00:00
c76ebdba43 Minor CI changes:
- Add --enable-reduced-exports test.
- test running apachectl -V in the TEST_INSTALL case
- test running httpd -V in the SKIP_TESTING case
- rejig to exit if SKIP_TESTING, un-nest the if block around testing
  (no functional change from this part)

Github: closes #405


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915513 13f79535-47bb-0310-9956-ffa450edef68
2024-02-01 15:34:22 +00:00
56fc7231ae ci: Disable ASan's LeakSanitizer.
The tool sometimes/somehow crashes in CI, though I can't reproduce locally.
Possibly an issue with the gcc toolchain used there.. disable for now as it
makes the tests fail.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913830 13f79535-47bb-0310-9956-ffa450edef68
2023-11-16 10:27:30 +00:00
1cee2017b0 * Systemd based systems might process core dumps via systemd-coredump.
But we want to have local unprocessed files.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913437 13f79535-47bb-0310-9956-ffa450edef68
2023-10-30 14:22:05 +00:00
773ddc5a4a pyhttpd: Generate core dumps on crash and show them in the ci eventually.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910668 13f79535-47bb-0310-9956-ffa450edef68
2023-06-28 15:20:40 +00:00
3ed9d65b05 *) mod_http2: added support for bootstrapping WebSockets via HTTP/2, as
described in RFC 8441. A new directive 'H2WebSockets on|off' has been
     added. The feature is by default not enabled.
     As also discussed in the manual, this feature should work for setups
     using "ProxyPass backend-url upgrade=websocket" without further changes.
     Special server modules for WebSockets will have to be adapted,
     most likely, as the handling if IO events is different with HTTP/2.
     HTTP/2 WebSockets are supported on platforms with native pipes. This
     excludes Windows.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910507 13f79535-47bb-0310-9956-ffa450edef68
2023-06-20 12:01:09 +00:00
a088d14c0d tests, re-enable http/2 tests in github workflow, install latest rustls-ffi version
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909563 13f79535-47bb-0310-9956-ffa450edef68
2023-05-02 10:04:21 +00:00
6fc8b4288e rerun failing tests with -v
Submitted by: covener

Github: closes #349


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908531 13f79535-47bb-0310-9956-ffa450edef68
2023-03-19 21:04:00 +00:00
06af1142a6 Stop dumping error_log on failure, since is is now captured
(at least in theory) as an artefact.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908340 13f79535-47bb-0310-9956-ffa450edef68
2023-03-13 09:34:53 +00:00
d7b288dff4 Further migration of tests to GHA, though HTTP/2, ACME and
i386 build testing are all failing so currently disabled.
Caching needs adjusting to use a different model to Travis.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907506 13f79535-47bb-0310-9956-ffa450edef68
2023-02-07 16:15:05 +00:00
6fd241a51b Prep for GitHub actions: move CPAN handling into test scripts,
don't reference /home/travis directly.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906480 13f79535-47bb-0310-9956-ffa450edef68
2023-01-09 09:26:05 +00:00
1e27ffd880 * test: upgrade rustls-ffi version to 0.9.0 which
gets rid of the dependency on cbindgen.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1900875 13f79535-47bb-0310-9956-ffa450edef68
2022-05-14 09:09:01 +00:00
8fbfffd862 *) test: latest plot twist in getting a new-enough cbindgen
on focal and use it for the mod_tls tests.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898372 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 12:29:28 +00:00
cd3d38f4db Revert r1896715 and r1896740 to restore OCPS test.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896891 13f79535-47bb-0310-9956-ffa450edef68
2022-01-10 18:26:43 +00:00
36936e1e30 OCSP test should pass now, revert r1896785.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896890 13f79535-47bb-0310-9956-ffa450edef68
2022-01-10 18:13:17 +00:00
a8fbcf0a40 ocsp failure debugging, still.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896785 13f79535-47bb-0310-9956-ffa450edef68
2022-01-07 10:46:03 +00:00
c150d105f0 Ignore debug logs when checking segfaults. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896784 13f79535-47bb-0310-9956-ffa450edef68
2022-01-07 10:44:24 +00:00
ed611d3754 Revert r1896758 and r1896746 (travis debug temporaries). [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896759 13f79535-47bb-0310-9956-ffa450edef68
2022-01-06 17:16:34 +00:00
ccbbdf3594 Let's see if mod_dumpio gives more ocsp hints..
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896758 13f79535-47bb-0310-9956-ffa450edef68
2022-01-06 17:10:07 +00:00
6356095571 Try to get more perl-framework traces for the ocsp failure on travis.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896746 13f79535-47bb-0310-9956-ffa450edef68
2022-01-06 11:45:58 +00:00
ed21f49011 Try disabling OCSP test before running it (duh).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896740 13f79535-47bb-0310-9956-ffa450edef68
2022-01-06 08:09:04 +00:00
30c11ebbb6 Temporarily disable the OCSP test.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896715 13f79535-47bb-0310-9956-ffa450edef68
2022-01-05 15:43:00 +00:00
5a3f29e602 *) test: when building librustls, force an update to cbindgen as focal seems
to have an really old version.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896034 13f79535-47bb-0310-9956-ffa450edef68
2021-12-16 10:45:39 +00:00
446e161e6c *) test: enabling proxy tests.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896030 13f79535-47bb-0310-9956-ffa450edef68
2021-12-16 09:18:17 +00:00
e2d995aa72 Add Travis build job building/testing mod_ssl against OpenSSL 3.
Github: closes #282


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895787 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 17:17:37 +00:00
d002199454 * travis: installing librustls in $PREFIX and using
it from there.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895456 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 11:54:25 +00:00
ff004f286d * test suite: add an image to test mod_tls on travis
Let's see what the hamsters think of the setup I use
   on a local docker focal.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895451 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 09:50:33 +00:00
9c9fb22508 * test HTTP/2: also run core tests and worker mpm
* test/README.pytest on how to use pytest suite and
   add test cases.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894835 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 14:40:44 +00:00
235928865a * test mod_md, try new gopath first, subshell go install cd
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894617 13f79535-47bb-0310-9956-ffa450edef68
2021-10-29 14:39:46 +00:00
197a5b6d32 * testsuite mod_md: trying explicit GOROOT instead of travis golang-1.11(really?) provided one
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894614 13f79535-47bb-0310-9956-ffa450edef68
2021-10-29 10:49:48 +00:00
cc94d4d012 * test: mod_md, trying to build pebble by explicitly installing golang-1.14
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894613 13f79535-47bb-0310-9956-ffa450edef68
2021-10-29 10:40:30 +00:00
eed172d8a2 * adjust acceptable log errors fro http2 test suite on travis
* disable building of pebble for ACME tests as golang shows trouble



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894612 13f79535-47bb-0310-9956-ffa450edef68
2021-10-29 10:26:40 +00:00
668e6394bd * mod_md test suite with travis setup similar to mod_http2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894611 13f79535-47bb-0310-9956-ffa450edef68
2021-10-29 10:05:29 +00:00
505c4fcb9a * t/modules/http2.t is gone since 1893547. So do not use it any longer in
HTTP/2 tests and remove the dependency on Protocol::HTTP2::Client. 
  Update test/travis_run_linux.sh to handle NO_TEST_FRAMEWORK.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893549 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 11:12:25 +00:00
8e54d2793c No nullglob with ls..
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893478 13f79535-47bb-0310-9956-ffa450edef68
2021-09-20 18:04:22 +00:00
59a5a8d3e5 More of test -n wants a single argument.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893476 13f79535-47bb-0310-9956-ffa450edef68
2021-09-20 16:52:48 +00:00
e711176bde test -n wants a single argument.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893473 13f79535-47bb-0310-9956-ffa450edef68
2021-09-20 15:08:32 +00:00
363472acfd ci: show >debug logs only.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893414 13f79535-47bb-0310-9956-ffa450edef68
2021-09-18 11:25:00 +00:00
aba49a1f74 ci: show non-traceX logs only.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893411 13f79535-47bb-0310-9956-ffa450edef68
2021-09-18 10:59:35 +00:00
58910e2b87 ci: print error_log on perl-framework failure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893410 13f79535-47bb-0310-9956-ffa450edef68
2021-09-18 10:47:06 +00:00
60a609e79a Add HTTP/2 test job to Travis configuration.
Github: closes #262


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1892620 13f79535-47bb-0310-9956-ffa450edef68
2021-08-26 14:41:46 +00:00
3c4211ea72 * Get a full backtrace
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891496 13f79535-47bb-0310-9956-ffa450edef68
2021-07-13 06:26:31 +00:00
1fa837533c * modules/ssl/ssl_engine_init.c (ssl_init_server_certs): Fix use of
encrypted private keys with OpenSSL 3.0.

* test/travis_run_linux.sh: For TEST_SSL, test loading encrypted
  private keys.

Github: closes #{197}


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891138 13f79535-47bb-0310-9956-ffa450edef68
2021-06-29 11:24:17 +00:00
ef2f79e109 other half of command
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1885631 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 23:56:39 +00:00
8b83f96d84 go back globbing butadd nullglob
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1885630 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 23:55:51 +00:00
82630d9fb3 Get Lua dev package from liblua5.3-dev.
Call sysctl though sudo.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1885626 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 22:29:12 +00:00