Word2Vec-BERT-bmu:Classification of RISC-V Architecture Software Package Build Failures
摘要
In recent years, the emerging open source RISC-V architecture has gradually attracted wide attention. In order to support the compilation of multiple Linux operating system distribution images and packages, developers need to build and adapt the packages. Due to the complexity of software packages and the diversity of developer experience levels, the success of software package construction is uncertain. Existing research lacks automatic classification methods for the reasons of RISC-V architecture software package construction failures. Therefore, an automatic classification model Word2Vec-BERT-bmu is proposed to effectively and automatically locate software package construction failures. Firstly, two popular Linux distribution building platforms, OpenSuse and OpenEuler, were selected as the sources of build failure log data, and 10 types of build failures were manually analyzed and summarized. Secondly, the Word2Vec-BERT-bmu model is proposed to construct the failure classification using an automated software package with multi-feature concatenation. Experimental results show that the Macro F1 value is improved by 2–4% compared with other models. In addition, for real-world software packages, the effectiveness and accuracy of our model we proposed are further verified by manual repair of software packages.