Skip to content

ci/ci: Install ptest packages in all images#1900

Draft
quaresmajose wants to merge 1 commit intoqualcomm-linux:masterfrom
quaresmajose:ptest
Draft

ci/ci: Install ptest packages in all images#1900
quaresmajose wants to merge 1 commit intoqualcomm-linux:masterfrom
quaresmajose:ptest

Conversation

@quaresmajose
Copy link
Copy Markdown
Contributor

Adding "ptest-pkgs" to IMAGE_FEATURES causes all -ptest packages
to be additionally installed.
To exercise the installed unit testing, we simply run ptest-runner.

@ricardosalveti
Copy link
Copy Markdown
Contributor

ptests won't work with sota, and it is even removed from distro features.

@quaresmajose
Copy link
Copy Markdown
Contributor Author

ptests won't work with sota, and it is even removed from distro features.

I forgot about that, I'll remove it from sota.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Test run workflow

Test jobs for commit eae42e9

Test dragonboard-820c qcs615-adp-air qcs6490 qcs8300 qcs9100 qcs9100-rb8 qrb2210-rb1
boot pass pass pass pass pass pass pass

All jobs summary

Job ID Device State Health
172943 qcs9100-rb8 Finished Complete
172952 qcs9100 Finished Complete
172948 qrb2210-rb1 Finished Complete
172965 dragonboard-820c Finished Complete
172945 qcs8300 Finished Incomplete
172942 qcs9100 Finished Complete
172963 dragonboard-820c Finished Complete
172958 qcs6490 Finished Complete
172947 qcs8300 Finished Incomplete
172955 qcs8300 Finished Incomplete
172949 dragonboard-820c Finished Complete
172956 qcs8300 Finished Incomplete
172944 qcs615-adp-air Finished Complete
172946 qcs615-adp-air Finished Complete
172950 qcs6490 Finished Complete
172964 qcs615-adp-air Finished Complete
172960 qrb2210-rb1 Finished Complete
172954 qrb2210-rb1 Finished Complete
172962 dragonboard-820c Finished Complete
172959 qcs9100-rb8 Finished Complete
172966 qcs9100 Finished Complete
172961 qcs6490 Finished Complete
172953 qcs615-adp-air Finished Complete
172957 qcs6490 Finished Complete
172951 qrb2210-rb1 Finished Complete
172940 qcs9100 Finished Complete
172967 qcs9100-rb8 Finished Complete
172941 qcs9100-rb8 Finished Complete

@test-reporting-app
Copy link
Copy Markdown

test-reporting-app bot commented Apr 8, 2026

Test Results

 27 files   27 suites   1h 41m 54s ⏱️
 15 tests   9 ✅ 0 💤  6 ❌
206 runs  190 ✅ 0 💤 16 ❌

For more details on these failures, see this check.

Results for commit 8456571.

♻️ This comment has been updated with latest results.

@quaresmajose quaresmajose marked this pull request as ready for review April 8, 2026 18:11
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Test run workflow

Test jobs for commit 8456571

Test dragonboard-820c qcs615-adp-air qcs6490 qcs8300 qcs9100 qcs9100-rb8 qrb2210-rb1
boot pass pass pass pass pass pass pass

All jobs summary

Job ID Device State Health
173077 qcs6490 Finished Complete
173065 qcs6490 Finished Complete
173076 qcs8300 Finished Incomplete
173070 qcs8300 Finished Incomplete
173078 qcs8300 Finished Incomplete
173071 qcs9100-rb8 Finished Complete
173064 qcs9100 Finished Complete
173089 qcs9100 Finished Complete
173066 dragonboard-820c Finished Complete
173074 qcs6490 Finished Complete
173063 qrb2210-rb1 Finished Complete
173072 qcs6490 Finished Complete
173082 qrb2210-rb1 Finished Complete
173088 qcs9100-rb8 Finished Complete
173087 qrb2210-rb1 Finished Complete
173067 qcs8300 Finished Incomplete
173073 qrb2210-rb1 Finished Complete
173075 qcs615-adp-air Finished Complete
173086 qcs9100 Finished Complete
173090 dragonboard-820c Running Unknown
173080 qcs9100-rb8 Finished Complete
173085 qcs9100-rb8 Finished Complete
173083 qcs615-adp-air Finished Complete
173084 dragonboard-820c Finished Complete
173079 dragonboard-820c Finished Complete
173069 qcs9100 Finished Complete
173068 qcs615-adp-air Finished Complete
173081 qcs615-adp-air Finished Incomplete

