ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:84239] [Ruby trunk Bug#14175] TestResolvMDNS#test_mdns_each_address fails
       [not found] <redmine.issue-14175.20171213161611@ruby-lang.org>
@ 2017-12-13 16:16 ` v.ondruch
  2020-01-08 15:58 ` [ruby-core:96714] [Ruby master " v.ondruch
  1 sibling, 0 replies; 2+ messages in thread
From: v.ondruch @ 2017-12-13 16:16 UTC (permalink / raw)
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:96714] [Ruby master Bug#14175] TestResolvMDNS#test_mdns_each_address fails
       [not found] <redmine.issue-14175.20171213161611@ruby-lang.org>
  2017-12-13 16:16 ` [ruby-core:84239] [Ruby trunk Bug#14175] TestResolvMDNS#test_mdns_each_address fails v.ondruch
@ 2020-01-08 15:58 ` v.ondruch
  1 sibling, 0 replies; 2+ messages in thread
From: v.ondruch @ 2020-01-08 15:58 UTC (permalink / raw)
  To: ruby-core

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

Status changed from Open to Closed

This was very likely resolved via #14340

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

* Author: vo.x (Vit Ondruch)
* Status: Closed
* 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-08 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-14175.20171213161611@ruby-lang.org>
2017-12-13 16:16 ` [ruby-core:84239] [Ruby trunk Bug#14175] TestResolvMDNS#test_mdns_each_address fails v.ondruch
2020-01-08 15:58 ` [ruby-core:96714] [Ruby master " v.ondruch

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).