Skip to content

Replace e2e cvd runner scripts with shared go library#2170

Merged
jmacnak merged 1 commit intogoogle:mainfrom
jmacnak:kokoro-gpu
Mar 2, 2026
Merged

Replace e2e cvd runner scripts with shared go library#2170
jmacnak merged 1 commit intogoogle:mainfrom
jmacnak:kokoro-gpu

Conversation

@jmacnak
Copy link
Copy Markdown
Member

@jmacnak jmacnak commented Feb 20, 2026

... to consolidate all of the duplicated logic and to make it easier to introduce new tests without having to create a new shell file + bazel rule type.

The main motivation for this was to avoid also having to download the device-tests.zip in addition to CTS in order to run the graphics detector tests. With this PR, adding e2etests/cvd/graphics_detector_tests/main_test.go was pretty minimal.

Note: the CTS tests remain as separate build targets as I did not find a straightforward way to dynamically produce tests based on CTS args.

Bug: b/466404901
Test:

cd e2etests
bazel test cvd/...

This is first real golang CL so please be brutal with the comments :P

@jmacnak jmacnak force-pushed the kokoro-gpu branch 7 times, most recently from e1a2040 to 58f7a47 Compare February 24, 2026 00:25
@jmacnak jmacnak changed the title WIP: Replace e2e cvd runner scripts with shared go library Replace e2e cvd runner scripts with shared go library Feb 24, 2026
@jmacnak jmacnak requested review from Databean and ser-io February 24, 2026 16:21
@jmacnak jmacnak force-pushed the kokoro-gpu branch 2 times, most recently from 7ef93a2 to cab0892 Compare February 24, 2026 18:59
@jmacnak jmacnak force-pushed the kokoro-gpu branch 5 times, most recently from 5a435ca to 6208556 Compare February 24, 2026 21:49
@jmacnak jmacnak force-pushed the kokoro-gpu branch 8 times, most recently from 9727291 to c7d9c88 Compare February 25, 2026 21:25
@jmacnak jmacnak force-pushed the kokoro-gpu branch 2 times, most recently from 0d0ce92 to 9368e5e Compare February 25, 2026 23:04
@jmacnak jmacnak force-pushed the kokoro-gpu branch 4 times, most recently from b786529 to 66a48ee Compare February 26, 2026 23:29
@Databean
Copy link
Copy Markdown
Member

Sorry for leaving so comments, I want to be clear that I appreciate replacing the bash scripts because these are a lot nicer to read and understand.

@jmacnak jmacnak force-pushed the kokoro-gpu branch 2 times, most recently from 5e98071 to 903da71 Compare February 27, 2026 17:40
... to consolidate all of the duplicated logic and to make it
easier to introduce new tests without having to create a new
shell file + bazel rule type. This change tries to match the
style of the e2etests/orchestration directory.

Note: the CTS tests remain as separate build targets as I did not
find a straightforward way to dynamically produce tests based on
CTS args.

Bug: b/466404901
Test: cd e2etests
      bazel test cvd/...
@jmacnak jmacnak added this pull request to the merge queue Mar 2, 2026
Merged via the queue into google:main with commit d2c814b Mar 2, 2026
49 of 50 checks passed
@jmacnak jmacnak deleted the kokoro-gpu branch March 6, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants