Closed Bug 1512100 Opened 6 years ago Closed 6 years ago

Perma-fail testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py TestMarionette.test_application_update_disabled | JavascriptException: TypeError: Cc['@mozilla.org/updates/update-service;1'] is undefined; can't access its

Categories

(Testing :: Marionette Client and Harness, defect, P1)

Version 3
defect

Tracking

(firefox64 unaffected, firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox64 --- unaffected
firefox65 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered])

Filed by: aciure [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=215468077&repo=autoland

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

[task 2018-12-04T21:45:12.512Z] 21:45:12     INFO -  TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py TestMarionette.test_application_update_disabled
[task 2018-12-04T21:45:17.776Z] 21:45:17  WARNING -  TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py TestMarionette.test_application_update_disabled | JavascriptException: TypeError: Cc['@mozilla.org/updates/update-service;1'] is undefined; can't access its "getService" property
[task 2018-12-04T21:45:17.776Z] 21:45:17     INFO -  stacktrace:
[task 2018-12-04T21:45:17.776Z] 21:45:17     INFO -  	@tests/testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py:72:11
[task 2018-12-04T21:45:17.778Z] 21:45:17     INFO -  	@tests/testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py:71:2
[task 2018-12-04T21:45:17.778Z] 21:45:17     INFO -  	evaluate.sandbox/promise<@chrome://marionette/content/evaluate.js:128:13
[task 2018-12-04T21:45:17.779Z] 21:45:17     INFO -  	evaluate.sandbox@chrome://marionette/content/evaluate.js:97:17
[task 2018-12-04T21:45:17.779Z] 21:45:17     INFO -  	GeckoDriver.prototype.execute_@chrome://marionette/content/driver.js:1028:19
[task 2018-12-04T21:45:17.779Z] 21:45:17     INFO -  Traceback (most recent call last):
[task 2018-12-04T21:45:17.780Z] 21:45:17     INFO -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 159, in run
[task 2018-12-04T21:45:17.780Z] 21:45:17     INFO -      testMethod()
[task 2018-12-04T21:45:17.780Z] 21:45:17     INFO -    File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py", line 71, in test_application_update_disabled
[task 2018-12-04T21:45:17.781Z] 21:45:17     INFO -      """)
[task 2018-12-04T21:45:17.781Z] 21:45:17     INFO -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1741, in execute_script
[task 2018-12-04T21:45:17.781Z] 21:45:17     INFO -      rv = self._send_message("WebDriver:ExecuteScript", body, key="value")
[task 2018-12-04T21:45:17.781Z] 21:45:17     INFO -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
[task 2018-12-04T21:45:17.782Z] 21:45:17     INFO -      return func(*args, **kwargs)
[task 2018-12-04T21:45:17.782Z] 21:45:17     INFO -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 764, in _send_message
[task 2018-12-04T21:45:17.782Z] 21:45:17     INFO -      self._handle_error(err)
[task 2018-12-04T21:45:17.782Z] 21:45:17     INFO -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 784, in _handle_error
[task 2018-12-04T21:45:17.782Z] 21:45:17     INFO -      raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2018-12-04T21:45:17.782Z] 21:45:17     INFO -  TEST-INFO took 5264ms
Summary: Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py TestMarionette.test_application_update_disabled | JavascriptException: TypeError: Cc['@mozilla.org/updates/update-service;1'] is undefined; can't access its → Perma-fail testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py TestMarionette.test_application_update_disabled | JavascriptException: TypeError: Cc['@mozilla.org/updates/update-service;1'] is undefined; can't access its
Sorry for that. This is a new test as landed in bug 1508726. The test should actually not run on Android given that we don't have an update service there. I will fix it immediately.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Depends on: 1508726
Priority: P5 → P1
Fixed by this backout: https://hg.mozilla.org/integration/autoland/rev/f1f136ea674c759c22ad7c13b547ca08bd25b147
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Product: Testing → Remote Protocol
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.