Wei Li
3b3173d5db
Change sbom_test.sh to take command line arguments for target product, release and build variant, which is for a corresponding change in CI.
...
Bug: 276778945
Test: build/soong/tests/sbom_test.sh TARGET_PRODUCT=aosp_cf_x86_64_phone TARGET_RELEASE=trunk_staging TARGET_BUILD_VARIANT=userdebug
Change-Id: I2d9e271e4ae351e3626657aa2ac2a1a967c15fc8
2023-09-29 16:52:11 -07:00
Wei Li
e7eb8f7445
Remove the diff resolved in aosp/q/topic:"install_symlink"
...
Bug: 272358980
Test: build/soong/tests/sbom_test.sh
Change-Id: I065826d59f4bd4b4abc20aa5010d362b30fb6b99
2023-09-07 01:27:37 +00:00
Wei Li
6c550d45d2
Remove all ignored files in SBOM diffs, which have been fixed in the following CLs:
...
aosp/2721721
aosp/2715849
aosp/2721815
aosp/2726742
Bug: 272358980
Test: build/soong/tests/sbom_test.sh
Change-Id: I17d5be4dc59c08be43a59c6bc0ea212dac6cd13c
2023-09-01 17:26:22 +00:00
Wei Li
313c8166e1
Ignore the newly added symllink /system/bin/hwservicemanager so it doesn't cause CI failure in sbom_integration.
...
The symlink will be added to SBOM later.
Bug:
Test: build/soong/tests/sbom_test.sh
Change-Id: I170e554e8b805736c60b8d26533bd0ab41e7575a
2023-08-31 16:02:48 -07:00
Wei Li
9ff64e6aff
Add new diffs found in vendor partition in sbom_test.
...
Bug: 295606843
Test: build/soong/tests/sbom_test.sh
Change-Id: I50af9df5ea91ca113c272139530b0c468d41f5c8
2023-08-14 13:31:44 -07:00
Wei Li
0634397cd8
Remove diffs of symlinks in root directory which are included in product SBOMs now.
...
Also explicitely ignore some diffs that were ignored because of "-I /bin".
Bug: 272358980
Test: build/soong/tests/sbom_test.sh
Change-Id: I8a19fdaa89c9f6b4a11c107df98bca647323db26
2023-08-10 18:18:21 -07:00
Wei Li
dbedb0c8a4
Remove diffs of flags files that included in product SBOM.
...
Bug: 272358980
Test: build/soong/tests/sbom_test.sh
Change-Id: I65acea2e854bc983b6e12ab247afcb702c410988
2023-08-08 17:36:30 -07:00
Wei Li
8ea2ffc825
Add integration test for verifying package verification code in SBOM.
...
The test case calculates package verification code of package product according to the SPDX spec and compare it to the one in SBOM file which should have the same SHA1 hash value. This helps verify the python logic of generating it in SBOM files.
Bug: 293304694
Test: build/soong/tests/sbom_test.sh
Change-Id: I37c96d90a1990fbeb786f1bd4e8dc87102e0f0cd
2023-08-02 19:10:23 +00:00
Wei Li
08246b92a6
Ignore some new files added to partition images in sbom_test.sh.
...
Test: build/soong/tests/sbom_test.sh
Change-Id: I883ba741a47120f56f9f4d0594caebe78ce5242d
2023-07-17 11:33:33 -07:00
Wei Li
9a8df6669b
Some new libraries are added to system partition and are not captured in
...
product SBOM of cuttlefish devices, ignore these diffs for now in the
SBOM integration test to fix the CI breakage.
Bug: 291073898
Test: build/soong/tests/sbom_test.sh
Change-Id: Idf5569f67642784ee422847301c59dddc8ff0907
2023-07-13 10:29:55 -07:00
Wei Li
59df0ee442
Add integration test for m build SBOM of APEXs/APKs.
...
Bug: 266726655
Test: build/soong/tests/sbom_test.sh
Change-Id: Id8002042f607f8e158f561ca47e0a84a8b8927e2
2023-07-10 15:50:38 -07:00
Wei Li
cd9948f66e
Cleanup SBOM test script for later adding tests of generating SBOM of
...
unbundled APKs/APEXs.
Bug: 266726655
Test: build/soong/tests/sbom_test.sh
Change-Id: I2bb3e8405dad716837d3004d4c6fd54ae80527c1
2023-06-22 17:52:31 -07:00
Wei Li
704146094a
Exclude diffs caught by sbom_test.
...
Bug: 284279034
Test: build/soong/tests/sbom_test.sh
Change-Id: I152c2e2c55b6547b2dddf7b1b2524681c9af952e
2023-05-25 16:29:20 -07:00
Wei Li
7c1e7f0563
Remove diff excludes for partition compatibility symlink files in SBOM integration test.
...
Bug: 272358980
Test: CIs
Change-Id: I5436c77d6a63942771422a17a8b4876b6c81150a
2023-04-06 08:36:01 -07:00
Wei Li
8a8d5a9c7a
Update the SBOM integration test to include ramdisk partition and resolve some diffs.
...
Bug: 272360068
Test: CIs
Change-Id: Ieff900fd083f36daf77243be9159fcee6c94d1d3
2023-03-29 15:04:33 -07:00
Wei Li
898918f7c8
Build partition images and SBOM seperately in case the build of SBOM introduces extra dependencies that included in partition images.
...
Bug: 272358980
Test: build/soong/tests/sbom_test.sh
Test: CIs
Change-Id: I99bd2357344f9a3d5827cf052b69e3e8545241c0
2023-03-16 22:52:35 +00:00
Wei Li
73032c8fa3
Revert "Revert "Revert "Revert "Add integration test for testing generat...""
...
This reverts commit 1e75eccb18
.
Reason for revert: The SBOM generation change has been submitted in aosp/2485540, so its integration test in this change should be ok to submit now.
Change-Id: Idb8c84a871b2a5633bed998eb7483fc91d30e97a
2023-03-15 18:31:38 +00:00
Kevin Han
1e75eccb18
Revert "Revert "Revert "Add integration test for testing generat..."
...
Revert submission 2481062-sbom
Reason for revert: b/273332655
Reverted changes: /q/submissionid:2481062-sbom
Change-Id: I9297f585ab426d0b5586a7a77e983e8bafb19f20
2023-03-13 20:57:32 +00:00
Wei Li
cba64e4cf1
Revert "Revert "Add integration test for testing generated SBOM with .im...""
...
This reverts commit 68101fad40
.
Reason for revert: fixed the build error and try to commit again.
Change-Id: Iec8afa95a59dc1c7ce9b48911a85667f2956fbce
2023-03-10 16:21:31 +00:00
Android Culprit Assistant
68101fad40
Revert "Add integration test for testing generated SBOM with .im..."
...
This revert was created by Android Culprit Assistant. The culprit was identified in the following culprit search session (http://go/aca-get/5b65d203-d364-4ade-aabb-1330fe45236a ).
Change-Id: I10231bc624a15a2ba477712b3a5950f5fc9113e8
2023-03-10 06:18:01 +00:00
Wei Li
eecee5a695
Add integration test for testing generated SBOM with .img files.
...
Bug: 266726655
Test: CIs
Change-Id: Iacaaae50125c7f310828c79b7881ac1d83a1f9ed
2023-03-08 13:47:51 -08:00