New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 805786 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit 15 days ago
Closed: Aug 17
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

factory_bug should compress with lbzip2 if available.

Project Member Reported by hungte@chromium.org, Jan 25 2018

Issue description

Currently factory_bug is compressing the output with "tar jcvf" and using system built-in 'bzip2' to compress. This may be pretty slow on certain platforms, when the logs are pretty large.

I think we should detect and use lbzip2 (-I lbzip2) if possible.
 
Owner: hsinyi@chromium.org
Status: Assigned (was: Untriaged)
Temporarily assign to noogler as a simple practice
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 16

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/factory/+/a16816b41b28d0594c3f6bf59623a9abfddbcae3

commit a16816b41b28d0594c3f6bf59623a9abfddbcae3
Author: Hsin-Yi, Wang <hsinyi@google.com>
Date: Thu Aug 16 20:14:48 2018

factory_bug: compress with parallel compressor if available

Detect if system has parallel compressor installed and specified it in tar.

BUG= chromium:805786 
TEST=manually

Change-Id: Ied96743cd1948175be40b57f40ba421f2511d1c8
Reviewed-on: https://chromium-review.googlesource.com/1177296
Commit-Ready: Hsin-Yi Wang <hsinyi@chromium.org>
Tested-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>

[modify] https://crrev.com/a16816b41b28d0594c3f6bf59623a9abfddbcae3/py/tools/factory_bug.py

Status: Fixed (was: Assigned)

Sign in to add a comment