[DRE-maint] Bug#846115: jekyll: FTBFS randomly (failing tests)

Santiago Vila sanvila at unex.es
Mon Nov 28 14:55:37 UTC 2016


Package: src:jekyll
Version: 3.1.6+dfsg-3
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
   dh_testdir -i -O--buildsystem=ruby
   dh_update_autotools_config -i -O--buildsystem=ruby
   dh_auto_configure -i -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -i -O--buildsystem=ruby
	dh_ruby --build
   dh_ruby --build
   dh_auto_test -i -O--buildsystem=ruby
	dh_ruby --test
 fakeroot debian/rules binary-indep
dh binary-indep --buildsystem=ruby --with ruby

[... snipped ...]

install -D -m644 /<<BUILDDIR>>/jekyll-3.1.6+dfsg/lib/jekyll.rb /<<BUILDDIR>>/jekyll-3.1.6+dfsg/debian/jekyll/usr/lib/ruby/vendor_ruby/jekyll.rb
Rewriting shebang line of /<<BUILDDIR>>/jekyll-3.1.6+dfsg/debian/jekyll/usr/bin/jekyll

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??? Install Rubygems integration metadata                                        ???
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

generating gemspec at /<<BUILDDIR>>/jekyll-3.1.6+dfsg/debian/jekyll/usr/share/rubygems-integration/all/specifications/jekyll-3.1.6.gemspec
/usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??? Run tests for ruby2.3 from debian/ruby-tests.rake                            ???
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

RUBYLIB=/<<BUILDDIR>>/jekyll-3.1.6+dfsg/debian/jekyll/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/jekyll/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 -I"lib:lib:test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_ansi.rb" "test/test_cleaner.rb" "test/test_coffeescript.rb" "test/test_collections.rb" "test/test_command.rb" "test/test_commands_serve.rb" "test/test_configuration.rb" "test/test_doctor_command.rb" "test/test_document.rb" "test/test_entry_filter.rb" "test/test_excerpt.rb" "test/test_excerpt_drop.rb" "test/test_filters.rb" "test/test_front_matter_defaults.rb" "test/test_generated_site.rb" "test/test_kramdown.rb" "test/test_layout_reader.rb" "test/test_liquid_extensions.rb" "test/test_liquid_renderer.rb" "test/test_log_adapter.rb" "test/test_new_command.rb" "test/test_page.rb" "test/test_path_sanitization.rb" "test/test_rdiscount.rb" "test/test_redcarpet.rb" "test/test_regenerator.rb" "test/test_related_posts.rb" "test/test_sass.rb" "test/test_site.rb" "test/test_static_file.rb" "test/test_url.rb" "test/test_utils.rb" 

# Running tests with run options --seed 10450:

........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.....................

Finished tests in 49.096756s, 10.7135 tests/s, 17.2313 assertions/s.


Failure:
TestSite#test_: configuring sites should have an array for plugins by default.  [/<<BUILDDIR>>/jekyll-3.1.6+dfsg/test/test_site.rb:7]
Minitest::Assertion: --- expected
+++ actual
@@ -1 +1 @@
-["/<<BUILDDIR>>/jekyll-3.1.6+dfsg/_plugins"]
+["/<<BUILDDIR>>/jekyll-3.1.6+dfsg/test/source/_plugins"]

526 tests, 846 assertions, 1 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /<<BUILDDIR>>/jekyll-3.1.6+dfsg/coverage. 2483 / 2873 LOC (86.43%) covered.
rake aborted!
Command failed with status (1): [ruby -I"lib:lib:test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_ansi.rb" "test/test_cleaner.rb" "test/test_coffeescript.rb" "test/test_collections.rb" "test/test_command.rb" "test/test_commands_serve.rb" "test/test_configuration.rb" "test/test_doctor_command.rb" "test/test_document.rb" "test/test_entry_filter.rb" "test/test_excerpt.rb" "test/test_excerpt_drop.rb" "test/test_filters.rb" "test/test_front_matter_defaults.rb" "test/test_generated_site.rb" "test/test_kramdown.rb" "test/test_layout_reader.rb" "test/test_liquid_extensions.rb" "test/test_liquid_renderer.rb" "test/test_log_adapter.rb" "test/test_new_command.rb" "test/test_page.rb" "test/test_path_sanitization.rb" "test/test_rdiscount.rb" "test/test_redcarpet.rb" "test/test_regenerator.rb" "test/test_related_posts.rb" "test/test_sass.rb" "test/test_site.rb" "test/test_static_file.rb" "test/test_url.rb" "test/test_utils.rb" ]

Tasks: TOP => default => test
(See full trace by running task with --trace)
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install /<<BUILDDIR>>/jekyll-3.1.6+dfsg/debian/jekyll returned exit code 1
debian/rules:18: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/jekyll-3.1.6+dfsg'
debian/rules:15: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

The failure happens randomly. Sometimes it fails, sometimes it does not.

I'm attaching several build logs, made on different autobuilders.

If (after trying a lot of times) you could not reproduce this using
sbuild on a single CPU virtual machine (as I did), please do not
downgrade or mark as unreproducible, I would then consider giving you
access to a virtual machine on which I can reproduce it so that you
can as well. (In such case, please contact me off-list for details).

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jekyll_3.1.6+dfsg-3_amd64-20161124T234558Z.gz
Type: application/gzip
Size: 14229 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161128/b68144bb/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jekyll_3.1.6+dfsg-3_amd64-20161126T120706Z.gz
Type: application/gzip
Size: 14203 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161128/b68144bb/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jekyll_3.1.6+dfsg-3_amd64-20161128T135934Z.gz
Type: application/gzip
Size: 14252 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161128/b68144bb/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jekyll_3.1.6+dfsg-3_amd64-20161128T140412Z.gz
Type: application/gzip
Size: 14251 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161128/b68144bb/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jekyll_3.1.6+dfsg-3_amd64-20161128T140436Z.gz
Type: application/gzip
Size: 14249 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161128/b68144bb/attachment-0009.bin>


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