Commit graph

3 commits

Author SHA1 Message Date
Hikaru Nishida
a3cad48f93 e2e_tests: Add a helper to read guest clocks
BUG=b:295256641
TEST=make rootfs
TEST=./tools/dev_container ./tools/presubmit crosvm_tests_mingw64
TEST=./tools/dev_container ./tools/presubmit crosvm_tests_x86_64

Change-Id: I07c4ec76b4a3d3ca31b26551393befbd7907678b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5188024
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Hikaru Nishida <hikalium@chromium.org>
2024-01-22 11:24:14 +00:00
Joe Hattori
429c10ceda e2e_tests: Add the sg3-utils packages to the test rootfs.
`sg3-utils` is the package needed for `sg_reset`, `sg_opcodes`, and
other `sg_*` commands, which sends SCSI commands to devices. This commit
adds the package to the test rootfs so that `sg_*` commands can be used
in the e2e_tests in later commit (cf. https://crrev.com/c/4958314).

BUG=b:300042376
TEST=./run_guest.sh boots a guest with the `sg_*` commands installed.

Change-Id: I644d7bda3eab054ea8e88b1e78edcf6df659a259
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4974876
Reviewed-by: Takaya Saeki <takayas@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Joe Hattori <hattorij@google.com>
2023-10-25 09:32:30 +00:00
Dennis Kempin
b96ba4c8be e2e_tests: Switch to custom kernel config and debian rootfs
We switch from the chromeos-5.10 kernel with crostini configs
to a stripped down config building the mainline 6.1 branch.

This allows us more control over the guest kernel for testing
and significantly speeds up e2e tests (~4s -> 1.2s for all
tests run with nextest).

The rootfs is switched to Debian as that's what we use elsewhere
which makes this easier to maintain.

BUG=b:256652981
TEST=presubmit

Change-Id: Ib3897b8dbf3391eefdb1eedb69ec7555f4c77344
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4326888
Reviewed-by: Zihan Chen <zihanchen@google.com>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2023-03-15 21:09:39 +00:00
Renamed from e2e_tests/guest_under_test/Dockerfile (Browse further)