3 Star 0 Fork 8

src-openEuler / rubygem-redis

 / 详情

rubygem-redis build problem in openEuler:22.09

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

评论 (2)

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: @small_leek , @木得感情的openEuler机器人 , @jiangxinyu

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

导致编译偶发失败的原因又两个:
日志1:

[  151s]   1) Error:
[  151s] TestClusterClientSlots#test_redirection_when_slot_is_resharding:
[  151s] Redis::CommandError: IOERR error or timeout reading to target instance
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:162:in `call'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis.rb:269:in `block in send_command'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis.rb:268:in `synchronize'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis.rb:268:in `send_command'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/commands/keys.rb:181:in `migrate'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/test/support/cluster/orchestrator.rb:90:in `rescue in block (2 levels) in start_resharding'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/test/support/cluster/orchestrator.rb:87:in `block (2 levels) in start_resharding'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/test/support/cluster/orchestrator.rb:84:in `each'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/test/support/cluster/orchestrator.rb:84:in `block in start_resharding'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/test/support/cluster/orchestrator.rb:78:in `loop'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/test/support/cluster/orchestrator.rb:78:in `start_resharding'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/test/helper.rb:394:in `redis_cluster_resharding'
[  151s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/test/cluster_client_slots_test.rb:146:in `test_redirection_when_slot_is_resharding'
[  151s] 
[  151s] 1298 runs, 7692 assertions, 0 failures, 1 errors, 270 skips

失败原因:IO 延时导致的超时错误
结论:不影响功能,与代码设置无关

日志2:

[  240s]   1) Error:
[  240s] TestInternals#test_large_payload:
[  240s] Redis::ProtocolError:  Got '' as initial reply byte. If you're in a forking environment, such as Unicorn, you need to connect to Redis after forking. 
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/connection/hiredis.rb:60:in `rescue in read'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/connection/hiredis.rb:53:in `read'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:311:in `block in read'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:299:in `io'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:310:in `read'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:161:in `block in call'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:279:in `block (2 levels) in process'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:420:in `ensure_connected'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:269:in `block in process'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:373:in `logging'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:268:in `process'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/client.rb:161:in `call'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis.rb:269:in `block in send_command'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis.rb:268:in `synchronize'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis.rb:268:in `send_command'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/lib/redis/commands/strings.rb:108:in `setex'
[  240s]     /home/abuild/rpmbuild/BUILD/redis-4.7.0/usr/share/gems/gems/redis-4.7.0/test/internals_test.rb:20:in `test_large_payload'
[  240s] 
[  240s] 1290 runs, 7783 assertions, 0 failures, 1 errors, 270 skips

这个问题,上游社区2022-8-10被提出issue,还没有明确的定位结论,https://github.com/redis/hiredis-rb/issues/85。commemts中的记录中提出是hiredis 和 redis-b版本差异导致的问题。需跟进上游社区对这个问题的定位和处理结果
影响分析:因test用例失败,造成偶现的编译失败,不影响使用

small_leek 任务状态待办的 修改为已确认
small_leek 添加协作者small_leek
small_leek 负责人small_leek 修改为caodongxia
caodongxia 任务状态已确认 修改为已完成

登录 后才可以发表评论

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

搜索帮助