Ticket lifetime might be too short in gtests

NEW
Unassigned

Status

2 years ago
2 years ago

People

(Reporter: mt, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
https://hg.mozilla.org/projects/nss/rev/93b99b0936d3 changed the timeout on session tickets to 10 seconds and the following test case appears to have stalled for longer than that.  We might consider bumping the value up just to avoid this sort of intermittent.  (A better solution, removing dependencies on the wall clock, might be a little more challenging.)

https://public-artifacts.taskcluster.net/q4eDsiI7SRKE_7KZ6-rKrg/0/public/logs/live_backing.log

[ RUN      ] CipherSuiteTLS13/TlsCipherSuiteTest.ResumeCipherSuite/29
Version: TLS 1.3
Cipher suite: TLS_AES_128_GCM_SHA256
server: Changing state from INIT to CONNECTING
client: Changing state from INIT to CONNECTING
client: Handshake success
client: Changing state from CONNECTING to CONNECTED
server: Handshake success
server: Changing state from CONNECTING to CONNECTED
Connected with version 772 cipher suite TLS_AES_128_GCM_SHA256
server: Changing state from INIT to CONNECTING
client: Changing state from INIT to CONNECTING
client: Handshake success
c:/Users/task_1487800197/nss/gtests/ssl_gtest/tls_agent.cc(638): error: Value of: auth_certificate_hook_called_
  Actual: true
Expected: !expect_resumption_
Which is: false
client: Changing state from CONNECTING to CONNECTED
server: Handshake success
server: Changing state from CONNECTING to CONNECTED
client: Read error PR_WOULD_BLOCK_ERROR: The operation would have blocked
Connected with version 772 cipher suite TLS_AES_128_GCM_SHA256
c:/Users/task_1487800197/nss/gtests/ssl_gtest/tls_connect.cc(461): error: Value of: stats->hch_sid_cache_hits
  Actual: 0
Expected: resume_count
Which is: 1
c:/Users/task_1487800197/nss/gtests/ssl_gtest/tls_connect.cc(462): error: Value of: stats->hsh_sid_cache_hits
  Actual: 0
Expected: resume_count
Which is: 1
c:/Users/task_1487800197/nss/gtests/ssl_gtest/tls_connect.cc(464): error: Value of: stats->hch_sid_stateless_resumes
  Actual: 0
Expected: stateless_count
Which is: 1
c:/Users/task_1487800197/nss/gtests/ssl_gtest/tls_connect.cc(465): error: Value of: stats->hsh_sid_stateless_resumes
  Actual: 0
Expected: stateless_count
Which is: 1
[  FAILED  ] CipherSuiteTLS13/TlsCipherSuiteTest.ResumeCipherSuite/29, where GetParam() = ("TLS", 772, 4865, 256, 2052) (15185 ms)
You need to log in before you can comment on or make changes to this bug.