summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
8 daystest-map: Enable binderRpcToTrustyTestHEADmastermainAndrei Homescu
Enable the Binder test for the Android-Trusty connection. Bug: 230135749 Test: build.py qemu-generic-arm64-test-debug Change-Id: Ie5f347fca3478cca78c6345b9a52cb29dc494863
10 daysscripts: Stop incorrectly reporting tests as flakesWeston Carvalho
Previously, `run_test` was using its `retry` arg (whether a test should be retried on failure) to populate the `TestResult` `retried` field (whether the test _actually was_ retried). This made the "might be flaky" warning get printed for any test that passes the first time, but not for tests which pass when retried. Bug: None Change-Id: I6602149067ad8242ec182788146713b0c854e1e3
11 daystrusty: build: fix double archiving of lk.elf.lstMike McTernan
Bug: 33604005 Test: build.py --archive test Change-Id: Id3617bf88323296e413d964e4853033d64b3c88b
12 daystrusty: build: archive .lst filesMike McTernan
The lst files contain the interleaved source and assembly which can be useful in debugging when the original source tree is not immediately available or difficult to reconstruct. Bug: 336040056 Test: build.py --archive test Change-Id: I0e3690e40db022a6894b88114053c989766044b9
2024-04-06Export soong_ui if availableAndrei Homescu
Check if the Soong bash wrapper is available, e.g., we are building in the unified Android-Trusty tree, and export it to the build system as the SOONG_UI variable. Bug: 285203365 Test: build.by qemu-generic-arm64-test-debug Change-Id: I6c47cf530cc8002e34507a57bb964edf3d16dfc7
2024-04-05aosp/scripts: Provide a "tablet" flagRaphael Herouart
Some tests can only run on tablet devices. Bug: 330684206 Test: build.py and check test map for tests where tablet flag was added Change-Id: I73af5721f43ef41d7ad76cad2e2e774e24c5ab54
2024-03-25scripts: test-map: Add binderRpcToTrustyTestAndrei Homescu
Add the test between Android Binder RPC and Trusty to the test map so we can run it with build.py. Bug: 230135749 Test: build.py --test binder-rpc-to-trusty-test Change-Id: I9adbeed21dd4170e52f69d23746c341b07d485b5
2024-03-18rust: update toolchain version to 1.76.0Pixel Trusty Team Automation
Bug: None Test: None Change-Id: I09808d4c889c470d87d8a1b279146e8f6dc94929 Signed-off-by: Pixel Trusty Team Automation <mdb.pixel-trusty-team-automation@google.com>
2024-03-04Trusty: Use bold instead of white_bold in colored log am: fc54d4d8d5Yurii Shutkin
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2986350 Change-Id: I00ae278d44c802cece8cf449c1b298e5ae81e280 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-04Trusty: Use bold instead of white_bold in colored logYurii Shutkin
For better appearance in terminals with white background Change-Id: Ic714e89eee1cc63100c41387eadf2809cf8ca7d3 Bug: None Test: Trusty build in terminal with white background
2024-03-04scripts: androidporttests also provides ABL am: fa2a3a8b6cRaphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2986349 Change-Id: Ic95b03aa5c869873a07fb4d85f7273abd8da7abb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-04scripts: androidporttests also provides ABLRaphael Herouart
While it requires rebooting to fastboot, ABL and Linux port tests are equivalent in all ways, and ABL is available if rebooting to fastboot Bug: None Test: Build.py and check json test map for abl port tests Change-Id: If0b76c9ccd2d6dbcb18bdff11c040e047f15bb6f
2024-03-01test-map: Disable HAL version matching tests am: 45aa56705fAndrei Homescu
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2945627 Change-Id: I7479e2d77c1161b603976631ceb9ed4ab62d5f7f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-01test-map: Disable vb state and vbmeta digest tests am: d6b6b6c8efAndrei Homescu
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2945626 Change-Id: Id6fa7a8936c62cadf2724c6a5b8a1573a2ecc295 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-01test-map: Disable HAL version matching testsAndrei Homescu
https://r.android.com/2923274 added some VTS tests that check that the AIDL version matches the "feature version". This requires the package manager which is not currently installed in the emulator builds. Bug: 322868374 Test: build.py --test "vts:keymint" Change-Id: Id019d7d2f1303ad5d95bbcc697881841b071ac73
2024-03-01test-map: Disable vb state and vbmeta digest testsAndrei Homescu
https://r.android.com/2576910 added a couple of new tests for "verified boot state and VBMeta digest" that are failing on the emulator. Disable them for now. Bug: 322868374 Test: build.py --test "vts:keymint" Change-Id: I9d4642c02a7c55619eca0e1f0c5869c74c8a5d48
2024-03-01scripts: Handle relative build-root paths am: 4f292492b5Andrei Homescu
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2980838 Change-Id: I3f67bae4907cc5470f2d329f900a40c2256ce9e8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-29scripts: Handle relative build-root pathsAndrei Homescu
Bug: 285203365 Test: m trusty_generic-arm64-test-debug Change-Id: I342635df955ff984332fd4e0e0dd8791a814bee9
2024-02-28scripts: Add --no-nice argument to build.py am: 5ff1682240Andrei Homescu
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2979640 Change-Id: I6694e0254f625b20440a5d46f3ede44c0bab57c9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-28scripts: Remove unused TrustyCommand import am: d8b417f065Andrei Homescu
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2979639 Change-Id: Iecaa50b8ac444643e707274aa6c54ab235f9b598 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-27scripts: Add --no-nice argument to build.pyAndrei Homescu
The Soong build environment has the nice command disabled and prints an error when calling it. Add a new command line option to disable nice when running build.py. Bug: 285203365 Test: Presubmit Change-Id: I59717e700aedd88a19cd8f70a50dc09f19333c7b
2024-02-27scripts: Remove unused TrustyCommand importAndrei Homescu
build.py has an unused import that pylint complains about. Bug: 285203365 Test: Presubmit Change-Id: I062cf7fa77b5d66827cea50b0660457ccafe70c2
2024-02-24scripts: Run pyformat on run_tests.py am: 468088ae6cAndrei Homescu
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2973835 Change-Id: I7581cb91f6191586653df7b75943b3cde4c56154 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-24scripts: Run pyformat on run_tests.pyAndrei Homescu
Format run_tests.py to make pylint happy by running: $ pyformat -i -s 4 scripts/run_tests.py Manually fix some comments to fit in the maximum line length. Bug: 285203365 Test: repo upload Change-Id: I6a82d3ebed5934d3bac0a7b24e3e4ef561cb97e5
2024-02-22rust: update toolchain version to 1.75.0 am: f4a9a78efbPixel Trusty Team Automation
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2973191 Change-Id: I5bb5d4ce68443879650c3048181553ea07272988 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-22rust: update toolchain version to 1.75.0Pixel Trusty Team Automation
Bug: None Test: None Change-Id: I0b09d031425c46dad89d13443eb4b587ae38bd86 Signed-off-by: Pixel Trusty Team Automation <mdb.pixel-trusty-team-automation@google.com>
2024-02-21scripts: Flags Should not apply to all commands am: 9f0d22ed9fRaphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2969576 Change-Id: I6d64b56652b9db05d5c36eff959641063a3f7570 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21scripts: Flags Should not apply to all commandsRaphael Herouart
Need Flag added to one command affects all commands before this fix Bug: 314130383 Test: Build.py then check test-map.json Change-Id: Iea4e64ab0afe1991c77a0f3735ce408156083a44
2024-02-16scripts: fix style issues and code duplication am: 95d6ef5526Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2943868 Change-Id: Iac1c574f536d93957ad71d76959151b93434a0ef Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: address lints am: 1a00e1e8acPer Larsen
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2942336 Change-Id: I39f2b1ad1e6285a6940abd6fbc5af4012b5112f5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: minor fixes am: 708f6b129bPer Larsen
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2942565 Change-Id: I4a8e4022a28f5204b7b2f36960b6d06f333df6f6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16trusty: build: add Trusty build log processing am: c278e863a2Yurii Shutkin
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2906884 Change-Id: I7efa9c382345c8c9930eada7ed21c48585ace91c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: Fix pre-upload hook by adding pylintrc am: 0b4d017504Per Larsen
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2942335 Change-Id: I7296d05262024a282b0f2c0beef1d56603dcc55b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: Add test commands am: 85a7a4d115Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2936299 Change-Id: Ia44e103674d7387aa27672ca4ee849e19a1b4374 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: Prevent port duplication am: 29b685fb37Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2927811 Change-Id: I1bb362eb6c3a9821d21a9cc703a186615da9c7a8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16rust: update toolchain version to 1.74.1 am: 2f2574ced8Pixel Trusty Team Automation
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2921225 Change-Id: Ib63e5da05518ac3142ba63a93f263cdabd376c9f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: Fix formatting am: 9ca44d31b4Per Larsen
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2916885 Change-Id: I1392b4a308acfc770833ed2bc9c50d43987fc29f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: remove dead code am: ae4ff7a88cPer Larsen
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2909122 Change-Id: Id919581c7818dea675a8837106c5657618e85fc2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: clean up enumeration type am: a9dc1ef0f6Per Larsen
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2909321 Change-Id: I5d0550ad2e1d3e2aead0dca4b5ee20510cbd65f3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: Skip Non-Host Tests on device build am: b4b96ca8a3Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2907877 Change-Id: I25ccba208529dfb34079441d084a7fabb1deb298 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: [Bench] Repair broken reporting am: 1a8acfa40cRaphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2908237 Change-Id: I86372d7d26b2ded0305b967acca0e32229d95273 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: [Bench] compile time config, ABL flag am: 94ac380387Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2906635 Change-Id: Ib0757198bdf13943297c9d757dde7622e5d04476 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: [Bench] Skip benchmarks on QEMU am: 5fc18a0723Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2897841 Change-Id: I0699cc087a7409993bc7af9d9cd54d6bbdadb7d7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: [Bench] Skip tests without printing am: a6dfef33a3Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2897480 Change-Id: I026201a362afa547c6eee09634badfb774aba6a9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: [Bench] compile time config composite tests am: 9f9e33d4afRaphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2896242 Change-Id: I8c4ac41887f75946de8c58d0ca655b6985ada7d8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: [Bench] Add test map before archiving am: b35ae514b0Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2895620 Change-Id: Ieb53d6f4989209a01cd3468f70541a144d0be30b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: devices tests cannot run locally on build am: da220fb2f8Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2889888 Change-Id: I6d6ecbb9c8a565d32c7c2ec74668eeaddde5fe97 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: [Bench] Compile Time Config - Add bench/test type flag am: a5955d90d5Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2887786 Change-Id: I0d4f65938e172d9d08a91033aec24979382816ec Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16scripts: [Bench] Compile Time Config am: 66acb9b9c6Raphael Herouart
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2884906 Change-Id: I636077430e7fe2e2f082cfe0498b83ad0450b786 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16Use external/trusty/lk as the path to LK am: 76337bfa0cAndrei Homescu
Original change: https://android-review.googlesource.com/c/trusty/vendor/google/aosp/+/2871399 Change-Id: Iaa0dd41df374c672edd5dde37d9bf22b7ddbf4b2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>