ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:58411] [ruby-trunk - Bug #9124][Open] TestSocket errors in test-all on Arch 64-bit
@ 2013-11-18 21:44 jonforums (Jon Forums)
  2013-11-23  1:41 ` [ruby-core:58515] [ruby-trunk - Bug #9124] " jonforums (Jon Forums)
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: jonforums (Jon Forums) @ 2013-11-18 21:44 UTC (permalink / raw
  To: ruby-core


Issue #9124 has been reported by jonforums (Jon Forums).

----------------------------------------
Bug #9124: TestSocket errors in test-all on Arch 64-bit
https://bugs.ruby-lang.org/issues/9124

Author: jonforums (Jon Forums)
Status: Open
Priority: Normal
Assignee: 
Category: test
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


My system misconfiguration or MRI bug?

<pre>
arch64:build % uname -a
Linux arch64 3.12.0-1-ARCH #1 SMP PREEMPT Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux

arch64:build % uru ls
 => 210dev      : ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]

arch64:build % ../configure --prefix=$HOME/.rubies/ruby-2.1.0 --enable-shared --disable-install-doc && make all && make test-all
...
[12188/14685] TestSocket#test_timestamp = 0.00 s
  5) Error:
TestSocket#test_timestamp:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `block (2 levels) in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:454:in `block in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:453:in `test_timestamp'

[12189/14685] TestSocket#test_timestampns = 0.00 s
  6) Error:
TestSocket#test_timestampns:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `block (2 levels) in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:476:in `block in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:475:in `test_timestampns'

[12190/14685] TestSocket#test_udp_server = 10.02 s
  7) Error:
TestSocket#test_udp_server:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `block in udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `each'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:684:in `block in udp_server_loop_on'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `loop'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `udp_server_loop_on'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:388:in `block (2 levels) in test_udp_server'

[12247/14685] TestSocketNonblock#test_recvmsg_nonblock_error = 0.00 s
  8) Error:
TestSocketNonblock#test_recvmsg_nonblock_error:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `block in test_recvmsg_nonblock_error'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:155:in `udp_pair'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:248:in `test_recvmsg_nonblock_error'

[12279/14685] TestSocket_UNIXSocket#test_fd_passing_n = 0.00 s
  9) Error:
TestSocket_UNIXSocket#test_fd_passing_n:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `block (2 levels) in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `block in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `test_fd_passing_n'

[12280/14685] TestSocket_UNIXSocket#test_fd_passing_n2 = 0.00 s
 10) Error:
TestSocket_UNIXSocket#test_fd_passing_n2:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `block (2 levels) in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `block in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `test_fd_passing_n2'

[12292/14685] TestSocket_UNIXSocket#test_recvmsg = 0.00 s
 11) Error:
TestSocket_UNIXSocket#test_recvmsg:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `block (2 levels) in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `block in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `pipe'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `test_recvmsg'

[12295/14685] TestSocket_UNIXSocket#test_sendcred_ucred = 0.00 s
 12) Error:
TestSocket_UNIXSocket#test_sendcred_ucred:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `block in test_sendcred_ucred'
    /home/jon/rubydev/ruby-git/lib/tmpdir.rb:88:in `mktmpdir'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:472:in `test_sendcred_ucred'

Finished tests in 410.247772s, 35.7954 tests/s, 6317.1702 assertions/s.
14685 tests, 2591605 assertions, 0 failures, 8 errors, 32 skips
</pre>


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

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

* [ruby-core:58515] [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-11-18 21:44 [ruby-core:58411] [ruby-trunk - Bug #9124][Open] TestSocket errors in test-all on Arch 64-bit jonforums (Jon Forums)
@ 2013-11-23  1:41 ` jonforums (Jon Forums)
  2013-11-27 11:18   ` [ruby-core:58640] " Eric Wong
  2013-11-28 19:55 ` [ruby-core:58666] " jonforums (Jon Forums)
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 14+ messages in thread
From: jonforums (Jon Forums) @ 2013-11-23  1:41 UTC (permalink / raw
  To: ruby-core


Issue #9124 has been updated by jonforums (Jon Forums).


No failure on 64bit ubuntu server 13.10 with glibc 2.17 and gcc 4.8.1. Failure only on arch 64bit with glibc 2.18 and gcc 4.8.2
----------------------------------------
Bug #9124: TestSocket errors in test-all on Arch 64-bit
https://bugs.ruby-lang.org/issues/9124#change-43095

Author: jonforums (Jon Forums)
Status: Open
Priority: Normal
Assignee: 
Category: test
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


My system misconfiguration or MRI bug?

<pre>
arch64:build % uname -a
Linux arch64 3.12.0-1-ARCH #1 SMP PREEMPT Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux

arch64:build % uru ls
 => 210dev      : ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]

arch64:build % ../configure --prefix=$HOME/.rubies/ruby-2.1.0 --enable-shared --disable-install-doc && make all && make test-all
...
[12188/14685] TestSocket#test_timestamp = 0.00 s
  5) Error:
TestSocket#test_timestamp:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `block (2 levels) in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:454:in `block in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:453:in `test_timestamp'

[12189/14685] TestSocket#test_timestampns = 0.00 s
  6) Error:
TestSocket#test_timestampns:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `block (2 levels) in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:476:in `block in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:475:in `test_timestampns'

[12190/14685] TestSocket#test_udp_server = 10.02 s
  7) Error:
TestSocket#test_udp_server:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `block in udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `each'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:684:in `block in udp_server_loop_on'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `loop'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `udp_server_loop_on'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:388:in `block (2 levels) in test_udp_server'

[12247/14685] TestSocketNonblock#test_recvmsg_nonblock_error = 0.00 s
  8) Error:
TestSocketNonblock#test_recvmsg_nonblock_error:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `block in test_recvmsg_nonblock_error'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:155:in `udp_pair'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:248:in `test_recvmsg_nonblock_error'

[12279/14685] TestSocket_UNIXSocket#test_fd_passing_n = 0.00 s
  9) Error:
TestSocket_UNIXSocket#test_fd_passing_n:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `block (2 levels) in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `block in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `test_fd_passing_n'

[12280/14685] TestSocket_UNIXSocket#test_fd_passing_n2 = 0.00 s
 10) Error:
TestSocket_UNIXSocket#test_fd_passing_n2:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `block (2 levels) in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `block in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `test_fd_passing_n2'

[12292/14685] TestSocket_UNIXSocket#test_recvmsg = 0.00 s
 11) Error:
TestSocket_UNIXSocket#test_recvmsg:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `block (2 levels) in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `block in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `pipe'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `test_recvmsg'

[12295/14685] TestSocket_UNIXSocket#test_sendcred_ucred = 0.00 s
 12) Error:
TestSocket_UNIXSocket#test_sendcred_ucred:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `block in test_sendcred_ucred'
    /home/jon/rubydev/ruby-git/lib/tmpdir.rb:88:in `mktmpdir'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:472:in `test_sendcred_ucred'

Finished tests in 410.247772s, 35.7954 tests/s, 6317.1702 assertions/s.
14685 tests, 2591605 assertions, 0 failures, 8 errors, 32 skips
</pre>


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

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

* [ruby-core:58640] Re: [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-11-23  1:41 ` [ruby-core:58515] [ruby-trunk - Bug #9124] " jonforums (Jon Forums)
@ 2013-11-27 11:18   ` Eric Wong
  2013-11-27 19:44     ` [ruby-core:58647] " Eric Wong
  0 siblings, 1 reply; 14+ messages in thread
From: Eric Wong @ 2013-11-27 11:18 UTC (permalink / raw
  To: Ruby developers

This looks to be a problem of Linux 3.12 and later

	commit 1661bf364ae9c506bc8795fef70d1532931be1e8
	Author: Dan Carpenter <dan.carpenter@oracle.com>
	Date:   Thu Oct 3 00:27:20 2013 +0300

	    net: heap overflow in __audit_sockaddr()

I'm inclined to believe Ruby is incorrect for using a gigantic
placeholder value.

Ruby started using a gigantic buffer since r39529 (so no stable releases).

    * ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS
      and Darwin.

The following is a dirty workaround, but I don't think it's sufficient
since SunOS and Darwin could be affected by the same heap overflow in
which was in Linux.

--- a/ext/socket/rubysocket.h
+++ b/ext/socket/rubysocket.h
@@ -194,7 +194,9 @@ typedef union {
   struct sockaddr_dl dl; /* AF_LINK */
 #endif
   struct sockaddr_storage storage;
+#ifndef __linux__
   char place_holder[2048]; /* sockaddr_storage is not enough for Unix domain sockets on SunOS and Darwin. */
+#endif
 } union_sockaddr;
 
 #ifdef __APPLE__

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

* [ruby-core:58647] Re: [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-11-27 11:18   ` [ruby-core:58640] " Eric Wong
@ 2013-11-27 19:44     ` Eric Wong
  0 siblings, 0 replies; 14+ messages in thread
From: Eric Wong @ 2013-11-27 19:44 UTC (permalink / raw
  To: Ruby developers

Linux patch to fix this:
http://mid.gmane.org/20131127124021.GA2025@elgon.mountain
I think Ruby can remain unchanged.

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

* [ruby-core:58666] [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-11-18 21:44 [ruby-core:58411] [ruby-trunk - Bug #9124][Open] TestSocket errors in test-all on Arch 64-bit jonforums (Jon Forums)
  2013-11-23  1:41 ` [ruby-core:58515] [ruby-trunk - Bug #9124] " jonforums (Jon Forums)
@ 2013-11-28 19:55 ` jonforums (Jon Forums)
  2013-12-04  0:49 ` [ruby-core:58841] " jonforums (Jon Forums)
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 14+ messages in thread
From: jonforums (Jon Forums) @ 2013-11-28 19:55 UTC (permalink / raw
  To: ruby-core


Issue #9124 has been updated by jonforums (Jon Forums).


normalperson (Eric Wong) wrote:
> Linux patch to fix this:
>  http://mid.gmane.org/20131127124021.GA2025@elgon.mountain
>  I think Ruby can remain unchanged.

Ah, I see. I'll check again when Arch pushes an update to 3.12.1-3-ARCH. Thank you for the info.
----------------------------------------
Bug #9124: TestSocket errors in test-all on Arch 64-bit
https://bugs.ruby-lang.org/issues/9124#change-43234

Author: jonforums (Jon Forums)
Status: Open
Priority: Normal
Assignee: 
Category: test
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


My system misconfiguration or MRI bug?

<pre>
arch64:build % uname -a
Linux arch64 3.12.0-1-ARCH #1 SMP PREEMPT Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux

arch64:build % uru ls
 => 210dev      : ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]

arch64:build % ../configure --prefix=$HOME/.rubies/ruby-2.1.0 --enable-shared --disable-install-doc && make all && make test-all
...
[12188/14685] TestSocket#test_timestamp = 0.00 s
  5) Error:
TestSocket#test_timestamp:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `block (2 levels) in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:454:in `block in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:453:in `test_timestamp'

[12189/14685] TestSocket#test_timestampns = 0.00 s
  6) Error:
TestSocket#test_timestampns:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `block (2 levels) in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:476:in `block in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:475:in `test_timestampns'

[12190/14685] TestSocket#test_udp_server = 10.02 s
  7) Error:
TestSocket#test_udp_server:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `block in udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `each'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:684:in `block in udp_server_loop_on'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `loop'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `udp_server_loop_on'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:388:in `block (2 levels) in test_udp_server'

[12247/14685] TestSocketNonblock#test_recvmsg_nonblock_error = 0.00 s
  8) Error:
TestSocketNonblock#test_recvmsg_nonblock_error:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `block in test_recvmsg_nonblock_error'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:155:in `udp_pair'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:248:in `test_recvmsg_nonblock_error'

[12279/14685] TestSocket_UNIXSocket#test_fd_passing_n = 0.00 s
  9) Error:
TestSocket_UNIXSocket#test_fd_passing_n:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `block (2 levels) in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `block in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `test_fd_passing_n'

[12280/14685] TestSocket_UNIXSocket#test_fd_passing_n2 = 0.00 s
 10) Error:
TestSocket_UNIXSocket#test_fd_passing_n2:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `block (2 levels) in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `block in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `test_fd_passing_n2'

[12292/14685] TestSocket_UNIXSocket#test_recvmsg = 0.00 s
 11) Error:
TestSocket_UNIXSocket#test_recvmsg:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `block (2 levels) in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `block in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `pipe'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `test_recvmsg'

[12295/14685] TestSocket_UNIXSocket#test_sendcred_ucred = 0.00 s
 12) Error:
TestSocket_UNIXSocket#test_sendcred_ucred:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `block in test_sendcred_ucred'
    /home/jon/rubydev/ruby-git/lib/tmpdir.rb:88:in `mktmpdir'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:472:in `test_sendcred_ucred'

Finished tests in 410.247772s, 35.7954 tests/s, 6317.1702 assertions/s.
14685 tests, 2591605 assertions, 0 failures, 8 errors, 32 skips
</pre>


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

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

* [ruby-core:58841] [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-11-18 21:44 [ruby-core:58411] [ruby-trunk - Bug #9124][Open] TestSocket errors in test-all on Arch 64-bit jonforums (Jon Forums)
  2013-11-23  1:41 ` [ruby-core:58515] [ruby-trunk - Bug #9124] " jonforums (Jon Forums)
  2013-11-28 19:55 ` [ruby-core:58666] " jonforums (Jon Forums)
@ 2013-12-04  0:49 ` jonforums (Jon Forums)
  2013-12-04  2:10   ` [ruby-core:58842] " Eric Wong
  2013-12-14 16:50 ` [ruby-core:59113] " jonforums (Jon Forums)
                   ` (4 subsequent siblings)
  7 siblings, 1 reply; 14+ messages in thread
From: jonforums (Jon Forums) @ 2013-12-04  0:49 UTC (permalink / raw
  To: ruby-core


Issue #9124 has been updated by jonforums (Jon Forums).


After updating Ubuntu Server 13.10 with linux-image-3.11.0-14-generic I see the same error with Arch.

The behavior Eric mentioned is on linux-stable so it may have been pulled in with their latest update

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/net?id=1661bf364ae9c506bc8795fef70d1532931be1e8

Linux 3.13-rc2 has the patch, so Arch will likely get it soon after 3.13, but But will Ubuntu Server 13.10 ever get the patch or move to 3.13?

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/net?id=db31c55a6fb245fdbb752a2ca4aefec89afabb06

Anyone running an up-to-date desktop Ubuntu 13.10 also seeing this, or is it currently Server 13.10 only?
----------------------------------------
Bug #9124: TestSocket errors in test-all on Arch 64-bit
https://bugs.ruby-lang.org/issues/9124#change-43400

Author: jonforums (Jon Forums)
Status: Open
Priority: Normal
Assignee: 
Category: test
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


My system misconfiguration or MRI bug?

<pre>
arch64:build % uname -a
Linux arch64 3.12.0-1-ARCH #1 SMP PREEMPT Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux

arch64:build % uru ls
 => 210dev      : ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]

arch64:build % ../configure --prefix=$HOME/.rubies/ruby-2.1.0 --enable-shared --disable-install-doc && make all && make test-all
...
[12188/14685] TestSocket#test_timestamp = 0.00 s
  5) Error:
TestSocket#test_timestamp:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `block (2 levels) in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:454:in `block in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:453:in `test_timestamp'

[12189/14685] TestSocket#test_timestampns = 0.00 s
  6) Error:
TestSocket#test_timestampns:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `block (2 levels) in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:476:in `block in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:475:in `test_timestampns'

[12190/14685] TestSocket#test_udp_server = 10.02 s
  7) Error:
