-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Cypress: Rename CY8CKIT_064B0S2_4343W to CY8CKIT064B0S2_4343W #13516
Conversation
@romanjoe, thank you for your changes. |
There are some CI fails related to "frozen tools". I'm not familiar with that unfortunately. I checked https://os.mbed.com/blog/entry/Introducing-the-new-Mbed-Tools/ page and assume it is related to mbed-os 6.2+ maintenance, what should i do to make CI pass in this case? |
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.
I assume there won't be breakages as the old name was not available to users due to the limit?
CI started |
I read your comment right after my review and noticed Travis failing. @ARMmbed/mbed-os-tools Please can you review this change? |
Hi Martin, This change however, would not be propagated to mbed online compiler, due to "frozen tools" check failure in this PR? Since this target is not yet supported in mbed online compiler i am not sure this is a problem right now. @ifyall could you please confirm we are okay with not be present in online compiler? |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Jenkins CI failed. I have reviewed the cause and assume, that CI configuration may still use CY8CKIT_064B0S2_4343W - old name, instead of new one CY8CKIT064B0S2_4343W. Because of this, cysecuretools init command is not called and thus no policy file found on post build. |
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
Please confirm if this is true (this pull request is addressing an issue with mbed-cli, no online compiler update needed). |
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.
As far as I know, the online compiler cannot support this target due to special python package requirement (cysecuretools). In past discussions, Cypress only cares about supporting Mbed CLI.
I double checked that this aligns to the mbed-os-tools repo.
u'1910': u'CY8CKIT064B0S2_4343W',
So it looks good to me.
I confirm - this PR address mbed-cli. |
…0 characters limit
94a81fe
to
8770780
Compare
Pull request has been modified.
PR branch rebased to latest master |
CI started |
Jenkins CI Test : ❌ FAILEDBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
CI failed again with similar issue in log - can't find policy file. Could someone please check CI config - if it is actually uses new target name and keys, policies are present in correct place (by default it is mbed-os/targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT064B0S2_4343W/policies, mbed-os/targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT064B0S2_4343W/keys), but can de overwritten from mbed_app.json, using field "policy_file": "%path_to_policy_file%" it is expected, by default that keys are located level up from policy file location and in folder keys. Example:
|
I'll talk to the test team now |
Hi @romanjoe,
|
Hi, yes target name in cysecuretools is correct. Did you check if missed files are present on build machine, where CI runs? It is hard for me to understand what went wrong with CI now, because everything worked fine until these changes have been introduced. Do you use Per this error message policy file location is not default. |
On CI target name changed, and CI restarted |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 3 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Okay, great! Thanks, CI finished successfully now! |
Jenkins CI Passed, thought there still some issue, need to be fixed. if checking the successful log, the Greentea images didn't get build properly. due to the mbed-so folder restructure. will fix it and restart CI again soon. However, the Travis CI did filed with tools freeze check, @0xc0170 @Patater what shall we do about this? ignore the failure? |
CI restarted |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 4 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Now CI log looks much better! I'd Say Jenkins is passed, I'll let you deride what to do with TravisCI |
Thanks! Please check this comment #13516 (review) this target is not expected to work with online compiler anyways, changes in this PR are targeting mbed-cli, so this issue can be ignored per comments from @maclobdell and @0xc0170 (they both have approved PR) |
Thanks, but I think what is failing in Travis is have nothing to do with online compiler. it only have things to do with your PR changed the files inside tools folder, where |
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.
Thanks for the changes.
Approved by @Patater and @andypowers, I'll merge this now. |
Summary of changes
This PR addresses issue #13424. Target name for existing CY8CKIT_064B0S2_4343W is changed to CY8CKIT064B0S2_4343W to meet requirement of 20 characters in name.
Impact of changes
Change of target name
Migration actions required
Any CI or automated test environment should use new name CY8CKIT064B0S2_4343W
Documentation
Pull request type
Test results
Reviewers