Closed Bug 1692349 Opened 2 months ago Closed 2 months ago

Intermittent browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | test_create_menu_ext_error - [test_create_menu_ext_error : 53] Frame function name - null == "background/<"

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(firefox-esr78 unaffected, firefox85 unaffected, firefox86 unaffected, firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox85 --- unaffected
firefox86 --- unaffected
firefox87 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [stockwell needswork:owner])

Attachments

(1 file)

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


[task 2021-02-11T23:19:42.934Z] 23:19:42     INFO -  TEST-START | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js
[task 2021-02-11T23:19:47.151Z] 23:19:47  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | xpcshell return code: 0
[task 2021-02-11T23:19:47.151Z] 23:19:47     INFO -  TEST-INFO took 4216ms
[task 2021-02-11T23:19:47.151Z] 23:19:47     INFO -  >>>>>>>
[task 2021-02-11T23:19:47.152Z] 23:19:47     INFO -  PID 29926 | [CodeCoverage] Setting handlers for process 29926.
[task 2021-02-11T23:19:47.152Z] 23:19:47     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2021-02-11T23:19:47.152Z] 23:19:47     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2021-02-11T23:19:47.152Z] 23:19:47     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2021-02-11T23:19:47.152Z] 23:19:47     INFO -  running event loop
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | Starting test_create_menu_ext_error
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  (xpcshell/head.js) | test test_create_menu_ext_error pending (2)
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  "Extension attached"
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  PID 29926 | [CodeCoverage] Setting handlers for process 29958.
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unchecked lastError value: Error: ID already exists: muted-tab" {file: "moz-extension://1a29c8af-d18d-4ece-ae0c-cfa3eabf8f7c/%7B7cc6e17b-7fbc-455c-bedd-91d939eef018%7D.js" line: 9}]
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  @moz-extension://1a29c8af-d18d-4ece-ae0c-cfa3eabf8f7c/%7B7cc6e17b-7fbc-455c-bedd-91d939eef018%7D.js:9:23
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  "
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  "CONSOLE_MESSAGE: (info) === console listener 0.9610759646168807 done ==="
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  TEST-PASS | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | test_create_menu_ext_error - [test_create_menu_ext_error : 40] Message source - "moz-extension://1a29c8af-d18d-4ece-ae0c-cfa3eabf8f7c/%7B7cc6e17b-7fbc-455c-bedd-91d939eef018%7D.js" == "moz-extension://1a29c8af-d18d-4ece-ae0c-cfa3eabf8f7c/%7B7cc6e17b-7fbc-455c-bedd-91d939eef018%7D.js"
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  TEST-PASS | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | test_create_menu_ext_error - [test_create_menu_ext_error : 42] Message content - "Unchecked lastError value: Error: ID already exists: muted-tab" == "Unchecked lastError value: Error: ID already exists: muted-tab"
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  TEST-PASS | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | test_create_menu_ext_error - [test_create_menu_ext_error : 47] Message line - 9 == 9
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  TEST-PASS | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | test_create_menu_ext_error - [test_create_menu_ext_error : 50] Frame source - "moz-extension://1a29c8af-d18d-4ece-ae0c-cfa3eabf8f7c/%7B7cc6e17b-7fbc-455c-bedd-91d939eef018%7D.js" == "moz-extension://1a29c8af-d18d-4ece-ae0c-cfa3eabf8f7c/%7B7cc6e17b-7fbc-455c-bedd-91d939eef018%7D.js"
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  TEST-PASS | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | test_create_menu_ext_error - [test_create_menu_ext_error : 51] Frame line - 9 == 9
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  TEST-PASS | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | test_create_menu_ext_error - [test_create_menu_ext_error : 52] Frame column - 23 == 23
[task 2021-02-11T23:19:47.153Z] 23:19:47  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | test_create_menu_ext_error - [test_create_menu_ext_error : 53] Frame function name - null == "background/<"
[task 2021-02-11T23:19:47.153Z] 23:19:47     INFO -  /builds/worker/workspace/build/tests/xpcshell/tests/browser/components/extensions/test/xpcshell/test_ext_menu_caller.js:test_create_menu_ext_error:53
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_do_main:239
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_execute_test:567
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  -e:null:1
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  exiting test
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  _abort_failed_test@/builds/worker/workspace/build/tests/xpcshell/head.js:827:20
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  do_report_result@/builds/worker/workspace/build/tests/xpcshell/head.js:928:5
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  Assert<@/builds/worker/workspace/build/tests/xpcshell/head.js:73:21
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  proto.report@resource://testing-common/Assert.jsm:233:10
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  equal@resource://testing-common/Assert.jsm:275:8
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  test_create_menu_ext_error@/builds/worker/workspace/build/tests/xpcshell/tests/browser/components/extensions/test/xpcshell/test_ext_menu_caller.js:53:8
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:239:6
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:567:5
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  @-e:1:1
[task 2021-02-11T23:19:47.154Z] 23:19:47     INFO -  exiting test```

Sunday, do you want to check why the test added in bug 1588616 frequently fails on these slow platforms?

Flags: needinfo?(digitalsimboja)

I would check

Flags: needinfo?(digitalsimboja)

The failure only happens in the CCov job, and the error is:

TEST-UNEXPECTED-FAIL | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_menu_caller.js | test_create_menu_ext_error - [test_create_menu_ext_error : 53] Frame function name - null == "background/<"

I don't know the exact cause of the issue, but changes to stack traces or debugging information is something that may happen when code coverage instrumentation is added.

To resolve this bug, I suggest to simply remove the assertion, i.e. remove this line: https://hg.mozilla.org/mozilla-central/rev/3b9a479c0705#l2.57

Alright, I will remove the line suggested and commit again. Thanks

Assignee: nobody → digitalsimboja
Status: NEW → ASSIGNED
Attachment #9203043 - Attachment description: Bug 1692349 Resolve Intermitent browser/components/extensions/test/xpcshell/test_ext_menu_caller failure on slow platforms r=robwu → Bug 1692349 - Remove unreliable assertion in test_ext_menu_caller.js r=robwu
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/03490065acf6
Remove unreliable assertion in test_ext_menu_caller.js r=robwu
Whiteboard: [stockwell needswork:owner]
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.