[DRE-maint] Bug#996235: ruby-gitlab-fog-azure-rm: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: ArgumentError: tried to create Proc object without a block

Antonio Terceiro terceiro at debian.org
Tue Oct 12 13:23:00 BST 2021


Source: ruby-gitlab-fog-azure-rm
Version: 1.1.1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-gitlab-fog-azure-rm was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> ArgumentError: tried to create Proc object without a block
>     /<<PKGBUILDDIR>>/lib/fog/azurerm/requests/storage/get_blob.rb:125:in `new'
>     /<<PKGBUILDDIR>>/lib/fog/azurerm/requests/storage/get_blob.rb:125:in `get_blob'
>     /<<PKGBUILDDIR>>/test/requests/storage/test_get_blob.rb:136:in `test_get_blob_with_block_given_mock'
>     /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'
> 
> 209 runs, 328 assertions, 0 failures, 4 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb "test/models/storage/test_directories.rb" "test/models/storage/test_directory.rb" "test/models/storage/test_file.rb" "test/models/storage/test_files.rb" "test/requests/storage/test_acquire_blob_lease.rb" "test/requests/storage/test_acquire_container_lease.rb" "test/requests/storage/test_check_container_exists.rb" "test/requests/storage/test_commit_blob_blocks.rb" "test/requests/storage/test_compare_container_blobs.rb" "test/requests/storage/test_copy_blob.rb" "test/requests/storage/test_copy_blob_from_uri.rb" "test/requests/storage/test_create_block_blob.rb" "test/requests/storage/test_create_container.rb" "test/requests/storage/test_create_page_blob.rb" "test/requests/storage/test_delete_blob.rb" "test/requests/storage/test_delete_blob_https_url.rb" "test/requests/storage/test_delete_container.rb" "test/requests/storage/test_get_blob.rb" "test/requests/storage/test_get_blob_http_url.rb" "test/requests/storage/test_get_blob_https_url.rb" "test/requests/storage/test_get_blob_properties.rb" "test/requests/storage/test_get_blob_url.rb" "test/requests/storage/test_get_container_acl.rb" "test/requests/storage/test_get_container_properties.rb" "test/requests/storage/test_get_container_url.rb" "test/requests/storage/test_list_blobs.rb" "test/requests/storage/test_list_containers.rb" "test/requests/storage/test_put_blob_block.rb" "test/requests/storage/test_put_blob_https_url.rb" "test/requests/storage/test_put_blob_metadata.rb" "test/requests/storage/test_put_blob_pages.rb" "test/requests/storage/test_put_blob_properties.rb" "test/requests/storage/test_put_container_acl.rb" "test/requests/storage/test_put_container_metadata.rb" "test/requests/storage/test_release_blob_lease.rb" "test/requests/storage/test_release_container_lease.rb" "test/requests/storage/test_save_page_blob.rb" "test/requests/storage/test_wait_blob_copy_operation_to_finish.rb" "test/test_credentials.rb" "test/test_helper.rb" -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-gitlab-fog-azure-rm/ruby-gitlab-fog-azure-rm_1.1.1-2+rebuild1633381151_amd64.build.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211012/470a32ab/attachment.sig>


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