New issue
Advanced search Search tips

Issue 898431 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 30
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

[bisect-kit] android bisector "view" subcomd may fail

Project Member Reported by kcwu@chromium.org, Oct 24

Issue description

How to reproduce
$ ./bisect_android_repo.py init --old 5055130 --new 5056166 --android_root ~/bisect-workdir/test/android.pi-arc --android_mirror ~/git-mirrors/android.pi-arc  --dut kevin-test --branch git_pi-arc 
$ ./bisect_android_repo.py view 

During "init", it gave warning messages
16:20:25 ERROR unable to match 5056093: no compatible specs
16:20:25 INFO diff between 5056093 and (1539039210)
16:20:25 INFO +vendor/google_tradefederation/contrib
16:20:25 INFO +vendor/google_tradefederation/partner
16:20:25 INFO +vendor/google_tradefederation/power
16:20:25 INFO  system/tpm: at c3818d334421805f04822f4dceb8db193ab74f14 vs f2ca9be0e762b7a353d7d87584a03cbb5ba6c29d
16:20:25 INFO and common=688
16:20:25 WARNING 5056093 do not match, skip

Then, "view" failed because 5056093 is skipped.
Exception: cached revlist not found: /usr/local/google/home/kcwu/bisect-workdir/test/android.pi-arc/bisectkit-cache/5055130,5056093.json

 
Project Member

Comment 1 by bugdroid1@chromium.org, Nov 6

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/bisect-kit/+/81aecc034e46584249c1dea21f2ecde081d3c5bd

commit 81aecc034e46584249c1dea21f2ecde081d3c5bd
Author: Kuang-che Wu <kcwu@chromium.org>
Date: Tue Nov 06 08:59:01 2018

bisect-kit: fix bisector 'view' subcommand

'view' subcommand may fail when re-generate revlist. This affected all
bisectors using codechange module.

BUG= chromium:898431 
TEST=/bisect_android_repo.py init --old 5055130 --new 5056166 --branch git_pi-arc

Change-Id: I7c56b8044ccd63bdc402d259fddcfb06f675ed1d
Reviewed-on: https://chromium-review.googlesource.com/1309853
Commit-Ready: Kuang-che Wu <kcwu@chromium.org>
Tested-by: Kuang-che Wu <kcwu@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>

[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_kit/core.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_kit/cli_test.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_android_repo.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_list.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_git.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_cros_version.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_cros_repo.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_cr_localbuild_master.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_kit/cli.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_kit/codechange.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_cr_localbuild_internal.py
[modify] https://crrev.com/81aecc034e46584249c1dea21f2ecde081d3c5bd/bisect_android_build_id.py

<UI triage> Bug owners, please add the appropriate component to your bug. Thanks!
Status: Fixed (was: Untriaged)

Sign in to add a comment