TestSocket#test_udp_server:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `block in udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `each'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:684:in `block in udp_server_loop_on'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `loop'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `udp_server_loop_on'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:388:in `block (2 levels) in test_udp_server'

[12247/14685] TestSocketNonblock#test_recvmsg_nonblock_error = 0.00 s
  8) Error:
TestSocketNonblock#test_recvmsg_nonblock_error:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `block in test_recvmsg_nonblock_error'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:155:in `udp_pair'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:248:in `test_recvmsg_nonblock_error'

[12279/14685] TestSocket_UNIXSocket#test_fd_passing_n = 0.00 s
  9) Error:
TestSocket_UNIXSocket#test_fd_passing_n:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `block (2 levels) in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `block in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `test_fd_passing_n'

[12280/14685] TestSocket_UNIXSocket#test_fd_passing_n2 = 0.00 s
 10) Error:
TestSocket_UNIXSocket#test_fd_passing_n2:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `block (2 levels) in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `block in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `test_fd_passing_n2'

[12292/14685] TestSocket_UNIXSocket#test_recvmsg = 0.00 s
 11) Error:
TestSocket_UNIXSocket#test_recvmsg:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `block (2 levels) in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `block in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `pipe'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `test_recvmsg'

[12295/14685] TestSocket_UNIXSocket#test_sendcred_ucred = 0.00 s
 12) Error:
TestSocket_UNIXSocket#test_sendcred_ucred:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `block in test_sendcred_ucred'
    /home/jon/rubydev/ruby-git/lib/tmpdir.rb:88:in `mktmpdir'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:472:in `test_sendcred_ucred'

Finished tests in 410.247772s, 35.7954 tests/s, 6317.1702 assertions/s.
14685 tests, 2591605 assertions, 0 failures, 8 errors, 32 skips
</pre>


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

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

* [ruby-core:58842] Re: [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-12-04  0:49 ` [ruby-core:58841] " jonforums (Jon Forums)
@ 2013-12-04  2:10   ` Eric Wong
  2013-12-06  0:54     ` [ruby-core:58884] " Eric Wong
  0 siblings, 1 reply; 14+ messages in thread
From: Eric Wong @ 2013-12-04  2:10 UTC (permalink / raw
  To: Ruby developers

"jonforums (Jon Forums)" <redmine@ruby-lang.org> wrote:
> Linux 3.13-rc2 has the patch, so Arch will likely get it soon after 3.13, but But will Ubuntu Server 13.10 ever get the patch or move to 3.13?
> 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/net?id=db31c55a6fb245fdbb752a2ca4aefec89afabb06

This will flow into the stable maintenance kernels (3.12, 3.10, etc)
within a few weeks.  DaveM (net maintainer) usually lets things settle
in Linus' tree a bit before submitting them for -stable inclusion.

I'll provide updates as stable kernels are released with this fix.

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

* [ruby-core:58884] Re: [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-12-04  2:10   ` [ruby-core:58842] " Eric Wong
@ 2013-12-06  0:54     ` Eric Wong
  2013-12-11  8:33       ` [ruby-core:59053] " Eric Wong
  0 siblings, 1 reply; 14+ messages in thread
From: Eric Wong @ 2013-12-06  0:54 UTC (permalink / raw
  To: Ruby developers

Eric Wong <normalperson@yhbt.net> wrote:
> This will flow into the stable maintenance kernels (3.12, 3.10, etc)
> within a few weeks.

GregKH has these queued up for the next 3.12, 3.10, and 3.4 stable releases.
So Linux 3.12.4, 3.10.23, and 3.4.73 should all have them

I expect the maintainers for 3.2 and 3.5 (LTS Ubuntu) to pick them up in
the next releases, too.

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

* [ruby-core:59053] Re: [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-12-06  0:54     ` [ruby-core:58884] " Eric Wong
@ 2013-12-11  8:33       ` Eric Wong
  0 siblings, 0 replies; 14+ messages in thread
From: Eric Wong @ 2013-12-11  8:33 UTC (permalink / raw
  To: Ruby developers

Eric Wong <normalperson@yhbt.net> wrote:
> Eric Wong <normalperson@yhbt.net> wrote:
> > This will flow into the stable maintenance kernels (3.12, 3.10, etc)
> > within a few weeks.
> 
> GregKH has these queued up for the next 3.12, 3.10, and 3.4 stable releases.
> So Linux 3.12.4, 3.10.23, and 3.4.73 should all have them

Btw, all of these are released.  I think the issue may be closed, now.

> I expect the maintainers for 3.2 and 3.5 (LTS Ubuntu) to pick them up in
> the next releases, too.

3.5 just picked it up, too.  Expect a slightly longer cycle for 3.2;
but it'll get there.

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

* [ruby-core:59113] [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-11-18 21:44 [ruby-core:58411] [ruby-trunk - Bug #9124][Open] TestSocket errors in test-all on Arch 64-bit jonforums (Jon Forums)
                   ` (2 preceding siblings ...)
  2013-12-04  0:49 ` [ruby-core:58841] " jonforums (Jon Forums)
@ 2013-12-14 16:50 ` jonforums (Jon Forums)
  2014-01-30  5:53 ` [ruby-core:60250] " shibata.hiroshi
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 14+ messages in thread
From: jonforums (Jon Forums) @ 2013-12-14 16:50 UTC (permalink / raw
  To: ruby-core


Issue #9124 has been updated by jonforums (Jon Forums).


normalperson (Eric Wong) wrote:
> Eric Wong <normalperson@yhbt.net> wrote:
>  > Eric Wong <normalperson@yhbt.net> wrote:
>  > > This will flow into the stable maintenance kernels (3.12, 3.10, etc)
>  > > within a few weeks.
>  > 
>  > GregKH has these queued up for the next 3.12, 3.10, and 3.4 stable releases.
>  > So Linux 3.12.4, 3.10.23, and 3.4.73 should all have them
>  
>  Btw, all of these are released.  I think the issue may be closed, now.

Agreed re: closing. Arch 64bit based upon 3.12.4 builds trunk with 0 test-all errors.
----------------------------------------
Bug #9124: TestSocket errors in test-all on Arch 64-bit
https://bugs.ruby-lang.org/issues/9124#change-43680

Author: jonforums (Jon Forums)
Status: Open
Priority: Normal
Assignee: 
Category: test
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


My system misconfiguration or MRI bug?

<pre>
arch64:build % uname -a
Linux arch64 3.12.0-1-ARCH #1 SMP PREEMPT Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux

arch64:build % uru ls
 => 210dev      : ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]

arch64:build % ../configure --prefix=$HOME/.rubies/ruby-2.1.0 --enable-shared --disable-install-doc && make all && make test-all
...
[12188/14685] TestSocket#test_timestamp = 0.00 s
  5) Error:
TestSocket#test_timestamp:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `block (2 levels) in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:454:in `block in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:453:in `test_timestamp'

[12189/14685] TestSocket#test_timestampns = 0.00 s
  6) Error:
TestSocket#test_timestampns:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `block (2 levels) in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:476:in `block in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:475:in `test_timestampns'

[12190/14685] TestSocket#test_udp_server = 10.02 s
  7) Error:
TestSocket#test_udp_server:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `block in udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `each'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:684:in `block in udp_server_loop_on'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `loop'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `udp_server_loop_on'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:388:in `block (2 levels) in test_udp_server'

[12247/14685] TestSocketNonblock#test_recvmsg_nonblock_error = 0.00 s
  8) Error:
TestSocketNonblock#test_recvmsg_nonblock_error:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `block in test_recvmsg_nonblock_error'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:155:in `udp_pair'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:248:in `test_recvmsg_nonblock_error'

[12279/14685] TestSocket_UNIXSocket#test_fd_passing_n = 0.00 s
  9) Error:
TestSocket_UNIXSocket#test_fd_passing_n:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `block (2 levels) in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `block in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `test_fd_passing_n'

[12280/14685] TestSocket_UNIXSocket#test_fd_passing_n2 = 0.00 s
 10) Error:
