Closed Bug 1609841 Opened 5 years ago Closed 5 years ago

Intermittent toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | test_unresponsive_native_app - [test_unresponsive_native_app : 265] A promise chain failed to handle a rejection: Invalid process ID: 0 - stack:

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [stockwell fixed:patch])

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=285306800&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IaeiZsetQ9y_mA7Hfr-aVA/runs/1/artifacts/public/logs/live_backing.log


[task 2020-01-17T03:34:58.976Z] 03:34:58 INFO - TEST-START | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js
[task 2020-01-17T03:35:02.655Z] 03:35:02 WARNING - TEST-UNEXPECTED-FAIL | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | xpcshell return code: 0
[task 2020-01-17T03:35:02.655Z] 03:35:02 INFO - TEST-INFO took 3679ms
[task 2020-01-17T03:35:02.656Z] 03:35:02 INFO - >>>>>>>
[task 2020-01-17T03:35:02.656Z] 03:35:02 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-01-17T03:35:02.656Z] 03:35:02 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-01-17T03:35:02.657Z] 03:35:02 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-01-17T03:35:02.657Z] 03:35:02 INFO - running event loop
[task 2020-01-17T03:35:02.657Z] 03:35:02 INFO - toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | Starting check_remote
[task 2020-01-17T03:35:02.658Z] 03:35:02 INFO - (xpcshell/head.js) | test check_remote pending (2)
[task 2020-01-17T03:35:02.658Z] 03:35:02 INFO - TEST-PASS | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | check_remote - [check_remote : 1] useRemoteWebExtensions matches - false == false
[task 2020-01-17T03:35:02.658Z] 03:35:02 INFO - TEST-PASS | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | check_remote - [check_remote : 1] testing from extension process - true == true
[task 2020-01-17T03:35:02.658Z] 03:35:02 INFO - (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-01-17T03:35:02.658Z] 03:35:02 INFO - (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-01-17T03:35:02.658Z] 03:35:02 INFO - (xpcshell/head.js) | test check_remote finished (2)
[task 2020-01-17T03:35:02.658Z] 03:35:02 INFO - toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | Starting setup
[task 2020-01-17T03:35:02.658Z] 03:35:02 INFO - (xpcshell/head.js) | test setup pending (2)
[task 2020-01-17T03:35:02.659Z] 03:35:02 INFO - (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2020-01-17T03:35:02.659Z] 03:35:02 INFO - (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2020-01-17T03:35:02.659Z] 03:35:02 INFO - (xpcshell/head.js) | test setup finished (2)
[task 2020-01-17T03:35:02.659Z] 03:35:02 INFO - toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | Starting test_unresponsive_native_app
[task 2020-01-17T03:35:02.659Z] 03:35:02 INFO - (xpcshell/head.js) | test test_unresponsive_native_app pending (2)
[task 2020-01-17T03:35:02.659Z] 03:35:02 INFO - "Extension attached"
[task 2020-01-17T03:35:02.659Z] 03:35:02 INFO - (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2020-01-17T03:35:02.659Z] 03:35:02 INFO - TEST-PASS | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | test_unresponsive_native_app - [test_unresponsive_native_app : 405] Received echoed message - Expected: echo me, Actual: echo me - true == true
[task 2020-01-17T03:35:02.660Z] 03:35:02 INFO - TEST-PASS | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | test_unresponsive_native_app - [test_unresponsive_native_app : 74] subprocess is running - 1 == 1
[task 2020-01-17T03:35:02.660Z] 03:35:02 INFO - PID 7544 | JavaScript error: Z:\task_1579228037\build\tests\xpcshell\head.js, line 246: uncaught exception: Object
[task 2020-01-17T03:35:02.660Z] 03:35:02 INFO - TEST-PASS | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | test_unresponsive_native_app - [test_unresponsive_native_app : 81] subprocess was successfully killed - 0 == 0
[task 2020-01-17T03:35:02.660Z] 03:35:02 INFO - (xpcshell/head.js) | test run_next_test 3 pending (2)
[task 2020-01-17T03:35:02.660Z] 03:35:02 INFO - (xpcshell/head.js) | test test_unresponsive_native_app finished (2)
[task 2020-01-17T03:35:02.660Z] 03:35:02 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "uncaught exception: Object" {file: "Z:\task_1579228037\build\tests\xpcshell\head.js" line: 246}]"
[task 2020-01-17T03:35:02.660Z] 03:35:02 INFO - (xpcshell/head.js) | test run_next_test 3 finished (1)
[task 2020-01-17T03:35:02.660Z] 03:35:02 INFO - exiting test
[task 2020-01-17T03:35:02.660Z] 03:35:02 WARNING - TEST-UNEXPECTED-FAIL | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | test_unresponsive_native_app - [test_unresponsive_native_app : 265] A promise chain failed to handle a rejection: Invalid process ID: 0 - stack: getProcess@resource://gre/modules/subprocess/subprocess_worker_win.js:716:13
[task 2020-01-17T03:35:02.661Z] 03:35:02 INFO - kill@resource://gre/modules/subprocess/subprocess_worker_common.js:137:22
[task 2020-01-17T03:35:02.661Z] 03:35:02 INFO - onmessage/<@resource://gre/modules/subprocess/subprocess_worker_common.js:200:26
[task 2020-01-17T03:35:02.661Z] 03:35:02 INFO - onmessage@resource://gre/modules/subprocess/subprocess_worker_common.js:199:3
[task 2020-01-17T03:35:02.661Z] 03:35:02 INFO - EventHandlerNonNull*@resource://gre/modules/subprocess/subprocess_worker_common.js:194:1
[task 2020-01-17T03:35:02.661Z] 03:35:02 INFO - @resource://gre/modules/subprocess/subprocess_worker_win.js:13:14
[task 2020-01-17T03:35:02.661Z] 03:35:02 INFO - Rejection date: Fri Jan 17 2020 03:35:02 GMT+0000 (Greenwich Mean Time) - false == true
[task 2020-01-17T03:35:02.661Z] 03:35:02 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-01-17T03:35:02.661Z] 03:35:02 INFO - Z:\task_1579228037\build\tests\xpcshell\head.js:_execute_test:574
[task 2020-01-17T03:35:02.661Z] 03:35:02 INFO - -e:null:1
[task 2020-01-17T03:35:02.661Z] 03:35:02 INFO - exiting test
[task 2020-01-17T03:35:02.662Z] 03:35:02 INFO - <<<<<<<
[task 2020-01-17T03:35:02.689Z] 03:35:02 INFO - TEST-START | xpcshell-legacyconfig.ini:toolkit/components/search/tests/xpcshell/test_remove_profile_engine.js
[task 2020-01-17T03:35:05.272Z] 03:35:05 INFO - TEST-PASS | xpcshell-legacyconfig.ini:toolkit/components/search/tests/xpcshell/test_remove_profile_engine.js | took 2584ms

