[DRE-maint] Bug#847741: ruby-bunny: FTBFS: Bunny::Session initialized via connection URI handles amqp:// URIs w/o path part

Chris Lamb lamby at debian.org
Sun Dec 11 09:19:09 UTC 2016


Source: ruby-bunny
Version: 2.6.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

ruby-bunny fails to build from source in unstable/amd64:

  […]

  Bunny::Exchange
    recovery
      recovers exchange bindings, unless already unbound
  
  Bunny::VersionedDeliveryTag#stale?
    when delivery tag version < provided version
      returns true
    when delivery tag version = provided version
      returns false
    when delivery tag version > provided version
      returns true
  
  Failures:
  
    1) Bunny::Session initialized via connection URI handles amqp:// URIs w/o path part
       Failure/Error: @origin_thread.raise(e)
  
       Bunny::NotAllowedError:
         Connection-level error: NOT_ALLOWED - access to vhost '/' refused for user 'guest'
       # ./lib/bunny/session.rb:1157:in `raise'
       # ./lib/bunny/session.rb:1157:in `open_connection'
       # ./lib/bunny/session.rb:304:in `start'
       # ./spec/higher_level_api/integration/connection_spec.rb:24:in `block (3 levels) in <top (required)>'
  
    2) Bunny::Session initialized with all defaults provides a way to fine tune socket options
       Failure/Error: @origin_thread.raise(e)
  
       Bunny::NotAllowedError:
         Connection-level error: NOT_ALLOWED - access to vhost '/' refused for user 'guest'
       # ./lib/bunny/session.rb:1157:in `raise'
       # ./lib/bunny/session.rb:1157:in `open_connection'
       # ./lib/bunny/session.rb:304:in `start'
       # ./spec/higher_level_api/integration/connection_spec.rb:54:in `block (3 levels) in <top (required)>'
  
    3) Bunny::Session initialized with all defaults successfully negotiates the connection
       Failure/Error: @origin_thread.raise(e)
  
       Bunny::NotAllowedError:
         Connection-level error: NOT_ALLOWED - access to vhost '/' refused for user 'guest'
       # ./lib/bunny/session.rb:1157:in `raise'
       # ./lib/bunny/session.rb:1157:in `open_connection'
       # ./lib/bunny/session.rb:304:in `start'
       # ./spec/higher_level_api/integration/connection_spec.rb:62:in `block (3 levels) in <top (required)>'
  
    4) Bunny::Session initialized with TCP connection timeout = 5 successfully connects
       Failure/Error: @origin_thread.raise(e)
  
       Bunny::NotAllowedError:
         Connection-level error: NOT_ALLOWED - access to vhost '/' refused for user 'guest'
       # ./lib/bunny/session.rb:1157:in `raise'
       # ./lib/bunny/session.rb:1157:in `open_connection'
       # ./lib/bunny/session.rb:304:in `start'
       # ./spec/higher_level_api/integration/connection_spec.rb:82:in `block (3 levels) in <top (required)>'
  
    5) Bunny::Session initialized with :channel_max => 4096 negotiates channel max to be 1024
       Failure/Error: @origin_thread.raise(e)
  
       Bunny::NotAllowedError:
         Connection-level error: NOT_ALLOWED - access to vhost '/' refused for user 'guest'
       # ./lib/bunny/session.rb:1157:in `raise'
       # ./lib/bunny/session.rb:1157:in `open_connection'
       # ./lib/bunny/session.rb:304:in `start'
       # ./spec/higher_level_api/integration/connection_spec.rb:310:in `block (3 levels) in <top (required)>'
  
    6) Bunny::Session initialized with a custom logger object uses provided logger
       Failure/Error: @origin_thread.raise(e)
  
       Bunny::NotAllowedError:
         Connection-level error: NOT_ALLOWED - access to vhost '/' refused for user 'guest'
       # ./lib/bunny/session.rb:1157:in `raise'
       # ./lib/bunny/session.rb:1157:in `open_connection'
       # ./lib/bunny/session.rb:304:in `start'
       # ./spec/higher_level_api/integration/connection_spec.rb:548:in `block (3 levels) in <top (required)>'
  
    7) A server-named Bunny::Queue can be bound to a pre-declared exchange
       Failure/Error: @origin_thread.raise(e)
  
       Bunny::NotAllowedError:
         Connection-level error: NOT_ALLOWED - access to vhost '/' refused for user 'guest'
       # ./lib/bunny/session.rb:1157:in `raise'
       # ./lib/bunny/session.rb:1157:in `open_connection'
       # ./lib/bunny/session.rb:304:in `start'
       # ./spec/higher_level_api/integration/queue_bind_spec.rb:61:in `block (2 levels) in <top (required)>'
       # ./spec/higher_level_api/integration/queue_bind_spec.rb:66:in `block (2 levels) in <top (required)>'
  
    8) A server-named Bunny::Queue can be unbound from a pre-declared exchange
       Failure/Error: @origin_thread.raise(e)
  
       Bunny::NotAllowedError:
         Connection-level error: NOT_ALLOWED - access to vhost '/' refused for user 'guest'
       # ./lib/bunny/session.rb:1157:in `raise'
       # ./lib/bunny/session.rb:1157:in `open_connection'
       # ./lib/bunny/session.rb:304:in `start'
       # ./spec/higher_level_api/integration/queue_bind_spec.rb:61:in `block (2 levels) in <top (required)>'
       # ./spec/higher_level_api/integration/queue_bind_spec.rb:76:in `block (2 levels) in <top (required)>'
  
    9) A server-named Bunny::Queue can be bound to a custom exchange
       Failure/Error: @origin_thread.raise(e)
  
       Bunny::NotAllowedError:
         Connection-level error: NOT_ALLOWED - access to vhost '/' refused for user 'guest'
       # ./lib/bunny/session.rb:1157:in `raise'
       # ./lib/bunny/session.rb:1157:in `open_connection'
       # ./lib/bunny/session.rb:304:in `start'
       # ./spec/higher_level_api/integration/queue_bind_spec.rb:61:in `block (2 levels) in <top (required)>'
       # ./spec/higher_level_api/integration/queue_bind_spec.rb:87:in `block (2 levels) in <top (required)>'
  
    10) A server-named Bunny::Queue can be bound from a custom exchange
        Failure/Error: @origin_thread.raise(e)
  
        Bunny::NotAllowedError:
          Connection-level error: NOT_ALLOWED - access to vhost '/' refused for user 'guest'
        # ./lib/bunny/session.rb:1157:in `raise'
        # ./lib/bunny/session.rb:1157:in `open_connection'
        # ./lib/bunny/session.rb:304:in `start'
        # ./spec/higher_level_api/integration/queue_bind_spec.rb:61:in `block (2 levels) in <top (required)>'
        # ./spec/higher_level_api/integration/queue_bind_spec.rb:98:in `block (2 levels) in <top (required)>'
  
  Finished in 6 minutes 45 seconds (files took 0.31765 seconds to load)
  636 examples, 10 failures
  
  Failed examples:
  
  rspec ./spec/higher_level_api/integration/connection_spec.rb:22 # Bunny::Session initialized via connection URI handles amqp:// URIs w/o path part
  rspec ./spec/higher_level_api/integration/connection_spec.rb:52 # Bunny::Session initialized with all defaults provides a way to fine tune socket options
  rspec ./spec/higher_level_api/integration/connection_spec.rb:60 # Bunny::Session initialized with all defaults successfully negotiates the connection
  rspec ./spec/higher_level_api/integration/connection_spec.rb:80 # Bunny::Session initialized with TCP connection timeout = 5 successfully connects
  rspec ./spec/higher_level_api/integration/connection_spec.rb:309 # Bunny::Session initialized with :channel_max => 4096 negotiates channel max to be 1024
  rspec ./spec/higher_level_api/integration/connection_spec.rb:546 # Bunny::Session initialized with a custom logger object uses provided logger
  rspec ./spec/higher_level_api/integration/queue_bind_spec.rb:65 # A server-named Bunny::Queue can be bound to a pre-declared exchange
  rspec ./spec/higher_level_api/integration/queue_bind_spec.rb:75 # A server-named Bunny::Queue can be unbound from a pre-declared exchange
  rspec ./spec/higher_level_api/integration/queue_bind_spec.rb:86 # A server-named Bunny::Queue can be bound to a custom exchange
  rspec ./spec/higher_level_api/integration/queue_bind_spec.rb:97 # A server-named Bunny::Queue can be bound from a custom exchange
  
  /usr/bin/ruby2.3 /usr/bin/rspec spec/higher_level_api/integration/basic_ack_spec.rb spec/higher_level_api/integration/basic_cancel_spec.rb spec/higher_level_api/integration/basic_consume_spec.rb spec/higher_level_api/integration/basic_consume_with_objects_spec.rb spec/higher_level_api/integration/basic_get_spec.rb spec/higher_level_api/integration/basic_nack_spec.rb spec/higher_level_api/integration/basic_publish_spec.rb spec/higher_level_api/integration/basic_qos_spec.rb spec/higher_level_api/integration/basic_recover_spec.rb spec/higher_level_api/integration/basic_reject_spec.rb spec/higher_level_api/integration/basic_return_spec.rb spec/higher_level_api/integration/channel_close_spec.rb spec/higher_level_api/integration/channel_open_spec.rb spec/higher_level_api/integration/connection_spec.rb spec/higher_level_api/integration/consumer_cancellation_notification_spec.rb spec/higher_level_api/integration/dead_lettering_spec.rb spec/higher_level_api/integration/exchange_bind_spec.rb spec/higher_level_api/integration/exchange_declare_spec.rb spec/higher_level_api/integration/exchange_delete_spec.rb spec/higher_level_api/integration/exchange_unbind_spec.rb spec/higher_level_api/integration/exclusive_queue_spec.rb spec/higher_level_api/integration/heartbeat_spec.rb spec/higher_level_api/integration/merry_go_round_spec.rb spec/higher_level_api/integration/message_properties_access_spec.rb spec/higher_level_api/integration/predeclared_exchanges_spec.rb spec/higher_level_api/integration/publisher_confirms_spec.rb spec/higher_level_api/integration/publishing_edge_cases_spec.rb spec/higher_level_api/integration/queue_bind_spec.rb spec/higher_level_api/integration/queue_declare_spec.rb spec/higher_level_api/integration/queue_delete_spec.rb spec/higher_level_api/integration/queue_purge_spec.rb spec/higher_level_api/integration/queue_unbind_spec.rb spec/higher_level_api/integration/read_only_consumer_spec.rb spec/higher_level_api/integration/sender_selected_distribution_spec.rb spec/higher_level_api/integration/tx_commit_spec.rb spec/higher_level_api/integration/tx_rollback_spec.rb spec/higher_level_api/integration/with_channel_spec.rb spec/issues/issue100_spec.rb spec/issues/issue141_spec.rb spec/issues/issue202_spec.rb spec/issues/issue224_spec.rb spec/issues/issue78_spec.rb spec/issues/issue83_spec.rb spec/issues/issue97_spec.rb spec/lower_level_api/integration/basic_cancel_spec.rb spec/lower_level_api/integration/basic_consume_spec.rb spec/unit/bunny_spec.rb spec/unit/concurrent/atomic_fixnum_spec.rb spec/unit/concurrent/condition_spec.rb spec/unit/concurrent/linked_continuation_queue_spec.rb spec/unit/concurrent/synchronized_sorted_set_spec.rb spec/unit/exchange_recovery_spec.rb spec/unit/version_delivery_tag_spec.rb --format documentation failed
  Stopping and halting node bunny at 5d1369470cc7 ...
  Gracefully halting Erlang VM
  ERROR: Test "ruby2.3" failed. Exiting.
  dh_auto_install: dh_ruby --install «BUILDDIR»/debian/ruby-bunny returned exit code 1
  debian/rules:10: recipe for target 'override_dh_auto_install' failed
  make[1]: *** [override_dh_auto_install] Error 1
  make[1]: Leaving directory '«BUILDDIR»'
  debian/rules:6: recipe for target 'binary' failed
  make: *** [binary] Error 2
  dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
  

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-bunny.2.6.1-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 14384 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161211/ce72f47f/attachment-0001.obj>


More information about the Pkg-ruby-extras-maintainers mailing list