Closed Bug 1398120 Opened 2 years ago Closed Last year

Intermittent toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html | Got expected final HTML - got "

Categories

(WebExtensions :: General, defect, P2)

defect

Tracking

(firefox59 disabled)

RESOLVED FIXED
Tracking Status
firefox59 --- disabled

People

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

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Duplicate of this bug: 1398122
Shane, here's another high-priority webrequest related intermittent. Would you be able to add this to your list of things to look into?
Flags: needinfo?(mixedpuppy)
Priority: -- → P2
Assignee: nobody → kmaglione+bmo
Blocks: 1405506
Flags: needinfo?(mixedpuppy)
No longer blocks: 1405506
Depends on: 1405506
Comment on attachment 8924694 [details]
Bug 1398120: Fix some StreamFilter state handling inconsistencies.

https://reviewboard.mozilla.org/r/195922/#review201154
Attachment #8924694 - Flags: review?(mixedpuppy) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/209df98be4672182897eb92c2b7b807b2f7901b7
Bug 1398120: Fix some StreamFilter state handling inconsistencies. r=mixedpuppy
Duplicate of this bug: 1414119
https://hg.mozilla.org/mozilla-central/rev/209df98be467
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Backed out for frequently failing on toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html

https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=e9349ad2f1f8fec862b1d2271d0d8f25ad0814d4&filter-searchStr=276f3acecda5aa24b4321c16182d44847658929f

https://hg.mozilla.org/mozilla-central/rev/4ada8f0d5cc011af4bc0f4fadbb25ea3e1e62bfc
Flags: needinfo?(kmaglione+bmo)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla58 → ---
That is actually a different failure, in the new test.
Flags: needinfo?(kmaglione+bmo)
There are 35 failures in the past 7 weeks, mostly on all platforms and build types.

Recent log example: https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-inbound&job_id=142282194&lineNumber=20420