@ricardosalveti
Copy link
Copy Markdown
Contributor

I'm not sure we should add ptests by default in every image, maybe in only one variant? What is the image size implication here?

@koenkooi
Copy link
Copy Markdown
Contributor

koenkooi commented Apr 9, 2026

As I said in #1903:

As I said before: we shouldn't be changing DISTRO settings, since that configuration would cease to be that DISTRO. Adding a nodistro-qcom.conf variant would be fine, changing nodistro without renaming is not.

@quaresmajose
Copy link
Copy Markdown
Contributor Author

I'm not sure we should add ptests by default in every image, maybe in only one variant? What is the image size implication here?

I'll measure that and add it to the commit.

@quaresmajose
Copy link
Copy Markdown
Contributor Author

As I said in #1903:

As I said before: we shouldn't be changing DISTRO settings, since that configuration would cease to be that DISTRO. Adding a nodistro-qcom.conf variant would be fine, changing nodistro without renaming is not.

So how do you think we should go about installing the tests on the target?

@quaresmajose
Copy link
Copy Markdown
Contributor Author

I'm not sure we should add ptests by default in every image, maybe in only one variant? What is the image size implication here?

I'll measure that and add it to the commit.

Here are the results for ci/qcom-armv8a.yml:ci/qcom-distro.yml

Before this PR:

31G build/tmp/deploy/images/qcom-armv8a

1.6G qcom-container-orchestration-image-qcom-armv8a.rootfs.ext4.gz
0.7G qcom-multimedia-image-qcom-armv8a.rootfs.ext4.gz
1.4G qcom-multimedia-proprietary-image-qcom-armv8a.rootfs.ext4.gz

After this PR:

48G  build/tmp/deploy/images/qcom-armv8a

2.4G qcom-container-orchestration-image-qcom-armv8a.rootfs.ext4.gz
1.5G qcom-multimedia-image-qcom-armv8a.rootfs.ext4.gz
2.1G qcom-multimedia-proprietary-image-qcom-armv8a.rootfs.ext4.gz

@quaresmajose quaresmajose marked this pull request as draft April 9, 2026 16:02
@quaresmajose quaresmajose mentioned this pull request Apr 9, 2026
@ricardosalveti
Copy link
Copy Markdown
Contributor

I'm not sure we should add ptests by default in every image, maybe in only one variant? What is the image size implication here?

I'll measure that and add it to the commit.

Here are the results for ci/qcom-armv8a.yml:ci/qcom-distro.yml

Before this PR:

31G build/tmp/deploy/images/qcom-armv8a

1.6G qcom-container-orchestration-image-qcom-armv8a.rootfs.ext4.gz
0.7G qcom-multimedia-image-qcom-armv8a.rootfs.ext4.gz
1.4G qcom-multimedia-proprietary-image-qcom-armv8a.rootfs.ext4.gz

After this PR:

48G  build/tmp/deploy/images/qcom-armv8a

2.4G qcom-container-orchestration-image-qcom-armv8a.rootfs.ext4.gz
1.5G qcom-multimedia-image-qcom-armv8a.rootfs.ext4.gz
2.1G qcom-multimedia-proprietary-image-qcom-armv8a.rootfs.ext4.gz

This is a massive difference, we should discuss this more before pushing any changes here.

@quaresmajose
Copy link
Copy Markdown
Contributor Author

Yes, I agree.

lumag added a commit that referenced this pull request Apr 10, 2026
Adding "ptest-pkgs" to IMAGE_FEATURES causes all -ptest packages
to be additionally installed.
To exercise the installed unit testing, we simply run ptest-runner.

Ptests won't work with sota, and it is even removed from distro features.
So it doesn't make sense to enable it in this case.

Here are the results for `ci/qcom-armv8a.yml:ci/qcom-distro.yml`

Before this PR:
```
31G build/tmp/deploy/images/qcom-armv8a

1.6G qcom-container-orchestration-image-qcom-armv8a.rootfs.ext4.gz
0.7G qcom-multimedia-image-qcom-armv8a.rootfs.ext4.gz
1.4G qcom-multimedia-proprietary-image-qcom-armv8a.rootfs.ext4.gz
```

After this PR:
```
48G  build/tmp/deploy/images/qcom-armv8a

2.4G qcom-container-orchestration-image-qcom-armv8a.rootfs.ext4.gz
1.5G qcom-multimedia-image-qcom-armv8a.rootfs.ext4.gz
2.1G qcom-multimedia-proprietary-image-qcom-armv8a.rootfs.ext4.gz
```

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
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