Closed Bug 1176732 Opened 10 years ago Closed 10 years ago

Fix for bug 102794 breaks gtests

Categories

(NSS :: Libraries, defect)

3.18
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ekr, Assigned: ekr)

Details

[ FAILED ] 5 tests, listed below: [ FAILED ] SkipTls10/TlsSkipTest.SkipCertificate/0, where GetParam() = ("TLS", 769) [ FAILED ] SkipVariants/TlsSkipTest.SkipCertificate/0, where GetParam() = ("TLS", 770) [ FAILED ] SkipVariants/TlsSkipTest.SkipCertificate/1, where GetParam() = ("TLS", 771) [ FAILED ] SkipVariants/TlsSkipTest.SkipCertificate/2, where GetParam() = ("DTLS", 770) [ FAILED ] SkipVariants/TlsSkipTest.SkipCertificate/3, where GetParam() = ("DTLS", 771)
Assignee: nobody → kaie
In all failed tests, the expected error was SSL_ERROR_RX_UNEXPECTED_HELLO_DONE but the test failed with SSL_ERROR_RX_UNEXPECTED_SERVER_KEY_EXCH
(In reply to Kai Engert (:kaie) from comment #1) > In all failed tests, the expected error was > SSL_ERROR_RX_UNEXPECTED_HELLO_DONE > > but the test failed with > SSL_ERROR_RX_UNEXPECTED_SERVER_KEY_EXCH Yes, the problem is that you (implicitly) changed the default from RSA to DHE so you get a different error. Did you run the gtests prior to landing?
MT, please review patch at: https://codereview.appspot.com/241640043/
Flags: needinfo?(martin.thomson)
(In reply to Eric Rescorla (:ekr) from comment #2) > Did you run the gtests prior to landing? Yes, I did, but I might have been confused by the output. The final part of the output on the console says: Tests summary: -------------- Passed: 576 Failed: 0 Failed with core: 1 Unknown status: 0 And the "failed with core" was the reference counting issue that I had discussed. I had not noticed that were other failures reported further up in the output, I trusted the final trailing lines.
ugh. Seems like all.sh could do better.
mt, please ignore previous review request. here is the right patch https://codereview.appspot.com/245490043/
r+ from MT on rietveld.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(martin.thomson)
Resolution: --- → FIXED
Assignee: kaie → ekr
Target Milestone: --- → 3.20
You need to log in before you can comment on or make changes to this bug.