TestSocket_UNIXSocket#test_fd_passing_n2:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `block (2 levels) in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `block in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `test_fd_passing_n2'

[12292/14685] TestSocket_UNIXSocket#test_recvmsg = 0.00 s
 11) Error:
TestSocket_UNIXSocket#test_recvmsg:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `block (2 levels) in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `block in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `pipe'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `test_recvmsg'

[12295/14685] TestSocket_UNIXSocket#test_sendcred_ucred = 0.00 s
 12) Error:
TestSocket_UNIXSocket#test_sendcred_ucred:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `block in test_sendcred_ucred'
    /home/jon/rubydev/ruby-git/lib/tmpdir.rb:88:in `mktmpdir'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:472:in `test_sendcred_ucred'

Finished tests in 410.247772s, 35.7954 tests/s, 6317.1702 assertions/s.
14685 tests, 2591605 assertions, 0 failures, 8 errors, 32 skips
</pre>


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

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

* [ruby-core:60250] [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-11-18 21:44 [ruby-core:58411] [ruby-trunk - Bug #9124][Open] TestSocket errors in test-all on Arch 64-bit jonforums (Jon Forums)
                   ` (3 preceding siblings ...)
  2013-12-14 16:50 ` [ruby-core:59113] " jonforums (Jon Forums)
@ 2014-01-30  5:53 ` shibata.hiroshi
  2014-02-06  7:54 ` [ruby-core:60528] " v.ondruch
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 14+ messages in thread
From: shibata.hiroshi @ 2014-01-30  5:53 UTC (permalink / raw
  To: ruby-core

Issue #9124 has been updated by Hiroshi SHIBATA.

Target version changed from 2.1.0 to current: 2.2.0

----------------------------------------
Bug #9124: TestSocket errors in test-all on Arch 64-bit
https://bugs.ruby-lang.org/issues/9124#change-44726

* Author: Jon Forums
* Status: Open
* Priority: Normal
* Assignee: 
* Category: test
* Target version: current: 2.2.0
* ruby -v: ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
My system misconfiguration or MRI bug?

<pre>
arch64:build % uname -a
Linux arch64 3.12.0-1-ARCH #1 SMP PREEMPT Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux

arch64:build % uru ls
 => 210dev      : ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]

arch64:build % ../configure --prefix=$HOME/.rubies/ruby-2.1.0 --enable-shared --disable-install-doc && make all && make test-all
...
[12188/14685] TestSocket#test_timestamp = 0.00 s
  5) Error:
TestSocket#test_timestamp:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `block (2 levels) in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:454:in `block in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:453:in `test_timestamp'

[12189/14685] TestSocket#test_timestampns = 0.00 s
  6) Error:
