Closed
Bug 836339
Opened 12 years ago
Closed 12 years ago
Collect full logcat when running remote tests via sutAgent
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 682129
People
(Reporter: gbrown, Assigned: gbrown)
Details
Current logcat support clears the log at the start of a test (logcat -c) and pulls the log at the end of the test. logcat keeps a finite buffer, so long running tests (reftests for example) only report the logcat from the end of the test, frustrating some debugging attempts.
Running logcat concurrent to the running test would allow us to buffer, collect, and report the log from the entire test run.
I think this is not much of a concern for ad-hoc testing on local devices: adb logcat can be run while testing. The main problem is adding sutAgent support so that additional logcat info is available in tbpl runs.
The increase in log volume is a concern: It may not be feasible to append the entire logcat for a reftest run into the test logs. Even so, collecting it concurrently gives us the flexibility to collect the amount of log data desired, rather than the amount that logcat happens to buffer.
Assignee | ||
Comment 1•12 years ago
|
||
I'm not the first to think of this / better discussion in ...
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•