[DRE-maint] Bug#880276: ruby-encryptor: FTBFS: ERROR: Test "ruby2.3" failed: Invalid gemspec in [encryptor.gemspec]: No such file or directory - git

Lucas Nussbaum lucas at debian.org
Mon Oct 30 20:07:27 UTC 2017


Source: ruby-encryptor
Version: 3.0.0-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20171030 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> Invalid gemspec in [encryptor.gemspec]: No such file or directory - git
> GEM_PATH=debian/ruby-encryptor/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 -e gem\ \"encryptor\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-encryptor/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-encryptor/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 -w -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/compatibility_test.rb" "test/encryptor_string_test.rb" "test/encryptor_test.rb" "test/legacy_encryptor_string_test.rb" "test/legacy_encryptor_test.rb" -v
> OpenSSL Version: OpenSSL 1.0.2l  25 May 2017
> Invalid command 'list-cipher-commands'; type "help" for a list.
> /<<PKGBUILDDIR>>/test/encryptor_string_test.rb:10: warning: assigned but unused variable - auth_data
> /<<PKGBUILDDIR>>/test/encryptor_string_test.rb:11: warning: assigned but unused variable - wrong_auth_tag
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:84: warning: method redefined; discarding old test_should_use_iv_to_initialize_encryption
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:84: warning: previous definition of test_should_use_iv_to_initialize_encryption was here
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:92: warning: method redefined; discarding old test_should_use_the_default_authentication_data_if_it_is_not_specified
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:92: warning: previous definition of test_should_use_the_default_authentication_data_if_it_is_not_specified was here
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:100: warning: method redefined; discarding old test_should_use_authentication_data_if_it_is_specified
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:100: warning: previous definition of test_should_use_authentication_data_if_it_is_specified was here
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:84: warning: method redefined; discarding old test_should_use_iv_to_initialize_encryption
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:84: warning: previous definition of test_should_use_iv_to_initialize_encryption was here
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:92: warning: method redefined; discarding old test_should_use_the_default_authentication_data_if_it_is_not_specified
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:92: warning: previous definition of test_should_use_the_default_authentication_data_if_it_is_not_specified was here
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:100: warning: method redefined; discarding old test_should_use_authentication_data_if_it_is_specified
> /<<PKGBUILDDIR>>/test/encryptor_test.rb:100: warning: previous definition of test_should_use_authentication_data_if_it_is_specified was here
> Run options: -v --seed 47501
> 
> # Running:
> 
> EncryptorTest#test_should_raise_argument_error_if_key_is_not_specified = 0.00 s = .
> EncryptorTest#test_should_use_the_default_authentication_data_if_it_is_not_specified = 0.01 s = .
> EncryptorTest#test_should_use_authentication_data_if_it_is_specified = 0.01 s = .
> EncryptorTest#test_should_use_the_default_algorithm_if_one_is_not_specified = 0.01 s = .
> EncryptorTest#test_should_use_iv_to_initialize_encryption = 0.01 s = .
> EncryptorTest#test_should_yield_block_with_cipher_and_options = 0.00 s = .
> EncryptorTest#test_should_raise_argument_error_if_iv_is_not_specified = 0.00 s = .
> EncryptorTest#test_should_raise_argument_error_if_key_is_too_short = 0.00 s = .
> EncryptorTest#test_should_have_a_default_algorithm = 0.00 s = .
> EncryptorTest#test_should_raise_argument_error_if_iv_is_too_short = 0.00 s = .
> LegacyEncryptorTest#test_should_raise_argument_error_if_key_is_not_specified = 0.00 s = .
> LegacyEncryptorTest#test_should_use_the_default_algorithm_if_one_is_not_specified = 0.00 s = .
> LegacyEncryptorTest#test_should_yield_block_with_cipher_and_options = 0.00 s = .
> LegacyEncryptorTest#test_should_have_a_default_algorithm = 0.00 s = .
> CompatibilityTest#test_encrypt_with_iv = 0.00 s = .
> CompatibilityTest#test_ciphertext_encrypted_with_v2_decrypts_with_v2_gcm_iv_option = 0.00 s = E
> CompatibilityTest#test_decrypt_without_iv = 0.00 s = .
> CompatibilityTest#test_encrypt_with_iv_and_salt = 0.00 s = .
> CompatibilityTest#test_encrypt_without_iv = 0.00 s = .
> CompatibilityTest#test_decrypt_with_iv_and_salt = 0.00 s = .
> CompatibilityTest#test_ciphertext_encrypted_with_v2_does_not_decrypt_without_v2_gcm_iv_option = 0.00 s = .
> CompatibilityTest#test_decrypt_with_iv = 0.00 s = .
> 
> Finished in 0.051692s, 425.6001 runs/s, 696.4365 assertions/s.
> 
>   1) Error:
> CompatibilityTest#test_ciphertext_encrypted_with_v2_decrypts_with_v2_gcm_iv_option:
> OpenSSL::Cipher::CipherError: 
>     /<<PKGBUILDDIR>>/lib/encryptor.rb:98:in `final'
>     /<<PKGBUILDDIR>>/lib/encryptor.rb:98:in `crypt'
>     /<<PKGBUILDDIR>>/lib/encryptor.rb:49:in `decrypt'
>     /<<PKGBUILDDIR>>/test/compatibility_test.rb:98:in `test_ciphertext_encrypted_with_v2_decrypts_with_v2_gcm_iv_option'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:107:in `block (3 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:204:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:255:in `time_it'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:350:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:275:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:102:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:839:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:311:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `each'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:350:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:337:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `block in __run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `map'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `__run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:136:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:63:in `block in autorun'
> 
> 22 runs, 36 assertions, 0 failures, 1 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/compatibility_test.rb" "test/encryptor_string_test.rb" "test/encryptor_test.rb" "test/legacy_encryptor_string_test.rb" "test/legacy_encryptor_test.rb" -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby2.3" failed: 

The full build log is available from:
   http://aws-logs.debian.net/2017/10/30/ruby-encryptor_3.0.0-1_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