httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William A Rowe Jr <wr...@rowe-clan.net>
Subject Revisiting odd test framework servername behaviors
Date Thu, 19 Oct 2017 15:02:45 GMT
# Failed test 56 in t/ssl/varlookup.t at line 109 fail #56
# Failed test 58 in t/ssl/varlookup.t at line 109 fail #58

# testing : SSL_SERVER_SAN_DNS_0
# expected: 'localhost'
# received: 'localhost.localdomain'
not ok 56
# testing : SSL_SERVER_SAN_OTHER_dnsSRV_0
# expected: '_https.localhost'
# received: '_https.localhost.localdomain'
not ok 58

This is something I just keep overlooking since I know it is a noop,
a difference between this FC config and a typical config. Wondering
if there isn't a trivial fix?



Original (untweaked) t/TEST prep stderr indicates;

The Subject's Distinguished Name is as follows
countryName           :PRINTABLE:'US'
stateOrProvinceName   :ASN.1 12:'California'
localityName          :ASN.1 12:'San Francisco'
organizationName      :ASN.1 12:'ASF'
organizationalUnitName:ASN.1 12:'httpd-test/rsa-test-2'
commonName            :ASN.1 12:'localhost.localdomain'
emailAddress          :IA5STRING:'test-dev@httpd.apache.org'
Certificate is to be certified until Oct 19 13:36:33 2018 GMT (365 days)

Write out database with 1 new entries
Data Base Updated

So the prep defaulted to the detected localhost.localdomain rather
than any arbitrary localhost.



Toggling -servername localhost (explicit)

t/modules/access.t                (Wstat: 0 Tests: 408 Failed: 31)
  Failed tests:  4, 20-21, 24, 26, 28, 30, 38, 55, 72, 89
                106-107, 123-124, 141, 154, 168, 170, 175
                192, 209, 226, 277, 290, 304, 306, 311
                328, 345, 362

So however we pick the default to populate the rest of the tests is at
odds with how sslvars chooses the default servername value.

And access.t can't handle an explict servername value, in 31 tests.



Toggling -servername host.domain.net, bouncing through the external
IP address results in several new failures in the test framework;

# Failed test 98 in t/apache/expr.t at line 298 fail #75
t/modules/access.t ..................
Failed 95/408 subtests

The test framework hangs at
t/modules/http2.t ...................
1..52
# Running under perl version 5.024003 for linux
# Current time local: Thu Oct 19 09:45:20 2017
# Current time GMT:   Thu Oct 19 14:45:20 2017
# Using Test.pm version 1.28_01
# Using Apache/Test.pm version 1.41
test case: TC0001, expecting 200: GET http://host.domain.net:8548/

These tests apparently can't handle an external facing port?

Mime
View raw message