'Create Interactive Task' fails requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://taskcluster/api/notify/v1/email
Categories
(Firefox Build System :: Task Configuration, defect)
Tracking
(Not tracked)
People
(Reporter: aryx, Assigned: jcristau)
References
Details
Creating an interactive task from Treeherder's "..." menu for e.g. Linux x64 debug mochitest-plain always fails.
That task has some addition logging to verify the mozilla-central code matches the schema defined by taskcluster but every argument required is available and link
properties also match the restrictions (haven't checked how uri
gets validated but the listed one should validate).
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 2•1 year ago
|
||
Is this still an issue? I tried with https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception%2Cusercancel&revision=b4750020813b39367a961c74a50049e1083b76fd&searchStr=x64%2Cdebug%2Cmochitest-plain&selectedTaskRun=Eu26yJoRQCu4eUVZOsb6Tw.0 and got an interactive task back (https://firefox-ci-tc.services.mozilla.com/tasks/FmYtGExVSeuk5GamnTc_bQ and https://firefox-ci-tc.services.mozilla.com/tasks/YIt7tV0tR024dwT5VWMf_g)
Assignee | ||
Comment 4•1 year ago
|
||
[task 2023-08-17T12:04:31.014Z] http://taskcluster:80 "POST /api/notify/v1/email HTTP/1.1" 400 975
[task 2023-08-17T12:04:31.015Z] response: b'{\n "code": "DenylistedAddress",\n "message": "Email archaeopteryx@coole-files.de is denylisted\\n\\n---\\n\\n* method: email\\n* errorCode: DenylistedAddress\\n* statusCode: 400\\n* time: 2023-08-17T12:04:30.996Z",\n "requestInfo": {\n "method": "email",\n "params": {},\n "payload": {\n "address": "archaeopteryx@coole-files.de",\n "subject": "Your Interactive Task for test-linux1804-64-qr/opt-mochitest-plain-1",\n "content": "As you requested, Firefox CI has created an interactive task to run test-linux1804-64-qr/opt-mochitest-plain-1\\non revision a55ef3c17157bb6a2d5246d3e912032406df5559 in https://hg.mozilla.org/try. Click the button below to connect to the\\ntask. You may need to wait for it to begin running.\\n",\n "link": {\n "text": "Connect",\n "href": "https://firefox-ci-tc.services.mozilla.com/tasks/EIReiaKXRi6mBTbrCHewIQ/connect"\n },\n "template": "simple"\n },\n "time": "2023-08-17T12:04:30.996Z"\n }\n}'
Assignee | ||
Comment 5•1 year ago
|
||
Pete, is there a way to figure out why notifications to Aryx's email address are blocked?
Assignee | ||
Comment 6•1 year ago
|
||
Address removed from the deny list, and rerun successful: https://firefox-ci-tc.services.mozilla.com/tasks/Ja7RdITgQZi7rvuWrTmppA/runs/1/logs/public/logs/live_backing.log
Assignee | ||
Updated•1 year ago
|
Comment 7•1 year ago
•
|
||
(In reply to Julien Cristau [:jcristau] from comment #5)
Pete, is there a way to figure out why notifications to Aryx's email address are blocked?
It looks like you worked this out already, but just for any onlookers following this bug, this information can be seen here:
https://firefox-ci-tc.services.mozilla.com/notify/denylist
By clicking on an address, a then clicking on the trash icon, an entry can also be deleted.
This can also be achieved with the taskcluster APIs, see https://firefox-ci-tc.services.mozilla.com/docs/reference/core/notify/api#denylist
Description
•