TestSocket#test_timestampns:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `block (2 levels) in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:476:in `block in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:475:in `test_timestampns'

[12190/14685] TestSocket#test_udp_server = 10.02 s
  7) Error:
TestSocket#test_udp_server:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `block in udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `each'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:684:in `block in udp_server_loop_on'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `loop'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `udp_server_loop_on'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:388:in `block (2 levels) in test_udp_server'

[12247/14685] TestSocketNonblock#test_recvmsg_nonblock_error = 0.00 s
  8) Error:
TestSocketNonblock#test_recvmsg_nonblock_error:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `block in test_recvmsg_nonblock_error'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:155:in `udp_pair'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:248:in `test_recvmsg_nonblock_error'

[12279/14685] TestSocket_UNIXSocket#test_fd_passing_n = 0.00 s
  9) Error:
TestSocket_UNIXSocket#test_fd_passing_n:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `block (2 levels) in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `block in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `test_fd_passing_n'

[12280/14685] TestSocket_UNIXSocket#test_fd_passing_n2 = 0.00 s
 10) Error:
TestSocket_UNIXSocket#test_fd_passing_n2:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `block (2 levels) in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `block in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `test_fd_passing_n2'

[12292/14685] TestSocket_UNIXSocket#test_recvmsg = 0.00 s
 11) Error:
TestSocket_UNIXSocket#test_recvmsg:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `block (2 levels) in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `block in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `pipe'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `test_recvmsg'

[12295/14685] TestSocket_UNIXSocket#test_sendcred_ucred = 0.00 s
 12) Error:
TestSocket_UNIXSocket#test_sendcred_ucred:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `block in test_sendcred_ucred'
    /home/jon/rubydev/ruby-git/lib/tmpdir.rb:88:in `mktmpdir'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:472:in `test_sendcred_ucred'

Finished tests in 410.247772s, 35.7954 tests/s, 6317.1702 assertions/s.
14685 tests, 2591605 assertions, 0 failures, 8 errors, 32 skips
</pre>



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

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

* [ruby-core:60528] [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-11-18 21:44 [ruby-core:58411] [ruby-trunk - Bug #9124][Open] TestSocket errors in test-all on Arch 64-bit jonforums (Jon Forums)
                   ` (4 preceding siblings ...)
  2014-01-30  5:53 ` [ruby-core:60250] " shibata.hiroshi
@ 2014-02-06  7:54 ` v.ondruch
  2014-02-18 15:37 ` [ruby-core:60828] " akr
  2014-02-18 19:45 ` [ruby-core:60832] [ruby-trunk - Bug #9124] [Third Party's Issue] " kosaki.motohiro
  7 siblings, 0 replies; 14+ messages in thread
From: v.ondruch @ 2014-02-06  7:54 UTC (permalink / raw
  To: ruby-core

Issue #9124 has been updated by Vit Ondruch.


This test passes for me on Fedora Rawhide with Kernel 3.12.8-300.fc20.x86_64

----------------------------------------
Bug #9124: TestSocket errors in test-all on Arch 64-bit
https://bugs.ruby-lang.org/issues/9124#change-44985

* Author: Jon Forums
* Status: Open
* Priority: Normal
* Assignee: 
* Category: test
* Target version: current: 2.2.0
* ruby -v: ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
My system misconfiguration or MRI bug?

<pre>
arch64:build % uname -a
Linux arch64 3.12.0-1-ARCH #1 SMP PREEMPT Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux

arch64:build % uru ls
 => 210dev      : ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]

arch64:build % ../configure --prefix=$HOME/.rubies/ruby-2.1.0 --enable-shared --disable-install-doc && make all && make test-all
...
[12188/14685] TestSocket#test_timestamp = 0.00 s
  5) Error:
TestSocket#test_timestamp:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `block (2 levels) in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:454:in `block in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:453:in `test_timestamp'

[12189/14685] TestSocket#test_timestampns = 0.00 s
  6) Error:
TestSocket#test_timestampns:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `block (2 levels) in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:476:in `block in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:475:in `test_timestampns'

[12190/14685] TestSocket#test_udp_server = 10.02 s
  7) Error:
TestSocket#test_udp_server:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `block in udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `each'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:684:in `block in udp_server_loop_on'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `loop'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `udp_server_loop_on'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:388:in `block (2 levels) in test_udp_server'

[12247/14685] TestSocketNonblock#test_recvmsg_nonblock_error = 0.00 s
  8) Error:
TestSocketNonblock#test_recvmsg_nonblock_error:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `block in test_recvmsg_nonblock_error'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:155:in `udp_pair'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:248:in `test_recvmsg_nonblock_error'

[12279/14685] TestSocket_UNIXSocket#test_fd_passing_n = 0.00 s
  9) Error:
TestSocket_UNIXSocket#test_fd_passing_n:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `block (2 levels) in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `block in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `test_fd_passing_n'

[12280/14685] TestSocket_UNIXSocket#test_fd_passing_n2 = 0.00 s
 10) Error:
TestSocket_UNIXSocket#test_fd_passing_n2:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `block (2 levels) in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `block in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `test_fd_passing_n2'

[12292/14685] TestSocket_UNIXSocket#test_recvmsg = 0.00 s
 11) Error:
