Closed Bug 1029773 Opened 8 years ago Closed 8 years ago

end_to_end reconfig script should run its python unbuffered


(Release Engineering :: General, defect)

Windows 7
Not set


(Not tracked)



(Reporter: Callek, Assigned: Callek)



(1 file)

Attached patch [tools] v1Splinter Review
Because the python of manage_masters/manage_foopies is not going directly to a tty, python is running in buffered mode, meaning the log files I try to tail don't give me emmediate feedback, especially annoying for those periodic prints about progress (since I don't get those except as one big blob of text)

This should make this write to the log(s) as data comes in. Definitely worse for IO but better for human sanity.
Attachment #8445410 - Flags: review?(coop)
So I see an error here, so I'm not certain things stuck right, I pinged :jakem and :dustin in IRC incase its expected, I *think* we're good though.

[root@relengwebadm.private.scl3 ~]# cd /data/releng/src/talos-remote/www/talos-repo
[root@relengwebadm.private.scl3 talos-repo]# hg status
? talos/page_load_test/tp4
[root@relengwebadm.private.scl3 talos-repo]# hg id
b4907f0b27d3 tip
[root@relengwebadm.private.scl3 talos-repo]# hg pull -r f9136c4bc616
pulling from
searching for changes
adding changesets
adding manifests
adding file changes
added 18 changesets with 51 changes to 34 files
(run 'hg update' to get a working copy)
[root@relengwebadm.private.scl3 talos-repo]# hg up
34 files updated, 0 files merged, 0 files removed, 0 files unresolved
[root@relengwebadm.private.scl3 talos-repo]# hg ident
f9136c4bc616 tip
[root@relengwebadm.private.scl3 talos-repo]# /data/releng/src/talos-remote/update
Deploying code...
[2014-06-25 13:46:30] Running rsync_project
[2014-06-25 13:46:30] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '
.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/releng/src/talos-remote/ /data/releng/www/talos-remote/
[2014-06-25 13:46:31] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude
'.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/releng/src/talos-remote/ /data/releng/www/talos-remote/ (1.138s)
[2014-06-25 13:46:31] Finished rsync_project (1.139s)
[2014-06-25 13:46:31] Running commit_www
[2014-06-25 13:46:31] [localhost] running: cd /data/releng/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['talos-r
[2014-06-25 13:46:32] [localhost] finished: cd /data/releng/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['talos-
remote']' (1.296s)
[localhost] out: [master c09deff] deploy [talos-remote]
[localhost] out: Committer: root <>
[localhost] out: Your name and email address were configured automatically based
[localhost] out: on your username and hostname. Please check that they are accurate.
[localhost] out: You can suppress this message by setting them explicitly:
[localhost] out:
[localhost] out: git config --global "Your Name"
[localhost] out: git config --global
[localhost] out:
[localhost] out: After doing this, you may fix the identity used for this commit with:
[localhost] out:
[localhost] out: git commit --amend --reset-author
[localhost] out:
[localhost] out: 49 files changed, 1703 insertions(+), 807 deletions(-)
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/mtio-whitelist.json
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/page_load_test/tart/addon/content/Profiler.js
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/page_load_test/tart/generate-xpi.html
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/page_load_test/tart/scripts/jszip.min.js
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/page_load_test/tart/scripts/xpigen.js
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/pageloader/chrome/Profiler.js
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/scripts/Profiler.js
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/startup_test/
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/startup_test/fennecmark/
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/startup_test/media/
[localhost] out: rewrite talos-remote/www/talos-repo/talos/startup_test/media/html/input16.wav (93%)
[localhost] out: create mode 100755 talos-remote/www/talos-repo/talos/startup_test/media/tools/MediaUtils
[localhost] out: create mode 100644 talos-remote/www/talos-repo/talos/
[2014-06-25 13:46:32] Finished commit_www (1.297s)
[2014-06-25 13:46:32] Running push_www
[2014-06-25 13:46:32] [] running: /data/bin/ talos-remote
[2014-06-25 13:46:32] [] running: /data/bin/ talos-remote
[2014-06-25 13:46:32] [] running: /data/bin/ talos-remote
[2014-06-25 13:46:32] [] failed: /data/bin/ talos-remote (0.145s)
[] err: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
[2014-06-25 13:46:37] [] finished: /data/bin/ talos-remote (5.140s)
[] out: Not removing buildapi/buildapi/
[] out: Not removing buildapi/virtualenv/lib/python2.6/
[] out: httpd (pid  3185) is running...
[2014-06-25 13:46:38] [] finished: /data/bin/ talos-remote (5.199s)
[] out: httpd (pid  19171) is running...
[2014-06-25 13:46:38] Finished push_www (5.202s)
[2014-06-25 13:46:38] Starting new HTTPS connection (1): c#1 was obviously wrong bug
Attachment #8445410 - Flags: review?(coop) → review+
Closed: 8 years ago
Resolution: --- → FIXED
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.