[Bug 30494] New: The vast majority of connector tests fail with OpenSSL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 30 12:40:51 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30494

           Summary: The vast majority of connector tests fail with OpenSSL
           Product: Wocky
           Version: unspecified
          Platform: Other
               URL: http://git.collabora.co.uk/?p=user/wjt/wocky.git;a=sho
                    rtlog;h=refs/heads/openssl-test-failures
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: General
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org
                CC: vivek at collabora.co.uk


Today I made Wocky compile when configured to use OpenSSL. I thought I would
run the test suite, and discovered that only 68 out of the 219 connector tests
pass.

I started looking into it. My branch is attached, with a patch which handles an
additional error condition from OpenSSL (by ignoring it). I don't think this is
kosher—I think it's more likely that the loading of the CRL is broken in some
way—but it leaves us with a mere 14 failing tests, all of which are due to a
connection being made successfully when it ought to fail:

    Failure: /connector/cert-verification/tls/nohost/fail/name-mismatch
    Failure: /connector/cert-verification/tls/host/fail/name-mismatch
    Failure: /connector/cert-verification/tls/crl/fail
    Failure: /connector/cert-verification/tls/expired/fail
    Failure: /connector/cert-verification/tls/inactive/fail
    Failure: /connector/cert-verification/tls/selfsigned/fail
    Failure: /connector/cert-verification/ssl/nohost/fail/name-mismatch
    Failure: /connector/cert-verification/ssl/host/fail/name-mismatch
    Failure: /connector/cert-verification/ssl/crl/fail
    Failure: /connector/cert-verification/ssl/expired/fail
    Failure: /connector/cert-verification/ssl/inactive/fail
    Failure: /connector/cert-verification/ssl/selfsigned/fail
    Failure: /connector/cert-nonverification/tls/crl/fail
    Failure: /connector/cert-nonverification/ssl/crl/fail

This suggests that we are being too lenient in some cases.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list