E-mail notifications has stopped working suddenly

Hi guys,
Some time ago I noticed that users are not getting group email notifications. However when they set up personal notifications (in profile) it partially works (for some configurations/projects, for some not). Test email pass as well. Here is my set up:
> TeamCity Professional 8.1.5 (build 30240)
> Email config: gmail smtp with ssl
> vcs - git
> each user created account from teamcity startup page
> we are using default email template (means no changes were made in it)
> we are using postgresql as teamcity db
> server is running under ubuntu 12.04
> users were devided into 3 groups (dev, test, admins)

Things I've checked:
- both teamcity-server and notification logs. It has nothing related to the issue.
- i checked suggestions from the following posts https://devnet.jetbrains.com/message/5299391#5299391 and https://devnet.jetbrains.com/message/5523017#5523017 nothing helped

Please help.



Attachment(s):
team_city_email1.png
5 comments
Comment actions Permalink

Hi Nadya,

Please check that the emails are not excluded by "Only notify on the first failed build after successful" and "Only notify on the first successful build after failed" notification rules.
Also please enable debug-notifications logging preset and check teamcity-notifications.log file.

0
Comment actions Permalink

Thanks Alina, I'll do that and let you know about results.

0
Comment actions Permalink

Hi Alina,
Futher investigation gave me more interesting results. I've found that I reseive email notifications only for the configurations that were created from scratch not for copied once. Example.
Suppose you have two build configurations:
C1 and C2 which is copy of C1.
I'm getting notifications for C1 and nothing for C2.
Is it possible to fix it somehow other then creating a new configuration? I don't really want my history to be lost :(
Thanks in advance,
Nadya

0
Comment actions Permalink

Hi Nadya,

We are sorry for inconvenience. But I am could not reproduce the issue. I configured the same notification rules as on your screenshot and tried to copy different build configurations. I received all notifications correctly.
Could you please provide a minimum number of steps to reproduce this bug?

0
Comment actions Permalink

Hi again :)
I really don't know about exact steps cause I had about 2 weeks delay before I've found that users were not notified. I do remember some things I did. Could you please try to check the following cases:
1. Create a new build config C1 + set up group notifications for it -> run it -> rename to C -> copy with B name + set up group notifications for it -> run B
2. Create a new build config C1 + set up group notifications for it -> run it -> rename to C -> copy with C1 name + set up group notifications for it -> run C1
3. Create a config C and D with source dependency to C + set up notifications -> rename D -> copy C with name C1 + set up notifications -> delete C -> fix dependencies in D -> run C

You might think why did I do it. Well, we were using Jenkins for quite a long time and then decided to make a teamcity evoluation whether it fits us or not. I was playing around with configurations and then wanted to wipe out the history of things I created. That's why I had to rename and copy to start statisticks from scratch. :) I couldn't find any documentation of how to reset configuration statistics so I decided to simply copy the configuration to a new one which followed renaming and etc. Please let me know if you need more info from me.
Thanks,
N

0

Please sign in to leave a comment.