44 Commits

Author SHA1 Message Date
90536be744 CI: Reintroduce timeout/retry handling for "svn export" specific to
Apache::Test handling.

Github: closes #536


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926174 13f79535-47bb-0310-9956-ffa450edef68
2025-06-06 11:50:43 +00:00
65d5f9ee6c CI: Use the git commit hash to determine the revision of APR/APR-util
from the github repos, and build exactly that, rather than relying on SVN:
 - works if apr/apr-util moves to a r/w git in the future
 - removes a race for branches where the git revision tested
 could be different to the SVN revision retrieved before

Github: closes #528


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924958 13f79535-47bb-0310-9956-ffa450edef68
2025-04-09 10:17:24 +00:00
e6eb73b84e CI: Fix borked test for perl -V in r1921308.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1921309 13f79535-47bb-0310-9956-ffa450edef68
2024-10-14 14:10:19 +00:00
e8518dc75d CI: Second attempt to fix stale XS cache issue.
Cache the "perl -V" output and flush the cache if it changes.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1921308 13f79535-47bb-0310-9956-ffa450edef68
2024-10-14 14:08:21 +00:00
c34a276aea CI: Flush the CPAN cache if /usr/bin/perl has been updated since
the cache was built. Possible fix for 2.4.x failure seen here:

https://github.com/apache/httpd/actions/runs/11322484507/job/31483266212

SSLeay.c: loadable library and perl binaries are mismatched (got first handshake key 0xeb00080, needed 0xf380080)

perldiag(1) describes this as a mismatch between libraries and binaries,
likely solved by reinstalling XS modules:

77b78882c7/pod/perldiag.pod (L3617)



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1921307 13f79535-47bb-0310-9956-ffa450edef68
2024-10-14 13:53:01 +00:00
4eee244d55 CI: Fix OpenSSL tarball download URLs after openssl.org site refresh
CI: Update to latest OpenSSL releases.
CI: Build OpenSSL with RPATH set so that the installed ./bin/openssl works
without LD_LIBRARY_PATH set.

Use LD_RUN_PATH during the httpd build to achieve the same with binaries
from the httpd build, but unset it after so that it doesn't affect running
e.g. php-fpm or perl later. Should fix warning from logs when php-fpm
is executed --

