Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
Closed Bug 1820570 Opened 2 years ago Closed 5 months ago

Intermittent netwerk/test/unit/test_progress_no_proxy_and_proxy.js | single tracking bug

Categories

(Core :: Networking: Proxy, defect, P2)

defect

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: danielmazarakos, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, intermittent-failure, intermittent-testcase, Whiteboard: [necko-triaged])

Attachments

(1 file, 1 obsolete file)

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


[task 2023-03-06T15:55:04.601Z] 15:55:04     INFO -  TEST-START | netwerk/test/unit/test_progress_no_proxy_and_proxy.js
[task 2023-03-06T15:55:05.913Z] 15:55:05  WARNING -  TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_progress_no_proxy_and_proxy.js | xpcshell return code: 0
[task 2023-03-06T15:55:05.913Z] 15:55:05     INFO -  TEST-INFO took 1312ms
[task 2023-03-06T15:55:05.913Z] 15:55:05     INFO -  >>>>>>>
[task 2023-03-06T15:55:05.913Z] 15:55:05     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2023-03-06T15:55:05.913Z] 15:55:05     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2023-03-06T15:55:05.913Z] 15:55:05     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2023-03-06T15:55:05.913Z] 15:55:05     INFO -  running event loop
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  netwerk/test/unit/test_progress_no_proxy_and_proxy.js | Starting setup
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  "CONSOLE_MESSAGE: (info) No chrome package registered for chrome://branding/locale/brand.properties"
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  netwerk/test/unit/test_progress_no_proxy_and_proxy.js | Starting test_http_1_and_2
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  (xpcshell/head.js) | test test_http_1_and_2 pending (2)
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  "Testing NodeHTTPServer"
[task 2023-03-06T15:55:05.914Z] 15:55:05     INFO -  TEST-PASS | netwerk/test/unit/test_progress_no_proxy_and_proxy.js | test_http_1_and_2 - [test_http_1_and_2 : 100] "localhost" == "localhost"
<...>
[task 2023-03-06T15:55:05.936Z] 15:55:05     INFO -  TEST-PASS | netwerk/test/unit/test_progress_no_proxy_and_proxy.js | test_https_proxy - [test_https_proxy : 122] 3000000 == 3000000
[task 2023-03-06T15:55:05.936Z] 15:55:05  WARNING -  TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_progress_no_proxy_and_proxy.js | test_https_proxy - [test_https_proxy : 73] "http/1.1" == "undefined"
[task 2023-03-06T15:55:05.936Z] 15:55:05     INFO -  /opt/worker/tasks/task_1678115063/build/tests/xpcshell/tests/netwerk/test/unit/test_progress_no_proxy_and_proxy.js:onStopRequest:73
[task 2023-03-06T15:55:05.936Z] 15:55:05     INFO -  /opt/worker/tasks/task_1678115063/build/tests/xpcshell/head.js:_do_main:238
[task 2023-03-06T15:55:05.936Z] 15:55:05     INFO -  /opt/worker/tasks/task_1678115063/build/tests/xpcshell/head.js:_execute_test:585
[task 2023-03-06T15:55:05.936Z] 15:55:05     INFO -  -e:null:1
[task 2023-03-06T15:55:05.936Z] 15:55:05     INFO -  exiting test
[task 2023-03-06T15:55:05.936Z] 15:55:05     INFO -  PID 9009 | JavaScript error: /opt/worker/tasks/task_1678115063/build/tests/xpcshell/head.js, line 863: NS_ERROR_ABORT:
[task 2023-03-06T15:55:05.936Z] 15:55:05     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_ERROR_ABORT: " {file: "/opt/worker/tasks/task_1678115063/build/tests/xpcshell/head.js" line: 863}]
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  _abort_failed_test@/opt/worker/tasks/task_1678115063/build/tests/xpcshell/head.js:863:20
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  do_report_result@/opt/worker/tasks/task_1678115063/build/tests/xpcshell/head.js:964:5
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  Assert<@/opt/worker/tasks/task_1678115063/build/tests/xpcshell/head.js:71:21
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  Assert.prototype.report@resource://testing-common/Assert.sys.mjs:240:10
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  equal@resource://testing-common/Assert.sys.mjs:282:8
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  check_http_info@/opt/worker/tasks/task_1678115063/build/tests/xpcshell/tests/netwerk/test/unit/head_channels.js:485:10
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  onStopRequest@/opt/worker/tasks/task_1678115063/build/tests/xpcshell/tests/netwerk/test/unit/test_progress_no_proxy_and_proxy.js:73:20
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  _do_main@/opt/worker/tasks/task_1678115063/build/tests/xpcshell/head.js:238:6
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  _execute_test@/opt/worker/tasks/task_1678115063/build/tests/xpcshell/head.js:585:5
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  @-e:1:1
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  "
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  "Force a GC"
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  <<<<<<<
[task 2023-03-06T15:55:05.937Z] 15:55:05     INFO -  TEST-START | netwerk/test/unit/test_networking_over_socket_process.js
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

I think this bug can be fixed by changing this code:

https://searchfox.org/mozilla-central/rev/66d0e3cac02896d0249c6077742411722e6333f0/netwerk/test/unit/head_channels.js#485

httpVersion = request.protocolVersion;

to be

httpVersion = request.QueryInterface(Ci.nsIHttpChannel).protocolVersion;
Mentor: moz.valentin
Keywords: good-first-bug
Priority: P5 → P2
Whiteboard: [necko-triaged]
See Also: → 1821771
See Also: 1821771
Status: REOPENED → NEW

Moving bug to Core/Networking: Proxy.

Component: Networking → Networking: Proxy
Attachment #9387579 - Attachment is obsolete: true

Hi I'm new and I'd like to work on this issue.

Flags: needinfo?(valentin.gosu)
Assignee: nobody → danielmazarakos
Status: NEW → ASSIGNED
Flags: needinfo?(valentin.gosu)
Attachment #9398959 - Attachment description: Bug 1820570 r=#necko-reviewers → Bug 1820570 - QI to nsIHttpChannel before accessing protocolVersion in head_channels.js r=#necko-reviewers
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/f157e5d64220 QI to nsIHttpChannel before accessing protocolVersion in head_channels.js r=necko-reviewers,valentin
Status: ASSIGNED → RESOLVED
Closed: 1 year ago5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
See Also: → 1899424
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: