"t-maiaxiao" <[email protected]> writes: > 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. > I've been working on meta-binaryaudit integration into CI in the Oniro Project [1]. We had to fork the project due to maintainer being unresponsive for quite a while. The main issue is error handling. abicheck exits on any non-zero code returned by abidw which is not acceptable for CI. Besides of that I've decided to make abicheck a task, not postfunc so it behaves pretty much like cvecheck.
[1] https://gitlab.eclipse.org/eclipse/oniro-core/meta-binaryaudit > 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 (#57520): https://lists.yoctoproject.org/g/yocto/message/57520 Mute This Topic: https://lists.yoctoproject.org/mt/85279259/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
