ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: v.ondruch@tiscali.cz
To: ruby-core@ruby-lang.org
Subject: [ruby-core:84239] [Ruby trunk Bug#14175] TestResolvMDNS#test_mdns_each_address fails
Date: Wed, 13 Dec 2017 16:16:13 +0000 (UTC)	[thread overview]
Message-ID: <redmine.issue-14175.20171213161611.afc2ae63496b318b@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-14175.20171213161611@ruby-lang.org

Issue #14175 has been reported by vo.x (Vit Ondruch).

----------------------------------------
Bug #14175: TestResolvMDNS#test_mdns_each_address fails
https://bugs.ruby-lang.org/issues/14175

* Author: vo.x (Vit Ondruch)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.0dev (2017-12-12 trunk 61169) [powerpc64-linux]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
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. 



-- 
https://bugs.ruby-lang.org/

       reply	other threads:[~2017-12-13 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-14175.20171213161611@ruby-lang.org>
2017-12-13 16:16 ` v.ondruch [this message]
2020-01-08 15:58 ` [ruby-core:96714] [Ruby master Bug#14175] TestResolvMDNS#test_mdns_each_address fails v.ondruch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.issue-14175.20171213161611.afc2ae63496b318b@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).