Closed Bug 1753703 Opened 4 years ago Closed 4 years ago

Intermittent netwerk/test/unit/test_httpssvc_retry_with_ech.js | testConnectWithECH - [testConnectWithECH : 188] 6 == 3 | after xpcshell return code: 0

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox96 --- unaffected
firefox97 --- unaffected
firefox98 --- wontfix
firefox99 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: kershaw)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [necko-triaged][stockwell unknown])

Attachments

(2 files)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=366746419&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FgOxAcGNSD2eopCZoi_ZvA/runs/0/artifacts/public/logs/live_backing.log


TEST-PASS | netwerk/test/unit/test_httpssvc_retry_with_ech.js | testConnectWithECH - [testConnectWithECH : 179] This host should have accepted ECH - true == true
[task 2022-02-04T16:58:29.508Z] 16:58:29     INFO -  PID 21472 | *** Connection Activity 0x3 0x5008 .........[tlsflags0x00000000]127.0.0.1:37605
[task 2022-02-04T16:58:29.509Z] 16:58:29     INFO -  PID 21472 | *** Connection Activity 0x3 0x500b .........[tlsflags0x00000000]127.0.0.1:37605
[task 2022-02-04T16:58:29.509Z] 16:58:29  WARNING -  TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_httpssvc_retry_with_ech.js | testConnectWithECH - [testConnectWithECH : 188] 6 == 3
[task 2022-02-04T16:58:29.510Z] 16:58:29     INFO -  /builds/worker/workspace/build/tests/xpcshell/tests/netwerk/test/unit/test_httpssvc_retry_with_ech.js:testConnectWithECH:188
[task 2022-02-04T16:58:29.510Z] 16:58:29     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_do_main:240
[task 2022-02-04T16:58:29.511Z] 16:58:29     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_execute_test:604
[task 2022-02-04T16:58:29.512Z] 16:58:29     INFO -  -e:null:1
[task 2022-02-04T16:58:29.513Z] 16:58:29     INFO -  exiting test
[task 2022-02-04T16:58:29.514Z] 16:58:29     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2022-02-04T16:58:29.514Z] 16:58:29     INFO -  _abort_failed_test@/builds/worker/workspace/build/tests/xpcshell/head.js:875:20
[task 2022-02-04T16:58:29.515Z] 16:58:29     INFO -  do_report_result@/builds/worker/workspace/build/tests/xpcshell/head.js:976:5
[task 2022-02-04T16:58:29.515Z] 16:58:29     INFO -  Assert<@/builds/worker/workspace/build/tests/xpcshell/head.js:75:21
[task 2022-02-04T16:58:29.516Z] 16:58:29     INFO -  proto.report@resource://testing-common/Assert.jsm:228:10
[task 2022-02-04T16:58:29.518Z] 16:58:29     INFO -  equal@resource://testing-common/Assert.jsm:270:8
[task 2022-02-04T16:58:29.519Z] 16:58:29     INFO -  testConnectWithECH@/builds/worker/workspace/build/tests/xpcshell/tests/netwerk/test/unit/test_httpssvc_retry_with_ech.js:188:10
[task 2022-02-04T16:58:29.521Z] 16:58:29     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:240:6
[task 2022-02-04T16:58:29.522Z] 16:58:29     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:604:5
[task 2022-02-04T16:58:29.522Z] 16:58:29     INFO -  @-e:1:1
[task 2022-02-04T16:58:29.523Z] 16:58:29     INFO -  exiting test
[task 2022-02-04T16:58:29.524Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, Socket Thread] WARNING: cannot post event if not initialized: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:198
[task 2022-02-04T16:58:29.525Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, Socket Thread] WARNING: cannot post event if not initialized: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:198
[task 2022-02-04T16:58:29.526Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, Socket Thread] WARNING: cannot post event if not initialized: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:198
[task 2022-02-04T16:58:29.527Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, Socket Thread] WARNING: cannot post event if not initialized: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:198
[task 2022-02-04T16:58:29.527Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, Socket Thread] WARNING: cannot post event if not initialized: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:198
[task 2022-02-04T16:58:29.528Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, IPDL Background] WARNING: idb: '0.000001s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3789
[task 2022-02-04T16:58:29.529Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, IPDL Background] WARNING: cache: '0.000034s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3789
[task 2022-02-04T16:58:29.530Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, IPDL Background] WARNING: sdb: '0.000041s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3789
[task 2022-02-04T16:58:29.531Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, IPDL Background] WARNING: ls: '0.000047s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3789
[task 2022-02-04T16:58:29.532Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, IPDL Background] WARNING: idb: '0.000059s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3789
[task 2022-02-04T16:58:29.533Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, IPDL Background] WARNING: cache: '0.000087s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3789
[task 2022-02-04T16:58:29.534Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, IPDL Background] WARNING: sdb: '0.000094s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3789
[task 2022-02-04T16:58:29.535Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, IPDL Background] WARNING: ls: '0.000099s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3789
[task 2022-02-04T16:58:29.536Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3351
[task 2022-02-04T16:58:29.537Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, Main Thread] WARNING: OOPDeinit() without successful OOPInit(): file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:3421
[task 2022-02-04T16:58:29.538Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4448
[task 2022-02-04T16:58:29.539Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, Main Thread] WARNING: XPCOM object PerThreadData destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:206
[task 2022-02-04T16:58:29.540Z] 16:58:29     INFO -  PID 21472 | [Parent 21472, Main Thread] WARNING: XPCOM object MasterList destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:206
[task 2022-02-04T16:58:29.541Z] 16:58:29     INFO -  <<<<<<<
[task 2022-02-04T16:58:29.541Z] 16:58:29     INFO -  TEST-START | netwerk/test/unit/test_httpssvc_retry_without_ech.js
Has Regression Range: --- → yes
Flags: needinfo?(kershaw)
Keywords: regression
Regressed by: 1750413

Set release status flags based on info from the regressing bug 1750413

The origin test assumes a very particular ordering of HTTP activities, which causes some interimentent failures.
The failed case shows that it's possible that a speculative connection completes before we dispatch the real transaction, so we got 6 http activites.

Assignee: nobody → kershaw
Status: NEW → ASSIGNED

Since both DnsAndConnectSocket and nsHttpTransaction use HttpActivityDistributor, let's refactor this a bit by moving some duplicate code to nsHttpHandler.
This patch also makes it possible to test ECH activity for Http3 case.

Depends on D138892

Flags: needinfo?(kershaw)
Priority: -- → P2
Whiteboard: [stockwell needswork:owner] → [stockwell needswork:owner][necko-triaged]
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1c1324708e2c P1: Loosen the HTTP activity check, r=necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/192cda8fb4dd P2: Move HttpActivityDistributor to nsHttpHandler, r=necko-reviewers,dragana

Backed out for causing Bp-hybrid bustages on Http3Session.cpp

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line:/builds/worker/checkouts/gecko/netwerk/protocol/http/Http3Session.cpp:168:19: error: use of undeclared identifier 'NS_ACTIVITY_TYPE_HTTP_CONNECTION'
Flags: needinfo?(kershaw)

This mochitest remote jobs also fail from your changes.
Backfill range
Failure log

Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3e2a14f02683 P1: Loosen the HTTP activity check, r=necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/2c092e335ae0 P2: Move HttpActivityDistributor to nsHttpHandler, r=necko-reviewers,dragana
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch

The patch landed in nightly and beta is affected.
:kershaw, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(kershaw)

This is about fixing the intermittent test failure, so no need to uplift.

Flags: needinfo?(kershaw)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: