Closed Bug 1372252 Opened 3 years ago Closed 3 years ago

Permafailing Beta 55 ts_paint_webext | AddonInstallException: ERROR_SIGNEDSTATE_REQUIRED: The addon must be signed and isn't


(Testing :: Talos, enhancement)

Not set


(firefox-esr52 unaffected, firefox53 unaffected, firefox54 unaffected, firefox55+ fixed, firefox56 fixed)

Tracking Status
firefox-esr52 --- unaffected
firefox53 --- unaffected
firefox54 --- unaffected
firefox55 + fixed
firefox56 --- fixed


(Reporter: RyanVM, Assigned: jmaher)



(Whiteboard: [PI:June])


(2 files)

Looks like we just need to sign the addon.
Flags: needinfo?(jmaher)
I assume we can use the same jpm toolchain we use for legacy stuff:

:andym- can you confirm the procedure for signing webextensions vs addons?
Flags: needinfo?(jmaher) → needinfo?(amckay)
Whiteboard: [PI:June]
Signing the webextension would be an expedient fix but once bug 1361002 is fixed you shouldn't need to.
If you want to do signing in the short term:
Flags: needinfo?(amckay)
Depends on: 1361002
Closed: 3 years ago
Resolution: --- → FIXED
This is still happening with bug 1361002 landed on Beta.
Flags: needinfo?(jmaher)
Resolution: FIXED → ---
is bug 1370328 on beta?  it should be as we have landed it a week ago prior to the big merge.  :ryanvm, if you could check that would help
Flags: needinfo?(jmaher) → needinfo?(ryanvm)
tracking this test failure for 55
try runs look good, lets just land this!
Attachment #8877703 - Flags: review?(rwood)
Comment on attachment 8877703 [details] [diff] [review]
sign the dummy webextension

Review of attachment 8877703 [details] [diff] [review]:

Attachment #8877703 - Flags: review?(rwood) → review+
Pushed by
Sign the dummy webextension used in ts_paint_webext so that it doesn't run afoul of addon signing restrictions on Beta. r=rwood
:aswan, can you help out here, I am at a loss of what to do.
Flags: needinfo?(aswan)
The extension itself looks good to me.  I'm unable to load anything from treeherder right now, is it still failing with the same error (SIGNEDSTATE_REQUIRED)?
Flags: needinfo?(aswan)
yes, same error- from a recent log:

08:13:49     INFO -  TEST-UNEXPECTED-ERROR | tp5o_webext | AddonInstallException: ERROR_SIGNEDSTATE_REQUIRED: The addon must be signed and isn't.
08:13:49    ERROR -  Traceback (most recent call last):
08:13:49     INFO -    File "/builds/slave/test/build/tests/talos/talos/", line 235, in run_tests
08:13:49     INFO -      talos_results.add(mytest.runTest(browser_config, test))
08:13:49     INFO -    File "/builds/slave/test/build/tests/talos/talos/", line 69, in runTest
08:13:49     INFO -      with FFSetup(browser_config, test_config) as setup:
08:13:49     INFO -    File "/builds/slave/test/build/tests/talos/talos/", line 204, in __enter__
08:13:49     INFO -      self._run_profile()
08:13:49     INFO -    File "/builds/slave/test/build/tests/talos/talos/", line 151, in _run_profile
08:13:49     INFO -      addons.install(filename)
08:13:49     INFO -    File "/builds/slave/test/build/venv/lib/python2.7/site-packages/marionette_driver/", line 93, in install
08:13:49     INFO -      raise AddonInstallException(ADDON_INSTALL_ERRORS[status])
08:13:49     INFO -  AddonInstallException: AddonInstallException: ERROR_SIGNEDSTATE_REQUIRED: The addon must be signed and isn't.

this doesn't fail on windows/opt builds, only on windows pgo.  osxdevedition passes, but addon signing is disabled there.
Note that "window opt" are mislabeled DevEdition tests as well (which at least makes the results saner to comprehend)
Is the problem as simple as ts_paint_webext got updated but tp5o_webext did not:
Flags: needinfo?(jmaher)
I cannot believe I overlooked this, but glad to have it pointed out.  I am not confident this will help, but I want to at least get this landed and in place so we have less concerns in the future.
Flags: needinfo?(jmaher)
Attachment #8878099 - Flags: review?(rwood)
Attachment #8878099 - Flags: review?(rwood) → review+
Pushed by
Permafailing Beta 55 ts_paint_webext- add signed extension for all webext tests. r=rwood
I guess we'll see what happens but why don't you think this will help?  Note that the subject of the bug references "ts_paint_webext" and the error in comment 16 which happened after the original patch was pushed doesn't mention ts_paint but it does mention "tp5o_webext".
oh, I missed that- maybe we are good- lets see.

:RyanVM- can you uplift this to beta.
Flags: needinfo?(ryanvm)
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.