New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running web-ext sign
results in a timeout at "Validating add-on" if name in manifest includes "Firefox"
#690
Comments
Trying to run diffs between the files in the two versions. Seeing no difference in lmorchard@preciso:~/devel/ThemesRFun/build$ diff themer-extension/extension/manifest.json firefoxcolor-extension/exten
sion/manifest.json
2c2
< "name": "Themer (local)",
---
> "name": "Firefox Color (local)",
10c10
< "default_title": "Themer",
---
> "default_title": "Firefox Color",
39c39
< "id": "themer-local@mozilla.com",
---
> "id": "firefoxcolor-local@mozilla.com",
44,45c44,45
< "version": "0.0.36",
< "description": "Theming demo for Firefox Quantum and beyond.",
---
> "version": "0.0.34",
> "description": "Theming experiment for Firefox Quantum and beyond.",
47c47
< "homepage_url": "https://mozilla.github.io/Themer/"
---
> "homepage_url": "https://mozilla.github.io/FirefoxColor/" |
To be more clear about steps to reproduce - the zip files I attached are extracts from my build directory. In a nutshell, skipping my build process, the zip files could be used like so:
This gets to the "Validating add-on" stage, populates the brackets with dots (e.g. If I instead use Also FWIW, I'm trying to sign this for self-hosting and not a listed release on AMO. My sole interaction with AMO with this project has been getting API keys and using |
One more thing I just discovered in trying to reduce the test case down: If I change the If I change it back to "Firefox Color (local)", the timeout occurs again. It seems like just having the word "Firefox" in the name is causing an issue? |
web-ext sign
results in a timeout at "Validating add-on"web-ext sign
results in a timeout at "Validating add-on" if name in manifest includes "Firefox"
Hi @lmorchard. I'm away on parental leave but maybe @rpl can help if it's a |
Good catch @lmorchard. We do have a trademark check in our validation tools. However, of course the validation should not timeout when that rule is triggered. |
Captured verbose log output - log.txt Pretty long, but most of it looks like the repeated requests at the end of the process leading up to the timeout. |
@EnTeQuAk would you be able to look into this? |
I've also just run into this testing signing for add-ons for Firefox Reality. |
https://sentry.prod.mozaws.net/operations/olympia-prod/issues/6565855/?query=is:unresolved This should have resulted in a proper validation error, not an uncaught exception... |
We've identified the issue. It's limited to users with a mozilla email using the API. The check for Mozilla Trademark is made twice, but the second time, if using the API, is made without the user that had submitted the add-on, and the validation error it raises is then uncaught. If using an user with a non mozilla email to submit, the error is caught during the initial call, and we never reach the second one so it works as expected, showing a validation error to the user. |
This will be fixed in prod next week. QA: make sure submitting an add-on with "Firefox" in the name works for people with a mozilla email, and raises a validation error otherwise. This should apply to both devhub and API submissions. |
Using an add-on that has the "mozilla" or "firefox" trademark in its name or guid, I was able to reproduce the issue when running After that, I've run the same test on -dev and the issue didn't reproduced anymore => the add-on is successfully signed. Additionally, I've submitted the same type of extensions in devhub and the results were as expected - i.e 'mozilla' user sees no error, while a regular user sees the trademark violation error. @diox something I've noticed and thought it was worth sharing: when I've uploaded an add-on on stage through the signing API directly, i.e not through |
Yes, this "timeout" is purely on |
We recently changed the name of our add-on from "Themer" to "Firefox Color". The ID also changed from themer-local@mozilla.com to firefoxcolor-local@mozilla.com
After that change, I get a timeout at the "Validating add-on" step when running
web-ext sign
. When I revert the name change, the signing works without a timeout.Attached are two versions of the add-on, one before and one after the name change:
The text was updated successfully, but these errors were encountered: