-
Notifications
You must be signed in to change notification settings - Fork 44
Move public legacy headers to /include/mbedtls #247
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
Move public legacy headers to /include/mbedtls #247
Conversation
There are probably build scripts that need to be updated. For example
and presumably there needs to be a line for |
a4f8043
to
d653d1b
Compare
The companion PR Mbed-TLS/mbedtls#10122 has now passed the CI |
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.
The PR looks mostly OK to me. I only left 1 question
The CI is unhappy here. Is the companion mbedtls pull request needed to make it happy? |
Sounds like a plan. Indeed those doxygen errors are actual issues that we want to address (as opposed to just silence), so let's do it - but proceed step by step, starting with getting this PR merged without the doxygen change for now. |
ddfe862
to
4f78997
Compare
4f78997
to
75e7af5
Compare
This is all ready for review again (just a rebase) when you've got a moment @bjwtaylor @valeriosetti n.b. The failure in OpenCI seems to be an intermittent one that is not related to this PR, and I'd replay it but I don't think I have the permissions or am not in a certain group or something as I can't see a replay button even though I'm logged in (but I can see a rerun button for the internal CI) |
The failure in https://mbedtls.trustedfirmware.org/blue/organizations/jenkins/mbed-tls-tf-psa-crypto-multibranch/detail/PR-247-head/9/pipeline/1211 doesn't look like a glitch:
It is weird that the internal CI passed though. A non-deterministic failure when building could be a missing build dependency. On the CI, we run This pull request moves files in a way that could affect dependencies — for example maybe somewhere dependencies are calculated in a way that doesn't take Experimentally, you may want to try doing build locally with various levels of parallelism and see if it breaks. This can be very sensitive to the level of parallelism, the number of CPUs, how fast the builds are and other factors. For example we used to have a missing dependency that would in practice never be a problem for |
I'll have a look, but I do remember seeing this exact failure on another patch (found it!: https://mbedtls.trustedfirmware.org/blue/organizations/jenkins/mbed-tls-framework-multibranch/detail/PR-153-head/16/pipeline/2066 for Mbed-TLS/mbedtls-framework#153) that is unrelated, so I don't think it is this specific patch that is causing it at least. |
Ok, then this is probably a preexisting issue, which may be exacerbated by changes that we make. Can you please file an issue and reference all the places where you've seen it happen? |
Sure, opened #286 - and I'll rerun the OpenCI now I have permissions to hopefully ensure it's only an intermittent failure... 🙂 |
Signed-off-by: Felix Conway <[email protected]>
Signed-off-by: Felix Conway <[email protected]>
Signed-off-by: Felix Conway <[email protected]>
…er files" This reverts commit 49a55c4. Signed-off-by: Felix Conway <[email protected]>
75e7af5
to
40b150a
Compare
The Windows CI seemed to have issues with rerunning after Mbed-TLS/mbedtls-test#203 was merged as it was trying to rerun Windows 2013 jobs whilst looking for 'v141' which I think is Visual Studio 2017 which wasn't installed. |
Ah, FYI this is a subtlety with the rerun/replay button on Jenkins. It replays the same Groovy script as the run that's getting replayed, but it gets its files from a checkout of the This comes up rarely in normal usage because merges in mbedtls-test are rare, and replays are also rare, but it's something to keep in mind when testing changes in mbedtls-test — always start new jobs after updating your patch to mbedtls-test, because otherwise you won't be testing your latest patch. |
I see, good to know the 'build now' button will do a fresh job, cheers! |
6cecd31
Moves public headers from
/drivers/builtin/include/mbedtls
to/include/mbedtls
to make it clear that they are public.Resolves #223, although there may be further work to move these headers somewhere else, e.g.
/include/tf-psa-crypto
.List of files moved for reference:
PR checklist