[DRE-maint] Bug#842607: ruby-fog-rackspace: FTBFS (undefined method `flavors')

Santiago Vila sanvila at unex.es
Sun Oct 30 18:47:14 UTC 2016


Package: src:ruby-fog-rackspace
Version: 0.1.1-2
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
   dh_testdir -i -O--buildsystem=ruby
   dh_update_autotools_config -i -O--buildsystem=ruby
   dh_auto_configure -i -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -i -O--buildsystem=ruby
	dh_ruby --build
   dh_ruby --build
   dh_auto_test -i -O--buildsystem=ruby
	dh_ruby --test
 fakeroot debian/rules binary-indep
dh binary-indep --buildsystem=ruby --with ruby

[... snipped ...]

    # Fog::Rackspace::Monitoring | metrics (rackspace, rackspace_monitoring)
  
  Fog::Rackspace::Monitoring | checks (rackspace, rackspace_monitoring)
    # Fog::Rackspace::Monitoring | checks (rackspace, rackspace_monitoring)
  
  Fog::Rackspace::Monitoring | check_types (rackspace, rackspace_monitoring)
    # Fog::Rackspace::Monitoring | check_types (rackspace, rackspace_monitoring)
  
  Fog::Rackspace::Monitoring | alarm_examples (rackspace, rackspace_monitoring)
    # Fog::Rackspace::Monitoring | alarm_examples (rackspace, rackspace_monitoring)
  
  Fog::Rackspace::DNS | zones (rackspace)
    zones.find(fog-test-56e3) => finds domain_name
      # zones.find(fog-test-56e3) => finds domain_name
    zones.find(fog-test-1944) => finds nothing
      # zones.find(fog-test-1944) => finds nothing
    next_params
      + no body
      + no links
      + links are empty
      + links does not contain next hash
      + contains a link without parameters
      + contains a link without parameters
  
  Fog::Rackspace::DNS | zone (rackspace)
    # Fog::Rackspace::DNS | zone (rackspace)
  
  Fog::Rackspace::Networking | virtual_interface (rackspace)
    undefined method `flavors' for #<Fog::Rackspace::Networking::Mock:0x007f89391d6ba8> (NoMethodError)
      /<<PKGBUILDDIR>>/tests/rackspace/helper.rb:83:in `rackspace_test_flavor_id'
      /<<PKGBUILDDIR>>/tests/rackspace/models/networking/virtual_interface_tests.rb:11:in `block in <top (required)>'
      /usr/lib/ruby/vendor_ruby/shindo.rb:79:in `instance_eval'
      /usr/lib/ruby/vendor_ruby/shindo.rb:79:in `tests'
      /usr/lib/ruby/vendor_ruby/shindo.rb:38:in `initialize'
      /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `new'
      /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `tests'
      /<<PKGBUILDDIR>>/tests/rackspace/models/networking/virtual_interface_tests.rb:1:in `<top (required)>'
      /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `load'
      /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `block (2 levels) in run_in_thread'
      /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `each'
      /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `block in run_in_thread'
An error occurred outside of a test
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-fog-rackspace returned exit code 1
debian/rules:6: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

I'm attaching a full build log.

The failure happens randomly, but it always happens on some machines
and never on some others. I think that the build system is
non-deterministic and success or failure depends on some unknown
variable like filesystem ordering.

Please tell me if you would like me to perform any tests on any of the
machines where it always fail.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-fog-rackspace_0.1.1-2_amd64-20161030T175340Z.gz
Type: application/gzip
Size: 17523 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161030/c0a55160/attachment-0001.bin>


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