Closed
Bug 399879
Opened 17 years ago
Closed 17 years ago
Sisyphus: add a -v switch for verbose output in files
Categories
(Testing Graveyard :: Sisyphus, defect)
Testing Graveyard
Sisyphus
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rcampbell, Assigned: bc)
References
Details
Attachments
(2 files, 2 obsolete files)
5.42 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
3.50 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
Currently, sisyphus outputs the name of the log and redirects output to that logfile. I'd like to have a verbose option where instead of just outputting to the logfile, the output is also tee'd to stdout. e.g., (in builder.sh) line 114: clean.sh -p $product -b $branch -T $buildtype $extraflag | tee $TEST_LOG 2>&1
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → bclary
Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•17 years ago
|
||
Just to be clear, Do you just want this on the builder.sh output or as an option on all scripts that generate log files?
Updated•17 years ago
|
Summary: Would like to have a -v switch for verbose output in files → Sisyphus: add a -v switch for verbose output in files
Reporter | ||
Comment 2•17 years ago
|
||
I'd like it available on all of the log-file generating scripts.
Assignee | ||
Comment 3•17 years ago
|
||
patches bin/builder.sh, and bin/tester.sh
Attachment #285668 -
Flags: review?(rcampbell)
Assignee | ||
Comment 4•17 years ago
|
||
patch to js tests runtests.sh (with minor tag-along patch to test.sh). This has a problem since runtests.sh uses stdout to collect the names of the log files to be post processed. Using -v will pollute the list of file names since there is no current method of distinguishing the logfiles from the verbose log output. Rob, I think that changing the display of log file names on stdout to include an identifier allowing the script to strip the verbose output would solve the problem but would require buildbot to strip the identifier from stdout when it picks up the log file names. Buildbot would need something similar if it was attempting to run the tests with verbose. example: log: /work/mozilla/mozilla.com/test.mozilla.com/www/results/2007-10-21-19-22-01-0400,js,1.9.0,,linux,martha.bclary.com,checkout.log
Attachment #285670 -
Flags: review?
Assignee | ||
Updated•17 years ago
|
Attachment #285670 -
Flags: review? → review?(rcampbell)
Assignee | ||
Comment 5•17 years ago
|
||
adds log: prefix
Attachment #285668 -
Attachment is obsolete: true
Attachment #285777 -
Flags: review?(rcampbell)
Attachment #285668 -
Flags: review?(rcampbell)
Assignee | ||
Comment 6•17 years ago
|
||
adds log: prefix
Attachment #285670 -
Attachment is obsolete: true
Attachment #285780 -
Flags: review?(rcampbell)
Attachment #285670 -
Flags: review?(rcampbell)
Reporter | ||
Updated•17 years ago
|
Attachment #285777 -
Flags: review?(rcampbell) → review+
Reporter | ||
Updated•17 years ago
|
Attachment #285780 -
Flags: review?(rcampbell) → review+
Reporter | ||
Comment 7•17 years ago
|
||
this should work nicely. Thanks!
Assignee | ||
Comment 8•17 years ago
|
||
/cvsroot/mozilla/testing/sisyphus/bin/builder.sh,v <-- builder.sh new revision: 1.5; previous revision: 1.4 /cvsroot/mozilla/testing/sisyphus/bin/tester.sh,v <-- tester.sh new revision: 1.6; previous revision: 1.5 /cvsroot/mozilla/js/tests/known-failures.pl,v <-- known-failures.pl new revision: 1.2; previous revision: 1.1 /cvsroot/mozilla/js/tests/runtests.sh,v <-- runtests.sh new revision: 1.3; previous revision: 1.2 /cvsroot/mozilla/js/tests/test.sh,v <-- test.sh new revision: 1.5; previous revision: 1.4 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 9•16 years ago
|
||
Mass move of Sisyphus bugs to Testing : Sisyphus. Filter on SisyphusMassMove to ignore.
Component: Testing → Sisyphus
Product: Core → Testing
QA Contact: testing → sisyphus
Updated•5 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•