[DRE-maint] Bug#952038: nanoc: FTBFS: ERROR: Test "ruby2.5" failed: Failure/Error: it { is_expected.to eql output }

Lucas Nussbaum lucas at debian.org
Sun Feb 23 07:42:09 GMT 2020


Source: nanoc
Version: 4.11.0-3
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

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

Relevant part (hopefully):
>      Failure/Error: it { is_expected.to eql output }
> 
>        expected: "before\n<pre><code class=\"language-ruby\"><table class=\"rouge-table\"><tbody><tr>\n<td class=\"rou...>foo</span>\n  <span class=\"k\">end</span></pre></td>\n</tr></tbody></table></code></pre>\nafter\n"
>             got: "before\n<pre><code class=\"language-ruby\"><table class=\"rouge-table\"><tbody><tr>\n<td class=\"rou...oo</span>\n  <span class=\"k\">end</span>\n</pre></td>\n</tr></tbody></table></code></pre>\nafter\n"
> 
>        (compared using eql?)
> 
>        Diff:
>        @@ -4,7 +4,8 @@
>         2
>         </pre></td>
>         <td class="rouge-code"><pre>  <span class="k">def</span> <span class="nf">foo</span>
>        -  <span class="k">end</span></pre></td>
>        +  <span class="k">end</span>
>        +</pre></td>
>         </tr></tbody></table></code></pre>
>         after
>      # ./nanoc/spec/nanoc/filters/colorize_syntax/rouge_spec.rb:151:in `block (5 levels) in <top (required)>'
>      # ./common/spec/spec_helper_foot.rb:27:in `block (4 levels) in <top (required)>'
>      # ./debian/nanoc/usr/share/rubygems-integration/all/gems/nanoc-4.11.0/lib/nanoc/spec.rb:10:in `chdir'
>      # ./common/spec/spec_helper_foot.rb:27:in `block (3 levels) in <top (required)>'
>      # ./common/spec/spec_helper_foot.rb:26:in `block (2 levels) in <top (required)>'
>      # ./common/spec/spec_helper_foot.rb:16:in `block (2 levels) in <top (required)>'
> 
> Finished in 40.95 seconds (files took 1.31 seconds to load)
> 2716 examples, 4 failures, 7 pending
> 
> Failed examples:
> 
> rspec ./nanoc/spec/nanoc/cli/commands/check_spec.rb:13 # Nanoc::CLI::Commands::Check#run without options and arguments no issues for any checks succeeds
> rspec ./nanoc/spec/nanoc/cli/commands/check_spec.rb:24 # Nanoc::CLI::Commands::Check#run without options and arguments issues for deploy check fails
> rspec ./nanoc/spec/nanoc/filters/colorize_syntax/rouge_spec.rb:72 # Nanoc::Filters::ColorizeSyntax with Rouge with legacy with line number is expected to eql "before\n<pre><code class=\"language-ruby\"><table class=\"rouge-table\"><tbody><tr>\n<td class=\"rou...>foo</span>\n  <span class=\"k\">end</span></pre></td>\n</tr></tbody></table></code></pre>\nafter\n"
> rspec ./nanoc/spec/nanoc/filters/colorize_syntax/rouge_spec.rb:151 # Nanoc::Filters::ColorizeSyntax with Rouge with formater with table is expected to eql "before\n<pre><code class=\"language-ruby\"><table class=\"rouge-table\"><tbody><tr>\n<td class=\"rou...>foo</span>\n  <span class=\"k\">end</span></pre></td>\n</tr></tbody></table></code></pre>\nafter\n"
> 
> /usr/bin/ruby2.5 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./nanoc/spec/\*\*/\*_spec.rb  --exclude-pattern ./nanoc/spec/nanoc/\{filters/less_spec.rb,cli/commands/view_spec.rb\} -r ./nanoc/spec/spec_helper.rb --color failed
> ERROR: Test "ruby2.5" failed: 

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/nanoc_4.11.0-3_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