Closed
Bug 1194495
Opened 9 years ago
Closed 9 years ago
[MozillaPulse] Add consumer for the TaskCluster exchanges
Categories
(Webtools :: Pulse, defect)
Webtools
Pulse
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
Attachments
(2 files, 1 obsolete file)
15.23 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
2.76 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
There is no consumer for the TaskCluster exchange yet. We should get this added. http://docs.taskcluster.net/queue/exchanges/ I will dig into this tomorrow.
Assignee | ||
Comment 1•9 years ago
|
||
There are multiple exchanges defined and we also need a publisher for it.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Summary: [MozillaPulse] Add consumer for the TaskCluster exchange → [MozillaPulse] Add consumer/publisher for the TaskCluster exchanges
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1180897 implemented the multiple exchange feature recently. So i will make of it even it will be hard to figure out which topic to set given that 7 exchanges are present. The constructor will look like the following in case you are interested in completed tasks only: pulse.configure(topic=['', '', '', '', '#', '', ''], [..])
Assignee | ||
Comment 3•9 years ago
|
||
This patch should add everything. Sadly the tests are failing and I do not know why. Jonathan, do you have an idea?
Attachment #8648124 -
Flags: feedback?(jgriffin)
Assignee | ||
Comment 4•9 years ago
|
||
Given that we wont publish to taskcluster this is for consumers only.
Summary: [MozillaPulse] Add consumer/publisher for the TaskCluster exchanges → [MozillaPulse] Add consumer for the TaskCluster exchanges
Assignee | ||
Comment 5•9 years ago
|
||
The problem here was that I missed to update the configuration for taskcluster with the local host settings. That's why it tried to connect to pulse.mozilla.org, which can indeed not work.
Attachment #8648124 -
Attachment is obsolete: true
Attachment #8648124 -
Flags: feedback?(jgriffin)
Attachment #8648228 -
Flags: review?(jgriffin)
Updated•9 years ago
|
Attachment #8648228 -
Flags: review?(jgriffin) → review+
Comment 6•9 years ago
|
||
landed with version bump to 1.2: https://hg.mozilla.org/automation/mozillapulse/rev/8ae4557e0f7a
Comment 7•9 years ago
|
||
https://pypi.python.org/pypi/MozillaPulse/1.2
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•9 years ago
|
||
Sadly to the final slashes of the exchange values the consumer does not work and errors out with:
> Error occurred during pulse.listen(): Exchange.declare: (404) NOT_FOUND - no exchange 'exchange/taskcluster-queue/v1/task-completed/' in vhost '/'
I haven't thought that this is important. But given it is we need a follow-up patch here with the removal of those two trailing slashes. :/
Assignee | ||
Comment 9•9 years ago
|
||
Sorry, but it wasn't clear to me that it makes such a difference. :/
Attachment #8648630 -
Flags: review?(jgriffin)
Updated•9 years ago
|
Attachment #8648630 -
Flags: review?(jgriffin) → review+
Comment 10•9 years ago
|
||
https://hg.mozilla.org/automation/mozillapulse/rev/e6d10b16c666 https://pypi.python.org/pypi/MozillaPulse/1.2.1
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•