Closed Bug 401150 Opened 17 years ago Closed 17 years ago

RFE: echo bootstrap.cfg to stdio after downloading it from master

Categories

(Release Engineering :: General, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: bhearsum)

References

Details

Attachments

(1 file)

Would be nice for the slaves to echo the bootstrap.cfg to the log, for easy checking from the Buildbot waterfall.
Assignee: nobody → bhearsum
Status: NEW → ASSIGNED
Attachment #286570 - Flags: review?(joduinn)
Priority: -- → P2
Attachment #286570 - Flags: review?(joduinn) → review+
Index: production/master.cfg
===================================================================
RCS file: /cvsroot/mozilla/tools/buildbot-configs/automation/production/master.cfg,v
retrieving revision 1.7
diff -u -r1.7 master.cfg
--- production/master.cfg	23 Oct 2007 23:39:52 -0000	1.7
+++ production/master.cfg	29 Oct 2007 17:04:19 -0000
@@ -110,6 +110,8 @@
                    '-d', 'build', cvsmodule], haltOnFailure=1)
 tagFactory.addStep(FileDownload, mastersrc="bootstrap.cfg", 
                    slavedest="bootstrap.cfg", workdir="build"),
+tagFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                   command=['cat', 'bootstrap.cfg'])
 tagFactory.addStep(ShellCommand, description='clean logs area',
                    command=['make', 'clean_logs'], haltOnFailure=1)
 tagFactory.addStep(ShellCommand, description='unit tests',
@@ -132,6 +134,8 @@
                       command=['make', 'clean_logs'], haltOnFailure=1)
 sourceFactory.addStep(FileDownload, mastersrc="bootstrap.cfg", 
                       slavedest="bootstrap.cfg", workdir="build"),
+sourceFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                      command=['cat', 'bootstrap.cfg'])
 sourceFactory.addStep(ShellCommand, description='unit tests',
                       command=['make', 'test'], haltOnFailure=1)
 sourceFactory.addStep(ShellCommand, description='Source', workdir='build',
@@ -152,6 +156,8 @@
                      command=['make', 'clean_logs'], haltOnFailure=1)
 buildFactory.addStep(FileDownload, mastersrc="bootstrap.cfg", 
                      slavedest="bootstrap.cfg", workdir="build"),
+buildFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                     command=['cat', 'bootstrap.cfg'])
 buildFactory.addStep(ShellCommand, description='unit tests',
                      command=['make', 'test'], haltOnFailure=1)
 buildFactory.addStep(ShellCommand, description='clean tinder-config area', workdir='build',
@@ -193,6 +199,8 @@
                     command=['make', 'clean_logs'], haltOnFailure=1)
 signFactory.addStep(FileDownload, mastersrc="bootstrap.cfg",
                     slavedest="bootstrap.cfg", workdir="build"),
+signFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                    command=['cat', 'bootstrap.cfg'])
 signFactory.addStep(ShellCommand, description='Waiting for win32_signing_rc(n).log',
                     command=['perl', './release', '-o', 'Sign'], 
                     timeout=86400, haltOnFailure=1)
@@ -212,6 +220,8 @@
                      command=['make', 'clean_logs'], haltOnFailure=1)
 l10nverifyFactory.addStep(FileDownload, mastersrc="bootstrap.cfg",
                      slavedest="bootstrap.cfg", workdir="build"),
+l10nverifyFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                     command=['cat', 'bootstrap.cfg'])
 l10nverifyFactory.addStep(ShellCommand, description='unit tests',
                      command=['make', 'test'], haltOnFailure=1)
 l10nverifyFactory.addStep(ShellCommand, description='l10n verification', workdir='build',
@@ -233,6 +243,8 @@
                       command=['make', 'clean_logs'], haltOnFailure=1)
 updateFactory.addStep(FileDownload, mastersrc="bootstrap.cfg", 
                       slavedest="bootstrap.cfg", workdir="build"),
+updateFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                      command=['cat', 'bootstrap.cfg'])
 updateFactory.addStep(ShellCommand, description='unit tests',
                       command=['make', 'test'], haltOnFailure=1)
 updateFactory.addStep(ShellCommand, description='PatcherConfig', 
@@ -268,6 +280,8 @@
                       command=['make', 'clean_logs'], haltOnFailure=1)
 updateverifyFactory.addStep(FileDownload, mastersrc="bootstrap.cfg",
                       slavedest="bootstrap.cfg", workdir="build"),
+updateverifyFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                      command=['cat', 'bootstrap.cfg'])
 updateverifyFactory.addStep(ShellCommand, description='unit tests',
                       command=['make', 'test'], haltOnFailure=1)
 updateverifyFactory.addStep(ShellCommand, description='update verificaton', workdir='build',
@@ -292,6 +306,8 @@
                      command=['make', 'clean_logs'], haltOnFailure=1)
 stageFactory.addStep(FileDownload, mastersrc="bootstrap.cfg", 
                      slavedest="bootstrap.cfg", workdir="build"),
+stageFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                     command=['cat', 'bootstrap.cfg'])
 stageFactory.addStep(ShellCommand, description='unit tests',
                      command=['make', 'test'], haltOnFailure=1)
 stageFactory.addStep(ShellCommand, description='Stage', workdir='build',
Index: staging/master.cfg
===================================================================
RCS file: /cvsroot/mozilla/tools/buildbot-configs/automation/staging/master.cfg,v
retrieving revision 1.7
diff -u -r1.7 master.cfg
--- staging/master.cfg	15 Oct 2007 16:31:49 -0000	1.7
+++ staging/master.cfg	29 Oct 2007 17:04:19 -0000
@@ -110,6 +110,8 @@
                    '-d', 'build', cvsmodule], haltOnFailure=1)
 tagFactory.addStep(FileDownload, mastersrc="bootstrap.cfg", 
                    slavedest="bootstrap.cfg", workdir="build"),
+tagFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                   command=['cat', 'bootstrap.cfg'])
 tagFactory.addStep(ShellCommand, description='clean logs area',
                    command=['make', 'clean_logs'], haltOnFailure=1)
 tagFactory.addStep(ShellCommand, description='unit tests',
@@ -151,6 +153,8 @@
                       command=['make', 'clean_logs'], haltOnFailure=1)
 sourceFactory.addStep(FileDownload, mastersrc="bootstrap.cfg", 
                       slavedest="bootstrap.cfg", workdir="build"),
+sourceFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                      command=['cat', 'bootstrap.cfg'])
 sourceFactory.addStep(ShellCommand, description='unit tests',
                       command=['make', 'test'], haltOnFailure=1)
 sourceFactory.addStep(ShellCommand, description='Source', workdir='build',
@@ -171,6 +175,8 @@
                      command=['make', 'clean_logs'], haltOnFailure=1)
 buildFactory.addStep(FileDownload, mastersrc="bootstrap.cfg", 
                      slavedest="bootstrap.cfg", workdir="build"),
+buildFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                     command=['cat', 'bootstrap.cfg'])
 buildFactory.addStep(ShellCommand, description='unit tests',
                      command=['make', 'test'], haltOnFailure=1)
 buildFactory.addStep(ShellCommand, description='clean tinder-config area', workdir='build',
@@ -212,6 +218,8 @@
                     command=['make', 'clean_logs'], haltOnFailure=1)
 signFactory.addStep(FileDownload, mastersrc="bootstrap.cfg",
                     slavedest="bootstrap.cfg", workdir="build"),
+signFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                    command=['cat', 'bootstrap.cfg'])
 signFactory.addStep(ShellCommand, description='Fake signing log',
                     command=['/bin/bash', '-c', '""/bin/touch /home/ftp/pub/firefox/nightly/2.0.0.7-candidates/rc2/unsigned/win32_signing_rc2.log""'], haltOnFailure=1)
 signFactory.addStep(ShellCommand, description='Fake signing',
@@ -235,6 +243,8 @@
                      command=['make', 'clean_logs'], haltOnFailure=1)
 l10nverifyFactory.addStep(FileDownload, mastersrc="bootstrap.cfg",
                      slavedest="bootstrap.cfg", workdir="build"),
+l10nverifyFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                     command=['cat', 'bootstrap.cfg'])
 l10nverifyFactory.addStep(ShellCommand, description='unit tests',
                      command=['make', 'test'], haltOnFailure=1)
 l10nverifyFactory.addStep(ShellCommand, description='l10n verification', workdir='build',
@@ -256,6 +266,8 @@
                       command=['make', 'clean_logs'], haltOnFailure=1)
 updateFactory.addStep(FileDownload, mastersrc="bootstrap.cfg", 
                       slavedest="bootstrap.cfg", workdir="build"),
+updateFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                      command=['cat', 'bootstrap.cfg'])
 updateFactory.addStep(ShellCommand, description='unit tests',
                       command=['make', 'test'], haltOnFailure=1)
 updateFactory.addStep(ShellCommand, description='clean update area', workdir='build',
@@ -293,6 +305,8 @@
                       command=['make', 'clean_logs'], haltOnFailure=1)
 updateverifyFactory.addStep(FileDownload, mastersrc="bootstrap.cfg",
                       slavedest="bootstrap.cfg", workdir="build"),
+updateverifyFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                      command=['cat', 'bootstrap.cfg'])
 updateverifyFactory.addStep(ShellCommand, description='unit tests',
                       command=['make', 'test'], haltOnFailure=1)
 updateverifyFactory.addStep(ShellCommand, description='update verificaton', workdir='build',
@@ -317,6 +331,8 @@
                      command=['make', 'clean_logs'], haltOnFailure=1)
 stageFactory.addStep(FileDownload, mastersrc="bootstrap.cfg", 
                      slavedest="bootstrap.cfg", workdir="build"),
+stageFactory.addStep(ShellCommand, description='echo bootstrap.cfg',
+                     command=['cat', 'bootstrap.cfg'])
 stageFactory.addStep(ShellCommand, description='unit tests',
                      command=['make', 'test'], haltOnFailure=1)
 stageFactory.addStep(ShellCommand, description='Stage', workdir='build',

---

I updated the master.cfg's on the production and staging machines with this patch.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: