Your message dated Wed, 05 Mar 2025 09:49:53 +0000
with message-id <e1tplnx-006iso...@fasolo.debian.org>
and subject line Bug#1093926: fixed in ruby-rails-html-sanitizer 1.6.2-1
has caused the Debian Bug report #1093926,
regarding ruby-rails-html-sanitizer: FTBFS: NoMethodError: undefined method 
`html_document_fragment' for Rails::Dom::Testing:Module
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1093926: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093926
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:ruby-rails-html-sanitizer
Version: 1.4.4-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=ruby --with ruby
   dh_auto_clean -O--buildsystem=ruby
        dh_ruby --clean
   dh_autoreconf_clean -O--buildsystem=ruby
   dh_clean -O--buildsystem=ruby
 debian/rules binary
dh binary --buildsystem=ruby --with ruby
   dh_update_autotools_config -O--buildsystem=ruby
   dh_autoreconf -O--buildsystem=ruby
   dh_auto_configure -O--buildsystem=ruby
        dh_ruby --configure
   dh_auto_build -O--buildsystem=ruby
        dh_ruby --build

[... snipped ...]

    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_allow_colons_in_path_component = 0.00 s = E


Error:
SanitizersTest#test_allow_colons_in_path_component:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:215:in 
`test_allow_colons_in_path_component'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:214

SanitizersTest#test_should_allow_code_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_code_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_header_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_header_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_feimage_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_feimage_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_polyline_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_polyline_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_hkern_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_hkern_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_span_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_span_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_img_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_img_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_h3_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_h3_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_tt_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_tt_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_not_fall_for_xss_image_hack_<IMG 
SRC=javascript:alert('XSS')> = 0.00 s = E


Error:
SanitizersTest#test_should_not_fall_for_xss_image_hack_<IMG 
SRC=javascript:alert('XSS')>:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:356:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:355

SanitizersTest#test_should_allow_mfenced_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_mfenced_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_sanitize_script_tag_with_multiple_open_brackets = 
0.00 s = E


Error:
SanitizersTest#test_should_sanitize_script_tag_with_multiple_open_brackets:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:369:in 
`test_should_sanitize_script_tag_with_multiple_open_brackets'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:368

SanitizersTest#test_combination_of_svg_and_style_with_script_payload = 0.00 s = 
.
SanitizersTest#test_should_allow_article_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_article_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_mtext_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_mtext_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_clippath_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_clippath_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_x03a_handling_2 = 0.00 s = E


Error:
SanitizersTest#test_x03a_handling_2:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:486:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:485

SanitizersTest#test_sanitizer_sanitize_raises_not_implemented_error = 0.00 s = .
SanitizersTest#test_should_allow_rect_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_rect_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_s_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_s_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_legend_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_legend_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_combination_of_select_and_style_with_script_payload = 0.00 
s = .
SanitizersTest#test_should_allow_datalist_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_datalist_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_cursor_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_cursor_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_allow_pattern_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_pattern_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

SanitizersTest#test_should_not_fall_for_xss_image_hack_<IMG 
SRC=javascript:alert(String.fromCharCode(88,83,83))> = 0.00 s = E


Error:
SanitizersTest#test_should_not_fall_for_xss_image_hack_<IMG 
SRC=javascript:alert(String.fromCharCode(88,83,83))>:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:356:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:355

SanitizersTest#test_should_sanitize_invalid_script_tag = 0.00 s = E


Error:
SanitizersTest#test_should_sanitize_invalid_script_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:365:in 
`test_should_sanitize_invalid_script_tag'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:364

SanitizersTest#test_should_allow_video_tag = 0.00 s = E


Error:
SanitizersTest#test_should_allow_video_tag:
NoMethodError: undefined method `html_document_fragment' for 
Rails::Dom::Testing:Module

              Rails::Dom::Testing.html_document_fragment(html_version: 
html_version).parse(text)
                                 ^^^^^^^^^^^^^^^^^^^^^^^
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:134:in
 `fragment'
    
/usr/share/rubygems-integration/all/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/assertions/dom_assertions.rb:36:in
 `assert_dom_equal'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:724:in `assert_sanitized'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:195:in `block (3 levels) in 
<class:SanitizersTest>'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:737:in `scope_allowed_tags'
    /<<PKGBUILDDIR>>/test/sanitizer_test.rb:194:in `block (2 levels) in 
<class:SanitizersTest>'

rails test <<PKGBUILDDIR>>/test/sanitizer_test.rb:193

TextOnlyScrubberTest#test_removes_all_tags_and_keep_the_content = 0.00 s = .
TextOnlyScrubberTest#test_skips_text_nodes = 0.00 s = .
ReturningStopFromScrubNodeTest#test_returns_stop_from_scrub_if_scrub_node_does 
= 0.00 s = .

Finished in 0.662748s, 508.4891 runs/s, 205.2063 assertions/s.
337 runs, 136 assertions, 0 failures, 238 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w 
/usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb
 "test/sanitizer_test.rb" "test/scrubbers_test.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)
ERROR: Test "ruby3.1" failed. Exiting.
dh_auto_install: error: dh_ruby --install 
/<<PKGBUILDDIR>>/debian/ruby-rails-html-sanitizer returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202501/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-rails-html-sanitizer, so that this is 
still
visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: ruby-rails-html-sanitizer
Source-Version: 1.6.2-1
Done: Utkarsh Gupta <utka...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ruby-rails-html-sanitizer, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1093...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Utkarsh Gupta <utka...@debian.org> (supplier of updated 
ruby-rails-html-sanitizer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 05 Mar 2025 14:59:05 +0530
Source: ruby-rails-html-sanitizer
Built-For-Profiles: noudeb
Architecture: source
Version: 1.6.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Utkarsh Gupta <utka...@debian.org>
Closes: 1093926
Changes:
 ruby-rails-html-sanitizer (1.6.2-1) unstable; urgency=medium
 .
   * Re-upload to unstable. (Closes: #1093926)
Checksums-Sha1:
 9dfa4f65aa6232ea0210bb55d13fcef88e49d29e 2277 
ruby-rails-html-sanitizer_1.6.2-1.dsc
 6192f3d5525bdbd1076e3b666f3a008149b13100 23010 
ruby-rails-html-sanitizer_1.6.2.orig.tar.gz
 d176b63eb50f001a1597ca9ba346392acb0f02d0 4340 
ruby-rails-html-sanitizer_1.6.2-1.debian.tar.xz
 d05f00dcf1f40107b12c54dcef595cf3afb76a3c 14451 
ruby-rails-html-sanitizer_1.6.2-1_source.buildinfo
Checksums-Sha256:
 b3916c0791b4d3919a758f562987214163b1b8e635a248d969fb9b835f69d791 2277 
ruby-rails-html-sanitizer_1.6.2-1.dsc
 a0d263de52242628bfa3af9624a78768784014246083d44a0a50c4c6c16cf628 23010 
ruby-rails-html-sanitizer_1.6.2.orig.tar.gz
 b4047c43d974ee7aa2d73bc82a320ed7ba804282573f7cd2f3eefcc66d46b467 4340 
ruby-rails-html-sanitizer_1.6.2-1.debian.tar.xz
 314f6800ccb40dc37535bfbc9dfad856b6644ea41cde2c37b2e979f78b7c47be 14451 
ruby-rails-html-sanitizer_1.6.2-1_source.buildinfo
Files:
 62eb1c2e57bc9e2a98c5881d768cbe50 2277 ruby optional 
ruby-rails-html-sanitizer_1.6.2-1.dsc
 142ba8eef5c8b1fb32c22c4a66150b1c 23010 ruby optional 
ruby-rails-html-sanitizer_1.6.2.orig.tar.gz
 61951241d2b4eb20ede0d4f7a384a744 4340 ruby optional 
ruby-rails-html-sanitizer_1.6.2-1.debian.tar.xz
 5c9412233ac1c588dfc2da9d74c5d132 14451 ruby optional 
ruby-rails-html-sanitizer_1.6.2-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCAAxFiEEbJ0QSEqa5Mw4X3xxgj6WdgbDS5YFAmfIGaUTHHV0a2Fyc2hA
ZGViaWFuLm9yZwAKCRCCPpZ2BsNLls5YEACLbK5RMS3Moh8+uz12tyotUQWXpYL+
NV8AN5nxBZL0LOwfxCz53EJLZiyeXE5RTO9+rDxaLrQTtHk+NTFn5iq5zChkJieG
042SkjWm9dfxdMX5lX2xrUDT3hpqQtiLEqFrDl2YG34tjUIpo2ab9xs+q6OCWw6w
LZg1dc0JXhxA42fTEx1djBeh2gtD3M3srxeWM1u6ApDqtjq2Vwr2qEiJxEqERZ8C
0KyXDsxjz8Ow+iwd4NcVCgUnogVv4LxIbIon3K/ghOjGFcEtPajEnTWBYOCVGBJ9
PizgbYOL4RtcIPerA+7q/Z8/NAFKUvacaXkTGaDg0fU1MXNIGGOQc0bAkQS4CfbM
3p9H0vSI6lJZ5HKCGF/fBy0VEjhiE2I8m37GRN3SwG6hzLltmzmWnUvG/iiuIzyS
3WkS1tnXaCwbVbMtil1RBNcv+xvSpZlezU9DC6YtJpH7oqrdvcDgmEhbpD1ckRRG
X4W3LO3kcZAOe4oDLHTMF/sF+abrBzoqMs+vYpLi5E6n/Mcry7OP4I81TOsbA2rw
xxK4BglNIIKM3vOSdIe8avC/3CUaX8/oH4ALO6qWXLRFVrOhKLw0nqpeBdN4wr5s
7VcQwUt+1azqePmKBgKni+MPCKnnw9ZWTWHoLhvtev+IrZbMC5zWuOcB58BQAfNU
0PLDuQczILtzzA==
=akpn
-----END PGP SIGNATURE-----

Attachment: pgplhGJEorx8n.pgp
Description: PGP signature


--- End Message ---

Reply via email to