On 01/07/2013 01:01 PM, Vincent Massol wrote:
This is a false positive.
I had an error in my regex. It's fixed now.
However, this happened 6 times in a row, so it was important to look at
it. If we ignore all the infrastructure errors, we might not notice that
the build is consistently failing.
So, is it possible to detect when a specific kind of failure occurs,
let's say, 5 times in a row and send an email when that happens?
Thanks
-Vincent
On Jan 7, 2013, at 6:37 PM, Jenkins <build.noreply(a)xwiki.org> wrote:
> Check console output at
http://ci.xwiki.org/job/xwiki-enterprise/9763/ to view the
results.
>
> Failed tests:
> All tests passed
>
> Last build logs:
> Started by upstream project "xwiki-platform" build number 3118
> Building remotely on agent-2 in workspace
/home/hudsonagent/hudson_root/workspace/xwiki-enterprise
> Checkout:xwiki-enterprise / /home/hudsonagent/hudson_root/workspace/xwiki-enterprise
- hudson.remoting.Channel@8ca882:agent-2
> Using strategy: Default
> Last Built Revision: Revision ed8777156f8c896ce9ff21d6dd37bcc18ca6e54e
(origin/master)
> Fetching changes from 1 remote Git repository
> Fetching upstream changes from
git://github.com/xwiki/xwiki-enterprise.git
> ERROR: Problem fetching from origin / origin - could be unavailable. Continuing
anyway
> hudson.plugins.git.GitException: Command "/usr/bin/git fetch -t
git://github.com/xwiki/xwiki-enterprise.git +refs/heads/*:refs/remotes/origin/*"
returned status code 128:
> stdout:
> stderr: github.com[0: 207.97.227.239]: errno=Connection timed out
> fatal: unable to connect a socket (Connection timed out)
>
> at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897)
> at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:858)
> at hudson.plugins.git.GitAPI.fetch(GitAPI.java:200)
> at hudson.plugins.git.GitAPI.fetch(GitAPI.java:1105)
> at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:813)
> at hudson.plugins.git.GitSCM.access$100(GitSCM.java:72)
> at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1018)
> at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986)
> at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2236)
> at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> at hudson.remoting.Request$2.run(Request.java:326)
> at
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> ERROR: Could not fetch from any repository
> FATAL: Could not fetch from any repository
> hudson.plugins.git.GitException: Could not fetch from any repository
> at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1025)
> at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986)
> at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2236)
> at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> at hudson.remoting.Request$2.run(Request.java:326)
> at
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
--
Sergiu Dumitriu
http://purl.org/net/sergiu