[DRE-maint] Bug#882718: ruby-multi-xml FTBFS: test failure

Adrian Bunk bunk at debian.org
Sat Nov 25 23:57:17 UTC 2017


Source: ruby-multi-xml
Version: 0.5.5-2
Severity: serious
Tags: buster sid

Some recent change in unstable makes ruby-multi-xml FTBFS:

https://tests.reproducible-builds.org/debian/history/ruby-multi-xml.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-multi-xml.html

...
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/build/1st/ruby-multi-xml-0.5.5/debian/ruby-multi-xml/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-multi-xml/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 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb
......Fatal error: Opening and ending tag mismatch: open line 1 and close at :1.
......................................................................................................................................................................................................................................................................................F...........................................

Failures:

  1) MultiXml Ox parser behaves like a parser .parse a valid XML document with an attribute type="yaml" returns the correctly parsed YAML when the type is allowed
     Failure/Error: expect(MultiXml.parse(@xml, :disallowed_types => [])['tag']).to eq({:message => "Have a nice day", 1 => "returns an integer", "array" => [{"has-dashes" => true, "has_underscores" => true}]})

       expected: {:message=>"Have a nice day", 1=>"returns an integer", "array"=>[{"has-dashes"=>true, "has_underscores"=>true}]}
            got: "--- 1: returns an integer :message: Have a nice day array: - has-dashes: true has_underscores: true "

       (compared using ==)

       Diff:
       @@ -1,4 +1,2 @@
       -"array" => [{"has-dashes"=>true, "has_underscores"=>true}],
       -1 => "returns an integer",
       -:message => "Have a nice day",
       +"--- 1: returns an integer :message: Have a nice day array: - has-dashes: true has_underscores: true "
     Shared Example Group: "a parser" called from ./spec/multi_xml_spec.rb:37
     # ./spec/parser_shared_example.rb:320:in `block (5 levels) in <top (required)>'

Finished in 0.35634 seconds (files took 0.89699 seconds to load)
328 examples, 1 failure

Failed examples:

rspec ./spec/multi_xml_spec.rb[1:5:1:1:4:18:2] # MultiXml Ox parser behaves like a parser .parse a valid XML document with an attribute type="yaml" returns the correctly parsed YAML when the type is allowed

/usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-multi-xml-0.5.5/debian/ruby-multi-xml returned exit code 1
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 1


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