Project

General

Profile

Actions

Bug #14175

closed

TestResolvMDNS#test_mdns_each_address fails

Added by vo.x (Vit Ondruch) over 6 years ago. Updated about 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-12-12 trunk 61169) [powerpc64-linux]
[ruby-core:84239]
Tags:

Description

I observe the following test error on Fedora builders:

  1) Error:
TestResolvMDNS#test_mdns_each_address:
Errno::EPERM: Operation not permitted - sendto(2) for "224.0.0.251" port 5353
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:793:in `send'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:793:in `send'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:672:in `request'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:528:in `block in fetch_resource'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1096:in `block (3 levels) in resolv'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1094:in `each'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1094:in `block (2 levels) in resolv'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1093:in `each'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1093:in `block in resolv'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1091:in `each'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1091:in `resolv'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:519:in `fetch_resource'
    /builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:509:in `each_resource'
    /builddir/build/BUILD/ruby-2.5.0-r61169/test/resolv/test_mdns.rb:12:in `test_mdns_each_address'

Unfortunately, I have failed to reproduce the issue locally so far, but it fails consistently on the builders :/ I suspect that it might happen when the DNS cannot resolve the addresses, when /etc/resolv.conf is not present on the system.

Updated by vo.x (Vit Ondruch) about 4 years ago

  • Status changed from Open to Closed

This was very likely resolved via #14340

Actions

Also available in: Atom PDF

Like0
Like0