[DRE-maint] Bug#867651: ruby-rubymail: FTBFS: ERROR: Test "ruby2.3" failed.

Lucas Nussbaum lucas at debian.org
Sat Jul 8 06:28:21 UTC 2017


Source: ruby-rubymail
Version: 1.1.0-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170707 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):
> /usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby2.3                           │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> GEM_PATH=debian/ruby-rubymail/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -e gem\ \"rmail\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-rubymail/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -S rake -f debian/ruby-tests.rake
> /usr/bin/ruby2.3 -w -I"."  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/testaddress.rb" "test/testbase.rb" "test/testheader.rb" "test/testmailbox.rb" "test/testmboxreader.rb" "test/testmessage.rb" "test/testparser.rb" "test/testparsermultipart.rb" "test/testpushbackreader.rb" "test/testserialize.rb" "test/testtestbase.rb" "test/testtranspparency.rb" -v
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/address.rb:664: warning: character class has duplicated range: /\A[\w!$%&\'*+\/=?^_\`{\}|~#-]+/
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/address.rb:706: warning: character class has duplicated range: /\A[\x80-\xff\w!$%&\'*+\/=?^_\`{\}|~#-]+/
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/header.rb:474: warning: shadowing outer local variable - name
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/header.rb:474: warning: shadowing outer local variable - value
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/header.rb:507: warning: shadowing outer local variable - name
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/header.rb:507: warning: shadowing outer local variable - value
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/header.rb:509: warning: assigned but unused variable - found
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/header.rb:892: warning: optional boolean argument is obsoleted
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/message.rb:133: warning: optional boolean argument is obsoleted
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/message.rb:140: warning: optional boolean argument is obsoleted
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/parser.rb:205: warning: assigned but unused variable - pushback
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/serialize.rb:77: warning: assigned but unused variable - delimiters_boundary
> Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
> Started
> TestBase: 
>   test_nothing:						.: (0.000482)
>   TestRMailAddress: 
>     test_bug_23043:					/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/address.rb:664: warning: character class has duplicated range: /\A[\w!$%&\'*+\/=?^_\`{\}|~#-]+/
> .: (0.001371)
>     test_comments:					.: (0.000349)
>     test_domain_literal:				.: (0.002962)
>     test_exhaustive:					.: (0.227276)
>     test_initialize:					.: (0.000842)
>     test_invalid_addresses:				/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/address.rb:664: warning: character class has duplicated range: /\A[\w!$%&\'*+\/=?^_\`{\}|~#-]+/
> .: (0.001094)
>     test_mailtools_suite:				/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/address.rb:664: warning: character class has duplicated range: /\A[\w!$%&\'*+\/=?^_\`{\}|~#-]+/
> .: (0.012168)
>     test_majordomoII:					.: (0.005281)
>     test_misc_addresses:				.: (0.006986)
>     test_out_of_spec:					.: (0.002300)
>     test_random_strings:				/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/address.rb:664: warning: character class has duplicated range: /\A[\w!$%&\'*+\/=?^_\`{\}|~#-]+/
> .: (0.115439)
>     test_rfc_2822:					/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/address.rb:664: warning: character class has duplicated range: /\A[\w!$%&\'*+\/=?^_\`{\}|~#-]+/
> .: (0.017531)
>     test_rfc_822:					.: (0.001868)
>     test_rmail_address_compare:				.: (0.000588)
>     test_rmail_address_eql?:				.: (0.000466)
>     test_rmail_address_hash:				.: (0.000401)
>   TestRMailHeader: 
>     test_AREF:						.: (0.000559)
>     test_ASET:						.: (0.000501)
>     test_EQUAL:						.: (0.000435)
>     test_add:						.: (0.000689)
>     test_add_message_id:				.: (0.005411)
>     test_address_list_fetch:				.: (0.000451)
>     test_clear:						.: (0.000416)
>     test_clone:						.: (0.000524)
>     test_content_type:					.: (0.000381)
>     test_date:						F
> ===============================================================================
> Failure: <2002-01-21 09:29:33 +0000> was expected to be nil.
> test_date(TestRMailHeader)
> /<<PKGBUILDDIR>>/test/testheader.rb:1028:in `test_date'
>      1025:       t = assert_nothing_raised {
>      1026:         h.date
>      1027:       }
>   => 1028:       assert_nil(t)
>      1029:     end
>      1030: 
>      1031:     begin
> ===============================================================================
> : (0.002714)
>     test_date_eq:					.: (0.000756)
>     test_delete:					.: (0.000378)
>     test_delete_at:					.: (0.000423)
>     test_delete_if:					.: (0.000423)
>     test_dup:						.: (0.000431)
>     test_each:						.: (0.000405)
>     test_each_key:					.: (0.000376)
>     test_each_name:					.: (0.000370)
>     test_each_pair:					.: (0.000371)
>     test_each_value:					.: (0.000370)
>     test_empty?:					.: (0.000341)
>     test_fetch:						.: (0.000398)
>     test_fetch_all:					.: (0.000394)
>     test_field?:					.: (0.000337)
>     test_from:						.: (0.000772)
>     test_from_assign:					.: (0.002619)
>     test_has_key?:					.: (0.000364)
>     test_include?:					.: (0.000332)
>     test_key?:						.: (0.000345)
>     test_keys:						.: (0.000361)
>     test_length:					.: (0.000372)
>     test_match:						.: (0.001358)
>     test_match?:					.: (0.000728)
>     test_mbox_from:					.: (0.000353)
>     test_media_type:					.: (0.000404)
>     test_member?:					.: (0.000359)
>     test_message_id:					.: (0.000372)
>     test_names:						.: (0.000365)
>     test_param:						.: (0.000579)
>     test_params:					.: (0.000661)
>     test_params_random_string:				.: (0.181899)
>     test_recipients:					.: (0.001658)
>     test_replace:					.: (0.000413)
>     test_reply_bcc_assign:				.: (0.002395)
>     test_reply_cc_assign:				.: (0.002591)
>     test_reply_to_assign:				.: (0.002681)
>     test_s_new:						.: (0.000381)
>     test_select:					.: (0.000357)
>     test_select_on_empty_header_returns_empty_array:	.: (0.000325)
>     test_set:						.: (0.000384)
>     test_set_boundary:					.: (0.000729)
>     test_size:						.: (0.000379)
>     test_subject:					.: (0.000471)
>     test_subtype:					.: (0.000464)
>     test_to_a:						.: (0.000387)
>     test_to_assign:					.: (0.003237)
>     test_to_string:					.: (0.000398)
>   TestRMailMailbox: 
>     test_parse_mbox_simple:				.: (0.000703)
>   TestRMailMessage: 
>     test_EQUAL:						.: (0.000770)
>     test_add_part:					.: (0.000542)
>     test_decode:					.: (0.000724)
>     test_epilogue:					.: (0.000529)
>     test_initialize:					.: (0.000585)
>     test_multipart?:					.: (0.000562)
>     test_part:						.: (0.000591)
>     test_preamble:					.: (0.000573)
>     test_to_s:						/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/message.rb:191: warning: instance variable @delimiters not initialized
> .: (0.000749)
>   TestRMailParser: 
>     test_parse:						.: (0.000984)
>     test_parse_badmime1:				.: (0.031408)
>     test_parse_badmime2:				.: (0.036905)
>     test_parse_multipart_01:				.: (0.000708)
>     test_parse_multipart_02:				.: (0.000753)
>     test_parse_multipart_03:				.: (0.000665)
>     test_parse_multipart_04:				.: (0.000638)
>     test_parse_multipart_05:				.: (0.000565)
>     test_parse_multipart_06:				.: (0.000569)
>     test_parse_multipart_07:				.: (0.000574)
>     test_parse_multipart_08:				.: (0.000600)
>     test_parse_multipart_09:				.: (0.000628)
>     test_parse_multipart_10:				.: (0.000611)
>     test_parse_multipart_11:				.: (0.000623)
>     test_parse_multipart_12:				.: (0.000596)
>     test_parse_multipart_13:				.: (0.000680)
>     test_parse_multipart_14:				.: (0.000596)
>     test_parse_multipart_15:				.: (0.000599)
>     test_parse_multipart_16:				.: (0.000580)
>     test_parse_nested_multipart:			.: (0.001296)
>     test_parse_nested_simple:				.: (0.000727)
>     test_parse_simple_mime:				.: (0.000883)
>     test_parser_nested_simple2:				.: (0.000696)
>     test_parser_nested_simple3:				.: (0.000663)
>     test_rmail_parser_s_read:				.: (0.000831)
>     test_s_new:						.: (0.000325)
>   TestRMailParserMultipart: 
>     test_multipart_data_01:				.: (0.009245)
>     test_multipart_data_02:				.: (0.005002)
>     test_multipart_data_03:				.: (0.004207)
>     test_multipart_data_04:				.: (0.006212)
>     test_multipart_data_05:				.: (0.003137)
>     test_multipart_data_06:				.: (0.003303)
>     test_multipart_data_07:				.: (0.004986)
>     test_multipart_data_08:				.: (0.008378)
>     test_multipart_data_09:				.: (0.005229)
>     test_multipart_data_10:				.: (0.003376)
>     test_multipart_data_11:				.: (0.016181)
>     test_multipart_data_12:				.: (0.020543)
>     test_multipart_data_13:				.: (0.005597)
>     test_multipart_data_14:				.: (0.005360)
>     test_multipart_data_15:				.: (0.005554)
>     test_multipart_data_16:				.: (0.005265)
>     test_multipart_data_17:				.: (0.001657)
>     test_s_new:						.: (0.000391)
>   TestRMailSerialize: 
>     test_serialize_basic:				.: (0.000412)
>     test_serialize_boundary_generation:			/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/message.rb:191: warning: instance variable @delimiters not initialized
> .: (0.000524)
>     test_serialize_boundary_override:			/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/message.rb:191: warning: instance variable @delimiters not initialized
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/message.rb:191: warning: instance variable @delimiters not initialized
> .: (0.000639)
>     test_serialize_empty:				.: (0.000316)
>     test_serialize_multipart_basic:			/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/message.rb:191: warning: instance variable @delimiters not initialized
> .: (0.000441)
>     test_serialize_multipart_epilogue_preamble:		/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/message.rb:191: warning: instance variable @delimiters not initialized
> .: (0.000540)
>     test_serialize_multipart_nested:			/<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/message.rb:191: warning: instance variable @delimiters not initialized
> /<<PKGBUILDDIR>>/debian/ruby-rubymail/usr/lib/ruby/vendor_ruby/rmail/message.rb:191: warning: instance variable @delimiters not initialized
> .: (0.000735)
>     test_serialize_s_write:				.: (0.000328)
>   TestRMailStreamParser: 
>     test_stream_parser_multipart:			.: (0.000957)
>     test_stream_parser_simple:				.: (0.000621)
>   TestRMailTransparency: 
>     test_transparency_absolute_01:			.: (0.000886)
>     test_transparency_absolute_02:			.: (0.000713)
>     test_transparency_absolute_03:			.: (0.001093)
>     test_transparency_absolute_04:			.: (0.001174)
>     test_transparency_absolute_05:			.: (0.001259)
>     test_transparency_absolute_06:			.: (0.002855)
>     test_transparency_message_01:			.: (0.001930)
>     test_transparency_message_02:			.: (0.002279)
>     test_transparency_message_03:			.: (0.001564)
>     test_transparency_message_04:			.: (0.000700)
>     test_transparency_message_05:			.: (0.000845)
>     test_transparency_message_06:			.: (0.001971)
>     test_transparency_nested_multipart:			.: (0.002086)
>     test_transparency_rfc822:				.: (0.001451)
>     test_transparency_simple_mime:			.: (0.001299)
>   TestTestBase: 
>     test_cleandir:					.: (0.001141)
>     test_file_contains:					.: (0.000576)
>     test_name:						.: (0.000396)
>     test_ruby_program:					.: (0.000343)
>     test_scratch_dir:					.: (0.000352)
>     test_scratch_filename:				.: (0.000419)
>     test_string_as_file:				.: (0.000872)
>   TextRMailMBoxReader: 
>     test_mbox_chunksize:				.: (0.011998)
>     test_mbox_odd:					.: (0.000446)
>     test_mbox_randomly:					.: (0.093128)
>     test_mbox_s_new:					.: (0.000365)
>     test_mbox_simple:					.: (0.000509)
>   TextRMailParserPushbackReader: 
>     test_pushback:					.: (0.000442)
> 
> Finished in 0.97559957 seconds.
> ------
> 166 tests, 24211 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
> 99.3976% passed
> ------
> 170.15 tests/s, 24816.53 assertions/s
> rake aborted!
> Command failed with status (1): [ruby -w -I"."  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/testaddress.rb" "test/testbase.rb" "test/testheader.rb" "test/testmailbox.rb" "test/testmboxreader.rb" "test/testmessage.rb" "test/testparser.rb" "test/testparsermultipart.rb" "test/testpushbackreader.rb" "test/testserialize.rb" "test/testtestbase.rb" "test/testtranspparency.rb" -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby2.3" failed.

The full build log is available from:
   http://aws-logs.debian.net/2017/07/07/ruby-rubymail_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