[26-Jul-2024 07:43:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/lib/php/20210902/curl.so (/lib/x86_64-linux-gnu/libcurl.so.4: undefined symbol: ENGINE_init, version OPENSSL_3.0.0), /usr/lib/php/20210902/curl.so.so (/usr/lib/php/20210902/curl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

CI: Test that php-fpm works if available before testing.
CI: For paranoia/future debugging, log the OpenSSL version from compile-time
and run-time as reported by mod_ssl.

Github: closes #466


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919524 13f79535-47bb-0310-9956-ffa450edef68
2024-07-26 09:14:40 +00:00
84ecd2f2b9 CI: For LDAP tests, switch to using OpenLDAP slapd running on
CentOS Stream 9.

Github: closes #450


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918059 13f79535-47bb-0310-9956-ffa450edef68
2024-05-30 14:48:21 +00:00
2361315143 CI: add OpenSSL 3.2, test OpenSSL 3.x using Apache::Test
trunk to pick up r1916067.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916068 13f79535-47bb-0310-9956-ffa450edef68
2024-03-01 10:15:13 +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
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
08ab87e8ba * Fix .gdbinit directory location
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913441 13f79535-47bb-0310-9956-ffa450edef68
2023-10-30 15:02:00 +00:00
613f78d88e * .gdbinit is one level deeper
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913439 13f79535-47bb-0310-9956-ffa450edef68
2023-10-30 14:43:12 +00:00
6e1ef69a90 Use 'git clone' rather than 'svn export' in CI scripts.
Drop unused run_svn_export.
Run git clone with -q throughout.

Github: closes #368


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910790 13f79535-47bb-0310-9956-ffa450edef68
2023-07-05 10:09:57 +00:00
ff424779a5 CI: re-add TEST_H2 apr cache ignore, still needed. :(
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910165 13f79535-47bb-0310-9956-ffa450edef68
2023-06-01 13:01:28 +00:00
87689f6463 CI: re-enable apr caching for TEST_H2, require newer curl for test_h2_601_05
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910164 13f79535-47bb-0310-9956-ffa450edef68
2023-06-01 12:59:09 +00:00
69003456a5 CI: force reset of cached apr for TEST_H2, it seems to be broken
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910163 13f79535-47bb-0310-9956-ffa450edef68
2023-06-01 12:50:30 +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
078e5a9cab Migrate more tests to Github Actions.
Github: fixes #340, fixes #339


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907235 13f79535-47bb-0310-9956-ffa450edef68
2023-02-03 11:28:51 +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
590eb5905d Add Travis job against OpenSSL 3 with -Werror but with deprecation
warnings disabled.
Be careful to remove the previous OpenSSL install prefix is rebuilding.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895982 13f79535-47bb-0310-9956-ffa450edef68
2021-12-15 11:37:53 +00:00
daa694675f Add Travis job for 2.4.x against OpenSSL 3, using APR 1.7/apr-util 1.6.
Disable TEST_MALLOC (enabled by accident) for OpenSSL 3 / trunk job.
Restrict OpenSSL 3 / apr trunk build to non-2.4.x.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895905 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 16:24:03 +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
939538607c * Allow to load /home/travis/build/apache/httpd/.gdbinit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891497 13f79535-47bb-0310-9956-ffa450edef68
2021-07-13 06:30:23 +00:00
bdd21c82ea Update Travis LDAP testing to use a CentOS based container, pulled
from quay.io, to avoid the new Docker hub pull rate-limiting which
is causing intermittent failures.

Submitted by: jorton, Lubos Uhliarik <luhliari redhat.com>
Github: closes #167


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1886015 13f79535-47bb-0310-9956-ffa450edef68
2021-01-29 12:42:56 +00:00
d8da86ab6c For TEST_SSL=1 runs, test SSLSessionCache with shmcb, memcached
and redis socache providers.  Force TLSv1.2 for these runs since
TLSv1.3 doesn't use the cache.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879594 13f79535-47bb-0310-9956-ffa450edef68
2020-07-07 16:00:55 +00:00
1b4468534f Add workaround for IPv6 configuration on non-x86 hosts which
appears to fix the connection failures.  Almost certainly a bug
here, not at all sure where.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879103 13f79535-47bb-0310-9956-ffa450edef68
2020-06-23 07:24:03 +00:00
5faf565abe For diagnosing weird non-x86 failures, dump /etc/hosts in future runs. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878993 13f79535-47bb-0310-9956-ffa450edef68
2020-06-19 15:33:19 +00:00
d76121b167 Update Travis LDAP testing to use new container setup script
provided by test framework.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878889 13f79535-47bb-0310-9956-ffa450edef68
2020-06-16 14:07:53 +00:00
3951863427 Add Travis job which runs slapd in a container to allow testing
mod_authnz_ldap, per new test case added in r1878655.

* test/travis_Dockerfile_slapd: New dockerfile for running slapd.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878663 13f79535-47bb-0310-9956-ffa450edef68
2020-06-09 14:50:53 +00:00
30ecef2e87 For future debugging ease, output the Travis tag & branch. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875923 13f79535-47bb-0310-9956-ffa450edef68
2020-03-31 10:08:39 +00:00
20d26e0c6c Switch to using httpd-tests git repo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874716 13f79535-47bb-0310-9956-ffa450edef68
2020-03-03 11:33:43 +00:00
2fe910c05b Back off a little when svn export is timing out.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874128 13f79535-47bb-0310-9956-ffa450edef68
2020-02-17 11:59:28 +00:00
ff26c75f33 Cache SVN checkout of test/framework across Travis builds. Should
improve reliability (the checkout fails frequently) and performance,
plus reduces load on ASF infra.

Github: closes #85


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872372 13f79535-47bb-0310-9956-ffa450edef68
2020-01-06 10:36:39 +00:00
c09b6d3f49 test/travis_before_linux.sh: increase backoff time before executing svn export
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872309 13f79535-47bb-0310-9956-ffa450edef68
2020-01-04 09:23:10 +00:00
a604fac5d9 Work around a build failure when a cached APR branch install
is used but APR-util needs to be rebuilt; currently this fails
because the APR build directory is not available.

e.g. https://travis-ci.org/apache/httpd/jobs/630885203

Disable caching for this combination for now.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872106 13f79535-47bb-0310-9956-ffa450edef68
2019-12-30 11:26:21 +00:00
6786fbf847 test/travis_before_linux.sh: move retry logic to function
Move the retry logic to a bash function and restore the -e
failure policy in the script (to have cleaner log traces
in base of build failures).



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872073 13f79535-47bb-0310-9956-ffa450edef68
2019-12-29 10:27:50 +00:00
2688e472ff test/travis_before_linux.sh: make for loop more resilient
This is a follow up to my last commit to this file, to make
the for loop more resilient with the following:
- use --force in svn export, otherwise the second attempt will
  always fail due to the dest directory already present.
- exit 1 in case the 5 tries end up in a non zero exit code
  (to fail fast the build).



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872045 13f79535-47bb-0310-9956-ffa450edef68
2019-12-28 08:29:30 +00:00
250e722770 test/travis_before_linux.sh: remove bash -e flag
To allow a proper fail/retry, -e needs to be removed.
Ideally this shouldn't happen, so I'd consider this
a test to see if the bash for workaround is a viable
option or not.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1871908 13f79535-47bb-0310-9956-ffa450edef68
2019-12-22 10:45:03 +00:00
e4aa805aba test/travis_before_linux.sh: add a simple bash retry to svn export
Sometimes a build is killed by Travis due to svn export taking
a long time to complete (> 10m). This change should be a test to see
if a simple workaround reduces the noise to the dev@ mailing list.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1871907 13f79535-47bb-0310-9956-ffa450edef68
2019-12-22 10:30:59 +00:00
e18b2f5a72 Support travis builds against APR/APR-util non-trunk branches.
Add job for APR 1.7.x + APR-util 1.7.x.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1870077 13f79535-47bb-0310-9956-ffa450edef68
2019-11-21 09:30:34 +00:00
53ec69f3ca Add shared-mpms build, add build against APR trunk (httpd trunk only).
Fix handling and ensure safe caching of APR trunk build.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869564 13f79535-47bb-0310-9956-ffa450edef68
2019-11-08 14:29:17 +00:00
5602cda609 Add Travis support for multiple APR/APR-util versions.
Add an APR build with --enable-pool-debug.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869533 13f79535-47bb-0310-9956-ffa450edef68
2019-11-08 09:46:50 +00:00
d5e989b778 Move before/run scripts out of .travis.yml.
Reviewed by: elukey


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869459 13f79535-47bb-0310-9956-ffa450edef68
2019-11-06 11:45:21 +00:00