Closed Bug 1445821 Opened 6 years ago Closed 6 years ago

Intermittent toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | test_error_resume - [test_error_resume : 257] A promise chain failed to handle a rejection: Message manager disconnected

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Filed by: apavel [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=168031824&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/RCef6Pk-SeWfDfUFwL41CQ/runs/0/artifacts/public/logs/live_backing.log

[task 2018-03-14T21:05:32.486Z] 21:05:32     INFO -  TEST-START | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js
[task 2018-03-14T21:05:35.308Z] 21:05:35  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | xpcshell return code: 0
[task 2018-03-14T21:05:35.308Z] 21:05:35     INFO -  TEST-INFO took 2813ms
[task 2018-03-14T21:05:35.309Z] 21:05:35     INFO -  >>>>>>>
[task 2018-03-14T21:05:35.310Z] 21:05:35     INFO -  PID 18551 | JavaScript strict warning: /builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/extensions/test/xpcshell/head.js, line 56: ReferenceError: reference to undefined property "port"
[task 2018-03-14T21:05:35.310Z] 21:05:35     INFO -  PID 18551 | GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
[task 2018-03-14T21:05:35.311Z] 21:05:35     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2018-03-14T21:05:35.312Z] 21:05:35     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2018-03-14T21:05:35.312Z] 21:05:35     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2018-03-14T21:05:35.312Z] 21:05:35     INFO -  running event loop
[task 2018-03-14T21:05:35.314Z] 21:05:35     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "port"" {file: "/builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/extensions/test/xpcshell/head.js" line: 56}]"
[task 2018-03-14T21:05:35.315Z] 21:05:35     INFO -  xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | Starting check_remote
[task 2018-03-14T21:05:35.317Z] 21:05:35     INFO -  (xpcshell/head.js) | test check_remote pending (2)
[task 2018-03-14T21:05:35.318Z] 21:05:35     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | check_remote - [check_remote : 236] useRemoteWebExtensions matches - true == true
[task 2018-03-14T21:05:35.320Z] 21:05:35     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | check_remote - [check_remote : 236] testing from extension process - false == false
[task 2018-03-14T21:05:35.321Z] 21:05:35     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2018-03-14T21:05:35.322Z] 21:05:35     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2018-03-14T21:05:35.323Z] 21:05:35     INFO -  (xpcshell/head.js) | test check_remote finished (2)
[task 2018-03-14T21:05:35.324Z] 21:05:35     INFO -  xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | Starting test_suspend
[task 2018-03-14T21:05:35.325Z] 21:05:35     INFO -  (xpcshell/head.js) | test test_suspend pending (2)
[task 2018-03-14T21:05:35.325Z] 21:05:35     INFO -  "Extension attached"
[task 2018-03-14T21:05:35.326Z] 21:05:35     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2018-03-14T21:05:35.327Z] 21:05:35     INFO -  PID 18551 | JavaScript strict warning: resource://testing-common/ExtensionXPCShellUtils.jsm, line 763: ReferenceError: reference to undefined property "extension"
[task 2018-03-14T21:05:35.328Z] 21:05:35     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "extension"" {file: "resource://testing-common/ExtensionXPCShellUtils.jsm" line: 763}]"
[task 2018-03-14T21:05:35.329Z] 21:05:35     INFO -  PID 18551 | JavaScript strict warning: resource://gre/modules/RemoteWebProgress.jsm, line 185: ReferenceError: reference to undefined property "matchedList"
[task 2018-03-14T21:05:35.331Z] 21:05:35     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "matchedList"" {file: "resource://gre/modules/RemoteWebProgress.jsm" line: 185}]"
[task 2018-03-14T21:05:35.332Z] 21:05:35     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature." {file: "http://example.com/dummy" line: 0}]"
[task 2018-03-14T21:05:35.333Z] 21:05:35     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | test_suspend - [test_suspend : 76] Request header was correctly set on suspended request - "Bar" == "Bar"
[task 2018-03-14T21:05:35.334Z] 21:05:35     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2018-03-14T21:05:35.335Z] 21:05:35     INFO -  (xpcshell/head.js) | test test_suspend finished (2)
[task 2018-03-14T21:05:35.336Z] 21:05:35     INFO -  xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | Starting test_error_resume
[task 2018-03-14T21:05:35.337Z] 21:05:35     INFO -  (xpcshell/head.js) | test test_error_resume pending (2)
[task 2018-03-14T21:05:35.338Z] 21:05:35     INFO -  "Extension attached"
[task 2018-03-14T21:05:35.339Z] 21:05:35     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2018-03-14T21:05:35.340Z] 21:05:35     INFO -  "onBeforeSendHeaders({url: http://example.com/dummy})"
[task 2018-03-14T21:05:35.341Z] 21:05:35     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | test_error_resume - [test_error_resume : 138] Got expected error. - true == true
[task 2018-03-14T21:05:35.342Z] 21:05:35     INFO -  "onErrorOccurred({url: http://example.com/dummy})"
[task 2018-03-14T21:05:35.343Z] 21:05:35     INFO -  (xpcshell/head.js) | test pending (2)
[task 2018-03-14T21:05:35.344Z] 21:05:35     INFO -  (xpcshell/head.js) | test finished (2)
[task 2018-03-14T21:05:35.345Z] 21:05:35     INFO -  "CONSOLE_MESSAGE: (info) Ignoring response to aborted listener for 13"
[task 2018-03-14T21:05:35.346Z] 21:05:35     INFO -  (xpcshell/head.js) | test run_next_test 3 pending (2)
[task 2018-03-14T21:05:35.347Z] 21:05:35     INFO -  (xpcshell/head.js) | test test_error_resume finished (2)
[task 2018-03-14T21:05:35.348Z] 21:05:35  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | test_error_resume - [test_error_resume : 257] A promise chain failed to handle a rejection: Message manager disconnected - stack: _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:221:3
[task 2018-03-14T21:05:35.349Z] 21:05:35     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:533:5
[task 2018-03-14T21:05:35.351Z] 21:05:35     INFO -  @-e:1:1
[task 2018-03-14T21:05:35.351Z] 21:05:35     INFO -  Rejection date: Wed Mar 14 2018 21:05:35 GMT+0000 (UTC) - false == true
[task 2018-03-14T21:05:35.352Z] 21:05:35     INFO -  resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
[task 2018-03-14T21:05:35.353Z] 21:05:35     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_run_next_test:1399
[task 2018-03-14T21:05:35.353Z] 21:05:35     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:run:685
[task 2018-03-14T21:05:35.354Z] 21:05:35     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_do_main:221
[task 2018-03-14T21:05:35.354Z] 21:05:35     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_execute_test:533
[task 2018-03-14T21:05:35.354Z] 21:05:35     INFO -  -e:null:1
[task 2018-03-14T21:05:35.355Z] 21:05:35     INFO -  exiting test
[task 2018-03-14T21:05:35.356Z] 21:05:35     INFO -  (xpcshell/head.js) | test run_next_test 3 finished (1)
[task 2018-03-14T21:05:35.357Z] 21:05:35     INFO -  exiting test
[task 2018-03-14T21:05:35.357Z] 21:05:35     INFO -  <<<<<<<
[task 2018-03-14T21:05:35.358Z] 21:05:35     INFO -  INFO | Result summary:
[task 2018-03-14T21:05:35.359Z] 21:05:35     INFO -  INFO | Passed: 393
[task 2018-03-14T21:05:35.360Z] 21:05:35  WARNING -  INFO | Failed: 1
[task 2018-03-14T21:05:35.360Z] 21:05:35  WARNING -  One or more unittests failed.
[task 2018-03-14T21:05:35.361Z] 21:05:35     INFO -  INFO | Todo: 4
[task 2018-03-14T21:05:35.362Z] 21:05:35     INFO -  INFO | Retried: 3
[task 2018-03-14T21:05:35.363Z] 21:05:35     INFO -  SUITE-END | took 339s
[task 2018-03-14T21:05:35.363Z] 21:05:35     INFO -  Node moz-http2 server shutting down ...
[task 2018-03-14T21:05:35.406Z] 21:05:35    ERROR - Return code: 1
[task 2018-03-14T21:05:35.407Z] 21:05:35     INFO - TinderboxPrint: xpcshell-xpcshell<br/>393/<em class="testfail">1</em>/4
[task 2018-03-14T21:05:35.407Z] 21:05:35  WARNING - # TBPL FAILURE #
[task 2018-03-14T21:05:35.409Z] 21:05:35  WARNING - setting return code to 2
[task 2018-03-14T21:05:35.410Z] 21:05:35  WARNING - The xpcshell suite: xpcshell ran with return status: FAILURE
[task 2018-03-14T21:05:35.410Z] 21:05:35     INFO - Running post-action listener: _package_coverage_data
[task 2018-03-14T21:05:35.411Z] 21:05:35     INFO - Running post-action listener: _resource_record_post_action
[task 2018-03-14T21:05:35.411Z] 21:05:35     INFO - [mozharness: 2018-03-14 21:05:35.409245Z] Finished run-tests step (success)
[task 2018-03-14T21:05:35.412Z] 21:05:35     INFO - Running post-run listener: _resource_record_post_run
[task 2018-03-14T21:05:35.467Z] 21:05:35     INFO - Validating Perfherder data against /builds/worker/workspace/mozharness/external_tools/performance-artifact-schema.json
[task 2018-03-14T21:05:35.474Z] 21:05:35     INFO - PERFHERDER_DATA: {"framework": {"name": "job_resource_usage"}, "suites": [{"subtests": [{"name": "cpu_percent", "value": 96.3892156862745}, {"name": "io_write_bytes", "value": 2142928896}, {"name": "io.read_bytes", "value": 12894208}, {"name": "io_write_time", "value": 53392}, {"name": "io_read_time", "value": 952}], "extraOptions": ["taskcluster-m3.large"], "name": "xpcshell.xpcshell.6.overall"}, {"subtests": [{"name": "time", "value": 17.651680946350098}, {"name": "cpu_percent", "value": 50.28823529411765}], "name": "xpcshell.xpcshell.6.install"}, {"subtests": [{"name": "time", "value": 0.025089025497436523}], "name": "xpcshell.xpcshell.6.stage-files"}, {"subtests": [{"name": "time", "value": 340.7248649597168}, {"name": "cpu_percent", "value": 98.82787610619468}], "name": "xpcshell.xpcshell.6.run-tests"}]}
[task 2018-03-14T21:05:35.474Z] 21:05:35     INFO - Total resource usage - Wall time: 358s; CPU: 99.0%; Read bytes: 12894208; Write bytes: 2142928896; Read time: 952; Write time: 53392
[task 2018-03-14T21:05:35.475Z] 21:05:35     INFO - TinderboxPrint: CPU usage<br/>98.8%
[task 2018-03-14T21:05:35.476Z] 21:05:35     INFO - TinderboxPrint: I/O read bytes / time<br/>12,894,208 / 952
[task 2018-03-14T21:05:35.477Z] 21:05:35     INFO - TinderboxPrint: I/O write bytes / time<br/>2,142,928,896 / 53,392
[task 2018-03-14T21:05:35.477Z] 21:05:35     INFO - TinderboxPrint: CPU idle<br/>25.6 (3.6%)
[task 2018-03-14T21:05:35.477Z] 21:05:35     INFO - TinderboxPrint: CPU system<br/>106.6 (14.9%)
[task 2018-03-14T21:05:35.478Z] 21:05:35     INFO - TinderboxPrint: CPU user<br/>580.4 (81.2%)
[task 2018-03-14T21:05:35.479Z] 21:05:35     INFO - TinderboxPrint: Swap in / out<br/>0 / 0
[task 2018-03-14T21:05:35.481Z] 21:05:35     INFO - install - Wall time: 18s; CPU: 50.0%; Read bytes: 0; Write bytes: 11251712; Read time: 0; Write time: 1840
[task 2018-03-14T21:05:35.482Z] 21:05:35     INFO - stage-files - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2018-03-14T21:05:35.482Z] 21:05:35     INFO - run-tests - Wall time: 341s; CPU: 99.0%; Read bytes: 12378112; Write bytes: 2131677184; Read time: 944; Write time: 51552
[task 2018-03-14T21:05:35.568Z] 21:05:35     INFO - Running post-run listener: _upload_blobber_files
[task 2018-03-14T21:05:35.569Z] 21:05:35  WARNING - Blob upload gear skipped. Missing cmdline options.
[task 2018-03-14T21:05:35.570Z] 21:05:35     INFO - Running post-run listener: copy_logs_to_upload_dir
[task 2018-03-14T21:05:35.570Z] 21:05:35     INFO - Copying logs to upload dir...
[task 2018-03-14T21:05:35.571Z] 21:05:35     INFO - mkdir: /builds/worker/workspace/build/upload/logs
[task 2018-03-14T21:05:35.573Z] 21:05:35     INFO - Copying logs to upload dir...
[task 2018-03-14T21:05:35.576Z] 21:05:35  WARNING - returning nonzero exit status 2
Summary: Intermittent toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | xpcshell return code: 0 → Intermittent toolkit/components/extensions/test/xpcshell/test_ext_webRequest_suspend.js | test_error_resume - [test_error_resume : 257] A promise chain failed to handle a rejection: Message manager disconnected
https://hg.mozilla.org/mozilla-central/rev/51681238e785
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Assignee: nobody → kmaglione+bmo
Flags: qe-verify-
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.