From: "naruse (Yui NARUSE)" Date: 2013-04-06T18:34:26+09:00 Subject: [ruby-core:54056] [ruby-trunk - Bug #8159] Build failure introduced by Rinda changes Issue #8159 has been updated by naruse (Yui NARUSE). h.shirosaki (Hiroshi Shirosaki) wrote: > I created a patch to fix test errors. > It seems a socket should be binded to another non multicast address and join a multicast group. > > I got it from the following examples. > http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/antony/example.html > http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=%2Frzab6%2Frzab6xmulticast.htm Yeah, I think it is correct. But your patch doesn't specify what multicast group the socket join. Current make_socket's argument is only one and it specifies both binding address and joining multicast group, so I think the API must be modified. ---------------------------------------- Bug #8159: Build failure introduced by Rinda changes https://bugs.ruby-lang.org/issues/8159#change-38288 Author: luislavena (Luis Lavena) Status: Assigned Priority: Normal Assignee: drbrain (Eric Hodel) Category: test Target version: next minor ruby -v: ruby 2.1.0dev (2013-03-24 trunk 39905) [x64-mingw32] =begin Seems latest Rinda-related changes affected build under Windows: http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/936/console 2) Error: test_take_bug_8215(Rinda::TupleSpaceProxyTest): NotImplementedError: fork() function is unimplemented on this machine C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/rinda/test_rinda.rb:486:in `fork' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/rinda/test_rinda.rb:486:in `test_take_bug_8215' 3) Error: test_make_socket_ipv4_multicast(Rinda::TestRingServer): Errno::EADDRNOTAVAIL: The requested address is not valid in its context. - bind(2) C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/lib/rinda/ring.rb:117:in `bind' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/lib/rinda/ring.rb:117:in `make_socket' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/rinda/test_rinda.rb:542:in `test_make_socket_ipv4_multicast' r39895 seems to have introduced a test that is not skipping on non-fork() platforms. =end -- http://bugs.ruby-lang.org/