[DRE-maint] Bug#795724: capistrano: FTBFS: Failure/Error: expect(Configuration.env.fetch(:test)).to be_true

Chris Lamb lamby at debian.org
Sun Aug 16 12:56:43 UTC 2015


Source: capistrano
Version: 3.2.1-1
Severity: serious
Justification: fails to build from source

Dear Maintainer,

capistrano fails to build from source on unstable/amd64:

  [..]
  
  Failures:
  
    1) Capistrano::Configuration.env is a global accessor to a single
    instance
       Failure/Error: expect(Configuration.env.fetch(:test)).to be_true
         expected true to respond to `true?` or perhaps you meant `be
         true` or `be_truthy`
       # ./spec/lib/capistrano/configuration_spec.rb:11:in `block (3
       levels) in <module:Capistrano>'
  
  [..]
  
  Failed examples:
  
  rspec ./spec/lib/capistrano/configuration_spec.rb:9 #
  Capistrano::Configuration.env is a global accessor to a single
  instance
  rspec ./spec/lib/capistrano/version_validator_spec.rb:27 #
  Capistrano::VersionValidator#verify with exact version valid should be
  true
  rspec ./spec/lib/capistrano/version_validator_spec.rb:86 #
  Capistrano::VersionValidator#verify with pessimistic versioning 1
  decimal place valid should be true
  rspec ./spec/lib/capistrano/version_validator_spec.rb:69 #
  Capistrano::VersionValidator#verify with pessimistic versioning 2
  decimal places valid should be true
  rspec ./spec/lib/capistrano/version_validator_spec.rb:51 #
  Capistrano::VersionValidator#verify with optimistic versioning valid
  should be true
  rspec ./spec/lib/capistrano/dsl_spec.rb:30 #
  Capistrano::DSL#stage_set? stage is set should be true
  rspec ./spec/lib/capistrano/dsl_spec.rb:37 #
  Capistrano::DSL#stage_set? stage is not set should be false
  rspec ./spec/lib/capistrano/configuration/servers_spec.rb:110 #
  Capistrano::Configuration::Servers adding a server can accept multiple
  servers with the same hostname but different ports or users
  rspec ./spec/integration/dsl_spec.rb:426 # Capistrano::DSL release
  path setting release path without a timestamp returns the release path
  with the current env timestamp
  rspec ./spec/integration/dsl_spec.rb:370 # Capistrano::DSL
  configuration SSHKit sets the backend pty
  rspec ./spec/integration/dsl_spec.rb:220 # Capistrano::DSL setting and
  fetching hosts when defining a host using a combination of the
  `server` and `role` syntax fetching servers for a role roles defined
  using the `server` syntax are included
  rspec ./spec/integration/dsl_spec.rb:224 # Capistrano::DSL setting and
  fetching hosts when defining a host using a combination of the
  `server` and `role` syntax fetching servers for a role roles defined
  using the `role` syntax are included
  rspec ./spec/integration/dsl_spec.rb:320 # Capistrano::DSL checking
  for presence variable is an non-empty array should be true
  rspec ./spec/integration/dsl_spec.rb:335 # Capistrano::DSL checking
  for presence variable is nil should be false
  rspec ./spec/integration/dsl_spec.rb:330 # Capistrano::DSL checking
  for presence variable exists, is not an array should be true
  rspec ./spec/integration/dsl_spec.rb:325 # Capistrano::DSL checking
  for presence variable is an empty array should be false
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:160 #
  Capistrano::Configuration::Server#include? value is a symbol value
  matches server property with :filter should be true
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:170 #
  Capistrano::Configuration::Server#include? value is a symbol value
  matches server property with :exclude should be false
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:165 #
  Capistrano::Configuration::Server#include? value is a symbol value
  matches server property with :select should be true
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:177 #
  Capistrano::Configuration::Server#include? value is a symbol value
  does not match server properly with :filter should be false
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:182 #
  Capistrano::Configuration::Server#include? value is a symbol value
  does not match server properly with :select should be false
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:187 #
  Capistrano::Configuration::Server#include? value is a symbol value
  does not match server properly with :exclude should be true
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:202 #
  Capistrano::Configuration::Server#include? value is a proc value
  matches server property with :select should be true
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:197 #
  Capistrano::Configuration::Server#include? value is a proc value
  matches server property with :filter should be true
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:207 #
  Capistrano::Configuration::Server#include? value is a proc value
  matches server property with :exclude should be false
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:225 #
  Capistrano::Configuration::Server#include? value is a proc value does
  not match server properly with :exclude should be true
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:220 #
  Capistrano::Configuration::Server#include? value is a proc value does
  not match server properly with :select should be false
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:215 #
  Capistrano::Configuration::Server#include? value is a proc value does
  not match server properly with :filter should be false
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:152 #
  Capistrano::Configuration::Server#include? options are empty should be
  true
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:30 #
  Capistrano::Configuration::Server checking roles adds the role
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:71 #
  Capistrano::Configuration::Server identifying as primary server is not
  primary is falesy
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:55 #
  Capistrano::Configuration::Server comparing identity with a different
  hostname should be false
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:45 #
  Capistrano::Configuration::Server comparing identity with a different
  user should be false
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:50 #
  Capistrano::Configuration::Server comparing identity with a different
  port should be false
  rspec ./spec/lib/capistrano/configuration/server_spec.rb:40 #
  Capistrano::Configuration::Server comparing identity with the same
  user, hostname and port should be true
  
  Randomized with seed 44722
  
  /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/capistrano-3.2.1/debian/capistrano returned exit code 1
  debian/rules:4: 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/capistrano_3.2.1-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: capistrano.3.2.1-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150816/406d3ce4/attachment-0001.txt>


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