TestSocket_UNIXSocket#test_recvmsg:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `block (2 levels) in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `block in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `pipe'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `test_recvmsg'

[12295/14685] TestSocket_UNIXSocket#test_sendcred_ucred = 0.00 s
 12) Error:
TestSocket_UNIXSocket#test_sendcred_ucred:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `block in test_sendcred_ucred'
    /home/jon/rubydev/ruby-git/lib/tmpdir.rb:88:in `mktmpdir'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:472:in `test_sendcred_ucred'

Finished tests in 410.247772s, 35.7954 tests/s, 6317.1702 assertions/s.
14685 tests, 2591605 assertions, 0 failures, 8 errors, 32 skips
</pre>



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

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

* [ruby-core:60828] [ruby-trunk - Bug #9124] TestSocket errors in test-all on Arch 64-bit
  2013-11-18 21:44 [ruby-core:58411] [ruby-trunk - Bug #9124][Open] TestSocket errors in test-all on Arch 64-bit jonforums (Jon Forums)
                   ` (5 preceding siblings ...)
  2014-02-06  7:54 ` [ruby-core:60528] " v.ondruch
@ 2014-02-18 15:37 ` akr
  2014-02-18 19:45 ` [ruby-core:60832] [ruby-trunk - Bug #9124] [Third Party's Issue] " kosaki.motohiro
  7 siblings, 0 replies; 14+ messages in thread
From: akr @ 2014-02-18 15:37 UTC (permalink / raw
  To: ruby-core

Issue #9124 has been updated by Akira Tanaka.


I think we can accept a workaround if there is well commented patch.

----------------------------------------
Bug #9124: TestSocket errors in test-all on Arch 64-bit
https://bugs.ruby-lang.org/issues/9124#change-45244

* Author: Jon Forums
* Status: Open
* Priority: Normal
* Assignee: 
* Category: test
* Target version: current: 2.2.0
* ruby -v: ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
My system misconfiguration or MRI bug?

<pre>
arch64:build % uname -a
Linux arch64 3.12.0-1-ARCH #1 SMP PREEMPT Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux

arch64:build % uru ls
 => 210dev      : ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]

arch64:build % ../configure --prefix=$HOME/.rubies/ruby-2.1.0 --enable-shared --disable-install-doc && make all && make test-all
...
[12188/14685] TestSocket#test_timestamp = 0.00 s
  5) Error:
TestSocket#test_timestamp:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `block (2 levels) in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:454:in `block in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:453:in `test_timestamp'

[12189/14685] TestSocket#test_timestampns = 0.00 s
  6) Error:
TestSocket#test_timestampns:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `block (2 levels) in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:476:in `block in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:475:in `test_timestampns'

[12190/14685] TestSocket#test_udp_server = 10.02 s
  7) Error:
TestSocket#test_udp_server:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `block in udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `each'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:684:in `block in udp_server_loop_on'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `loop'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `udp_server_loop_on'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:388:in `block (2 levels) in test_udp_server'

[12247/14685] TestSocketNonblock#test_recvmsg_nonblock_error = 0.00 s
  8) Error:
TestSocketNonblock#test_recvmsg_nonblock_error:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `block in test_recvmsg_nonblock_error'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:155:in `udp_pair'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:248:in `test_recvmsg_nonblock_error'

[12279/14685] TestSocket_UNIXSocket#test_fd_passing_n = 0.00 s
  9) Error:
TestSocket_UNIXSocket#test_fd_passing_n:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `block (2 levels) in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `block in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `test_fd_passing_n'

[12280/14685] TestSocket_UNIXSocket#test_fd_passing_n2 = 0.00 s
 10) Error:
TestSocket_UNIXSocket#test_fd_passing_n2:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `block (2 levels) in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `block in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `test_fd_passing_n2'

[12292/14685] TestSocket_UNIXSocket#test_recvmsg = 0.00 s
 11) Error:
TestSocket_UNIXSocket#test_recvmsg:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `block (2 levels) in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `block in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `pipe'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `test_recvmsg'

[12295/14685] TestSocket_UNIXSocket#test_sendcred_ucred = 0.00 s
 12) Error:
TestSocket_UNIXSocket#test_sendcred_ucred:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `block in test_sendcred_ucred'
    /home/jon/rubydev/ruby-git/lib/tmpdir.rb:88:in `mktmpdir'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:472:in `test_sendcred_ucred'

Finished tests in 410.247772s, 35.7954 tests/s, 6317.1702 assertions/s.
14685 tests, 2591605 assertions, 0 failures, 8 errors, 32 skips
</pre>



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

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

