History log of /external/toolchain-utils/binary_search_tool/bisect.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3b0ea76081a892ad757b65db753e739b2362ecd2 11-Aug-2016 Cassidy Burden <cburden@google.com> binary search tool: Update ChromeOS Object bisector

Update ChromeOS Object bisector to work with new compiler wrapper. This
new compiler wrapper means we can now do incremental switches and triage
builds that skip compiler calls.

TEST=Run full bisection
CQ-DEPEND=CL:368231

Change-Id: If34877519ad6dfe3189a5e934e174fd13dae5c89
Reviewed-on: https://chrome-internal-review.googlesource.com/274236
Commit-Ready: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
4cc3dd8a3b2ab04cf861d7c71967de0298746cb9 12-Aug-2016 Cassidy Burden <cburden@google.com> binary search tool: Run tc_pyformat on all python scripts

REFACTOR WARNING! Run tc_pyformat on all python scripts.

TEST=Run unit tests, Android bisection

Change-Id: I9624e7be2670bdb29bcdb59404bf9e8c2f7d81c5
Reviewed-on: https://chrome-internal-review.googlesource.com/274615
Commit-Ready: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
a5e3929d7a155606bc541777fc84e4989389e13c 08-Aug-2016 Cassidy Burden <cburden@google.com> binary search tool: Rename install to test_setup

Refactor warning! Rename install script to be test_setup script.

TEST=Run unit tests

Change-Id: Iab7e01136fdcf2dedbfc94ece6ddb4b4fa3c0f68
Reviewed-on: https://chrome-internal-review.googlesource.com/273484
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
3892aa1c459f07a5355a8aa94c7ab3c5f6e5cf39 05-Aug-2016 Cassidy Burden <cburden@google.com> binary search tool: Show how to reconstruct bisection env

When bisect.py finishes, give users instructions on how to reconstruct
bisection environment. This essentially gives the same setup.sh call
that bisect.py uses.

Change-Id: I060a4f3397e7d83d83321d25e751d6c47951436b
Reviewed-on: https://chrome-internal-review.googlesource.com/273407
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
471aae79081b9a9097e5f57c8d6792f72853b03f 29-Jul-2016 Cassidy Burden <cburden@google.com> binary search tool: Add android bisector to bisect.py

Add android bisector implementation to bisect.py. Additionally add
simple cleanup.sh script.

TEST=Tested with full android bisection

Change-Id: Ib6c6ea85614dbe3d54865d9695863ee625588a2d
Reviewed-on: https://chrome-internal-review.googlesource.com/272166
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
a8af9a7a2462b00e72deff99327bdb452a715277 20-Jul-2016 Caroline Tice <cmtice@google.com> [toolchain-utils] Finish switching utils/ to cros_utils/.

This CL finishes switching the subdirectory from 'utils' to
'cros_utils'. It changes all the remaining import statements to
use 'cros_utils'; it removes the 'cros_utils' symlink, and it
renames the 'utils' subdirectory to 'cros_utils'.

BUG=chromium:568195
TEST=ran crosperf & binary search tool unittests.

Change-Id: I7427f8bfb2ddac3a4b6108e46782039059684382
Reviewed-on: https://chrome-internal-review.googlesource.com/270396
Commit-Ready: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Reviewed-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Luis Lozano <llozano@chromium.org>
/external/toolchain-utils/binary_search_tool/bisect.py
c4671bdd601ff945b2cccbfe1aee9f931dc908c7 01-Jul-2016 Cassidy Burden <cburden@google.com> binary search tool: (Refactor) Extract common scripts into common folder

Refactor warning! Move install.sh, boot_test.sh, and interactive_test.sh
into common folder so they can be shared by both package and object
bisectors. To allow this sharing, sysroot_wrapper now has a setup script
similar to cros_pkg. All scripts now source common/common.sh.

TEST=Run unit tests, run system tests, run couple iterations of install
script for both bisectors.

Change-Id: I9e164b4e6b842ff321c2400201e6ac0984f99088
Reviewed-on: https://chrome-internal-review.googlesource.com/268027
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
d5113fb3bb67fc27f6fdc04e757e7a4b65e2a5f4 29-Jun-2016 Cassidy Burden <cburden@google.com> binary search tool: Add object bisecting to bisect.py

