-
Notifications
You must be signed in to change notification settings - Fork 3k
TEST: add atecc608a example to compilation test #11475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
"mbed": [], | ||
"test-repo-source": "github", | ||
"features" : [], | ||
"targets" : ["K64F"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any target with I2C should work, although maybe this list is how you keep integration testing from growing too big.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is might depends on which target in the RaaS got the atecc608a
shield. Also it is true we don't want to compile the exampled for too many target, it will not slow down the testing process
"test" : false, | ||
"baud_rate": 9600, | ||
"compare_log": ["mbed-os-example-atecc608a/tests/atecc608a.log"], | ||
"auto-update" : true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is examples.json the place to specify which RaaS tag
is required to run the example (in this case, it'd be HAS_CRYPTOKIT
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file has no control of which tatget in RaaS to use at moment. but no harm to put the info here, we'll need to sort that out in the test part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than Jaeden's comments
CI started |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
We may also need to restrict which compilers this example runs with, as Microchip's cryptoauthlib (which we depend on) doesn't build with ARMC or IAR. |
CI restarted, internal fault |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
@jamesbeyond Please review. The latest build failures are for all toolchains. There is a code 1 returned from the script and failing for this addition. |
tools/test/examples/examples.json
Outdated
@@ -469,9 +469,9 @@ | |||
"github": "https://github.com/ARMmbed/mbed-os-example-atecc608a", | |||
"mbed": [], | |||
"test-repo-source": "github", | |||
"features" : [], | |||
"features" : ["HAS_CRYPTOKIT"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this "features" setting correlate at all with the RaaS tag? There is no HAS_CRYPTOKIT Mbed OS feature.
HI @0xc0170 @Patater ,
I think this is because the example in the folder of Any explaination why the example have a extra |
The Mbed TLS example testing CI needs each example to be in its own folder so we can test it. For Mbed OS CI, I think some |
CI restarted |
Test run: FAILEDSummary: 1 of 4 test jobs failed Failed test jobs:
|
CI restarted |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
The last question for this one to land, @jamesbeyond Please review . otherwise looks good to me |
@0xc0170, I believe I do need to revisit this PR, and changed the |
5615918
to
31fa073
Compare
I reverted the feature tag of |
CI restarted |
Test run: FAILEDSummary: 1 of 4 test jobs failed Failed test jobs:
|
This failure is different from previous one, the reason for this is because our build testing configured to build from the root of the example folder, where the actual example is build from a sub folder inside root example folder. the solutions would be. for temperate fixing: Long term fixing: |
@jamesbeyond what is the state of this ? |
as far as I can see, this won't make to 5.14.1, because the example changes is on going. this will to wait for another PR, which is not created yet. So let's postpone it to 5.14.2 @adbridge |
This PR will need to wait #11710 to be merged first |
31fa073
to
6d47ec3
Compare
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
The update of scripts is done. and In this PR the new example been added, also the temporarily turned off sub examples are turned back on for complication tests. Seems the CI passed as expected, I think this PR is good to go @ARMmbed/mbed-os-maintainers |
Description
add atecc608a example to compilation test
Pull request type
Reviewers
@adbridge
Release Notes