--- Begin Message ---
Source: ruby-fakeweb
Version: 1.3.0+dfsg1-3
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20140426 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> Running tests for ruby2.1 using debian/ruby-tests.rb...
> Run options:
>
> # Running tests:
>
> .................................................FFFFF.............................................FFFFF........F..........................................................................
>
> Finished tests in 0.851353s, 219.6503 tests/s, 348.8564 assertions/s.
>
> 1) Failure:
> TestFakeWeb#test_real_http_request [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:TCPSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:TCPSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write(all_of(includes('GET /main/rss/hotnews/hotnews.rss
> HTTP/1.1'), includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: Socket.===(#<Mock:TCPSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.closed?(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 80, nil, nil)
>
>
> 2) Failure:
> TestFakeWeb#test_real_http_request_with_undocumented_full_uri_argument_style
> [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:TCPSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:TCPSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write(all_of(includes('GET
> http://images.apple.com/main/rss/hotnews/hotnews.rss HTTP/1.1'),
> includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: Socket.===(#<Mock:TCPSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.closed?(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 80, nil, nil)
>
>
> 3) Failure:
> TestFakeWeb#test_real_https_request [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:SSLSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:SSLSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:SSLSocket>.write(all_of(includes('GET /main/rss/hotnews/hotnews.rss
> HTTP/1.1'), includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: #<Mock:SSLSocket>.session()
> - expected at least once, not yet invoked: #<Mock:SSLSocket>.connect()
> - expected at least once, not yet invoked:
> OpenSSL::SSL::SSLSocket.new(#<Mock:SSLSocket>,
> instance_of(OpenSSL::SSL::SSLContext))
> - expected at least once, not yet invoked:
> OpenSSL::SSL::SSLSocket.===(#<Mock:SSLSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:SSLSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:SSLSocket>.closed?(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:SSLSocket>.sync_close=(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 443, nil, nil)
>
>
> 4) Failure:
> TestFakeWeb#test_real_post_with_body_sets_the_request_body
> [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:TCPSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:TCPSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write('title=Test')
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write(all_of(includes('POST /posts HTTP/1.1'),
> includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: Socket.===(#<Mock:TCPSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.closed?(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 80, nil, nil)
>
>
> 5) Failure:
> TestFakeWeb#test_real_request_on_same_domain_as_mock
> [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:TCPSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:TCPSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write(all_of(includes('GET /main/rss/hotnews/hotnews.rss
> HTTP/1.1'), includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: Socket.===(#<Mock:TCPSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.closed?(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 80, nil, nil)
>
>
> 6) Failure:
> TestFakeWebAllowNetConnect#test_unregistered_requests_are_passed_through_when_allow_net_connect_is_a_matching_regexp
> [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:TCPSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:TCPSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write(all_of(includes('GET /main/rss/hotnews/hotnews.rss
> HTTP/1.1'), includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: Socket.===(#<Mock:TCPSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.closed?(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 80, nil, nil)
>
>
> 7) Failure:
> TestFakeWebAllowNetConnect#test_unregistered_requests_are_passed_through_when_allow_net_connect_is_the_same_string
> [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:TCPSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:TCPSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write(all_of(includes('GET /main/rss/hotnews/hotnews.rss
> HTTP/1.1'), includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: Socket.===(#<Mock:TCPSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.closed?(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 80, nil, nil)
>
>
> 8) Failure:
> TestFakeWebAllowNetConnect#test_unregistered_requests_are_passed_through_when_allow_net_connect_is_the_same_string_with_default_port
> [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:TCPSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:TCPSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write(all_of(includes('GET /main/rss/hotnews/hotnews.rss
> HTTP/1.1'), includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: Socket.===(#<Mock:TCPSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.closed?(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 80, nil, nil)
>
>
> 9) Failure:
> TestFakeWebAllowNetConnect#test_unregistered_requests_are_passed_through_when_allow_net_connect_is_the_same_uri
> [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:TCPSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:TCPSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write(all_of(includes('GET /main/rss/hotnews/hotnews.rss
> HTTP/1.1'), includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: Socket.===(#<Mock:TCPSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.closed?(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 80, nil, nil)
>
>
> 10) Failure:
> TestFakeWebAllowNetConnect#test_unregistered_requests_are_passed_through_when_allow_net_connect_is_true
> [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:TCPSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:TCPSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write(all_of(includes('GET /main/rss/hotnews/hotnews.rss
> HTTP/1.1'), includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: Socket.===(#<Mock:TCPSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.closed?(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 80, nil, nil)
>
>
> 11) Failure:
> TestFakeWebOpenURI#test_real_open [/usr/lib/ruby/2.1.0/net/http.rb:881]:
> unexpected invocation: #<Mock:TCPSocket>.setsockopt(6, 1, 1)
> unsatisfied expectations:
> - expected at least once, not yet invoked:
> #<Mock:TCPSocket>.read_nonblock(any_parameters)
> - expected exactly once, not yet invoked:
> #<Mock:TCPSocket>.write(all_of(includes('GET /main/rss/hotnews/hotnews.rss
> HTTP/1.1'), includes('Host: images.apple.com')))
> - expected at least once, not yet invoked: Socket.===(#<Mock:TCPSocket>)
> satisfied expectations:
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.close(any_parameters)
> - allowed any number of times, not yet invoked:
> #<Mock:TCPSocket>.closed?(any_parameters)
> - expected at least once, invoked once: TCPSocket.open('images.apple.com',
> 80, nil, nil)
>
>
> 187 tests, 297 assertions, 11 failures, 0 errors, 0 skips
>
> ruby -v: ruby 2.1.1p76 (2014-02-24) [x86_64-linux-gnu]
> ERROR: Test "ruby2.1" failed:
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/04/26/ruby-fakeweb_1.3.0+dfsg1-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---