Hi small_leek, 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: sig-ruby, and any of the maintainers: @木得感情的openEuler机器人 , @small_leek , @薄皮小笼包
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
失败现象:
47s] .`did_you_mean' was not loaded.
[ 47s] `did_you_mean' was not loaded.
[ 48s] `did_you_mean' was not loaded.
[ 48s] .`did_you_mean' was not loaded.
[ 48s] `did_you_mean' was not loaded.
[ 49s] `did_you_mean' was not loaded.
[ 49s] .`did_you_mean' was not loaded.
[ 62s] ........................................................................................................................................................................................`did_you_mean' was not loaded.
[ 62s] .`did_you_mean' was not loaded.
[ 76s] .....................S........................S.......................S..........................................................................................`did_you_mean' was not loaded.
[ 76s] .`did_you_mean' was not loaded.
[ 77s] .S`did_you_mean' was not loaded.
[ 77s] ..S`did_you_mean' was not loaded.
[ 77s] .`did_you_mean' was not loaded.
[ 363s] .E
[ 363s]
[ 363s] Finished in 326.005700s, 1.2638 runs/s, 3.4110 assertions/s.
[ 363s] Errors & Failures:
[ 363s]
[ 363s] 1) Error:
[ 363s] TestRackServer#test_common_logger:
[ 363s] TimeoutEveryTestCase::TestTookTooLong: execution expired
[ 363s] /usr/share/ruby/timeout.rb:107:in `timeout'
[ 363s] /home/abuild/rpmbuild/BUILD/puma-5.5.2/test/helper.rb:87:in `block (3 levels) in run'
[ 363s]
[ 363s] 412 runs, 1112 assertions, 0 failures, 1 errors, 10 skips
[ 363s]
[ 363s] You have skipped tests. Run with --verbose for details.
[ 363s] error: Bad exit status from /var/tmp/rpm-tmp.5NZZVx (%check)
[ 363s]
[ 363s]
[ 363s] RPM build errors:
[ 363s] Bad exit status from /var/tmp/rpm-tmp.5NZZVx (%check)
[ 363s]
[ 363s] obs-worker1639015616-x86-0007 failed "build rubygem-puma.spec" at Tue Sep 6 20:36:48 UTC 2022.
该问题为测试用例偶现超时失败。
同上游社区issue:https://github.com/puma/puma/issues/2148类似,测试过程中会有大量客户端连接导致超时失败,可通过修改默认配置ulimit -n来减少失败的概率。
目前工程obs编译,无论宿主机ulimit -n修改成多少,实际编译过程中打印的都是1024(不能做修改验证),本地虚拟机可通过在 /etc/security/limits.conf文件尾部增加如下两行增加最大open文件数。
已通过脚本验证修改ulimit -n后连续在本地虚拟机osc build 100次(间隔1min),未发现编译失败情况。
编译日志见如下路径:
http://117.78.1.88/package/show/home:liyanan:branches:openEuler:22.09-0907/rubygem-puma_osc_build_log
结论:经验证,该测试用例超时,与环境资源限制有关,与软件包代码无关,无影响。
Sign in to comment