:andym could you please take a look at this?
Flags: needinfo?(amckay)
here is some context from the log in comment 22:
task 2017-11-06T00:17:19.014Z] 00:17:19     INFO - TEST-PASS | toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html | Function threw, expecting error to match /.*/got "": (2): write() should throw while disconnected 
[task 2017-11-06T00:17:19.015Z] 00:17:19     INFO - Finished test #2: http://mochi.test:8888/tests/toolkit/components/extensions/test/mochitest/test-oop-extensions/slow_response.sjs?test_num=2
[task 2017-11-06T00:17:19.017Z] 00:17:19     INFO - Buffered messages logged at 00:17:06
[task 2017-11-06T00:17:19.018Z] 00:17:19     INFO - TEST-PASS | toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html | (0): Got expected disconnected status - Expected: disconnected, Actual: disconnected 
[task 2017-11-06T00:17:19.020Z] 00:17:19     INFO - Finished test #0: http://mochi.test:8888/tests/toolkit/components/extensions/test/mochitest/test-oop-extensions/slow_response.sjs?test_num=0
[task 2017-11-06T00:17:19.021Z] 00:17:19     INFO - Buffered messages logged at 00:17:18
[task 2017-11-06T00:17:19.022Z] 00:17:19     INFO - Verifying test #0: slow_response.sjs?test_num=0
[task 2017-11-06T00:17:19.024Z] 00:17:19     INFO - TEST-PASS | toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html | Got expected final HTML 
[task 2017-11-06T00:17:19.025Z] 00:17:19     INFO - Verifying test #1: slow_response.sjs?test_num=1
[task 2017-11-06T00:17:19.025Z] 00:17:19     INFO - Buffered messages finished
[task 2017-11-06T00:17:19.026Z] 00:17:19     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html | Got expected final HTML - got "<!DOCTYPE html>\n    <html lang=\"en\">\n    <head>\n      <meta charset=\"UTF-8\">\n      <title></title>\n    </head>\n    <body>\nLorem ipsum dolor sit amet, <br>\nconsectetur adipiscing elit, <br>\nExcepteur sint occaecat cupidatat non proident, <br>\nsunt in culpa qui officia deserunt mollit anim id est laborum.<br>\n\n    </body>\n    </html>\n", expected "<!DOCTYPE html>\n    <html lang=\"en\">\n    <head>\n      <meta charset=\"UTF-8\">\n      <title></title>\n    </head>\n    <body>\nLorem ipsum dolor sit amet, <br>\nconsectetur adipiscing elit, <br>\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <br>\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. <br>\nDuis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <br>\nExcepteur sint occaecat cupidatat non proident, <br>\nsunt in culpa qui officia deserunt mollit anim id est laborum.<br>\n\n    </body>\n    </html>\n"
[task 2017-11-06T00:17:19.027Z] 00:17:19     INFO -     SimpleTest.is@SimpleTest/SimpleTest.js:312:5
[task 2017-11-06T00:17:19.027Z] 00:17:19     INFO -     verify@toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html:151:7
[task 2017-11-06T00:17:19.027Z] 00:17:19     INFO -     runTest@toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html:396:11
[task 2017-11-06T00:17:19.028Z] 00:17:19     INFO -     Async*@toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html:404:23
[task 2017-11-06T00:17:19.028Z] 00:17:19     INFO -     async*add_task/</<@SimpleTest/SpawnTask.js:298:21
[task 2017-11-06T00:17:19.029Z] 00:17:19     INFO -     onFulfilled@SimpleTest/SpawnTask.js:69:15
[task 2017-11-06T00:17:19.029Z] 00:17:19     INFO -     co/<@SimpleTest/SpawnTask.js:58:5
[task 2017-11-06T00:17:19.029Z] 00:17:19     INFO -     co@SimpleTest/SpawnTask.js:54:10
[task 2017-11-06T00:17:19.030Z] 00:17:19     INFO -     setTimeout handler*SimpleTest_setTimeoutShim@SimpleTest/SimpleTest.js:676:12
[task 2017-11-06T00:17:19.030Z] 00:17:19     INFO -     add_task@SimpleTest/SpawnTask.js:271:7
[task 2017-11-06T00:17:19.031Z] 00:17:19     INFO -     @toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html:335:1
[task 2017-11-06T00:17:19.031Z] 00:17:19     INFO - Verifying test #2: slow_response.sjs?test_num=2
[task 2017-11-06T00:17:19.032Z] 00:17:19     INFO - TEST-PASS | toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html | Got expected final HTML 
[task 2017-11-06T00:17:19.032Z] 00:17:19     INFO - SpawnTask.js | Leaving test 
[task 2017-11-06T00:17:19.033Z] 00:17:19     INFO - SpawnTask.js | Entering test test_cachedResponse
[task 2017-11-06T00:17:19.033Z] 00:17:19     INFO - Extension loaded
[task 2017-11-06T00:17:19.034Z] 00:17:19     INFO - GECKO(3023) | Console message: Warning: attempting to write 9673 bytes to preference extensions.webextensions.uuids. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. This preference will not be sent to any content processes.
[task 2017-11-06T00:17:19.035Z] 00:17:19     INFO - GECKO(3023) | [Parent 3023, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/worker/workspace/build/src/netwerk/protocol/res/SubstitutingProtocolHandler.cpp, line 333
[task 2017-11-06T00:17:19.035Z] 00:17:19     INFO - GECKO(3023) | ++DOCSHELL 0x7f727b744800 == 5 [pid = 3023] [id = {27a068da-6530-4a2b-9bc6-5be23b368249}]
[task 2017-11-06T00:17:19.036Z] 00:17:19     INFO - GECKO(3023) | ++DOMWINDOW == 9 (0x7f727b74d000) [pid = 3023] [serial = 516] [outer = (nil)]
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4199d0856877
Disable toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html on linux for frequent failures. r=me, a=testonly
this has been disabled, please remember to enable it while working on a patch
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
https://hg.mozilla.org/mozilla-central/rev/4199d0856877
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Flags: needinfo?(amckay)
Product: Toolkit → WebExtensions
Is there a reason to keep this open?
Assignee: kmaglione+bmo → nobody
Flags: needinfo?(jmaher)
this test doesn't exist anymore (was ported to xpcshell) and is still skipped on android (lack of proper webext support) and debug (not sure why).  We can close this though :)
Status: REOPENED → RESOLVED
Closed: 2 years agoLast year
Flags: needinfo?(jmaher)
Keywords: leave-open
Resolution: --- → FIXED
Assignee: nobody → kmaglione+bmo
Whiteboard: [stockwell disabled]
You need to log in before you can comment on or make changes to this bug.