Joe Orton

Not obvious why the worker job is persistently failing in CPAN,

mark it as allowed_failure.

Revert r1879627, the Travis job has now recovered. [skip ci]

Clear cache for the worker job which appears to be in a bad state.

https://travis-ci.org/github/apache/httpd/jobs/705863962

[CTR under Travis exception]

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.

Check for and use gettid() directly if available; glibc 2.30 and later

provides a wrapper for the system call:

* configure.in: Check for gettid() and define HAVE_SYS_GETTID if

gettid() is only usable via syscall().

* server/log.c (log_tid): Use gettid() directly if available.

Adjust for r1879447 to specify shmcb is tested when

TEST_SSL_SESSCACHE is defined. [skip ci]

Add scripts to run memcached/redis via docker, and use env var

to specify which SSLSessionCache setting to test if

TEST_SSL_SESSCACHE is defined.

    • ?
    /test/framework/trunk/scripts/redis-init.sh
    • ?
    /test/framework/trunk/scripts/memcached-init.sh
* modules/ssl/ssl_scache.c (ssl_scache_init): Use <16 character

cname argument for socache ->init() per the API constraint.

Add additional test suite runs for the prefork & event pool-debug builds:

- run with SSLSessionCache defined (after r1879430)

- run with "SSLProtocol TLSv1.2"

Skip the entire test suite if mod_memory_track isn't active

(non-prefork, non-pool-debug builds). Re-indent; no

functional change.

Test shmcb if TEST_SSL_SESSCACHE is defined.

Travis changes:

a) add job to check for empty APLOGNO() macros

b) don't install CPAN stuff if SKIP_TESTING is set

c) don't tail the error_log on test suite failure since it's almost

always irrelevant shutdown stuff and obscures the actual failures

d) use coloured grep output when showing segfaults to make them obvious in the

travis error_log output.

e.g. https://travis-ci.org/github/apache/httpd/jobs/703517978#L2537

Add Travis jobs to test shared-MPMs under APR pool-debug with both event and prefork.

Github: closes #111

Merge r1878993, r1879103 from trunk:

For diagnosing weird non-x86 failures, dump /etc/hosts in future runs.

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.

Merge r1879108, r1879109, r1879113, r1879115, r1879184 from trunk:

Test mod_cgid w/fdpassing.

Fix YAML syntax.

Disable mod_cgi to ensure mod_cgid is really being tested.

Mark fdpassing test as failing.

Add a plain mod_cgid build, explicitly without mod_cgi.

Vote*2. [skip ci]

Add a plain mod_cgid build, explicitly without mod_cgi.

* modules/generators/mod_cgid.c (get_req): Add basic sanity

checking for the structure received in the CGI daemon.

* modules/generators/mod_cgid.c (cgid_handler): Bail immediately with

a 503 response on errors when talking to the daemon. Check the pid

returned is not zero.

Mark fdpassing test as failing.

Disable mod_cgi to ensure mod_cgid is really being tested.

Fix YAML syntax.

Test mod_cgid w/fdpassing.

Add "v6only" Listen option to enable IPV6_V6ONLY in v4mapped builds

where it is otherwise always disabled.

* include/ap_listen.h: Define AP_LISTEN_V6ONLY.

* server/listen.c (make_sock): Set v6only_setting to 1 if

AP_LISTEN_V6ONLY flag is set for the listener.

(parse_listen_flags): Parse "v6only" flag.

PR: 54878

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.

For diagnosing weird non-x86 failures, dump /etc/hosts in future runs. [skip ci]

Merge r1877250, r1878502, r1878654, r1878660, r1878663, r1878889 from trunk:

[under CTR for Travis integration]

Add gcc-10 job, drop gcc-9 config from allow_failures (seems stable again).

Use -O2 for all gcc -Werror jobs otherwise warnings triggered under e.g.

aggressive inlining are not found.

Build with LDAP support for APR 1.x.

Dump end of error_log for test run failures.

Tail more error_log for failed test suite runs in Travis.

Disable all Travis notifications for forks (hopefully).

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.

Update Travis LDAP testing to use new container setup script

provided by test framework.

    • ?
    /httpd/branches/2.4.x/test/travis_Dockerfile_slapd
mod_ldap: Use the LDAP API directly to implement the rebind callback

for modern versions of OpenLDAP, avoiding the overhead of the apr-util

implementation.

* modules/ldap/util_ldap.c:

Define USE_APR_LDAP_REBIND if a modern version of OpenSSL is used.

(uldap_rebind_proc): New function.

(uldap_rebind_init, uldap_rebind_add): Define, using either the

callback or the (bad) APR-util versions.

(uldap_connection_unbind): Clear the rebind pool to remove rebind

references prior to destroying the LDAP *.

Omit for !USE_APR_LDAP_REBIND.

(uldap_connection_init): Use new wrappers, only create the rebind

pool if USE_APR_LDAP_REBIND.

* include/util_ldap.h: Don't include apr_ldap_rebind.h here.

PR: 64414

Github: closes #124

Update Travis LDAP testing to use new container setup script

provided by test framework.

Add LDAP referral chasing config test, and scripts/ldap-init.sh

to run both required containers with slapd. Relies on a

httpd_slapd container which is built like in httpd's

test/travis_Dockerfile_slapd.

    • ?
    /test/framework/trunk/scripts/ldap-init.sh
    • ?
    /test/framework/trunk/scripts/httpd-sub.ldif
    • ?
    /test/framework/trunk/scripts/non-anon.ldif