Ask Your Question
1

How do I turn email notifications off on the buildfarm?

asked 2015-06-19 08:07:18 -0600

DevonW gravatar image

With this project http://jenkins.ros.org/job/ros-hydro-...

I'm getting this error which is spamming my email inbox at about 1 email a minute for the past couple of days.

[ros-hydro-pr2-navigation-teleop_sourcedeb] $ /bin/bash /tmp/hudson7223506363679838700.sh
Traceback (most recent call last):
  File "/home/rosbuild/hudson/workspace/ros-hydro-pr2-navigation-teleop_sourcedeb/monitored_vcs/scripts/generate_sourcedeb", line 119, in <module>
    rd = Rosdistro(args.rosdistro)
  File "/home/rosbuild/hudson/workspace/ros-hydro-pr2-navigation-teleop_sourcedeb/monitored_vcs/buildfarm/ros_distro.py", line 47, in __init__
    self._index = get_index(get_index_url())
  File "/usr/lib/python2.7/dist-packages/rosdistro/__init__.py", line 113, in get_index
    yaml_str = load_url(url)
  File "/usr/lib/python2.7/dist-packages/rosdistro/loader.py", line 59, in load_url
    raise URLError(str(e) + ' (%s)' % url)
urllib2.URLError: <urlopen error <urlopen error [Errno 111] Connection refused> (https://raw.github.com/ros/rosdistro/master/index.yaml)>
Build step 'Execute shell' marked build as failure
Build step 'Groovy Postbuild' marked build as failure
Description set: 
Sending e-mails to: ros-buildfarm-release@googlegroups.com dash@clearpathrobotics.com
Finished: FAILURE

It suggests that the URL can't open the index.yaml which might mean the buildfarm is purposefully shut down which I can respect and see. How do I turn email notifications off?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-06-19 10:10:32 -0600

ahendrix gravatar image

I don't think there is a way to turn off the email notifications from the build farm, and if you're a package maintainer, you probably shouldn't turn them off, because their main purpose is to alert you of real build failures.

At best, you can have your email client filter them out into a folder or something.

I belive the underlying issue here is resolved, but if you see failures like this in the future you may want to email the ros-release list; the buildfarm maintainers may be able to turn emails off on a site-wide basis in events like this.

edit flag offensive delete link more

Comments

Indeed i have stopped receiving failure emails. Do you know what was wrong/what fixed it?

DevonW gravatar imageDevonW ( 2015-06-19 10:27:33 -0600 )edit
1

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-06-19 08:07:18 -0600

Seen: 91 times

Last updated: Jun 19 '15