5 Star 0 Fork 13

src-openEuler/rubygem-puma

 / 详情

rubygem-puma build problem in openEuler:22.09

已完成
缺陷 成员
创建于  
2022-09-07 10:17

评论 (3)

small_leek 创建了缺陷

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 , @薄皮小笼包

openeuler-ci-bot 添加了
 
sig/sig-ruby
标签

失败现象:

   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.
small_leek 添加协作者small_leek
small_leek 负责人small_leek 修改为caodongxia

该问题为测试用例偶现超时失败。
同上游社区issue:https://github.com/puma/puma/issues/2148类似,测试过程中会有大量客户端连接导致超时失败,可通过修改默认配置ulimit -n来减少失败的概率。
目前工程obs编译,无论宿主机ulimit -n修改成多少,实际编译过程中打印的都是1024(不能做修改验证),本地虚拟机可通过在 /etc/security/limits.conf文件尾部增加如下两行增加最大open文件数。

  • soft nofile 65536
  • hard nofile 65536

已通过脚本验证修改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

结论:经验证,该测试用例超时,与环境资源限制有关,与软件包代码无关,无影响。

caodongxia 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/rubygem-puma.git
git@gitee.com:src-openeuler/rubygem-puma.git
src-openeuler
rubygem-puma
rubygem-puma

搜索帮助

Cb406eda 1850385 E526c682 1850385