[DRE-maint] Bug#830101: Tests leave process running

Christian Hofstaedtler zeha at debian.org
Tue Jul 5 22:14:56 UTC 2016


Package: ruby-cucumber-rails
Version: 1.4.2-1
Severity: important
X-Debbugs-CC: debian-ruby at lists.debian.org

Dear Maintainer,

your package tests' leave a process running (at least when they
fail):

[...]
+ rake
/tmp/autopkgtest.gXnw9j/autopkgtest_tmp/myapp/db/schema.rb doesn't exist yet. Run `rake db:migrate` to create it, then try again. If you do not intend to use a database, you should instead alter /tmp/autopkgtest.gXnw9j/autopkgtest_tmp/myapp/config/application.rb to limit the frameworks that will be loaded.
/usr/bin/ruby2.3 -S bundle exec cucumber  --profile default
/tmp/autopkgtest.gXnw9j/autopkgtest_tmp/myapp/db/schema.rb doesn't exist yet. Run `rake db:migrate` to create it, then try again. If you do not intend to use a database, you should instead alter /tmp/autopkgtest.gXnw9j/autopkgtest_tmp/myapp/config/application.rb to limit the frameworks that will be loaded.
You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it. (RuntimeError)
/tmp/autopkgtest.gXnw9j/autopkgtest_tmp/myapp/features/support/env.rb:36:in `rescue in <top (required)>'
/tmp/autopkgtest.gXnw9j/autopkgtest_tmp/myapp/features/support/env.rb:33:in `<top (required)>'
/usr/lib/ruby/vendor_ruby/cucumber/rb_support/rb_language.rb:94:in `load'
/usr/lib/ruby/vendor_ruby/cucumber/rb_support/rb_language.rb:94:in `load_code_file'
/usr/lib/ruby/vendor_ruby/cucumber/runtime/support_code.rb:237:in `load_file'
/usr/lib/ruby/vendor_ruby/cucumber/runtime/support_code.rb:97:in `block in load_files!'
/usr/lib/ruby/vendor_ruby/cucumber/runtime/support_code.rb:96:in `each'
/usr/lib/ruby/vendor_ruby/cucumber/runtime/support_code.rb:96:in `load_files!'
/usr/lib/ruby/vendor_ruby/cucumber/runtime.rb:242:in `load_step_definitions'
/usr/lib/ruby/vendor_ruby/cucumber/runtime.rb:65:in `run!'
/usr/lib/ruby/vendor_ruby/cucumber/cli/main.rb:33:in `execute!'
/usr/bin/cucumber:6:in `<main>'
autopkgtest [00:11:50]: test smoke-test: -----------------------]
autopkgtest [00:11:50]: test smoke-test:  - - - - - - - - - - results - - - - - - - - - -
smoke-test           FAIL non-zero exit status 1

leftover processes:

50966  1.0  0.2 434748 23008 ?        Sl   00:11   0:00 spring server | myapp | started 19 secs ago
51069  0.4  0.0      0     0 ?        Zs   00:11   0:00 [ruby] <defunct>
51071  0.4  0.0      0     0 ?        Zs   00:11   0:00 [ruby] <defunct>


-- 
 ,''`.  Christian Hofstaedtler <zeha at debian.org>
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-



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