Add object file bisecting to bisect.py. This is the frontend to the
sysroot_wrapper bisection scripts. This bisection mode takes the
following arguments: board, remote IP, package to bisect, and optionally
the directory for the good/bad build trees.

Adds default install/test scripts to sysroot_wrapper (similar to
default scripts in cros_pkg) to support this bisection mode.

TEST=Run unit tests and system test with cryptohome package
CQ-DEPEND=CL:*267995

Change-Id: I1e9166b753f78ca7bdcf6ddbd056af62bc03923b
Reviewed-on: https://chrome-internal-review.googlesource.com/268035
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
caf9d96c94a914866c4cb9dfe401dfcee02c6047 28-Jun-2016 Cassidy Burden <cburden@google.com> binary search tool: Add pretty printing of arguments to bisect.py

Add pretty printing of arguments at beginning of bisect.py. Additionally
extract argument overriding logic into helper function in base class.

TEST=Try various argument overrides and verify output

Change-Id: I15b33ee944356e9db880a3518bcea48e022f4442
Reviewed-on: https://chrome-internal-review.googlesource.com/267995
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
bfe9c5300fca09e8790ed25b41028cba8cb0a78f 29-Jun-2016 Cassidy Burden <cburden@google.com> Add argument overriding to bisect.py

Add the ability to override the default arguments given to the package
and object bisecting tools. This allows users to specify their own
test/install/etc. script but keep the others the same.

Example 1 (do boot test instead of interactive test):
./bisect.py package daisy 172.17.211.182 --test_script=cros_pkg/boot_test.sh

Example 2 (do package bisector system test instead of interactive test):
./bisect.py package daisy 172.17.211.182 \
--test_script=cros_pkg/testing_test.sh --install_script=""

TEST=Run unit tests and ran above examples among others (such as
overriding verbose, prune, etc. options)
CQ-DEPEND=CL:*266996

Change-Id: I5ee24826d4d7e22e7328ce98c6b8cda9917df533
Reviewed-on: https://chrome-internal-review.googlesource.com/266305
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
2e37b144ecd1476964e2dc72ac6b5b2a81a32018 24-Jun-2016 Cassidy Burden <cburden@google.com> Add common module for binary search tool

common module holds common logic between bisect and
binary_search_state for adding utils to PYTHONPATH
and for building the argument parser.

TEST=Run unit tests, run cros_pkg system test

Change-Id: I4085b28de011132c53b8fddf06e8745042ef8ea2
Reviewed-on: https://chrome-internal-review.googlesource.com/266996
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Luis Lozano <llozano@chromium.org>
/external/toolchain-utils/binary_search_tool/bisect.py
83558f81695925a40d5066c24404903b29976686 23-Jun-2016 Cassidy Burden <cburden@google.com> binary search tool: Enforce execution from root directory

Both cros_pkg and sysroot_wrapper rely on the current working directory
being toolchain-utils/binary_search_tool. bisect.py will now enforce
this by cd'ing to this directory before execution.

TEST=Run unit tests and cros_pkg
CQ-DEPEND=CL:*266365

Change-Id: Ie30272ba31cd80a1b2c715e0f9a42a4e26889f16
Reviewed-on: https://chrome-internal-review.googlesource.com/266329
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
545b947888df1d07f4ad530e1c5eec930fc283c2 23-Jun-2016 Cassidy Burden <cburden@google.com> binary search tool: Move root path of cros_pkg execution, rename scripts

Update cros_pkg scripts and bisect.py so that the package bisector needs
to be run from binary_search_tool/ instead of
binary_search_tool/cros_pkg. This fits with how sysroot_wrapper
implements its scripts. Also rename all cros_pkg scripts to remove
cros_pkg prefix and remove undo_eclean.py.

TEST=Run unit tests and run interactive/testing cros_pkg test

Change-Id: I2781319934b704b91346745ae2d4d916fee35d02
Reviewed-on: https://chrome-internal-review.googlesource.com/266365
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py
58f24cae7e6dfed8196d0b96713afaa42cd1fdde 21-Jun-2016 Cassidy Burden <cburden@google.com> Add initial unified bisection script

Add new script for unifying package and object bisection script
interfaces. Currently only package bisection is implemented.

TEST=Add unit test, test cros_pkg with testing script and interactive
script

Change-Id: I7491e3fb73eae863e24de3869092cfbf9df56c8d
Reviewed-on: https://chrome-internal-review.googlesource.com/266096
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/binary_search_tool/bisect.py