* [ruby-core:60832] [ruby-trunk - Bug #9124] [Third Party's Issue] TestSocket errors in test-all on Arch 64-bit
  2013-11-18 21:44 [ruby-core:58411] [ruby-trunk - Bug #9124][Open] TestSocket errors in test-all on Arch 64-bit jonforums (Jon Forums)
                   ` (6 preceding siblings ...)
  2014-02-18 15:37 ` [ruby-core:60828] " akr
@ 2014-02-18 19:45 ` kosaki.motohiro
  7 siblings, 0 replies; 14+ messages in thread
From: kosaki.motohiro @ 2014-02-18 19:45 UTC (permalink / raw
  To: ruby-core

Issue #9124 has been updated by Motohiro KOSAKI.

Status changed from Open to Third Party's Issue

We don't need to care upstream kernel specific bugs. Nobody except developer uses it.
I've closed this.

----------------------------------------
Bug #9124: TestSocket errors in test-all on Arch 64-bit
https://bugs.ruby-lang.org/issues/9124#change-45248

* Author: Jon Forums
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Category: test
* Target version: current: 2.2.0
* ruby -v: ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
My system misconfiguration or MRI bug?

<pre>
arch64:build % uname -a
Linux arch64 3.12.0-1-ARCH #1 SMP PREEMPT Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux

arch64:build % uru ls
 => 210dev      : ruby 2.1.0dev (2013-11-19 trunk 43711) [x86_64-linux]

arch64:build % ../configure --prefix=$HOME/.rubies/ruby-2.1.0 --enable-shared --disable-install-doc && make all && make test-all
...
[12188/14685] TestSocket#test_timestamp = 0.00 s
  5) Error:
TestSocket#test_timestamp:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:457:in `block (2 levels) in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:454:in `block in test_timestamp'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:453:in `test_timestamp'

[12189/14685] TestSocket#test_timestampns = 0.00 s
  6) Error:
TestSocket#test_timestampns:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:484:in `block (2 levels) in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:476:in `block in test_timestampns'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:181:in `bind'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:475:in `test_timestampns'

[12190/14685] TestSocket#test_udp_server = 10.02 s
  7) Error:
TestSocket#test_udp_server:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:654:in `block in udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `each'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:652:in `udp_server_recv'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:684:in `block in udp_server_loop_on'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `loop'
    /home/jon/rubydev/ruby-git/build/.ext/common/socket.rb:682:in `udp_server_loop_on'
    /home/jon/rubydev/ruby-git/test/socket/test_socket.rb:388:in `block (2 levels) in test_udp_server'

[12247/14685] TestSocketNonblock#test_recvmsg_nonblock_error = 0.00 s
  8) Error:
TestSocketNonblock#test_recvmsg_nonblock_error:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `recvmsg_nonblock'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:250:in `block in test_recvmsg_nonblock_error'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:155:in `udp_pair'
    /home/jon/rubydev/ruby-git/test/socket/test_nonblock.rb:248:in `test_recvmsg_nonblock_error'

[12279/14685] TestSocket_UNIXSocket#test_fd_passing_n = 0.00 s
  9) Error:
TestSocket_UNIXSocket#test_fd_passing_n:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:54:in `block (2 levels) in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:46:in `block in test_fd_passing_n'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:44:in `test_fd_passing_n'

[12280/14685] TestSocket_UNIXSocket#test_fd_passing_n2 = 0.00 s
 10) Error:
TestSocket_UNIXSocket#test_fd_passing_n2:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:91:in `block (2 levels) in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:83:in `block in test_fd_passing_n2'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `each'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:81:in `test_fd_passing_n2'

[12292/14685] TestSocket_UNIXSocket#test_recvmsg = 0.00 s
 11) Error:
TestSocket_UNIXSocket#test_recvmsg:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:214:in `block (2 levels) in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `pair'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:212:in `block in test_recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `pipe'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:211:in `test_recvmsg'

[12295/14685] TestSocket_UNIXSocket#test_sendcred_ucred = 0.00 s
 12) Error:
TestSocket_UNIXSocket#test_sendcred_ucred:
Errno::EINVAL: Invalid argument - recvmsg(2)
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `recvmsg'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:479:in `block in test_sendcred_ucred'
    /home/jon/rubydev/ruby-git/lib/tmpdir.rb:88:in `mktmpdir'
    /home/jon/rubydev/ruby-git/test/socket/test_unix.rb:472:in `test_sendcred_ucred'

Finished tests in 410.247772s, 35.7954 tests/s, 6317.1702 assertions/s.
14685 tests, 2591605 assertions, 0 failures, 8 errors, 32 skips
</pre>



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

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

end of thread, other threads:[~2014-02-18 19:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-18 21:44 [ruby-core:58411] [ruby-trunk - Bug #9124][Open] TestSocket errors in test-all on Arch 64-bit jonforums (Jon Forums)
2013-11-23  1:41 ` [ruby-core:58515] [ruby-trunk - Bug #9124] " jonforums (Jon Forums)
2013-11-27 11:18   ` [ruby-core:58640] " Eric Wong
2013-11-27 19:44     ` [ruby-core:58647] " Eric Wong
2013-11-28 19:55 ` [ruby-core:58666] " jonforums (Jon Forums)
2013-12-04  0:49 ` [ruby-core:58841] " jonforums (Jon Forums)
2013-12-04  2:10   ` [ruby-core:58842] " Eric Wong
2013-12-06  0:54     ` [ruby-core:58884] " Eric Wong
2013-12-11  8:33       ` [ruby-core:59053] " Eric Wong
2013-12-14 16:50 ` [ruby-core:59113] " jonforums (Jon Forums)
2014-01-30  5:53 ` [ruby-core:60250] " shibata.hiroshi
2014-02-06  7:54 ` [ruby-core:60528] " v.ondruch
2014-02-18 15:37 ` [ruby-core:60828] " akr
2014-02-18 19:45 ` [ruby-core:60832] [ruby-trunk - Bug #9124] [Third Party's Issue] " kosaki.motohiro

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