← Back to team overview

kicad-developers team mailing list archive

Re: Jenkins e-mails?

 

Hmmm… just guessing, I just know what works for me…

AFAIK gmail strictly respects DMARC policies.

Jenkins mails come from "miguelangel@xxxxxx <mailto:miguelangel@xxxxxx>”.
ajo.es <http://ajo.es/> has a DMARC record, which enforces a 100% reject on “illegal” mails:
<<<
v=DMARC1;p=reject;pct=100
>>>
It also has a SPF entry
<<<
v=spf1 a:cpanel.optimizacionweb.es -all
>>>

Jenkins mails don’t have a DKIM signature at all.
So, I guess both DKIM and SPF checks will fail at gmail.
As a result, it will reject the mail as “spam”.


Regards,
Bernhard

> On 29. Jun 2018, at 18:35, Seth Hillbrand <seth.hillbrand@xxxxxxxxx> wrote:
> 
> Thanks for digging into this.  I use GMail.  The last notification I received from Jenkins was Dec 2017.  I see now that others have been receiving them as I get the replies they send quoting the original.
> 
> The messages are not in Spam, so there's something else going on.  Does anyone on the list using Gmail receive the messages?
> -S
> 
> Am Fr., 29. Juni 2018 um 09:24 Uhr schrieb Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>>:
> I checked and I also got the kicad-qa Jenkins mail Seth mentioned.
> 
> No, I don’t use gmail.
> I am running my own mail server.
> 
> I had a quick look into the mail headers and server logs for such a Jenkins mail.
> I didn’t see anything suspicious that would prevent delivery (at least with my config and spam filtering).
> 
> 
> Regards,
> Bernhard
> 
>> On 29. Jun 2018, at 16:56, Nick Østergaard <oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>> wrote:
>> 
>> Ok thanks, yes those are the ones. 
>> 
>> Do you use gmail, or what could possibly be the issue here? Clearly the emails reach the dev list.
>> 
>> fre. 29. jun. 2018 14.52 skrev Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>>:
>> Just FYI… I do receive them, see attached.
>> Or, do you mean different ones?
>> 
>> 
>> Regards,
>> Bernhard
>> 
>> 
>> 
>> 
>> ---------- Forwarded message ----------
>> From: Miguel Angel Ajo <miguelangel@xxxxxx <mailto:miguelangel@xxxxxx>>
>> To: kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> Cc: 
>> Bcc: 
>> Date: Fri, 29 Jun 2018 14:10:13 +0200 (CEST)
>> Subject: [Kicad-developers] Build failed in Jenkins: linux-kicad-full-gcc-head #3621
>> See <http://ci.kicad-pcb.org/job/linux-kicad-full-gcc-head/3621/display/redirect <http://ci.kicad-pcb.org/job/linux-kicad-full-gcc-head/3621/display/redirect>>
>> 
>> ------------------------------------------
>> Started by upstream project "any-kicad-mirror-head" build number 2546
>> originally caused by:
>>  Started by remote host 91.189.89.26 with note: Something was pushed to the launchpad repo
>> Building remotely on docker-34ae3216798f61 on docker (docker_ubuntu-16.04_ssh) in workspace <http://ci.kicad-pcb.org/job/linux-kicad-full-gcc-head/ws/ <http://ci.kicad-pcb.org/job/linux-kicad-full-gcc-head/ws/>>
>> Cloning the remote Git repository
>> Cloning repository https://git.launchpad.net/kicad <https://git.launchpad.net/kicad>
>>  > git init <http://ci.kicad-pcb.org/job/linux-kicad-full-gcc-head/ws/ <http://ci.kicad-pcb.org/job/linux-kicad-full-gcc-head/ws/>> # timeout=10
>> Fetching upstream changes from https://git.launchpad.net/kicad <https://git.launchpad.net/kicad>
>>  > git --version # timeout=10
>>  > git fetch --tags --progress https://git.launchpad.net/kicad <https://git.launchpad.net/kicad> +refs/heads/*:refs/remotes/origin/*
>> ERROR: Error cloning remote repo 'origin'
>> hudson.plugins.git.GitException: Command "git fetch --tags --progress https://git.launchpad.net/kicad <https://git.launchpad.net/kicad>+refs/heads/*:refs/remotes/origin/*" returned status code 128:
>> stdout: 
>> stderr: remote: Counting objects: 1750           remote: Counting objects: 4345           remote: Counting objects: 7156           remote: Counting objects: 9611           remote: Counting objects: 12393           remote: Counting objects: 15719           remote: Counting objects: 20690           remote: Counting objects: 21028           remote: Counting objects: 21302           remote: Counting objects: 21637           remote: Counting objects: 21840           remote: Counting objects: 22246           remote: Counting objects: 22441           remote: Counting objects: 22797           remote: Counting objects: 23552           remote: Counting objects: 23776           remote: Counting objects: 24005           remote: Counting objects: 24415           remote: Counting objects: 24798           remote: Counting objects: 24991           remote: Counting objects: 25547           remote: Counting objects: 25818           remote: Counting objects: 26171           remote: Counting objects: 26
>>  496           remote: Counting objects: 26804           remote: Counting objects: 27149           remote: Counting objects: 27670           remote: Counting objects: 28076           remote: Counting objects: 29076           remote: Counting objects: 29664           remote: Counting objects: 30001           remote: Counting objects: 31107           remote: Counting objects: 31554           remote: Counting objects: 32159           remote: Counting objects: 32707           remote: Counting objects: 33350           remote: Counting objects: 33401           remote: Counting objects: 34225           remote: Counting objects: 37877           remote: Counting objects: 42433           remote: Counting objects: 45342           remote: Counting objects: 48789           remote: Counting objects: 52295           remote: Counting objects: 55820           remote: Counting objects: 58656           remote: Counting objects: 62159           remote: Counting objects: 65000           remote: Counting 
>>  objects: 69185           remote: Counting objects: 72640           remote: Counting objects: 77637           remote: Counting objects: 82726           remote: Counting objects: 86684           remote: Counting objects: 90249           remote: Counting objects: 97047           remote: Counting objects: 101580           remote: Counting objects: 105322           remote: Counting objects: 110104           remote: Counting objects: 114827           remote: Counting objects: 120296           remote: Counting objects: 124368           remote: Counting objects: 128094           remote: Counting objects: 128517           remote: Counting objects: 132214           remote: Counting objects: 136128           remote: Counting objects: 140115           remote: Counting objects: 141826           remote: Counting objects: 144949           remote: Counting objects: 148695           remote: Counting objects: 151908           remote: Counting objects: 156485           remote: Counting objects: 157535
>>  , done.        
>> remote: Compressing objects:   0% (1/45564)           remote: Compressing objects:   1% (456/45564)           remote: Compressing objects:   1% (867/45564)           remote: Compressing objects:   2% (912/45564)           remote: Compressing objects:   3% (1367/45564)           remote: Compressing objects:   4% (1823/45564)           remote: Compressing objects:   4% (1927/45564)           remote: Compressing objects:   5% (2279/45564)           remote: Compressing objects:   6% (2734/45564)           remote: Compressing objects:   6% (2835/45564)           remote: Compressing objects:   7% (3190/45564)           remote: Compressing objects:   8% (3646/45564)           remote: Compressing objects:   8% (3885/45564)           remote: Compressing objects:   9% (4101/45564)           remote: Compressing objects:  10% (4557/45564)           remote: Compressing objects:  11% (5013/45564)           remote: Compressing objects:  11% (5143/45564)           remote: Compressing objects:  12% (
>>  5468/45564)           remote: Compressing objects:  13% (5924/45564)           remote: Compressing objects:  13% (6214/45564)           remote: Compressing objects:  14% (6379/45564)           remote: Compressing objects:  15% (6835/45564)           remote: Compressing objects:  16% (7291/45564)           remote: Compressing objects:  16% (7321/45564)           remote: Compressing objects:  17% (7746/45564)           remote: Compressing objects:  18% (8202/45564)           remote: Compressing objects:  18% (8415/45564)           remote: Compressing objects:  19% (8658/45564)           remote: Compressing objects:  20% (9113/45564)           remote: Compressing objects:  21% (9569/45564)           remote: Compressing objects:  21% (9671/45564)           remote: Compressing objects:  22% (10025/45564)           remote: Compressing objects:  23% (10480/45564)           remote: Compressing objects:  24% (10936/45564)           remote: Compressing objects:  24% (11350/45564)           re
>>  mote: Compressing objects:  25% (11391/45564)           remote: Compressing objects:  26% (11847/45564)           remote: Compressing objects:  27% (12303/45564)           remote: Compressing objects:  28% (12758/45564)           remote: Compressing objects:  29% (13214/45564)           remote: Compressing objects:  30% (13670/45564)           remote: Compressing objects:  31% (14125/45564)           remote: Compressing objects:  32% (14581/45564)           remote: Compressing objects:  32% (14953/45564)           remote: Compressing objects:  33% (15037/45564)           remote: Compressing objects:  34% (15492/45564)           remote: Compressing objects:  34% (15854/45564)           remote: Compressing objects:  35% (15948/45564)           remote: Compressing objects:  36% (16404/45564)           remote: Compressing objects:  36% (16419/45564)           remote: Compressing objects:  37% (16859/45564)           remote: Compressing objects:  37% (17039/45564)           remote: Compr
>>  essing objects:  38% (17315/45564)           remote: Compressing objects:  38% (17636/45564)           remote: Compressing objects:  39% (17770/45564)           remote: Compressing objects:  40% (18226/45564)           remote: Compressing objects:  40% (18535/45564)           remote: Compressing objects:  41% (18682/45564)           remote: Compressing objects:  42% (19137/45564)           remote: Compressing objects:  42% (19320/45564)           remote: Compressing objects:  43% (19593/45564)           remote: Compressing objects:  43% (19800/45564)           remote: Compressing objects:  44% (20049/45564)           remote: Compressing objects:  44% (20127/45564)           remote: Compressing objects:  44% (20460/45564)           remote: Compressing objects:  45% (20504/45564)           remote: Compressing objects:  45% (20881/45564)           remote: Compressing objects:  46% (20960/45564)           remote: Compressing objects:  46% (21152/45564)           remote: Compressing obje
>>  cts:  47% (21416/45564)           remote: Compressing objects:  47% (21492/45564)           remote: Compressing objects:  47% (21836/45564)           remote: Compressing objects:  48% (21871/45564)           remote: Compressing objects:  48% (22115/45564)           remote: Compressing objects:  48% (22312/45564)           remote: Compressing objects:  49% (22327/45564)           remote: Compressing objects:  49% (22622/45564)           remote: Compressing objects:  50% (22782/45564)           remote: Compressing objects:  50% (22800/45564)           remote: Compressing objects:  51% (23238/45564)           remote: Compressing objects:  51% (23338/45564)           remote: Compressing objects:  52% (23694/45564)           remote: Compressing objects:  52% (23751/45564)           remote: Compressing objects:  52% (24141/45564)           remote: Compressing objects:  53% (24149/45564)           remote: Compressing objects:  53% (24317/45564)           remote: Compressing objects:  54% (
>>  24605/45564)           remote: Compressing objects:  54% (24883/45564)           remote: Compressing objects:  55% (25061/45564)           remote: Compressing objects:  55% (25447/45564)           remote: Compressing objects:  56% (25516/45564)           remote: Compressing objects:  57% (25972/45564)           remote: Compressing objects:  57% (26278/45564)           remote: Compressing objects:  58% (26428/45564)           remote: Compressing objects:  58% (26651/45564)           remote: Compressing objects:  58% (26797/45564)           remote: Compressing objects:  59% (26883/45564)           remote: Compressing objects:  59% (27159/45564)           remote: Compressing objects:  60% (27339/45564)           remote: Compressing objects:  60% (27431/45564)           remote: Compressing objects:  60% (27502/45564)           remote: Compressing objects:  60% (27655/45564)           remote: Compressing objects:  60% (27786/45564)           remote: Compressing objects:  61% (27795/45564
>>  )           remote: Compressing objects:  61% (28030/45564)           remote: Compressing objects:  61% (28200/45564)           remote: Compressing objects:  62% (28250/45564)           remote: Compressing objects:  62% (28303/45564)           remote: Compressing objects:  62% (28402/45564)           remote: Compressing objects:  62% (28545/45564)           remote: Compressing objects:  63% (28706/45564)           remote: Compressing objects:  63% (28708/45564)           remote: Compressing objects:  63% (28904/45564)           remote: Compressing objects:  63% (29008/45564)           remote: Compressing objects:  64% (29161/45564)           remote: Compressing objects:  64% (29194/45564)           remote: Compressing objects:  64% (29369/45564)           remote: Compressing objects:  64% (29523/45564)           remote: Compressing objects:  65% (29617/45564)           remote: Compressing objects:  65% (29835/45564)           remote: Compressing objects:  66% (30073/45564)          
>>   remote: Compressing objects:  66% (30125/45564)           remote: Compressing objects:  66% (30301/45564)           remote: Compressing objects:  67% (30528/45564)           remote: Compressing objects:  67% (30585/45564)           remote: Compressing objects:  67% (30897/45564)           remote: Compressing objects:  68% (30984/45564)           remote: Compressing objects:  68% (31133/45564)           remote: Compressing objects:  69% (31440/45564)           remote: Compressing objects:  70% (31895/45564)           remote: Compressing objects:  70% (32101/45564)           remote: Compressing objects:  71% (32351/45564)           remote: Compressing objects:  71% (32683/45564)           remote: Compressing objects:  72% (32807/45564)           remote: Compressing objects:  72% (33197/45564)           remote: Compressing objects:  73% (33262/45564)           remote: Compressing objects:  73% (33586/45564)           remote: Compressing objects:  73% (33692/45564)           remote: Co
>>  mpressing objects:  74% (33718/45564)           remote: Compressing objects:  74% (33855/45564)           remote: Compressing objects:  74% (33980/45564)           remote: Compressing objects:  74% (34092/45564)           remote: Compressing objects:  75% (34173/45564)           remote: Compressing objects:  75% (34251/45564)           remote: Compressing objects:  75% (34399/45564)           remote: Compressing objects:  75% (34592/45564)           remote: Compressing objects:  75% (34594/45564)           remote: Compressing objects:  76% (34629/45564)           remote: Compressing objects:  76% (34669/45564)           remote: Compressing objects:  76% (34791/45564)           remote: Compressing objects:  76% (34913/45564)           remote: Compressing objects:  76% (35032/45564)           remote: Compressing objects:  77% (35085/45564)           remote: Compressing objects:  77% (35148/45564)           remote: Compressing objects:  77% (35179/45564)           remote: Compressing o
>>  bjects:  77% (35272/45564)           remote: Compressing objects:  77% (35354/45564)           remote: Compressing objects:  77% (35428/45564)           remote: Compressing objects:  77% (35460/45564)           remote: Compressing objects:  77% (35468/45564)           remote: Compressing objects:  77% (35510/45564)           remote: Compressing objects:  78% (35540/45564)           remote: Compressing objects:  78% (35624/45564)           remote: Compressing objects:  78% (35672/45564)           remote: Compressing objects:  78% (35675/45564)           remote: Compressing objects:  78% (35686/45564)           remote: Compressing objects:  78% (35724/45564)           remote: Compressing objects:  78% (35804/45564)           remote: Compressing objects:  78% (35918/45564)           remote: Compressing objects:  79% (35996/45564)           remote: Compressing objects:  79% (36014/45564)           remote: Compressing objects:  79% (36113/45564)           remote: Compressing objects:  79
>>  % (36157/45564)           remote: Compressing objects:  79% (36184/45564)           remote: Compressing objects:  79% (36299/45564)           remote: Compressing objects:  79% (36380/45564)           remote: Compressing objects:  80% (36452/45564)           remote: Compressing objects:  80% (36490/45564)           remote: Compressing objects:  80% (36560/45564)           remote: Compressing objects:  80% (36586/45564)           remote: Compressing objects:  80% (36660/45564)           remote: Compressing objects:  80% (36740/45564)           remote: Compressing objects:  80% (36848/45564)           remote: Compressing objects:  81% (36907/45564)           remote: Compressing objects:  81% (36949/45564)           remote: Compressing objects:  81% (37003/45564)           remote: Compressing objects:  81% (37059/45564)           remote: Compressing objects:  81% (37131/45564)           remote: Compressing objects:  81% (37236/45564)           remote: Compressing objects:  82% (37363/45
>>  564)           remote: Compressing objects:  82% (37368/45564)           remote: Compressing objects:  82% (37471/45564)           remote: Compressing objects:  82% (37581/45564)           remote: Compressing objects:  82% (37646/45564)           remote: Compressing objects:  82% (37724/45564)           remote: Compressing objects:  82% (37811/45564)           remote: Compressing objects:  83% (37819/45564)           remote: Compressing objects:  83% (37868/45564)           remote: Compressing objects:  83% (37896/45564)           remote: Compressing objects:  83% (37954/45564)           remote: Compressing objects:  83% (37991/45564)           remote: Compressing objects:  83% (38051/45564)           remote: Compressing objects:  83% (38098/45564)           remote: Compressing objects:  83% (38105/45564)           remote: Compressing objects:  83% (38126/45564)           remote: Compressing objects:  83% (38138/45564)           remote: Compressing objects:  83% (38139/45564)       
>>      fatal: The remote end hung up unexpectedly
>> fatal: protocol error: bad pack header
>> 
>>         at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2002)
>>         at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1721)
>>         at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:72)
>>         at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:405)
>>         at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:614)
>>         at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
>>         at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
>>         at hudson.remoting.UserRequest.perform(UserRequest.java:212)
>>         at hudson.remoting.UserRequest.perform(UserRequest.java:54)
>>         at hudson.remoting.Request$2.run(Request.java:369)
>>         at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>         at java.lang.Thread.run(Thread.java:748)
>>         Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to docker-34ae3216798f61
>>                 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
>>                 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
>>                 at hudson.remoting.Channel.call(Channel.java:955)
>>                 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
>>                 at sun.reflect.GeneratedMethodAccessor610.invoke(Unknown Source)
>>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>                 at java.lang.reflect.Method.invoke(Method.java:498)
>>                 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
>>                 at com.sun.proxy.$Proxy88.execute(Unknown Source)
>>                 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1146)
>>                 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
>>                 at hudson.scm.SCM.checkout(SCM.java:504)
>>                 at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
>>                 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
>>                 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
>>                 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
>>                 at hudson.model.Run.execute(Run.java:1794)
>>                 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>>                 at hudson.model.ResourceController.execute(ResourceController.java:97)
>>                 at hudson.model.Executor.run(Executor.java:429)
>> ERROR: Error cloning remote repo 'origin'
>> [WARNINGS] Skipping publisher since build result is FAILURE
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>> 
>> 
>>> On 29. Jun 2018, at 08:02, Nick Østergaard <oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>> wrote:
>>> 
>>> No, this has not been disabled on purpose. I noticed this too, but I have also noticed that I actually works, the mailing list is receiving it, but I go not see it in my gmail inbox either.
>>> 
>>> https://lists.launchpad.net/kicad-developers/msg36340.html <https://lists.launchpad.net/kicad-developers/msg36340.html>
>>> 
>>> So because of this I stopped to look for issues in Jenkins and just assume it was affecting me and I havd some crazy filter setup that throws it away.
>>> 
>>> Maybe launchpad is not relaying the message.
>>> 
>>> Nick
>>> 
>>> fre. 29. jun. 2018 05.38 skrev Seth Hillbrand <seth.hillbrand@xxxxxxxxx <mailto:seth.hillbrand@xxxxxxxxx>>:
>>> ​Hi Nick-
>>> 
>>> I notice that the dev list is not receiving notices of build failures from Jenkins.  But the build logs (e.g. http://ci.kicad-pcb.org/job/kicad-qa/4320/console <http://ci.kicad-pcb.org/job/kicad-qa/4320/console>) show that Jenkins is trying to send e-mails.
>>> 
>>> Was this disabled on purpose?  If so, is there a way to get specifically added to the notifications?
>>> 
>>> Thanks-
>>> Seth​
>>> 
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>

Follow ups

References