Source: ruby-twitter-stream Version: 0.1.16-1 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Dear Maintainer, ruby-twitter-stream fails to build from source on unstable/amd64: [..] Failed examples: rspec ./spec/twitter/json_stream_spec.rb:25 # Twitter::JSONStream authentication should connect with basic auth credentials rspec ./spec/twitter/json_stream_spec.rb:30 # Twitter::JSONStream authentication should connect with oauth credentials rspec ./spec/twitter/json_stream_spec.rb:50 # Twitter::JSONStream on create should define default properties rspec ./spec/twitter/json_stream_spec.rb:60 # Twitter::JSONStream on create should connect to the proxy if provided rspec ./spec/twitter/json_stream_spec.rb:90 # Twitter::JSONStream on valid stream should add no params rspec ./spec/twitter/json_stream_spec.rb:95 # Twitter::JSONStream on valid stream should add custom params rspec ./spec/twitter/json_stream_spec.rb:100 # Twitter::JSONStream on valid stream should parse headers rspec ./spec/twitter/json_stream_spec.rb:106 # Twitter::JSONStream on valid stream should parse headers even after connection close rspec ./spec/twitter/json_stream_spec.rb:112 # Twitter::JSONStream on valid stream should extract records rspec ./spec/twitter/json_stream_spec.rb:117 # Twitter::JSONStream on valid stream should allow custom headers rspec ./spec/twitter/json_stream_spec.rb:122 # Twitter::JSONStream on valid stream should deliver each item rspec ./spec/twitter/json_stream_spec.rb:137 # Twitter::JSONStream on valid stream should swallow StandardError exceptions when delivering items rspec ./spec/twitter/json_stream_spec.rb:146 # Twitter::JSONStream on valid stream propagates out runtime errors when delivering items rspec ./spec/twitter/json_stream_spec.rb:154 # Twitter::JSONStream on valid stream should send correct user agent rspec ./spec/twitter/json_stream_spec.rb:212 # Twitter::JSONStream on network failure should timeout on inactivity rspec ./spec/twitter/json_stream_spec.rb:218 # Twitter::JSONStream on network failure should not reconnect on inactivity when not configured to auto reconnect rspec ./spec/twitter/json_stream_spec.rb:224 # Twitter::JSONStream on network failure should reconnect with SSL if enabled rspec ./spec/twitter/json_stream_spec.rb[1:4:4:1] # Twitter::JSONStream on network failure it should behave like network failure should reconnect on network failure rspec ./spec/twitter/json_stream_spec.rb[1:4:4:2] # Twitter::JSONStream on network failure it should behave like network failure should not reconnect on network failure when not configured to auto reconnect rspec ./spec/twitter/json_stream_spec.rb[1:4:4:3] # Twitter::JSONStream on network failure it should behave like network failure should reconnect with 0.25 at base rspec ./spec/twitter/json_stream_spec.rb[1:4:4:4] # Twitter::JSONStream on network failure it should behave like network failure should reconnect with linear timeout rspec ./spec/twitter/json_stream_spec.rb[1:4:4:5] # Twitter::JSONStream on network failure it should behave like network failure should stop reconnecting after 100 times rspec ./spec/twitter/json_stream_spec.rb[1:4:4:6] # Twitter::JSONStream on network failure it should behave like network failure should notify after reconnect limit is reached rspec ./spec/twitter/json_stream_spec.rb:240 # Twitter::JSONStream on no data received should call no data callback after no data received for 90 seconds rspec ./spec/twitter/json_stream_spec.rb[1:6:1:1] # Twitter::JSONStream on server unavailable it should behave like network failure should reconnect on network failure rspec ./spec/twitter/json_stream_spec.rb[1:6:1:2] # Twitter::JSONStream on server unavailable it should behave like network failure should not reconnect on network failure when not configured to auto reconnect rspec ./spec/twitter/json_stream_spec.rb[1:6:1:3] # Twitter::JSONStream on server unavailable it should behave like network failure should reconnect with 0.25 at base rspec ./spec/twitter/json_stream_spec.rb[1:6:1:4] # Twitter::JSONStream on server unavailable it should behave like network failure should reconnect with linear timeout rspec ./spec/twitter/json_stream_spec.rb[1:6:1:5] # Twitter::JSONStream on server unavailable it should behave like network failure should stop reconnecting after 100 times rspec ./spec/twitter/json_stream_spec.rb[1:6:1:6] # Twitter::JSONStream on server unavailable it should behave like network failure should notify after reconnect limit is reached rspec ./spec/twitter/json_stream_spec.rb:272 # Twitter::JSONStream on application failure should reconnect on application failure 10 at base rspec ./spec/twitter/json_stream_spec.rb:278 # Twitter::JSONStream on application failure should not reconnect on application failure 10 at base when not configured to auto reconnect rspec ./spec/twitter/json_stream_spec.rb:284 # Twitter::JSONStream on application failure should reconnect with exponential timeout rspec ./spec/twitter/json_stream_spec.rb:291 # Twitter::JSONStream on application failure should not try to reconnect after limit is reached rspec ./spec/twitter/json_stream_spec.rb:306 # Twitter::JSONStream on stream with chunked transfer encoding should ignore empty lines rspec ./spec/twitter/json_stream_spec.rb:320 # Twitter::JSONStream on stream with chunked transfer encoding should parse full entities even if split /usr/bin/ruby2.1 /usr/bin/rspec --pattern ./spec/\*/\*_spec.rb failed ERROR: Test "ruby2.1" failed. Exiting. dh_auto_install: dh_ruby --install /tmp/buildd/ruby-twitter-stream-0.1.16/debian/ruby-twitter-stream returned exit code 1 debian/rules:15: recipe for target 'binary' failed make: *** [binary] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 [..] The full build log is attached or can be viewed here: https://reproducible.debian.net/logs/unstable/amd64/ruby-twitter-stream_0.1.16-1.build1.log.gz Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
I: using fakeroot in build. I: pbuilder: network access will be disabled during build I: Current time: Thu Jul 9 07:55:56 GMT+12 2015 I: pbuilder-time-stamp: 1436471756 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: creating local configuration I: copying local configuration I: mounting /proc filesystem I: mounting /run/shm filesystem I: mounting /dev/pts filesystem I: Mounting /dev/shm I: Mounting /sys I: policy-rc.d already exists I: Installing the build-deps -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org> Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~), ruby-eventmachine, ruby-http-parser.rb, ruby-rspec, ruby-simple-oauth dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 20236 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on gem2deb (>= 0.6.1~); however: Package gem2deb is not installed. pbuilder-satisfydepends-dummy depends on ruby-eventmachine; however: Package ruby-eventmachine is not installed. pbuilder-satisfydepends-dummy depends on ruby-http-parser.rb; however: Package ruby-http-parser.rb is not installed. pbuilder-satisfydepends-dummy depends on ruby-rspec; however: Package ruby-rspec is not installed. pbuilder-satisfydepends-dummy depends on ruby-simple-oauth; however: Package ruby-simple-oauth is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... The following NEW packages will be installed: ca-certificates{a} devscripts{a} dh-python{a} gem2deb{a} gem2deb-test-runner{a} libexpat1{a} libgmp-dev{a} libgmpxx4ldbl{a} libhttp-parser2.1{a} libmpdec2{a} libpython3-stdlib{a} libpython3.4-minimal{a} libpython3.4-stdlib{a} libruby2.1{a} libruby2.2{a} libssl1.0.0{a} libyaml-0-2{a} mime-support{a} openssl{a} python3{a} python3-chardet{a} python3-debian{a} python3-minimal{a} python3-pkg-resources{a} python3-six{a} python3.4{a} python3.4-minimal{a} ruby{a} ruby-all-dev{a} ruby-diff-lcs{a} ruby-eventmachine{a} ruby-http-parser.rb{a} ruby-power-assert{a} ruby-rspec{a} ruby-rspec-core{a} ruby-rspec-expectations{a} ruby-rspec-mocks{a} ruby-rspec-support{a} ruby-setup{a} ruby-simple-oauth{a} ruby-test-unit{a} ruby-thread-order{a} ruby2.1{a} ruby2.1-dev{a} ruby2.2{a} ruby2.2-dev{a} rubygems-integration{a} 0 packages upgraded, 47 newly installed, 0 to remove and 0 not upgraded. Need to get 18.4 MB of archives. After unpacking 76.2 MB will be used. Writing extended state information... Get: 1 http://ftp.de.debian.org/debian/ unstable/main libexpat1 amd64 2.1.0-6+b3 [80.3 kB] Get: 2 http://ftp.de.debian.org/debian/ unstable/main libmpdec2 amd64 2.4.1-1 [85.7 kB] Get: 3 http://ftp.de.debian.org/debian/ unstable/main libssl1.0.0 amd64 1.0.2c-1 [1273 kB] Get: 4 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-minimal amd64 3.4.3-7 [495 kB] Get: 5 http://ftp.de.debian.org/debian/ unstable/main mime-support all 3.58 [36.0 kB] Get: 6 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-stdlib amd64 3.4.3-7 [2057 kB] Get: 7 http://ftp.de.debian.org/debian/ unstable/main libyaml-0-2 amd64 0.1.6-3 [50.4 kB] Get: 8 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal amd64 3.4.3-7 [1400 kB] Get: 9 http://ftp.de.debian.org/debian/ unstable/main python3-minimal amd64 3.4.3-4 [34.7 kB] Get: 10 http://ftp.de.debian.org/debian/ unstable/main python3.4 amd64 3.4.3-7 [219 kB] Get: 11 http://ftp.de.debian.org/debian/ unstable/main libpython3-stdlib amd64 3.4.3-4 [18.1 kB] Get: 12 http://ftp.de.debian.org/debian/ unstable/main dh-python all 1.20150705-1 [66.7 kB] Get: 13 http://ftp.de.debian.org/debian/ unstable/main python3 amd64 3.4.3-4 [21.1 kB] Get: 14 http://ftp.de.debian.org/debian/ unstable/main libhttp-parser2.1 amd64 2.1-2 [16.0 kB] Get: 15 http://ftp.de.debian.org/debian/ unstable/main openssl amd64 1.0.2c-1 [695 kB] Get: 16 http://ftp.de.debian.org/debian/ unstable/main ca-certificates all 20150426 [208 kB] Get: 17 http://ftp.de.debian.org/debian/ unstable/main devscripts amd64 2.15.5 [906 kB] Get: 18 http://ftp.de.debian.org/debian/ unstable/main rubygems-integration all 1.9 [4754 B] Get: 19 http://ftp.de.debian.org/debian/ unstable/main libruby2.1 amd64 2.1.5-3 [3281 kB] Get: 20 http://ftp.de.debian.org/debian/ unstable/main ruby2.1 amd64 2.1.5-3 [276 kB] Get: 21 http://ftp.de.debian.org/debian/ unstable/main ruby all 1:2.1.5.1 [9756 B] Get: 22 http://ftp.de.debian.org/debian/ unstable/main libruby2.2 amd64 2.2.2-2 [3102 kB] Get: 23 http://ftp.de.debian.org/debian/ unstable/main ruby2.2 amd64 2.2.2-2 [213 kB] Get: 24 http://ftp.de.debian.org/debian/ unstable/main ruby-power-assert all 0.2.3-1 [7236 B] Get: 25 http://ftp.de.debian.org/debian/ unstable/main ruby-test-unit all 3.1.2-1 [60.0 kB] Get: 26 http://ftp.de.debian.org/debian/ unstable/main gem2deb-test-runner all 0.18.3 [16.2 kB] Get: 27 http://ftp.de.debian.org/debian/ unstable/main python3-pkg-resources all 17.0-1 [43.7 kB] Get: 28 http://ftp.de.debian.org/debian/ unstable/main python3-chardet all 2.3.0-1 [96.1 kB] Get: 29 http://ftp.de.debian.org/debian/ unstable/main python3-six all 1.9.0-3 [13.7 kB] Get: 30 http://ftp.de.debian.org/debian/ unstable/main python3-debian all 0.1.27 [50.9 kB] Get: 31 http://ftp.de.debian.org/debian/ unstable/main libgmpxx4ldbl amd64 2:6.0.0+dfsg-7 [22.2 kB] Get: 32 http://ftp.de.debian.org/debian/ unstable/main libgmp-dev amd64 2:6.0.0+dfsg-7 [621 kB] Get: 33 http://ftp.de.debian.org/debian/ unstable/main ruby2.1-dev amd64 2.1.5-3 [1101 kB] Get: 34 http://ftp.de.debian.org/debian/ unstable/main ruby2.2-dev amd64 2.2.2-2 [1142 kB] Get: 35 http://ftp.de.debian.org/debian/ unstable/main ruby-all-dev all 1:2.1.5.1 [9188 B] Get: 36 http://ftp.de.debian.org/debian/ unstable/main ruby-setup all 3.4.1-9 [34.2 kB] Get: 37 http://ftp.de.debian.org/debian/ unstable/main gem2deb all 0.18.3 [51.6 kB] Get: 38 http://ftp.de.debian.org/debian/ unstable/main ruby-diff-lcs all 1.2.5-1 [26.7 kB] Get: 39 http://ftp.de.debian.org/debian/ unstable/main ruby-eventmachine amd64 1.0.7-1+b1 [140 kB] Get: 40 http://ftp.de.debian.org/debian/ unstable/main ruby-http-parser.rb amd64 0.6.0-2+b3 [9968 B] Get: 41 http://ftp.de.debian.org/debian/ unstable/main ruby-rspec-support all 3.3.0c0e0m0s0-1 [24.3 kB] Get: 42 http://ftp.de.debian.org/debian/ unstable/main ruby-rspec-expectations all 3.3.0c0e0m0s0-1 [90.1 kB] Get: 43 http://ftp.de.debian.org/debian/ unstable/main ruby-rspec-mocks all 3.3.0c0e0m0s0-1 [87.0 kB] Get: 44 http://ftp.de.debian.org/debian/ unstable/main ruby-thread-order all 1.1.0-1 [5096 B] Get: 45 http://ftp.de.debian.org/debian/ unstable/main ruby-rspec-core all 3.3.0c0e0m0s0-1 [174 kB] Get: 46 http://ftp.de.debian.org/debian/ unstable/main ruby-rspec all 3.3.0c0e0m0s0-1 [6544 B] Get: 47 http://ftp.de.debian.org/debian/ unstable/main ruby-simple-oauth all 0.2.0-2 [5078 B] Fetched 18.4 MB in 16s (1096 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libexpat1:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20236 files and directories currently installed.) Preparing to unpack .../libexpat1_2.1.0-6+b3_amd64.deb ... Unpacking libexpat1:amd64 (2.1.0-6+b3) ... Selecting previously unselected package libmpdec2:amd64. Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ... Unpacking libmpdec2:amd64 (2.4.1-1) ... Selecting previously unselected package libssl1.0.0:amd64. Preparing to unpack .../libssl1.0.0_1.0.2c-1_amd64.deb ... Unpacking libssl1.0.0:amd64 (1.0.2c-1) ... Selecting previously unselected package libpython3.4-minimal:amd64. Preparing to unpack .../libpython3.4-minimal_3.4.3-7_amd64.deb ... Unpacking libpython3.4-minimal:amd64 (3.4.3-7) ... Selecting previously unselected package mime-support. Preparing to unpack .../mime-support_3.58_all.deb ... Unpacking mime-support (3.58) ... Selecting previously unselected package libpython3.4-stdlib:amd64. Preparing to unpack .../libpython3.4-stdlib_3.4.3-7_amd64.deb ... Unpacking libpython3.4-stdlib:amd64 (3.4.3-7) ... Selecting previously unselected package libyaml-0-2:amd64. Preparing to unpack .../libyaml-0-2_0.1.6-3_amd64.deb ... Unpacking libyaml-0-2:amd64 (0.1.6-3) ... Selecting previously unselected package python3.4-minimal. Preparing to unpack .../python3.4-minimal_3.4.3-7_amd64.deb ... Unpacking python3.4-minimal (3.4.3-7) ... Selecting previously unselected package python3-minimal. Preparing to unpack .../python3-minimal_3.4.3-4_amd64.deb ... Unpacking python3-minimal (3.4.3-4) ... Selecting previously unselected package python3.4. Preparing to unpack .../python3.4_3.4.3-7_amd64.deb ... Unpacking python3.4 (3.4.3-7) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../libpython3-stdlib_3.4.3-4_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.4.3-4) ... Selecting previously unselected package dh-python. Preparing to unpack .../dh-python_1.20150705-1_all.deb ... Unpacking dh-python (1.20150705-1) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up libssl1.0.0:amd64 (1.0.2c-1) ... Setting up libpython3.4-minimal:amd64 (3.4.3-7) ... Setting up libexpat1:amd64 (2.1.0-6+b3) ... Setting up python3.4-minimal (3.4.3-7) ... Setting up python3-minimal (3.4.3-4) ... Processing triggers for libc-bin (2.19-18) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21198 files and directories currently installed.) Preparing to unpack .../python3_3.4.3-4_amd64.deb ... Unpacking python3 (3.4.3-4) ... Selecting previously unselected package libhttp-parser2.1:amd64. Preparing to unpack .../libhttp-parser2.1_2.1-2_amd64.deb ... Unpacking libhttp-parser2.1:amd64 (2.1-2) ... Selecting previously unselected package openssl. Preparing to unpack .../openssl_1.0.2c-1_amd64.deb ... Unpacking openssl (1.0.2c-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../ca-certificates_20150426_all.deb ... Unpacking ca-certificates (20150426) ... Selecting previously unselected package devscripts. Preparing to unpack .../devscripts_2.15.5_amd64.deb ... Unpacking devscripts (2.15.5) ... Selecting previously unselected package rubygems-integration. Preparing to unpack .../rubygems-integration_1.9_all.deb ... Unpacking rubygems-integration (1.9) ... Selecting previously unselected package libruby2.1:amd64. Preparing to unpack .../libruby2.1_2.1.5-3_amd64.deb ... Unpacking libruby2.1:amd64 (2.1.5-3) ... Selecting previously unselected package ruby2.1. Preparing to unpack .../ruby2.1_2.1.5-3_amd64.deb ... Unpacking ruby2.1 (2.1.5-3) ... Selecting previously unselected package ruby. Preparing to unpack .../ruby_1%3a2.1.5.1_all.deb ... Unpacking ruby (1:2.1.5.1) ... Selecting previously unselected package libruby2.2:amd64. Preparing to unpack .../libruby2.2_2.2.2-2_amd64.deb ... Unpacking libruby2.2:amd64 (2.2.2-2) ... Selecting previously unselected package ruby2.2. Preparing to unpack .../ruby2.2_2.2.2-2_amd64.deb ... Unpacking ruby2.2 (2.2.2-2) ... Selecting previously unselected package ruby-power-assert. Preparing to unpack .../ruby-power-assert_0.2.3-1_all.deb ... Unpacking ruby-power-assert (0.2.3-1) ... Selecting previously unselected package ruby-test-unit. Preparing to unpack .../ruby-test-unit_3.1.2-1_all.deb ... Unpacking ruby-test-unit (3.1.2-1) ... Selecting previously unselected package gem2deb-test-runner. Preparing to unpack .../gem2deb-test-runner_0.18.3_all.deb ... Unpacking gem2deb-test-runner (0.18.3) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../python3-pkg-resources_17.0-1_all.deb ... Unpacking python3-pkg-resources (17.0-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../python3-chardet_2.3.0-1_all.deb ... Unpacking python3-chardet (2.3.0-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../python3-six_1.9.0-3_all.deb ... Unpacking python3-six (1.9.0-3) ... Selecting previously unselected package python3-debian. Preparing to unpack .../python3-debian_0.1.27_all.deb ... Unpacking python3-debian (0.1.27) ... Selecting previously unselected package libgmpxx4ldbl:amd64. Preparing to unpack .../libgmpxx4ldbl_2%3a6.0.0+dfsg-7_amd64.deb ... Unpacking libgmpxx4ldbl:amd64 (2:6.0.0+dfsg-7) ... Selecting previously unselected package libgmp-dev:amd64. Preparing to unpack .../libgmp-dev_2%3a6.0.0+dfsg-7_amd64.deb ... Unpacking libgmp-dev:amd64 (2:6.0.0+dfsg-7) ... Selecting previously unselected package ruby2.1-dev:amd64. Preparing to unpack .../ruby2.1-dev_2.1.5-3_amd64.deb ... Unpacking ruby2.1-dev:amd64 (2.1.5-3) ... Selecting previously unselected package ruby2.2-dev:amd64. Preparing to unpack .../ruby2.2-dev_2.2.2-2_amd64.deb ... Unpacking ruby2.2-dev:amd64 (2.2.2-2) ... Selecting previously unselected package ruby-all-dev. Preparing to unpack .../ruby-all-dev_1%3a2.1.5.1_all.deb ... Unpacking ruby-all-dev (1:2.1.5.1) ... Selecting previously unselected package ruby-setup. Preparing to unpack .../ruby-setup_3.4.1-9_all.deb ... Unpacking ruby-setup (3.4.1-9) ... Selecting previously unselected package gem2deb. Preparing to unpack .../gem2deb_0.18.3_all.deb ... Unpacking gem2deb (0.18.3) ... Selecting previously unselected package ruby-diff-lcs. Preparing to unpack .../ruby-diff-lcs_1.2.5-1_all.deb ... Unpacking ruby-diff-lcs (1.2.5-1) ... Selecting previously unselected package ruby-eventmachine. Preparing to unpack .../ruby-eventmachine_1.0.7-1+b1_amd64.deb ... Unpacking ruby-eventmachine (1.0.7-1+b1) ... Selecting previously unselected package ruby-http-parser.rb. Preparing to unpack .../ruby-http-parser.rb_0.6.0-2+b3_amd64.deb ... Unpacking ruby-http-parser.rb (0.6.0-2+b3) ... Selecting previously unselected package ruby-rspec-support. Preparing to unpack .../ruby-rspec-support_3.3.0c0e0m0s0-1_all.deb ... Unpacking ruby-rspec-support (3.3.0c0e0m0s0-1) ... Selecting previously unselected package ruby-rspec-expectations. Preparing to unpack .../ruby-rspec-expectations_3.3.0c0e0m0s0-1_all.deb ... Unpacking ruby-rspec-expectations (3.3.0c0e0m0s0-1) ... Selecting previously unselected package ruby-rspec-mocks. Preparing to unpack .../ruby-rspec-mocks_3.3.0c0e0m0s0-1_all.deb ... Unpacking ruby-rspec-mocks (3.3.0c0e0m0s0-1) ... Selecting previously unselected package ruby-thread-order. Preparing to unpack .../ruby-thread-order_1.1.0-1_all.deb ... Unpacking ruby-thread-order (1.1.0-1) ... Selecting previously unselected package ruby-rspec-core. Preparing to unpack .../ruby-rspec-core_3.3.0c0e0m0s0-1_all.deb ... Unpacking ruby-rspec-core (3.3.0c0e0m0s0-1) ... Selecting previously unselected package ruby-rspec. Preparing to unpack .../ruby-rspec_3.3.0c0e0m0s0-1_all.deb ... Unpacking ruby-rspec (3.3.0c0e0m0s0-1) ... Selecting previously unselected package ruby-simple-oauth. Preparing to unpack .../ruby-simple-oauth_0.2.0-2_all.deb ... Unpacking ruby-simple-oauth (0.2.0-2) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up libmpdec2:amd64 (2.4.1-1) ... Setting up mime-support (3.58) ... Setting up libpython3.4-stdlib:amd64 (3.4.3-7) ... Setting up libyaml-0-2:amd64 (0.1.6-3) ... Setting up python3.4 (3.4.3-7) ... Setting up libpython3-stdlib:amd64 (3.4.3-4) ... Setting up libhttp-parser2.1:amd64 (2.1-2) ... Setting up openssl (1.0.2c-1) ... Setting up ca-certificates (20150426) ... Setting up rubygems-integration (1.9) ... Setting up libruby2.1:amd64 (2.1.5-3) ... Setting up ruby2.1 (2.1.5-3) ... Setting up ruby (1:2.1.5.1) ... Setting up libruby2.2:amd64 (2.2.2-2) ... Setting up ruby2.2 (2.2.2-2) ... Setting up ruby-power-assert (0.2.3-1) ... Setting up ruby-test-unit (3.1.2-1) ... Setting up gem2deb-test-runner (0.18.3) ... Setting up libgmpxx4ldbl:amd64 (2:6.0.0+dfsg-7) ... Setting up libgmp-dev:amd64 (2:6.0.0+dfsg-7) ... Setting up ruby2.1-dev:amd64 (2.1.5-3) ... Setting up ruby2.2-dev:amd64 (2.2.2-2) ... Setting up ruby-all-dev (1:2.1.5.1) ... Setting up ruby-setup (3.4.1-9) ... Setting up ruby-diff-lcs (1.2.5-1) ... Setting up ruby-eventmachine (1.0.7-1+b1) ... Setting up ruby-http-parser.rb (0.6.0-2+b3) ... Setting up ruby-rspec-support (3.3.0c0e0m0s0-1) ... Setting up ruby-rspec-expectations (3.3.0c0e0m0s0-1) ... Setting up ruby-rspec-mocks (3.3.0c0e0m0s0-1) ... Setting up ruby-thread-order (1.1.0-1) ... Setting up ruby-rspec-core (3.3.0c0e0m0s0-1) ... Setting up ruby-rspec (3.3.0c0e0m0s0-1) ... Setting up ruby-simple-oauth (0.2.0-2) ... Setting up python3 (3.4.3-4) ... Setting up devscripts (2.15.5) ... Setting up python3-pkg-resources (17.0-1) ... Setting up python3-chardet (2.3.0-1) ... Setting up python3-six (1.9.0-3) ... Setting up python3-debian (0.1.27) ... Setting up gem2deb (0.18.3) ... Setting up dh-python (1.20150705-1) ... Processing triggers for libc-bin (2.19-18) ... Processing triggers for ca-certificates (20150426) ... Updating certificates in /etc/ssl/certs... 180 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Copying source file I: copying [ruby-twitter-stream_0.1.16-1.dsc] I: copying [./ruby-twitter-stream_0.1.16.orig.tar.gz] I: copying [./ruby-twitter-stream_0.1.16-1.debian.tar.xz] I: Extracting source gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Mon Feb 24 23:47:47 2014 GMT+12 using RSA key ID 8F9F8F09 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./ruby-twitter-stream_0.1.16-1.dsc dpkg-source: info: extracting ruby-twitter-stream in ruby-twitter-stream-0.1.16 dpkg-source: info: unpacking ruby-twitter-stream_0.1.16.orig.tar.gz dpkg-source: info: unpacking ruby-twitter-stream_0.1.16-1.debian.tar.xz dpkg-source: info: applying test_rspec_remove_gems.patch I: Building the package I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc -b -rfakeroot dpkg-buildpackage: source package ruby-twitter-stream dpkg-buildpackage: source version 0.1.16-1 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Jonas Genannt <jonas.gena...@capi2name.de> dpkg-source --before-build ruby-twitter-stream-0.1.16 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean --buildsystem=ruby --with ruby dh_testdir -O--buildsystem=ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_ruby --clean dh_clean -O--buildsystem=ruby debian/rules build dh build --buildsystem=ruby --with ruby dh_testdir -O--buildsystem=ruby dh_auto_configure -O--buildsystem=ruby dh_ruby --configure dh_auto_build -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -O--buildsystem=ruby dh_ruby --test fakeroot debian/rules binary dh binary --buildsystem=ruby --with ruby dh_testroot -O--buildsystem=ruby dh_prep -O--buildsystem=ruby dh_auto_install -O--buildsystem=ruby dh_ruby --install /tmp/buildd/ruby-twitter-stream-0.1.16/debian/ruby-twitter-stream dh_ruby --install install -d /tmp/buildd/ruby-twitter-stream-0.1.16/debian/ruby-twitter-stream/usr/lib/ruby/vendor_ruby install -D -m644 /tmp/buildd/ruby-twitter-stream-0.1.16/lib/twitter/json_stream.rb /tmp/buildd/ruby-twitter-stream-0.1.16/debian/ruby-twitter-stream/usr/lib/ruby/vendor_ruby/twitter/json_stream.rb generating gemspec at /tmp/buildd/ruby-twitter-stream-0.1.16/debian/ruby-twitter-stream/usr/share/rubygems-integration/all/specifications/twitter-stream-0.1.16.gemspec /usr/bin/ruby2.1 /usr/bin/gem2deb-test-runner Running tests for ruby2.1 using debian/ruby-tests.rake ... RUBYLIB=/tmp/buildd/ruby-twitter-stream-0.1.16/debian/ruby-twitter-stream/usr/lib/ruby/vendor_ruby:. ruby2.1 -rrake -e ARGV.unshift\(\"-f\",\ \"debian/ruby-tests.rake\"\)\;\ Rake.application.run /usr/bin/ruby2.1 /usr/bin/rspec --pattern ./spec/\*/\*_spec.rb Twitter::JSONStream authentication should connect with basic auth credentials (FAILED - 1) should connect with oauth credentials (FAILED - 2) on create should return stream should define default properties (FAILED - 3) should connect to the proxy if provided (FAILED - 4) should not trigger SSL until connection is established on valid stream should add no params (FAILED - 5) should add custom params (FAILED - 6) should parse headers (FAILED - 7) should parse headers even after connection close (FAILED - 8) should extract records (FAILED - 9) should allow custom headers (FAILED - 10) should deliver each item (FAILED - 11) should swallow StandardError exceptions when delivering items (FAILED - 12) propagates out runtime errors when delivering items (FAILED - 13) should send correct user agent (FAILED - 14) on network failure should timeout on inactivity (FAILED - 15) should not reconnect on inactivity when not configured to auto reconnect (FAILED - 16) should reconnect with SSL if enabled (FAILED - 17) it should behave like network failure should reconnect on network failure (FAILED - 18) should not reconnect on network failure when not configured to auto reconnect (FAILED - 19) should reconnect with 0.25 at base (FAILED - 20) should reconnect with linear timeout (FAILED - 21) should stop reconnecting after 100 times (FAILED - 22) should notify after reconnect limit is reached (FAILED - 23) on no data received should call no data callback after no data received for 90 seconds (FAILED - 24) on server unavailable it should behave like network failure should reconnect on network failure (FAILED - 25) should not reconnect on network failure when not configured to auto reconnect (FAILED - 26) should reconnect with 0.25 at base (FAILED - 27) should reconnect with linear timeout (FAILED - 28) should stop reconnecting after 100 times (FAILED - 29) should notify after reconnect limit is reached (FAILED - 30) on application failure should reconnect on application failure 10 at base (FAILED - 31) should not reconnect on application failure 10 at base when not configured to auto reconnect (FAILED - 32) should reconnect with exponential timeout (FAILED - 33) should not try to reconnect after limit is reached (FAILED - 34) on stream with chunked transfer encoding should ignore empty lines (FAILED - 35) should parse full entities even if split (FAILED - 36) Failures: 1) Twitter::JSONStream authentication should connect with basic auth credentials Failure/Error: connect_stream :auth => "username:password", :ssl => false ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:26:in `block (3 levels) in <top (required)>' 2) Twitter::JSONStream authentication should connect with oauth credentials Failure/Error: connect_stream :oauth => oauth, :ssl => false ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:37:in `block (3 levels) in <top (required)>' 3) Twitter::JSONStream on create should define default properties Failure/Error: EM.should_receive(:connect).with do |host, port, handler, opts| ArgumentError: `with` must have at least one argument. Use `no_args` matcher to set the expectation of receiving no arguments. # ./spec/twitter/json_stream_spec.rb:51:in `block (3 levels) in <top (required)>' 4) Twitter::JSONStream on create should connect to the proxy if provided Failure/Error: EM.should_receive(:connect).with do |host, port, handler, opts| ArgumentError: `with` must have at least one argument. Use `no_args` matcher to set the expectation of receiving no arguments. # ./spec/twitter/json_stream_spec.rb:61:in `block (3 levels) in <top (required)>' 5) Twitter::JSONStream on valid stream should add no params Failure/Error: connect_stream :ssl => false ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:91:in `block (3 levels) in <top (required)>' 6) Twitter::JSONStream on valid stream should add custom params Failure/Error: connect_stream :params => {:name => 'test'}, :ssl => false ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:96:in `block (3 levels) in <top (required)>' 7) Twitter::JSONStream on valid stream should parse headers Failure/Error: connect_stream :ssl => false ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:101:in `block (3 levels) in <top (required)>' 8) Twitter::JSONStream on valid stream should parse headers even after connection close Failure/Error: connect_stream :ssl => false ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:107:in `block (3 levels) in <top (required)>' 9) Twitter::JSONStream on valid stream should extract records Failure/Error: connect_stream :user_agent => 'TEST_USER_AGENT', :ssl => false ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:113:in `block (3 levels) in <top (required)>' 10) Twitter::JSONStream on valid stream should allow custom headers Failure/Error: connect_stream :headers => { 'From' => 'twitter-stream' }, :ssl => false ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:118:in `block (3 levels) in <top (required)>' 11) Twitter::JSONStream on valid stream should deliver each item Failure/Error: connect_stream :ssl => false do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:124:in `block (3 levels) in <top (required)>' 12) Twitter::JSONStream on valid stream should swallow StandardError exceptions when delivering items Failure/Error: expect do expected no Exception, got #<ArgumentError: wrong number of arguments (2 for 0..1)> with backtrace: # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:139:in `block (4 levels) in <top (required)>' # ./spec/twitter/json_stream_spec.rb:138:in `block (3 levels) in <top (required)>' # ./spec/twitter/json_stream_spec.rb:138:in `block (3 levels) in <top (required)>' 13) Twitter::JSONStream on valid stream propagates out runtime errors when delivering items Failure/Error: expect do expected Exception with "error message", got #<ArgumentError: wrong number of arguments (2 for 0..1)> with backtrace: # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:148:in `block (4 levels) in <top (required)>' # ./spec/twitter/json_stream_spec.rb:147:in `block (3 levels) in <top (required)>' # ./spec/twitter/json_stream_spec.rb:147:in `block (3 levels) in <top (required)>' 14) Twitter::JSONStream on valid stream should send correct user agent Failure/Error: connect_stream ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:155:in `block (3 levels) in <top (required)>' 15) Twitter::JSONStream on network failure should timeout on inactivity Failure/Error: connect_stream :stop_in => 1.5 do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:213:in `block (3 levels) in <top (required)>' 16) Twitter::JSONStream on network failure should not reconnect on inactivity when not configured to auto reconnect Failure/Error: connect_stream(:stop_in => 1.5, :auto_reconnect => false) do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:219:in `block (3 levels) in <top (required)>' 17) Twitter::JSONStream on network failure should reconnect with SSL if enabled Failure/Error: connect_stream :ssl => true do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:225:in `block (3 levels) in <top (required)>' 18) Twitter::JSONStream on network failure it should behave like network failure should reconnect on network failure Failure/Error: connect_stream do ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:230 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:161:in `block (3 levels) in <top (required)>' 19) Twitter::JSONStream on network failure it should behave like network failure should not reconnect on network failure when not configured to auto reconnect Failure/Error: connect_stream(:auto_reconnect => false) do ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:230 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:167:in `block (3 levels) in <top (required)>' 20) Twitter::JSONStream on network failure it should behave like network failure should reconnect with 0.25 at base Failure/Error: connect_stream do ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:230 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:173:in `block (3 levels) in <top (required)>' 21) Twitter::JSONStream on network failure it should behave like network failure should reconnect with linear timeout Failure/Error: connect_stream do ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:230 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:179:in `block (3 levels) in <top (required)>' 22) Twitter::JSONStream on network failure it should behave like network failure should stop reconnecting after 100 times Failure/Error: connect_stream do ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:230 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:186:in `block (3 levels) in <top (required)>' 23) Twitter::JSONStream on network failure it should behave like network failure should notify after reconnect limit is reached Failure/Error: connect_stream do ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:230 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:194:in `block (3 levels) in <top (required)>' 24) Twitter::JSONStream on no data received should call no data callback after no data received for 90 seconds Failure/Error: connect_stream :stop_in => 6 do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:241:in `block (3 levels) in <top (required)>' 25) Twitter::JSONStream on server unavailable it should behave like network failure should reconnect on network failure Failure/Error: connect_stream_default(opts.merge(:start_server=>false),&block) ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:262 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:257:in `connect_stream_without_server' # ./spec/twitter/json_stream_spec.rb:161:in `block (3 levels) in <top (required)>' 26) Twitter::JSONStream on server unavailable it should behave like network failure should not reconnect on network failure when not configured to auto reconnect Failure/Error: connect_stream_default(opts.merge(:start_server=>false),&block) ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:262 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:257:in `connect_stream_without_server' # ./spec/twitter/json_stream_spec.rb:167:in `block (3 levels) in <top (required)>' 27) Twitter::JSONStream on server unavailable it should behave like network failure should reconnect with 0.25 at base Failure/Error: connect_stream_default(opts.merge(:start_server=>false),&block) ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:262 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:257:in `connect_stream_without_server' # ./spec/twitter/json_stream_spec.rb:173:in `block (3 levels) in <top (required)>' 28) Twitter::JSONStream on server unavailable it should behave like network failure should reconnect with linear timeout Failure/Error: connect_stream_default(opts.merge(:start_server=>false),&block) ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:262 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:257:in `connect_stream_without_server' # ./spec/twitter/json_stream_spec.rb:179:in `block (3 levels) in <top (required)>' 29) Twitter::JSONStream on server unavailable it should behave like network failure should stop reconnecting after 100 times Failure/Error: connect_stream_default(opts.merge(:start_server=>false),&block) ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:262 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:257:in `connect_stream_without_server' # ./spec/twitter/json_stream_spec.rb:186:in `block (3 levels) in <top (required)>' 30) Twitter::JSONStream on server unavailable it should behave like network failure should notify after reconnect limit is reached Failure/Error: connect_stream_default(opts.merge(:start_server=>false),&block) ArgumentError: wrong number of arguments (2 for 0..1) Shared Example Group: "network failure" called from ./spec/twitter/json_stream_spec.rb:262 # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:257:in `connect_stream_without_server' # ./spec/twitter/json_stream_spec.rb:194:in `block (3 levels) in <top (required)>' 31) Twitter::JSONStream on application failure should reconnect on application failure 10 at base Failure/Error: connect_stream :ssl => false do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:273:in `block (3 levels) in <top (required)>' 32) Twitter::JSONStream on application failure should not reconnect on application failure 10 at base when not configured to auto reconnect Failure/Error: connect_stream :ssl => false, :auto_reconnect => false do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:279:in `block (3 levels) in <top (required)>' 33) Twitter::JSONStream on application failure should reconnect with exponential timeout Failure/Error: connect_stream :ssl => false do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:285:in `block (3 levels) in <top (required)>' 34) Twitter::JSONStream on application failure should not try to reconnect after limit is reached Failure/Error: connect_stream :ssl => false do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:292:in `block (3 levels) in <top (required)>' 35) Twitter::JSONStream on stream with chunked transfer encoding should ignore empty lines Failure/Error: connect_stream :ssl => false do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:310:in `block (3 levels) in <top (required)>' 36) Twitter::JSONStream on stream with chunked transfer encoding should parse full entities even if split Failure/Error: connect_stream :ssl => false do ArgumentError: wrong number of arguments (2 for 0..1) # ./lib/twitter/json_stream.rb:206:in `new' # ./lib/twitter/json_stream.rb:206:in `reset_state' # ./lib/twitter/json_stream.rb:140:in `post_init' # ./lib/twitter/json_stream.rb:65:in `connect' # ./spec/spec_helper.rb:21:in `block in connect_stream' # ./spec/spec_helper.rb:15:in `connect_stream' # ./spec/twitter/json_stream_spec.rb:324:in `block (3 levels) in <top (required)>' Deprecation Warnings: Using `should_receive` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /tmp/buildd/ruby-twitter-stream-0.1.16/spec/twitter/json_stream_spec.rb:45:in `block (3 levels) in <top (required)>'. Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /tmp/buildd/ruby-twitter-stream-0.1.16/spec/twitter/json_stream_spec.rb:47:in `block (3 levels) in <top (required)>'. If you need more of the backtrace for any of these deprecations to identify where to make the necessary changes, you can configure `config.raise_errors_for_deprecations!`, and it will turn the deprecation warnings into errors, giving you the full backtrace. 2 deprecation warnings total Finished in 0.07205 seconds (files took 0.49161 seconds to load) 38 examples, 36 failures Failed examples: rspec ./spec/twitter/json_stream_spec.rb:25 # Twitter::JSONStream authentication should connect with basic auth credentials rspec ./spec/twitter/json_stream_spec.rb:30 # Twitter::JSONStream authentication should connect with oauth credentials rspec ./spec/twitter/json_stream_spec.rb:50 # Twitter::JSONStream on create should define default properties rspec ./spec/twitter/json_stream_spec.rb:60 # Twitter::JSONStream on create should connect to the proxy if provided rspec ./spec/twitter/json_stream_spec.rb:90 # Twitter::JSONStream on valid stream should add no params rspec ./spec/twitter/json_stream_spec.rb:95 # Twitter::JSONStream on valid stream should add custom params rspec ./spec/twitter/json_stream_spec.rb:100 # Twitter::JSONStream on valid stream should parse headers rspec ./spec/twitter/json_stream_spec.rb:106 # Twitter::JSONStream on valid stream should parse headers even after connection close rspec ./spec/twitter/json_stream_spec.rb:112 # Twitter::JSONStream on valid stream should extract records rspec ./spec/twitter/json_stream_spec.rb:117 # Twitter::JSONStream on valid stream should allow custom headers rspec ./spec/twitter/json_stream_spec.rb:122 # Twitter::JSONStream on valid stream should deliver each item rspec ./spec/twitter/json_stream_spec.rb:137 # Twitter::JSONStream on valid stream should swallow StandardError exceptions when delivering items rspec ./spec/twitter/json_stream_spec.rb:146 # Twitter::JSONStream on valid stream propagates out runtime errors when delivering items rspec ./spec/twitter/json_stream_spec.rb:154 # Twitter::JSONStream on valid stream should send correct user agent rspec ./spec/twitter/json_stream_spec.rb:212 # Twitter::JSONStream on network failure should timeout on inactivity rspec ./spec/twitter/json_stream_spec.rb:218 # Twitter::JSONStream on network failure should not reconnect on inactivity when not configured to auto reconnect rspec ./spec/twitter/json_stream_spec.rb:224 # Twitter::JSONStream on network failure should reconnect with SSL if enabled rspec ./spec/twitter/json_stream_spec.rb[1:4:4:1] # Twitter::JSONStream on network failure it should behave like network failure should reconnect on network failure rspec ./spec/twitter/json_stream_spec.rb[1:4:4:2] # Twitter::JSONStream on network failure it should behave like network failure should not reconnect on network failure when not configured to auto reconnect rspec ./spec/twitter/json_stream_spec.rb[1:4:4:3] # Twitter::JSONStream on network failure it should behave like network failure should reconnect with 0.25 at base rspec ./spec/twitter/json_stream_spec.rb[1:4:4:4] # Twitter::JSONStream on network failure it should behave like network failure should reconnect with linear timeout rspec ./spec/twitter/json_stream_spec.rb[1:4:4:5] # Twitter::JSONStream on network failure it should behave like network failure should stop reconnecting after 100 times rspec ./spec/twitter/json_stream_spec.rb[1:4:4:6] # Twitter::JSONStream on network failure it should behave like network failure should notify after reconnect limit is reached rspec ./spec/twitter/json_stream_spec.rb:240 # Twitter::JSONStream on no data received should call no data callback after no data received for 90 seconds rspec ./spec/twitter/json_stream_spec.rb[1:6:1:1] # Twitter::JSONStream on server unavailable it should behave like network failure should reconnect on network failure rspec ./spec/twitter/json_stream_spec.rb[1:6:1:2] # Twitter::JSONStream on server unavailable it should behave like network failure should not reconnect on network failure when not configured to auto reconnect rspec ./spec/twitter/json_stream_spec.rb[1:6:1:3] # Twitter::JSONStream on server unavailable it should behave like network failure should reconnect with 0.25 at base rspec ./spec/twitter/json_stream_spec.rb[1:6:1:4] # Twitter::JSONStream on server unavailable it should behave like network failure should reconnect with linear timeout rspec ./spec/twitter/json_stream_spec.rb[1:6:1:5] # Twitter::JSONStream on server unavailable it should behave like network failure should stop reconnecting after 100 times rspec ./spec/twitter/json_stream_spec.rb[1:6:1:6] # Twitter::JSONStream on server unavailable it should behave like network failure should notify after reconnect limit is reached rspec ./spec/twitter/json_stream_spec.rb:272 # Twitter::JSONStream on application failure should reconnect on application failure 10 at base rspec ./spec/twitter/json_stream_spec.rb:278 # Twitter::JSONStream on application failure should not reconnect on application failure 10 at base when not configured to auto reconnect rspec ./spec/twitter/json_stream_spec.rb:284 # Twitter::JSONStream on application failure should reconnect with exponential timeout rspec ./spec/twitter/json_stream_spec.rb:291 # Twitter::JSONStream on application failure should not try to reconnect after limit is reached rspec ./spec/twitter/json_stream_spec.rb:306 # Twitter::JSONStream on stream with chunked transfer encoding should ignore empty lines rspec ./spec/twitter/json_stream_spec.rb:320 # Twitter::JSONStream on stream with chunked transfer encoding should parse full entities even if split /usr/bin/ruby2.1 /usr/bin/rspec --pattern ./spec/\*/\*_spec.rb failed ERROR: Test "ruby2.1" failed. Exiting. dh_auto_install: dh_ruby --install /tmp/buildd/ruby-twitter-stream-0.1.16/debian/ruby-twitter-stream returned exit code 1 debian/rules:15: recipe for target 'binary' failed make: *** [binary] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 E: Failed autobuilding of package I: unmounting /sys filesystem I: unmounting /dev/shm filesystem I: unmounting dev/pts filesystem I: unmounting run/shm filesystem I: unmounting proc filesystem I: cleaning the build env I: removing directory /var/cache/pbuilder/build//6270 and its subdirectories