subscription to filter doesn't work

Bug #1078329 reported by Fathi Boudra
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Dashboard (deprecated)
Fix Released
Undecided
Michael Hudson-Doyle

Bug Description

I created a filter and subscribe to receive "Always" the notification by e-mail but didn't received any.

Changed in lava-dashboard:
milestone: none → 2012.12
assignee: nobody → Michael Hudson-Doyle (mwhudson)
status: New → Triaged
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Hm. It looks like it should have tried to send you an email for this bundle http://validation.linaro.org/lava-server/dashboard/streams/private/team/linaro/ci-LT-TI-working-tree-3_4/bundles/2623af54c5e872afee48349a62f2864a3a641fb2/ that was uploaded at Nov. 27, 2012, 2:36 a.m (UTC -- about 18 hours ago):

>>> from dashboard_app import models
>>> b = models.Bundle.objects.get(content_sha1='2623af54c5e872afee48349a62f2864a3a641fb2')
>>> models.TestRunFilterSubscription.recipients_for_bundle(b)
{<User: fabo>: [<dashboard_app.models.FilterMatch object at 0x36d4ed0>]}

I don't see any record of the mail that this should have sent in the postfix logs though :/ Will try to dig a little.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

The subscription works when I subscribe to the filter on my system. So why isn't it working on control? No idea. I'll add some logging and see what can be found.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

So the logging found the problem, and it was fairly embarrassing: the template used to build the mail wasn't in the release tarballs. Staging and my local development run the dashboard from a branch checkout and so had the template.

I've deployed the fix, let's see if the mail starts flowing...

Changed in lava-dashboard:
status: Triaged → In Progress
Revision history for this message
Fathi Boudra (fboudra) wrote : Re: [Bug 1078329] Re: subscription to filter doesn't work

On 9 December 2012 23:38, Michael Hudson-Doyle
<email address hidden> wrote:
> So the logging found the problem, and it was fairly embarrassing: the
> template used to build the mail wasn't in the release tarballs. Staging
> and my local development run the dashboard from a branch checkout and so
> had the template.
>
> I've deployed the fix, let's see if the mail starts flowing...

Thanks, I'm now receiving the notifications :)

Changed in lava-dashboard:
status: In Progress → Fix Committed
Changed in lava-dashboard:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.