代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
导致编译偶发失败的原因又两个:
日志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用例失败,造成偶现的编译失败,不影响使用
登录 后才可以发表评论