Skip to content

Multi-arm instrumentation jobs share a single JobInfo across sub-tests, so per-arm extra APKs, dex metadata, extra file tags, and test data must be isolated per TestInfo without inheriting JobInfo inputs or spec extra_apk/dex_metadata defaults. - #7580

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1029240546

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Multi-arm instrumentation jobs share a single JobInfo across sub-tests, so per-arm extra APKs, dex metadata, extra file tags, and test data must be isolated per TestInfo without inheriting JobInfo inputs or spec extra_apk/dex_metadata defaults.

Add PROPERTY_SKIP_JOB_INPUT_FILES, PROPERTY_INSTALL_APK_EXTRA_FILE_TAGS_OVERRIDE, and PROPERTY_FORCE_INSTALL_APKS_OVERRIDE to InstallApkStepConstants. When PROPERTY_SKIP_JOB_INPUT_FILES is true, InstallApkStep skips spec/job extra_apk, spec/job dex_metadata, and JobInfo files for each extra file tag (still reading spec/job build_apk, spec install_apk_extra_file_tags, and TestInfo inputs), and AndroidInstrumentation pushes TestInfo test_data instead of JobInfo test_data. Also support PROPERTY_INSTALL_APK_EXTRA_FILE_TAGS_OVERRIDE and PROPERTY_FORCE_INSTALL_APKS_OVERRIDE on InstallApkStep.

@copybara-service
copybara-service Bot force-pushed the test_1029240546 branch 9 times, most recently from 43f23bf to 28b0e59 Compare November 30, 2026 06:10
@copybara-service copybara-service Bot changed the title Multi-arm instrumentation jobs share a single JobInfo across sub-tests, so per-arm extra APKs, dex metadata, extra file tags, and test data must be isolated per TestInfo without inheriting job or spec defaults. Multi-arm instrumentation jobs share a single JobInfo across sub-tests, so per-arm extra APKs, dex metadata, extra file tags, and test data must be isolated per TestInfo without inheriting JobInfo inputs or spec extra_apk/dex_metadata defaults. Nov 30, 2026
@copybara-service
copybara-service Bot force-pushed the test_1029240546 branch 15 times, most recently from 33202f4 to fdf722b Compare December 2, 2026 18:30
…sts, so per-arm extra APKs, dex metadata, extra file tags, and test data must be isolated per `TestInfo` without inheriting `JobInfo` inputs or spec `extra_apk`/`dex_metadata` defaults.

Add `PROPERTY_SKIP_JOB_INPUT_FILES`, `PROPERTY_INSTALL_APK_EXTRA_FILE_TAGS_OVERRIDE`, and `PROPERTY_FORCE_INSTALL_APKS_OVERRIDE` to `InstallApkStepConstants`. When `PROPERTY_SKIP_JOB_INPUT_FILES` is true, `InstallApkStep` skips spec/job `extra_apk`, spec/job `dex_metadata`, and `JobInfo` files for each extra file tag (still reading spec/job `build_apk`, spec `install_apk_extra_file_tags`, and `TestInfo` inputs), and `AndroidInstrumentation` pushes `TestInfo` `test_data` instead of `JobInfo` `test_data`. Also support `PROPERTY_INSTALL_APK_EXTRA_FILE_TAGS_OVERRIDE` and `PROPERTY_FORCE_INSTALL_APKS_OVERRIDE` on `InstallApkStep`.

PiperOrigin-RevId: 1029240546
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.

0 participants