[DRE-maint] Bug#839456: ruby-sentry-raven: FTBFS: ERROR: Test "ruby2.3" failed: Failure/Error: TestApp.initialize!

Lucas Nussbaum lucas at debian.org
Sat Oct 1 14:19:21 UTC 2016


Source: ruby-sentry-raven
Version: 1.1.0-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161001 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>      Failure/Error: TestApp.initialize!
> 
>      TZInfo::DataSourceNotFound:
>        No source of timezone data could be found.
>        Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
>      # ./spec/raven/integrations/rails_spec.rb:13:in `block (2 levels) in <top (required)>'
>      # ------------------
>      # --- Caused by: ---
>      # TZInfo::ZoneinfoDirectoryNotFound:
>      #   None of the paths included in TZInfo::ZoneinfoDataSource.search_path are valid zoneinfo directories.
>      #   ./spec/raven/integrations/rails_spec.rb:13:in `block (2 levels) in <top (required)>'
> 
> Finished in 0.69628 seconds (files took 0.77116 seconds to load)
> 218 examples, 6 failures
> 
> Failed examples:
> 
> rspec ./spec/raven/integrations/rails_spec.rb:20 # TestApp inserts middleware
> rspec ./spec/raven/integrations/rails_spec.rb:24 # TestApp should capture exceptions in production
> rspec ./spec/raven/integrations/rails_spec.rb:30 # TestApp should properly set the exception's URL
> rspec ./spec/raven/integrations/rails_spec.rb:40 # TestApp sets Raven.configuration.logger correctly
> rspec ./spec/raven/integrations/rails_spec.rb:44 # TestApp sets Raven.configuration.project_root correctly
> rspec ./spec/raven/integrations/rails_spec.rb:48 # TestApp doesn't clobber a manually configured release
> 
> E, [2016-10-01T11:46:21.610176 #25800] ERROR -- : ** [Raven] Unable to record event with remote Sentry server (Faraday::Adapter::Test::Stubs::NotFound - no stubbed request for post /sentry/api/42/store/ {"event_id":"8178edb61057a91314f44dd6f9d1de3b","message":"SystemExit: exit","timestamp":"2016-10-01T11:46:21","time_spent":null,"level":40,"project":null,"platform":"ruby","logger":"","culprit":"rspec/core/runner.rb in exit at line 46","server_name":"ip-172-31-11-236","modules":{"actionmailer":"4.2.7.1","actionpack":"4.2.7.1","actionview":"4.2.7.1","activejob":"4.2.7.1","activemodel":"4.2.7.1","activerecord":"4.2.7.1","activesupport":"4.2.7.1","arel":"6.0.3","atomic":"1.1.16","bigdecimal":"1.2.8","blankslate":"3.1.3","builder":"3.2.2","bundler":"1.12.5","concurrent-ruby":"1.0.0","did_you_mean":"1.0.0","diff-lcs":"1.2.5","erubis":"2.7.0","faraday":"0.9.2","globalid":"0.3.6","hike":"1.2.1","i18n":"0.7.0","io-console":"0.4.5","json":"1.8.3","loofah":"2.0.3","mail":"2.6.4","mime-types":"2.6.1","minitest":"5.9.0","molinillo":"0.5.0","multi_json":"1.11.2","multipart-post":"1.2.0","net-http-persistent":"2.9.4","net-telnet":"0.1.1","nokogiri":"1.6.8","pkg-config":"1.1.7","polyglot":"0.3.4","power_assert":"0.2.7","psych":"2.0.17","rack":"1.6.4","rack-test":"0.6.3","rails":"4.2.7.1","rails-deprecated_sanitizer":"1.0.3","rails-dom-testing":"1.0.6","rails-html-sanitizer":"1.0.3","railties":"4.2.7.1","rake":"10.5.0","rdoc":"4.2.1","rspec":"3.4.0","rspec-core":"3.4.3","rspec-expectations":"3.4.0","rspec-mocks":"3.4.1","rspec-rails":"3.4.2","rspec-support":"3.4.1","sentry-raven":"1.1.0","sprockets":"3.7.0","sprockets-rails":"2.3.2","test-unit":"3.1.7","thor":"0.19.1","thread_order":"1.1.0","thread_safe":"0.3.5","tilt":"2.0.1","timecop":"0.8.0","treetop":"1.6.3","tzinfo":"1.2.2"},"extra":{},"tags":{},"user":{},"exception":{"values":[{"type":"SystemExit","value":"exit","module":"","stacktrace":{"frames":[{"pre_context":["#!/usr/bin/env ruby\n","\n","require 'rspec/core'\n"],"post_context":[null,null,null],"abs_path":"/usr/bin/rspec","function":"<main>","lineno":4,"in_app":false,"context_line":"RSpec::Core::Runner.invoke\n","project_root":"/<<PKGBUILDDIR>>","filename":"/usr/bin/rspec"},{"pre_context":["      def self.invoke\n","        disable_autorun!\n","        status = run(ARGV, $stderr, $stdout).to_i\n"],"post_context":["      end\n","\n","      # Run a suite of RSpec examples. Does not exit.\n"],"abs_path":"/usr/lib/ruby/vendor_ruby/rspec/core/runner.rb","function":"invoke","lineno":46,"in_app":false,"context_line":"        exit(status) if status != 0\n","project_root":"/<<PKGBUILDDIR>>","filename":"rspec/core/runner.rb"},{"pre_context":["      def self.invoke\n","        disable_autorun!\n","        status = run(ARGV, $stderr, $stdout).to_i\n"],"post_context":["      end\n","\n","      # Run a suite of RSpec examples. Does not exit.\n"],"abs_path":"/usr/lib/ruby/vendor_ruby/rspec/core/runner.rb","function":"exit","lineno":46,"in_app":false,"context_line":"        exit(status) if status != 0\n","project_root":"/<<PKGBUILDDIR>>","filename":"rspec/core/runner.rb"}]}}]},"request":{"headers":{"Content-Length":"0"},"env":{"SERVER_NAME":"example.org","SERVER_PORT":"80"},"cookies":null,"url":"http://example.org/test","method":"GET","query_string":"","data":""}})
> E, [2016-10-01T11:46:21.610256 #25800] ERROR -- : ** [Raven] /usr/lib/ruby/vendor_ruby/faraday/adapter/test.rb:156:in `call'
> E, [2016-10-01T11:46:21.610298 #25800] ERROR -- : ** [Raven] /usr/lib/ruby/vendor_ruby/faraday/rack_builder.rb:139:in `build_response'
> E, [2016-10-01T11:46:21.610329 #25800] ERROR -- : ** [Raven] /usr/lib/ruby/vendor_ruby/faraday/connection.rb:377:in `run_request'
> E, [2016-10-01T11:46:21.610361 #25800] ERROR -- : ** [Raven] /usr/lib/ruby/vendor_ruby/faraday/connection.rb:177:in `post'
> E, [2016-10-01T11:46:21.610394 #25800] ERROR -- : ** [Raven] /<<PKGBUILDDIR>>/lib/raven/transports/http.rb:21:in `send_event'
> E, [2016-10-01T11:46:21.610424 #25800] ERROR -- : ** [Raven] /<<PKGBUILDDIR>>/lib/raven/client.rb:40:in `send_event'
> E, [2016-10-01T11:46:21.610453 #25800] ERROR -- : ** [Raven] /<<PKGBUILDDIR>>/lib/raven/base.rb:83:in `send_event'
> E, [2016-10-01T11:46:21.610482 #25800] ERROR -- : ** [Raven] /<<PKGBUILDDIR>>/lib/raven/base.rb:116:in `capture_type'
> E, [2016-10-01T11:46:21.610511 #25800] ERROR -- : ** [Raven] /<<PKGBUILDDIR>>/lib/raven/base.rb:256:in `block in install_at_exit_hook'
> E, [2016-10-01T11:46:21.610545 #25800] ERROR -- : ** [Raven] Failed to submit event: SystemExit: exit
> /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby2.3" failed: 

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/01/ruby-sentry-raven_1.1.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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