manage master instance symlinks somehow

RESOLVED INCOMPLETE

Status

Release Engineering
General
P3
normal
RESOLVED INCOMPLETE
6 years ago
2 months ago

People

(Reporter: rail, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
2012-10-23 12:27:12,389 : INFO : Executing: ['buildbot', 'sendchange', '--username', 'rail', '--master', 'localhost:9301', '--branch', 'releases/mozilla-beta', '-p', 'products:firefox,fennec', '-p', 'script_repo_revision:FIREFOX_17_0b3_RELEASE', 'release_build']
2012-10-23 12:27:12,389 : INFO : command: START
2012-10-23 12:27:12,389 : INFO : command: buildbot sendchange --username rail --master localhost:9301 --branch releases/mozilla-beta -p products:firefox,fennec -p script_repo_revision:FIREFOX_17_0b3_RELEASE release_build
2012-10-23 12:27:12,390 : INFO : command: cwd: /builds/buildbot/build_scheduler/master
2012-10-23 12:27:12,390 : INFO : command: output:
change(s) NOT sent, something went wrong:
[Failure instance: Traceback from remote host -- Traceback (most recent call last):
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/twisted/spread/banana.py", line 153, in gotItem
    self.callExpressionReceived(item)
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/twisted/spread/banana.py", line 116, in callExpressionReceived
    self.expressionReceived(obj)
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/twisted/spread/pb.py", line 514, in expressionReceived
    method(*sexp[1:])
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/twisted/spread/pb.py", line 826, in proto_message
    self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)
--- <exception caught here> ---
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/twisted/spread/pb.py", line 840, in _recvMessage
    netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/twisted/spread/pb.py", line 225, in perspectiveMessageReceived
    state = method(*args, **kw)
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/buildbot-0.8.2_hg_bd4812420e63_production_0.8-py2.6.egg/buildbot/changes/pb.py", line 43, in perspective_addChange
    self.changemaster.addChange(change)
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/buildbot-0.8.2_hg_bd4812420e63_production_0.8-py2.6.egg/buildbot/changes/manager.py", line 114, in addChange
    self.parent.addChange(change)
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/buildbot-0.8.2_hg_bd4812420e63_production_0.8-py2.6.egg/buildbot/master.py", line 1168, in addChange
    self.status.changeAdded(change)
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/buildbot-0.8.2_hg_bd4812420e63_production_0.8-py2.6.egg/buildbot/status/builder.py", line 2560, in changeAdded
    t.changeAdded(change)
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/buildbotcustom/status/mail.py", line 107, in changeAdded
    return self.buildMessage(change)
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/buildbotcustom/status/mail.py", line 155, in buildMessage
    msgdict = self.messageFormatter(change)
  File "/builds/buildbot/build_scheduler/lib/python2.6/site-packages/buildbotcustom/process/release.py", line 244, in createReleaseChangeMessage
    raise IOError("Cannot find a template file to use")
exceptions.IOError: Cannot find a template file to use
]
2012-10-23 12:27:12,928 : INFO : command: ERROR
Traceback (most recent call last):
  File "/builds/buildbot/build_scheduler/tools/lib/python/util/commands.py", line 42, in run_cmd
    return subprocess.check_call(cmd, **kwargs)
  File "/usr/lib64/python2.6/subprocess.py", line 498, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['buildbot', 'sendchange', '--username', 'rail', '--master', 'localhost:9301', '--branch', 'releases/mozilla-beta', '-p', 'products:firefox,fennec', '-p', 'script_repo_revision:FIREFOX_17_0b3_RELEASE', 'release_build']' returned non-zero exit status 1
2012-10-23 12:27:12,930 : INFO : command: END (0.54s elapsed)

Traceback (most recent call last):
  File "../tools/buildbot-helpers/release_sanity.py", line 509, in <module>
    options.products,
  File "../tools/buildbot-helpers/release_sanity.py", line 84, in sendchange
    run_cmd(cmd)
  File "/builds/buildbot/build_scheduler/tools/lib/python/util/commands.py", line 42, in run_cmd
    return subprocess.check_call(cmd, **kwargs)
  File "/usr/lib64/python2.6/subprocess.py", line 498, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['buildbot', 'sendchange', '--username', 'rail', '--master', 'localhost:9301', '--branch', 'releases/mozilla-beta', '-p', 'products:firefox,fennec', '-p', 'script_repo_revision:FIREFOX_17_0b3_RELEASE', 'release_build']' returned non-zero exit status 1
Comment #0 describes the specific problem we hit recently, where we needed to symlink the release_templates folder in the build master. This is a general problem though -- we often hit issues like this when new symlinks are added (eg, b2g_config.py). We should manage these with Puppet and/or setup-master.py/Makefile.setup.
Priority: -- → P3
Summary: release sanity failure running sendchange on a master with missing symlink to release_templates → manage master instance symlinks somehow
(Assignee)

Updated

5 years ago
Product: mozilla.org → Release Engineering
Component: Release Automation → General Automation
QA Contact: bhearsum → catlee
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → INCOMPLETE
(Assignee)

Updated

2 months ago
Component: General Automation → General
Product: Release Engineering → Release Engineering
You need to log in before you can comment on or make changes to this bug.