ruby-twitter-stream: FTBFS: /usr/bin/ruby2.1 /usr/bin/rspec --pattern ./spec/\*/\*_spec.rb failed

Bug #1507407 reported by Logan Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby-twitter-stream (Debian)
Fix Released
Unknown
ruby-twitter-stream (Ubuntu)
Triaged
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/795762:

Source: ruby-twitter-stream
Version: 0.1.16-1
Severity: serious
Justification: fails to build from source
User: <email address hidden>
Usertags: ftbfs
X-Debbugs-Cc: <email address hidden>

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
     `. `'` <email address hidden> / chris-lamb.co.uk
       `-

Tags: ftbfs
Logan Rosen (logan)
Changed in ruby-twitter-stream (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: ftbfs
description: updated
Changed in ruby-twitter-stream (Debian):
importance: Undecided → Unknown
Changed in ruby-twitter-stream (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.