[DRE-maint] Bug#797101: tests fails with ruby 2.2 in new upstream release 3.3.2

Pirate Praveen praveen at debian.org
Thu Aug 27 19:35:31 UTC 2015


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

package: ruby-redcarpet

3 tests are failing with ruby 2.2 when trying to update to new
upstream release 3.3.2

/usr/bin/ruby2.2 /usr/bin/gem2deb-test-runner

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

RUBYLIB=/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-redcarpet/debian/ruby-redcarpet/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.2.0:/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-redcarpet/debian/ruby-redcarpet/usr/lib/ruby/vendor_ruby:.
rake2.2 -f debian/ruby-tests.rake
/usr/bin/ruby2.2 -I"lib:lib:test" -I"/usr/lib/ruby/vendor_ruby"
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/*_test.rb"
Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
Started
...........................................................................F
===============================================================================
Failure:
  </<mark>/> expected to be =~
  <"<p>A ==simple== fixture file -- with a <a
href=\"https://github.com\">link</a>.</p>\n">.
test_enabling_a_parse_option(RedcarpetBinTest)
/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-redcarpet/test/redcarpet_bin_test.rb:74:in
`assert_output'
/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-redcarpet/test/redcarpet_bin_test.rb:30:in
`test_enabling_a_parse_option'
     27:   def test_enabling_a_parse_option
     28:     run_bin("--parse", "highlight", @fixture_path)
     29:
  => 30:     assert_output "<mark>"
     31:     refute_output "=="
     32:   end
     33:
===============================================================================
F
===============================================================================
Failure:
  </\[link\]/> expected to be =~
  <"<p>A ==simple== fixture file -- with a <a
href=\"https://github.com\">link</a>.</p>\n">.
test_enabling_a_render_option(RedcarpetBinTest)
/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-redcarpet/test/redcarpet_bin_test.rb:74:in
`assert_output'
/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-redcarpet/test/redcarpet_bin_test.rb:37:in
`test_enabling_a_render_option'
     34:   def test_enabling_a_render_option
     35:     run_bin("--render", "no-links", @fixture_path)
     36:
  => 37:     assert_output "[link]"
     38:     refute_output "</a>"
     39:   end
     40:
===============================================================================
.F
===============================================================================
Failure:
  </<mark>/> expected to be =~
  <"<p>A ==simple== fixture file -- with a <a
href=\"https://github.com\">link</a>.</p>\n">.
test_legacy_option_parsing(RedcarpetBinTest)
/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-redcarpet/test/redcarpet_bin_test.rb:74:in
`assert_output'
/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-redcarpet/test/redcarpet_bin_test.rb:56:in
`test_legacy_option_parsing'
     53:   def test_legacy_option_parsing
     54:     run_bin("--parse-highlight", "--render-no-links",
@fixture_path)
     55:
  => 56:     assert_output "<mark>"
     57:     refute_output "=="
     58:
     59:     assert_output "[link]"
===============================================================================
...............................

Finished in 0.548919717 seconds.
- ------
110 tests, 157 assertions, 3 failures, 0 errors, 0 pendings, 0
omissions, 0 notifications
97.2727% passed
- ------
200.39 tests/s, 286.02 assertions/s
rake aborted!
Command failed with status (1): [ruby -I"lib:lib:test"
- -I"/usr/lib/ruby/vendor_ruby"
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/*_test.rb" ]

Tasks: TOP => default => test
(See full trace by running task with --trace)
ERROR: Test "ruby2.2" failed. Exiting.
dh_auto_install: dh_ruby --install
/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-redcarpet/debian/ruby-redcarpet
returned exit code 1
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
debuild: fatal error at line 1382:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
gbp:error: 'debuild -i -I -k0x4512c22a' failed: it exited with 29
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV32aDAAoJEM4fnGdFEsIq94UQAIBDWdOsN7TdxIl/LIrbVEqr
Hy24Dvlu8anm4fxbhHsjJOYhXIMzm/N4iXa+ukmgL7w1MlLYI8ukGH+LJA/6lB6H
vPt3c40W14eKULDWBzavdUBo/XsxII/5tn1eOVATYRNx2opLXYJzzWYzA69E3yon
T/7Khl6LCjE/rmbsxPfe5/KgX+HPDhUT55ZLBhhPZL8PFKpJxsRK49LQu3MiuQdS
jfhfIhvnYmQ705vIyNLbk5bq+2iWhPFhBRmVcFzI7okY/GMnXy9RfjrDvgNSjE7a
++HPp7XTAuk+Ttkmmvnf0dfda9n5F+asaCSS9jrQl84LwfnJG6f+aUWMEiWX7Dvw
v9U5TkzmHb2hIX6NhVU1maMqa0iNOqujo0fAZQJi0vEwBRffXX7USYcErObcqFpw
J8fQUbbaVvms0Zz4JsKV6EHaU2zC0Ex/5sSxLc8RwSXlfS2aGjZ8rlguVOndZlkP
9rpJm+UkOX8d+t6M1pxS+NZc/aBmkeaPqBdZVUez0lnlhoVBDYczFikJghDJSdzK
8aD8mVWgaDYx01PM5yZbhSoyeEzZbE5O7Kdj3jHnTI9jT0MR+o5aJNBTa5fFMH94
iRFI17T43cH1Z9aLzQ5AY/tQLuHiMG6+9XdIp52yXbKJOihvKTGHGE5WrElxRB/d
C+Fkr5qjML7BJIesept5
=wyt3
-----END PGP SIGNATURE-----



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