Flags: needinfo?(tomica)
Regressed by: 1602639
Has Regression Range: --- → yes
Keywords: regression

Doesn't reproduce locally. From a quick look, it doesn't seem to be a new bug introduced in 1602639, but that did change timings, so perhaps it just exposed something.

Gonna wait for bug 1443544 to land, since that will change the timings again, and we can just disable on Windows if it becomes too frequent.

Depends on: 1443544
Flags: needinfo?(tomica)

So far there are 24 total failures since the 16th of January, on windows7-32-shippable opt, windows7-32 opt and debug, windows10-64-shippable
opt and windows10-64 opt and debug.

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=285515613&repo=mozilla-central&lineNumber=7233

[task 2020-01-19T00:17:02.287Z] 00:17:02 INFO - TEST-START | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js
[task 2020-01-19T00:17:05.962Z] 00:17:05 WARNING - TEST-UNEXPECTED-FAIL | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | xpcshell return code: 0
[task 2020-01-19T00:17:05.962Z] 00:17:05 INFO - TEST-INFO took 3668ms
[task 2020-01-19T00:17:05.962Z] 00:17:05 INFO - >>>>>>>
[task 2020-01-19T00:17:05.962Z] 00:17:05 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-01-19T00:17:05.962Z] 00:17:05 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-01-19T00:17:05.962Z] 00:17:05 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - running event loop
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | Starting check_remote
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - (xpcshell/head.js) | test check_remote pending (2)
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - TEST-PASS | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | check_remote - [check_remote : 1] useRemoteWebExtensions matches - false == false
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - TEST-PASS | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | check_remote - [check_remote : 1] testing from extension process - true == true
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - (xpcshell/head.js) | test check_remote finished (2)
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | Starting setup
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - (xpcshell/head.js) | test setup pending (2)
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - (xpcshell/head.js) | test setup finished (2)
[task 2020-01-19T00:17:05.963Z] 00:17:05 INFO - toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | Starting test_unresponsive_native_app
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - (xpcshell/head.js) | test test_unresponsive_native_app pending (2)
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - "Extension attached"
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - TEST-PASS | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | test_unresponsive_native_app - [test_unresponsive_native_app : 405] Received echoed message - Expected: echo me, Actual: echo me - true == true
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - TEST-PASS | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | test_unresponsive_native_app - [test_unresponsive_native_app : 74] subprocess is running - 1 == 1
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - PID 7664 | JavaScript error: Z:\task_1579391366\build\tests\xpcshell\head.js, line 246: uncaught exception: Object
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - TEST-PASS | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | test_unresponsive_native_app - [test_unresponsive_native_app : 81] subprocess was successfully killed - 0 == 0
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - (xpcshell/head.js) | test run_next_test 3 pending (2)
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - (xpcshell/head.js) | test test_unresponsive_native_app finished (2)
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "uncaught exception: Object" {file: "Z:\task_1579391366\build\tests\xpcshell\head.js" line: 246}]"
[task 2020-01-19T00:17:05.964Z] 00:17:05 INFO - (xpcshell/head.js) | test run_next_test 3 finished (1)
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - exiting test
[task 2020-01-19T00:17:05.965Z] 00:17:05 WARNING - TEST-UNEXPECTED-FAIL | toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js | test_unresponsive_native_app - [test_unresponsive_native_app : 265] A promise chain failed to handle a rejection: Invalid process ID: 0 - stack: getProcess@resource://gre/modules/subprocess/subprocess_worker_win.js:716:13
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - kill@resource://gre/modules/subprocess/subprocess_worker_common.js:137:22
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - onmessage/<@resource://gre/modules/subprocess/subprocess_worker_common.js:200:26
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - onmessage@resource://gre/modules/subprocess/subprocess_worker_common.js:199:3
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - EventHandlerNonNull*@resource://gre/modules/subprocess/subprocess_worker_common.js:194:1
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - @resource://gre/modules/subprocess/subprocess_worker_win.js:13:14
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - Rejection date: Sun Jan 19 2020 00:17:05 GMT+0000 (Greenwich Mean Time) - false == true
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - Z:\task_1579391366\build\tests\xpcshell\head.js:_execute_test:574
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - -e:null:1
[task 2020-01-19T00:17:05.965Z] 00:17:05 INFO - exiting test
[task 2020-01-19T00:17:05.966Z] 00:17:05 INFO - <<<<<<<

Whiteboard: [stockwell needswork:owner]
Whiteboard: [stockwell needswork:owner] → [stockwell needswork:owner][comment 2]
Whiteboard: [stockwell needswork:owner][comment 2] → [stockwell fixed:patch]
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.