Closed
Bug 1236947
Opened 10 years ago
Closed 10 years ago
[tc-gip] Retrieve and store logcat
Categories
(Firefox Build System :: Task Configuration, task)
Firefox Build System
Task Configuration
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla46
People
(Reporter: jlorenzo, Assigned: jlorenzo)
References
Details
Attachments
(1 file, 1 obsolete file)
We currently don't have gecko logs. One simple way to get them would be to add:
> adb logcat -v threadtime -r LOG_FILE_MAX_SIZE_in_KB &> logcat.log
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jlorenzo
| Assignee | ||
Comment 1•10 years ago
|
||
There's a refactor of the configuration ongoing in bug 1225458. We'd get less conflicts if that bug lands first.
Depends on: 1225458
| Assignee | ||
Comment 2•10 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/29699/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/29699/
Attachment #8704682 -
Flags: review?(garndt)
| Assignee | ||
Comment 3•10 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/29701/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/29701/
Attachment #8704683 -
Flags: review?(garndt)
| Assignee | ||
Updated•10 years ago
|
Attachment #8704682 -
Attachment is obsolete: true
Attachment #8704682 -
Flags: review?(garndt)
Comment 4•10 years ago
|
||
Comment on attachment 8704682 [details]
MozReview Request: Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt
https://reviewboard.mozilla.org/r/29699/#review26535
Attachment #8704682 -
Flags: review+
Updated•10 years ago
|
Attachment #8704683 -
Flags: review?(garndt) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8704683 [details]
MozReview Request: Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt
https://reviewboard.mozilla.org/r/29701/#review26537
::: testing/taskcluster/tasks/phone_test.yml:62
(Diff revision 1)
> + adb logcat
If this works, good for me!
| Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8704682 [details]
MozReview Request: Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/29699/diff/1-2/
Attachment #8704682 -
Attachment description: MozReview Request: Bug 1236947 - Move the command line to phone_test.yml r=garndt → MozReview Request: Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt
Attachment #8704682 -
Attachment is obsolete: false
| Assignee | ||
Updated•10 years ago
|
Attachment #8704683 -
Attachment is obsolete: true
| Assignee | ||
Comment 7•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/c99e3e31b19e74b9aee97c551b09ded9df925d2e
Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt
| Assignee | ||
Comment 8•10 years ago
|
||
https://tools.taskcluster.net/task-inspector/#PkiijXuCRAKD_acSHXyMmA/0
The tests are still executing. The logcat file is correctly created and published. It only gets the first line of the log, though.
It it possible to let a process run in the background, Greg?
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(garndt)
Comment 9•10 years ago
|
||
(In reply to Johan Lorenzo [:jlorenzo] (QA) from comment #8)
> https://tools.taskcluster.net/task-inspector/#PkiijXuCRAKD_acSHXyMmA/0
>
> The tests are still executing. The logcat file is correctly created and
> published. It only gets the first line of the log, though.
>
> It it possible to let a process run in the background, Greg?
We have other scripts that kick off processes that run in the background like here:
https://dxr.mozilla.org/mozilla-central/source/testing/taskcluster/scripts/tester/test-linux.sh#108
Perhaps the commands being passed in could be moved to a script kept at gecko/testing/taskcluster/scripts/tester/ and then that will call things to run in the background? Just throwing an idea out there.
Flags: needinfo?(garndt)
| Assignee | ||
Comment 10•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/6232c5cef7c66907fb08c74f2ad96d7fcdb236e8
Backout Bug 1236947 - [tc-gip] Retrieve and store logcat
| Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8704682 [details]
MozReview Request: Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/29699/diff/2-3/
| Assignee | ||
Comment 12•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/9e922c947dddfa78817cf9ce4cf37fc912e7cad9
Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt
| Assignee | ||
Comment 13•10 years ago
|
||
Comment on attachment 8704682 [details]
MozReview Request: Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/29699/diff/3-4/
| Assignee | ||
Comment 14•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/5ace53d088bc58ea3c621659c9604c56540e6045
Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt
| Assignee | ||
Comment 15•10 years ago
|
||
(In reply to Greg Arndt [:garndt] from comment #9)
> Perhaps the commands being passed in could be moved to a script kept at
> gecko/testing/taskcluster/scripts/tester/ and then that will call things to
> run in the background? Just throwing an idea out there.
That's not a bad idea! After looking again at the PR, I might have misordered the command line arguments. I pushed a new version with just that change. If that still doesn't work, I'll give the script a shot.
Comment 16•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Updated•8 years ago
|
Product: TaskCluster → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•