[DRE-maint] Bug#987650: ruby-rugged requires internet access during the build

Adrian Bunk bunk at debian.org
Mon Apr 26 23:59:47 BST 2021


Source: ruby-rugged
Version: 1.1.0+ds-3
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/ruby-rugged.html

...
  1) Error:
OnlineLsTest#test_ls_over_https:
Rugged::NetworkError: failed to resolve address for github.com: Temporary failure in name resolution
    /build/ruby-rugged-1.1.0+ds/test/online/ls_test.rb:22:in `ls'
    /build/ruby-rugged-1.1.0+ds/test/online/ls_test.rb:22:in `each'
    /build/ruby-rugged-1.1.0+ds/test/online/ls_test.rb:22:in `to_a'
    /build/ruby-rugged-1.1.0+ds/test/online/ls_test.rb:22:in `test_ls_over_https'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
    /usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
    /usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
    /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
    /usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
    /usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
    /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'

  2) Error:
OnlineFetchTest#test_fetch_over_https:
Rugged::NetworkError: failed to resolve address for github.com: Temporary failure in name resolution
    /build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in `fetch'
    /build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in `fetch'
    /build/ruby-rugged-1.1.0+ds/test/online/fetch_test.rb:20:in `test_fetch_over_https'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
    /usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
    /usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
    /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
    /usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
    /usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
    /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'

  3) Error:
OnlineFetchTest#test_fetch_over_https_with_certificate_callback:
Rugged::NetworkError: failed to resolve address for github.com: Temporary failure in name resolution
    /build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in `fetch'
    /build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in `fetch'
    /build/ruby-rugged-1.1.0+ds/test/online/fetch_test.rb:36:in `test_fetch_over_https_with_certificate_callback'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
    /usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
    /usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
    /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
    /usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
    /usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
    /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'

  4) Failure:
OnlineFetchTest#test_fetch_over_https_with_certificate_callback_exception [/build/ruby-rugged-1.1.0+ds/test/online/fetch_test.rb:64]:
[RuntimeError] exception expected, not
Class: <Rugged::NetworkError>
Message: <"failed to resolve address for github.com: Temporary failure in name resolution">
---Backtrace---
/build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in `fetch'
/build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in `fetch'
/build/ruby-rugged-1.1.0+ds/test/online/fetch_test.rb:65:in `block in test_fetch_over_https_with_certificate_callback_exception'
/usr/lib/ruby/vendor_ruby/minitest/assertions.rb:398:in `assert_raises'
/build/ruby-rugged-1.1.0+ds/test/online/fetch_test.rb:64:in `test_fetch_over_https_with_certificate_callback_exception'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
/usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'
---------------

  5) Failure:
OnlineFetchTest#test_fetch_over_https_with_certificate_callback_fail [/build/ruby-rugged-1.1.0+ds/test/online/fetch_test.rb:51]:
[Rugged::HTTPError] exception expected, not
Class: <Rugged::NetworkError>
Message: <"failed to resolve address for github.com: Temporary failure in name resolution">
---Backtrace---
/build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in `fetch'
/build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in `fetch'
/build/ruby-rugged-1.1.0+ds/test/online/fetch_test.rb:52:in `block in test_fetch_over_https_with_certificate_callback_fail'
/usr/lib/ruby/vendor_ruby/minitest/assertions.rb:398:in `assert_raises'
/build/ruby-rugged-1.1.0+ds/test/online/fetch_test.rb:51:in `test_fetch_over_https_with_certificate_callback_fail'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
/usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'
---------------

508 runs, 2242 assertions, 2 failures, 3 errors, 0 skips
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install /build/ruby-rugged-1.1.0\+ds/debian/ruby-rugged returned exit code 1
make: *** [debian/rules:8: binary] Error 25



The Ubuntu diff seems to contain a patch.



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