【环境信息】
OS版本:20.03-LTS-SP1 update 20220506
repo源:everything,update,update_0506,EPOL,EPOL_update,EPOL_0506,update_source_0506,EPOL_update_source_0506
【问题复现步骤】
1、安装rpmbuild:dnf install rpm-build -y
2、下载源码包:yumdownloader --source mysql5
3、安装mysql5源码包:rpm -ivh mysql5-5.7.37-1.oe1.src.rpm
4、rpmbuild进行编译:rpmbuild -ba /root/rpmbuild/SPECS/mysql5.spec
【预期结果】
编译成功
【实际结果】
编译失败,报错如下:
The servers were restarted 903 times
Spent 10429.982 of 2874 seconds executing testcases
Completed: Failed 6/3522 tests, 99.83% were successful.
Failing test(s): rpl.rpl_semi_sync_turn_on_off_optimize_for_static_plugin_config main.xa_prepared_binlog_off rpl.rpl_apply_binlog_with_gtid_when_gtid_mode_off
Unstable test(s)(failures/attempts): main.index_merge_delete(1/2) innodb.table_encrypt_kill(1/2) parts.partition_reverse_scan_icp(1/2)
The log files in var/log may give you some hint of what went wrong.
If you want to report this error, please read first the documentation
at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html
1718 tests were skipped, 340 by the test itself.
mysql-test-run: *** ERROR: there were failing test cases
错误:/var/tmp/rpm-tmp.55Wsm1 (%check) 退出状态不好
RPM 构建错误:
%changelog 没有按照时间顺序降序排列
/var/tmp/rpm-tmp.55Wsm1 (%check) 退出状态不好
Hi emily_liuliu, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: DB, and any of the maintainers: @ZhengZhenyu , @赵波 , @陈棋德
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
现在测试结果是:
rpmbuild编译时,打包阶段成功,测试用例阶段会失败6条,并发parallel=auto使用默认的参数auto,即跟测试机器的CPU保持一致:
打包阶段完成后,单独去跑测试用例,降低并发为3,之前失败的6条测试用例能跑过:
登录 后才可以发表评论