[DRE-maint] Bug#1073370: ruby-premailer: FTBFS: ERROR: Test "ruby3.1" failed.

Lucas Nussbaum lucas at debian.org
Sun Jun 16 13:59:01 BST 2024


Source: ruby-premailer
Version: 1.22.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1                           │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-premailer/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-premailer/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"premailer\"
> mv Gemfile.lock ./.gem2deb.Gemfile.lock
> mv ./.gem2deb.Gemfile.lock Gemfile.lock
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-premailer/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-premailer/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
> mv Gemfile.lock ./.gem2deb.Gemfile.lock
> /usr/bin/ruby3.1 -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/test_adapter.rb" "test/test_html_to_plain_text.rb" "test/test_links.rb" "test/test_misc.rb" "test/test_premailer.rb" "test/test_warnings.rb"  -v
> /<<PKGBUILDDIR>>/debian/ruby-premailer/usr/lib/ruby/vendor_ruby/premailer/premailer.rb:431: warning: assigned but unused variable - append_qs
> /<<PKGBUILDDIR>>/debian/ruby-premailer/usr/lib/ruby/vendor_ruby/premailer/premailer.rb:522: warning: assigned but unused variable - style_url
> /<<PKGBUILDDIR>>/test/test_html_to_plain_text.rb:9: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_html_to_plain_text.rb:23: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_html_to_plain_text.rb:35: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_html_to_plain_text.rb:71: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_html_to_plain_text.rb:97: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:22: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:38: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:82: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:110: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:112: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:128: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:130: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:177: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:179: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:195: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:211: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:237: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:238: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:239: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:272: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:273: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:274: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:275: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:314: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:315: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_misc.rb:422: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:51: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:52: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:59: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:60: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:76: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:101: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:104: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:123: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:132: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:135: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:150: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:170: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:177: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:244: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:251: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:252: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:253: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:285: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:319: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:320: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:323: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:324: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:329: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:330: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:333: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:334: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:340: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /<<PKGBUILDDIR>>/test/test_premailer.rb:369: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> Run options: -v --seed 20461
> 
> # Running:
> 
> TestHtmlToPlainText#test_to_plain_text_with_script = /<<PKGBUILDDIR>>/debian/ruby-premailer/usr/lib/ruby/vendor_ruby/premailer/adapter/nokogiri.rb:41: warning: character class has duplicated range: /\A\#([\w_\-]+)\Z/
> /<<PKGBUILDDIR>>/debian/ruby-premailer/usr/lib/ruby/vendor_ruby/premailer/adapter/nokogiri.rb:64: warning: character class has duplicated range: /\[SPEC\=([\d]+)\[(.[^\]\]]*)\]\]/
> 0.11 s = .
> TestHtmlToPlainText#test_img_alt_tags = 0.00 s = .
> TestHtmlToPlainText#test_link_with_no_href = 0.00 s = .
> TestHtmlToPlainText#test_paragraphs_and_breaks = 0.00 s = .
> TestHtmlToPlainText#test_wrapping_lines = 0.00 s = .
> TestHtmlToPlainText#test_wrapping_lines_with_many_spaces = 0.00 s = .
> TestHtmlToPlainText#test_wrapping_spans = 0.00 s = .
> TestHtmlToPlainText#test_stripping_whitespace = 0.00 s = .
> TestHtmlToPlainText#test_specialchars = 0.00 s = .
> TestHtmlToPlainText#test_unterminated_anchor_tag = 0.00 s = .
> TestHtmlToPlainText#test_stripping_ignored_blocks = 0.00 s = .
> TestHtmlToPlainText#test_stripping_html = 0.00 s = .
> TestHtmlToPlainText#test_to_plain_text_with_fragment = 0.00 s = .
> TestHtmlToPlainText#test_links = 0.00 s = .
> TestHtmlToPlainText#test_links_within_headings = 0.00 s = .
> TestHtmlToPlainText#test_line_breaks = 0.00 s = .
> TestHtmlToPlainText#test_multiple_links_per_line = 0.00 s = .
> TestHtmlToPlainText#test_to_plain_text_with_body = 0.00 s = .
> TestHtmlToPlainText#test_to_plain_text_with_malformed_body = 0.00 s = .
> TestHtmlToPlainText#test_headings = 0.00 s = .
> TestHtmlToPlainText#test_lists = 0.00 s = .
> TestMisc#test_scripts_with_nokogiri = 0.00 s = .
> TestMisc#test_style_without_data_in_content = /<<PKGBUILDDIR>>/debian/ruby-premailer/usr/lib/ruby/vendor_ruby/premailer/adapter/nokogiri_fast.rb:69: warning: character class has duplicated range: /\[SPEC\=([\d]+)\[(.[^\]\]]*)\]\]/
> /<<PKGBUILDDIR>>/debian/ruby-premailer/usr/lib/ruby/vendor_ruby/premailer/adapter/nokogumbo.rb:39: warning: character class has duplicated range: /\A\#([\w_\-]+)\Z/
> /<<PKGBUILDDIR>>/debian/ruby-premailer/usr/lib/ruby/vendor_ruby/premailer/adapter/nokogumbo.rb:63: warning: character class has duplicated range: /\[SPEC\=([\d]+)\[(.[^\]\]]*)\]\]/
> 0.01 s = .
> TestMisc#test_multiple_identical_ids = 0.00 s = .
> TestMisc#test_unmergable_rules = 0.00 s = .
> TestMisc#test_handling_shorthand_auto_properties = 0.00 s = .
> TestMisc#test_unmergable_media_queries = 0.01 s = .
> TestMisc#test_commented_out_styles_in_the_body = 0.00 s = .
> TestMisc#test_not_applying_styles_to_the_head = 0.01 s = .
> TestMisc#test_preserve_original_style_attribute = 0.00 s = .
> TestMisc#test_styles_in_the_body = 0.00 s = .
> TestMisc#test_inline_important = 0.00 s = .
> TestMisc#test_unmergable_rules_with_no_body = 0.00 s = .
> TestMisc#test_drop_unmergable_rules = 0.00 s = .
> TestMisc#test_removing_scripts = 0.01 s = .
> TestMisc#test_ignoring_link_pseudo_selectors = 0.00 s = .
> TestMisc#test_style_with_data_in_content = 0.01 s = .
> TestMisc#test_parsing_bad_markup_around_tables = 0.00 s = .
> TestMisc#test_preserving_styles = 0.01 s = .
> TestMisc#test_strip_important_from_attributes = 0.01 s = .
> TestAdapter#test_default = 0.00 s = .
> TestAdapter#test_raises_argument_error = 0.00 s = .
> TestAdapter#test_adapters_are_findable_by_symbol = 0.00 s = .
> TestAdapter#test_settable_via_use = 0.00 s = .
> TestAdapter#test_adapters_are_findable_by_class = 0.00 s = .
> TestPremailer#test_empty_css_att = 0.00 s = .
> TestPremailer#test_advanced_selectors = 0.13 s = .
> TestPremailer#test_preserving_ignored_link_elements = 0.00 s = .
> TestPremailer#test_preserving_ignored_style_elements = 0.00 s = .
> TestPremailer#test_detecting_html = 0.21 s = .
> TestPremailer#test_carriage_returns_as_entities = 0.00 s = .
> TestPremailer#test_avoid_changing_css_to_attributes = 0.00 s = .
> TestPremailer#test_special_characters_nokogiri_remote = 0.01 s = F
> TestPremailer#test_htmlentities = 0.00 s = .
> TestPremailer#test_input_encoding = 0.00 s = .
> TestPremailer#test_initialize_can_accept_io_object = 0.00 s = .
> TestPremailer#test_importing_local_css = 0.20 s = .
> TestPremailer#test_local_remote_check = 0.00 s = .
> TestPremailer#test_reset_contenteditable = 0.00 s = .
> TestPremailer#test_detecting_xhtml = 0.01 s = .
> TestPremailer#test_include_link_tags_option = 0.06 s = .
> TestPremailer#test_importing_remote_css = 0.18 s = .
> TestPremailer#test_premailer_related_attributes = 0.00 s = .
> TestPremailer#test_special_characters_nokogiri = 0.00 s = F
> TestPremailer#test_empty_html_nokogiri = 0.00 s = .
> TestPremailer#test_mailtos_with_query_strings = 0.01 s = .
> TestPremailer#test_meta_encoding_downcase = 0.00 s = .
> TestPremailer#test_remove_ids = 0.01 s = .
> TestPremailer#test_initialize_can_accept_html_string = 0.00 s = .
> TestPremailer#test_include_style_tags_option = 0.10 s = .
> TestPremailer#test_line_starting_with_uri_in_html_with_linked_css = 0.00 s = .
> TestPremailer#test_output_encoding = 0.00 s = .
> TestPremailer#test_detecting_plain_text = 0.01 s = .
> TestPremailer#test_meta_encoding_upcase = 0.00 s = .
> TestPremailer#test_importing_css_as_string = 0.00 s = .
> TestPremailer#test_initialize_no_escape_attributes_option = 0.00 s = .
> TestPremailer#test_css_to_attributes = 0.00 s = .
> TestPremailer#test_rgb_color = 0.00 s = .
> TestPremailer#test_non_self_closing_html_tags = 0.01 s = .
> TestPremailer#test_self_closing_xhtml_tags = 0.01 s = .
> TestPremailer#test_non_rgb_color = 0.00 s = .
> TestLinks#test_preserving_links = 0.00 s = .
> TestLinks#test_resolving_urls_from_uri = 0.00 s = .
> TestLinks#test_unescape_ampersand = 0.00 s = .
> TestLinks#test_appending_link_query_string = 0.00 s = .
> TestLinks#test_resolving_urls_from_html_string = 0.00 s = .
> TestLinks#test_convertable_inline_links = 0.00 s = .
> TestLinks#test_empty_query_string = 0.00 s = .
> TestLinks#test_non_convertable_inline_links = 0.00 s = .
> TestLinks#test_resolving_urls_in_doc = 0.01 s = .
> TestLinks#test_resolving_urls_from_string = 0.00 s = .
> TestLinks#test_stripping_extra_question_marks_from_query_string = 0.00 s = .
> 
> Finished in 1.218185s, 75.5222 runs/s, 351.3424 assertions/s.
> 
>   1) Failure:
> TestPremailer#test_special_characters_nokogiri_remote [/<<PKGBUILDDIR>>/test/test_premailer.rb:16]:
> Minitest::Assertion: --- expected
> +++ actual
> @@ -1 +1,3 @@
> -"cédille cé & garçon garçon à à   & ©"
> +# encoding: ISO-8859-1
> +#    valid: true
> +"c\xC3\xA9dille c\xE9 & gar\xC3\xA7on gar\xE7on \xC3\xA0 \xE0 \xA0 & \xA9"
> 
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/assertions.rb:183:in `assert'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/assertions.rb:218:in `assert_equal'
>     /<<PKGBUILDDIR>>/test/test_premailer.rb:16:in `test_special_characters_nokogiri_remote'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:98:in `block (3 levels) in run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:195:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/maxitest/trap.rb:4:in `capture_exceptions'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:95:in `block (2 levels) in run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:281:in `time_it'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:94:in `block in run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:376:in `on_signal'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:221:in `with_info_handler'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:93:in `run'
>     /usr/lib/ruby/vendor_ruby/maxitest/vendor/around.rb:47:in `run'
>     /usr/lib/ruby/vendor_ruby/maxitest/trap.rb:23:in `run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:1042:in `run_one_method'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:350:in `run_one_method'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:337:in `block (2 levels) in run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:336:in `each'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:336:in `block in run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:376:in `on_signal'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:363:in `with_info_handler'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:335:in `run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:169:in `block in __run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:169:in `map'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:169:in `__run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:146:in `run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:73:in `block in autorun'
> 
>   2) Failure:
> TestPremailer#test_special_characters_nokogiri [/<<PKGBUILDDIR>>/test/test_premailer.rb:10]:
> Minitest::Assertion: --- expected
> +++ actual
> @@ -1 +1,3 @@
> -"cédille cé & garçon garçon à à   & ©"
> +# encoding: ISO-8859-1
> +#    valid: true
> +"c\xC3\xA9dille c\xE9 & gar\xC3\xA7on gar\xE7on \xC3\xA0 \xE0 \xA0 & \xA9"
> 
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/assertions.rb:183:in `assert'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/assertions.rb:218:in `assert_equal'
>     /<<PKGBUILDDIR>>/test/test_premailer.rb:10:in `test_special_characters_nokogiri'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:98:in `block (3 levels) in run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:195:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/maxitest/trap.rb:4:in `capture_exceptions'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:95:in `block (2 levels) in run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:281:in `time_it'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:94:in `block in run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:376:in `on_signal'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:221:in `with_info_handler'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/test.rb:93:in `run'
>     /usr/lib/ruby/vendor_ruby/maxitest/vendor/around.rb:47:in `run'
>     /usr/lib/ruby/vendor_ruby/maxitest/trap.rb:23:in `run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:1042:in `run_one_method'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:350:in `run_one_method'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:337:in `block (2 levels) in run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:336:in `each'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:336:in `block in run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:376:in `on_signal'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:363:in `with_info_handler'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:335:in `run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:169:in `block in __run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:169:in `map'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:169:in `__run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:146:in `run'
>     /usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:73:in `block in autorun'
> 
> 92 runs, 428 assertions, 2 failures, 0 errors, 0 skips
> 
> Focus on failing tests:
> mtest test/test_premailer.rb:13
> mtest test/test_premailer.rb:6
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/test_adapter.rb" "test/test_html_to_plain_text.rb" "test/test_links.rb" "test/test_misc.rb" "test/test_premailer.rb" "test/test_warnings.rb"  -v]
> /usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
> Tasks: TOP => default
> (See full trace by running task with --trace)
> mv ./.gem2deb.Gemfile.lock Gemfile.lock
> ERROR: Test "ruby3.1" failed.


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/ruby-premailer_1.22.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



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