Add OPTEE tests for OPTEE OS 4.x (New)#1814
Merged
stanley31huang merged 21 commits intomainfrom Mar 27, 2025
Merged
Conversation
update optee jobs and scripts
update test case and test script
update snapcraft yaml
baconYao
reviewed
Mar 24, 2025
contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py
Outdated
Show resolved
Hide resolved
contrib/checkbox-ce-oem/checkbox-provider-ce-oem/data/xtest_supported_version.json
Outdated
Show resolved
Hide resolved
baconYao
reviewed
Mar 24, 2025
contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py
Outdated
Show resolved
Hide resolved
…pported_version.json Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com>
…per.py Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com>
update optee_helper
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1814 +/- ##
==========================================
- Coverage 49.83% 49.83% -0.01%
==========================================
Files 377 377
Lines 40719 40713 -6
Branches 6851 6848 -3
==========================================
- Hits 20294 20288 -6
Misses 19700 19700
Partials 725 725 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fixed coding style issue
seankingyang
requested changes
Mar 25, 2025
Contributor
seankingyang
left a comment
There was a problem hiding this comment.
I leave some comment at bellow.
contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic20/snap/snapcraft.yaml
Outdated
Show resolved
Hide resolved
contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic20/snap/snapcraft.yaml
Show resolved
Hide resolved
update snapcraft yaml
seankingyang
requested changes
Mar 25, 2025
contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic20/snap/snapcraft.yaml
Outdated
Show resolved
Hide resolved
contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py
Outdated
Show resolved
Hide resolved
…snap/snapcraft.yaml Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com>
stanley31huang
commented
Mar 25, 2025
contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic24/snap/snapcraft.yaml
Outdated
Show resolved
Hide resolved
…snap/snapcraft.yaml
stanley31huang
commented
Mar 25, 2025
contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic22/snap/snapcraft.yaml
Outdated
Show resolved
Hide resolved
…snap/snapcraft.yaml
stanley31huang
commented
Mar 25, 2025
contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc20/snap/snapcraft.yaml
Outdated
Show resolved
Hide resolved
stanley31huang
commented
Mar 25, 2025
contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc22/snap/snapcraft.yaml
Outdated
Show resolved
Hide resolved
stanley31huang
commented
Mar 25, 2025
contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc24/snap/snapcraft.yaml
Outdated
Show resolved
Hide resolved
…per.py Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com>
fix subprocess run
fix coding style issue
fix format string issue on py3.5
fix python code style issue
fix string format issue
stanley31huang
added a commit
that referenced
this pull request
Mar 28, 2025
* update optee jobs and scripts update optee jobs and scripts * update test case and test script update test case and test script * update snapcraft yaml update snapcraft yaml * fixed bug fixed bug * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/data/xtest_supported_version.json Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> * update optee_helper update optee_helper * fixed coding style issue fixed coding style issue * update snapcraft yaml update snapcraft yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic20/snap/snapcraft.yaml Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com> * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic24/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic22/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc20/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc22/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc24/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com> * fix subprocess run fix subprocess run * fix coding style issue fix coding style issue * fix format string issue on py3.5 fix format string issue on py3.5 * fix python code style issue fix python code style issue * fix string format issue fix string format issue --------- Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com>
LiaoU3
pushed a commit
that referenced
this pull request
Apr 14, 2025
* update optee jobs and scripts update optee jobs and scripts * update test case and test script update test case and test script * update snapcraft yaml update snapcraft yaml * fixed bug fixed bug * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/data/xtest_supported_version.json Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> * update optee_helper update optee_helper * fixed coding style issue fixed coding style issue * update snapcraft yaml update snapcraft yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic20/snap/snapcraft.yaml Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com> * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic24/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic22/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc20/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc22/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc24/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com> * fix subprocess run fix subprocess run * fix coding style issue fix coding style issue * fix format string issue on py3.5 fix format string issue on py3.5 * fix python code style issue fix python code style issue * fix string format issue fix string format issue --------- Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com>
mreed8855
pushed a commit
that referenced
this pull request
Jul 30, 2025
* update optee jobs and scripts update optee jobs and scripts * update test case and test script update test case and test script * update snapcraft yaml update snapcraft yaml * fixed bug fixed bug * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/data/xtest_supported_version.json Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> * update optee_helper update optee_helper * fixed coding style issue fixed coding style issue * update snapcraft yaml update snapcraft yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic20/snap/snapcraft.yaml Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com> * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic24/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic22/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc20/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc22/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc24/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com> * fix subprocess run fix subprocess run * fix coding style issue fix coding style issue * fix format string issue on py3.5 fix format string issue on py3.5 * fix python code style issue fix python code style issue * fix string format issue fix string format issue --------- Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com>
mreed8855
pushed a commit
that referenced
this pull request
Jul 31, 2025
* update optee jobs and scripts update optee jobs and scripts * update test case and test script update test case and test script * update snapcraft yaml update snapcraft yaml * fixed bug fixed bug * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/data/xtest_supported_version.json Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> * update optee_helper update optee_helper * fixed coding style issue fixed coding style issue * update snapcraft yaml update snapcraft yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic20/snap/snapcraft.yaml Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com> * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic24/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic22/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc20/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc22/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc24/snap/snapcraft.yaml * Update contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/optee_helper.py Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com> * fix subprocess run fix subprocess run * fix coding style issue fix coding style issue * fix format string issue on py3.5 fix format string issue on py3.5 * fix python code style issue fix python code style issue * fix string format issue fix string format issue --------- Co-authored-by: Pei Yao-Chang <baconYao@users.noreply.github.com> Co-authored-by: Isaac Yang <47034756+seankingyang@users.noreply.github.com>
rickwu666666
added a commit
that referenced
this pull request
Oct 22, 2025
* Remove redundant file of 319 version json Based on the change of PR #1814 * Add xtest support tag 4.6.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
With OPTEE OS 4.x, the xtest would failed if we install TAs in early stage. So I made a bit change for the optee tests.
When the system running with OPTEE 3.x, the optee test would install the TAs first, then launch specific test case.
When the system running with OPTEE 4.x, launch the specific test directly.
Resolved issues
N/A
Documentation
N/A
Tests
Tested the local build snap with side-loaded provider on system running 24.04: https://certification.canonical.com/hardware/202309-32027/submission/419057/
Tested the local build snap on system running UC20: https://certification.canonical.com/hardware/202408-34281/submission/419048/