summaryrefslogtreecommitdiffstats
path: root/test/travis_before_linux.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* CI: Fix borked test for perl -V in r1921308.Joe Orton2024-10-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1921309 13f79535-47bb-0310-9956-ffa450edef68
* CI: Second attempt to fix stale XS cache issue.Joe Orton2024-10-141-7/+15
| | | | | | | 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
* CI: Flush the CPAN cache if /usr/bin/perl has been updated sinceJoe Orton2024-10-141-0/+7
| | | | | | | | | | | | | | | | | 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: https://github.com/Perl/perl5/blob/77b78882c76e7461ccc4dcf2eb3afb9644836a72/pod/perldiag.pod#L3617 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1921307 13f79535-47bb-0310-9956-ffa450edef68
* CI: Fix OpenSSL tarball download URLs after openssl.org site refreshJoe Orton2024-07-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | 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
* CI: For LDAP tests, switch to using OpenLDAP slapd running onJoe Orton2024-05-301-1/+1
| | | | | | | | | CentOS Stream 9. Github: closes #450 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918059 13f79535-47bb-0310-9956-ffa450edef68
* CI: add OpenSSL 3.2, test OpenSSL 3.x using Apache::TestJoe Orton2024-03-011-0/+7
| | | | | | | trunk to pick up r1916067. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916068 13f79535-47bb-0310-9956-ffa450edef68
* CI: Add OpenSSL 3.1 builds, including a no-engine build.Joe Orton2024-02-291-1/+1
| | | | | | | | | | (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
* CI tweaks:Joe Orton2024-02-291-7/+3
| | | | | | | | | | - 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
* CI: Enable caching for the rustls install used for mod_tls testing.Joe Orton2024-02-291-0/+12
| | | | | | | Github: closes #416 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916052 13f79535-47bb-0310-9956-ffa450edef68
* * Fix .gdbinit directory locationRuediger Pluem2023-10-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913441 13f79535-47bb-0310-9956-ffa450edef68
* * .gdbinit is one level deeperRuediger Pluem2023-10-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913439 13f79535-47bb-0310-9956-ffa450edef68
* Use 'git clone' rather than 'svn export' in CI scripts.Joe Orton2023-07-051-32/+3
| | | | | | | | | | 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
* CI: re-add TEST_H2 apr cache ignore, still needed. :(Stefan Eissing2023-06-011-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910165 13f79535-47bb-0310-9956-ffa450edef68
* CI: re-enable apr caching for TEST_H2, require newer curl for test_h2_601_05Stefan Eissing2023-06-011-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910164 13f79535-47bb-0310-9956-ffa450edef68
* CI: force reset of cached apr for TEST_H2, it seems to be brokenStefan Eissing2023-06-011-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910163 13f79535-47bb-0310-9956-ffa450edef68
* Further migration of tests to GHA, though HTTP/2, ACME andJoe Orton2023-02-071-11/+13
| | | | | | | | 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
* Migrate more tests to Github Actions.Joe Orton2023-02-031-0/+1
| | | | | | | Github: fixes #340, fixes #339 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907235 13f79535-47bb-0310-9956-ffa450edef68
* Prep for GitHub actions: move CPAN handling into test scripts,Joe Orton2023-01-091-2/+17
| | | | | | | don't reference /home/travis directly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906480 13f79535-47bb-0310-9956-ffa450edef68
* Add Travis job against OpenSSL 3 with -Werror but with deprecationJoe Orton2021-12-151-0/+3
| | | | | | | | 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
* Add Travis job for 2.4.x against OpenSSL 3, using APR 1.7/apr-util 1.6.Joe Orton2021-12-131-5/+10
| | | | | | | | 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
* Add Travis build job building/testing mod_ssl against OpenSSL 3.Joe Orton2021-12-101-0/+24
| | | | | | | Github: closes #282 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895787 13f79535-47bb-0310-9956-ffa450edef68
* * Allow to load /home/travis/build/apache/httpd/.gdbinitRuediger Pluem2021-07-131-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891497 13f79535-47bb-0310-9956-ffa450edef68
* Update Travis LDAP testing to use a CentOS based container, pulledJoe Orton2021-01-291-1/+1
| | | | | | | | | | | 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
* For TEST_SSL=1 runs, test SSLSessionCache with shmcb, memcachedJoe Orton2020-07-071-0/+7
| | | | | | | | 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
* Add workaround for IPv6 configuration on non-x86 hosts which Joe Orton2020-06-231-0/+10
| | | | | | | | 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
* For diagnosing weird non-x86 failures, dump /etc/hosts in future runs. [skip ci]Joe Orton2020-06-191-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878993 13f79535-47bb-0310-9956-ffa450edef68
* Update Travis LDAP testing to use new container setup scriptJoe Orton2020-06-161-6/+5
| | | | | | | provided by test framework. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878889 13f79535-47bb-0310-9956-ffa450edef68
* Add Travis job which runs slapd in a container to allow testingJoe Orton2020-06-091-0/+10
| | | | | | | | | 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
* For future debugging ease, output the Travis tag & branch. [skip ci]Joe Orton2020-03-311-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875923 13f79535-47bb-0310-9956-ffa450edef68
* Switch to using httpd-tests git repo.Joe Orton2020-03-031-17/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874716 13f79535-47bb-0310-9956-ffa450edef68
* Back off a little when svn export is timing out.Joe Orton2020-02-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874128 13f79535-47bb-0310-9956-ffa450edef68
* Cache SVN checkout of test/framework across Travis builds. ShouldJoe Orton2020-01-061-4/+21
| | | | | | | | | | 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
* test/travis_before_linux.sh: increase backoff time before executing svn exportLuca Toscano2020-01-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872309 13f79535-47bb-0310-9956-ffa450edef68
* Work around a build failure when a cached APR branch installJoe Orton2019-12-301-0/+4
| | | | | | | | | | | | 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
* test/travis_before_linux.sh: move retry logic to functionLuca Toscano2019-12-291-9/+25
| | | | | | | | | | 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
* test/travis_before_linux.sh: make for loop more resilientLuca Toscano2019-12-281-2/+10
| | | | | | | | | | | | | 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
* test/travis_before_linux.sh: remove bash -e flagLuca Toscano2019-12-221-1/+1
| | | | | | | | | | | 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
* test/travis_before_linux.sh: add a simple bash retry to svn exportLuca Toscano2019-12-221-1/+8
| | | | | | | | | | 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
* Support travis builds against APR/APR-util non-trunk branches.Joe Orton2019-11-211-42/+41
| | | | | | | 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
* Add shared-mpms build, add build against APR trunk (httpd trunk only).Joe Orton2019-11-081-7/+18
| | | | | | | 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
* Add Travis support for multiple APR/APR-util versions.Joe Orton2019-11-081-1/+35
| | | | | | | 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
* Move before/run scripts out of .travis.yml.Joe Orton2019-11-061-0/+5
Reviewed by: elukey git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869459 13f79535-47bb-0310-9956-ffa450edef68