Closed Bug 1705354 Opened 4 years ago Closed 1 year ago

'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)

defect

Tracking

(Not tracked)

RESOLVED FIXED

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).

Still fails for me.

Flags: needinfo?(aryx.bugmail)

https://firefox-ci-tc.services.mozilla.com/tasks/Ja7RdITgQZi7rvuWrTmppA/runs/0/logs/live/public/logs/live.log#L173

[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}'

Pete, is there a way to figure out why notifications to Aryx's email address are blocked?

Flags: needinfo?(pmoore)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Assignee: nobody → jcristau
See Also: → 1849180

(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

Flags: needinfo?(pmoore)
You need to log in before you can comment on or make changes to this bug.