Hello everyone,
On 8/31/2021 8:45 AM, Anatol Belski wrote:
I'm writing to present an ABI compliance check mechanism for Poky
recently developed to help improve the product stability. It is still
an early work which however has already proven itself useful and thus
the time seems right to ask for the community view.
The implementation is made as a core Python module, which can be used
in a Yocto layer or imported in any other script. The layer is
available under:
https://github.com/clio-project/meta-binaryaudit
and the accompanying python module (which moves at some faster pace and
is synchronized into the layer) and a command line tool:
https://github.com/clio-project/python-binaryaudit
Microsoft is going to pick this up (the ABI compliance layer[0]) as an
intern project again this summer, with a particular focus on improving
code quality. I’ll be working on it for the next two months or so, and
here are some of my preliminary ideas so far.
One goal is to make the layer provide helpful enough logs on its own, so
that the layer could be used without extra scripting. This means
emitting actual BitBake logs, using standard QA error/warning logic to
log ABI issues, and making sure the actual ABI differences go into logs.
These improvements should hopefully make the layer easier to integrate
into CI/CD.
Anatol’s original post also mentions potential extensions like binary
size auditing, which I’ll investigate as time permits (probably in the
form of another layer).
There will, of course, be efforts in the genre of code cleanup and
usability improvement. For example, better error handling, refactoring
the accompanying Python library so that only the minimal supporting code
is included, etc.
If anyone has any feature suggestions or improvements that they want to
see made, please feel free to share! To quickly recap, the OP[1] has the
context behind this project and the basic idea of how it works: dumping
ABI into buildhistory and comparing against them afterwards during
another build. There was some chatter here[2] about doing ABI checking
for the LTS branches as well, which briefly mentions this project.
Thanks!
~ maia
[0] https://github.com/clio-project/meta-binaryaudit
[1] https://lists.yoctoproject.org/g/yocto/topic/85279259
[2] https://lists.yoctoproject.org/g/yocto/topic/89009568
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57518): https://lists.yoctoproject.org/g/yocto/message/57518
Mute This Topic: https://lists.yoctoproject.org/mt/85279259/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-