[Pkg-puppet-devel] Bug#996116: r10k: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: ArgumentError:
Antonio Terceiro
terceiro at debian.org
Mon Oct 11 13:40:34 BST 2021
Source: r10k
Version: 3.7.0-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, r10k 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:
> wrong number of arguments (given 2, expected 0..1)
> Shared Example Group: "a git working repository" called from ./spec/integration/git/rugged/working_repository_spec.rb:12
> # /usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in `fetch'
> # /usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in `fetch'
> # ./lib/r10k/git/rugged/working_repository.rb:96:in `block (2 levels) in fetch'
> # ./lib/r10k/git/rugged/base_repository.rb:67:in `with_repo'
> # ./lib/r10k/git/rugged/working_repository.rb:139:in `with_repo'
> # ./lib/r10k/git/rugged/working_repository.rb:96:in `block in fetch'
> # ./lib/r10k/git.rb:188:in `with_proxy'
> # ./lib/r10k/git/rugged/working_repository.rb:95:in `fetch'
> # ./spec/shared-examples/git/working_repository.rb:136:in `block (4 levels) in <top (required)>'
>
> Finished in 3.67 seconds (files took 0.61891 seconds to load)
> 784 examples, 24 failures, 3 pending
>
> Failed examples:
>
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:1:2:1]' # R10K::Git::Rugged::BareRepository behaves like a git repository listing tags lists all tags in alphabetical order
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:1:3:1]' # R10K::Git::Rugged::BareRepository behaves like a git repository resolving refs can resolve branches
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:1:3:2]' # R10K::Git::Rugged::BareRepository behaves like a git repository resolving refs can resolve tags
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:1:3:3]' # R10K::Git::Rugged::BareRepository behaves like a git repository resolving refs can resolve commits
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:1:3:4]' # R10K::Git::Rugged::BareRepository behaves like a git repository resolving refs returns nil when the object cannot be resolved
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:1:1]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository checking for the presence of the repo exists if the repo is present
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:2:1]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository cloning the repo creates the repo at the expected location
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:2:2:1]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository cloning the repo without a proxy does not change proxy ENV
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:2:3:1]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository cloning the repo with a proxy manages proxy-related ENV vars
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:3:1]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository updating the repo fetches objects from the remote
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:3:2:1]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository updating the repo without a proxy does not change proxy ENV
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:3:3:1]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository updating the repo with a proxy manages proxy-related ENV vars
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:4:1]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository listing branches lists all branches in alphabetical order
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:5:1]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository determining ref type can infer the type of a branch ref
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:5:2]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository determining ref type can infer the type of a tag ref
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:5:3]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository determining ref type can infer the type of a commit
> rspec './spec/integration/git/rugged/bare_repository_spec.rb[1:2:5:4]' # R10K::Git::Rugged::BareRepository behaves like a git bare repository determining ref type returns :unknown when the type cannot be inferred
> rspec './spec/integration/git/rugged/thin_repository_spec.rb[1:1:1:1]' # R10K::Git::Rugged::ThinRepository behaves like a git thin repository cloning creates a working copy of the repo
> rspec './spec/integration/git/rugged/thin_repository_spec.rb[1:1:1:2]' # R10K::Git::Rugged::ThinRepository behaves like a git thin repository cloning sets the remote origin url to the provided url
> rspec './spec/integration/git/rugged/thin_repository_spec.rb[1:1:1:3]' # R10K::Git::Rugged::ThinRepository behaves like a git thin repository cloning sets the remote cache url to the path to the cache repo
> rspec './spec/integration/git/rugged/thin_repository_spec.rb[1:1:1:4]' # R10K::Git::Rugged::ThinRepository behaves like a git thin repository cloning adds the cache repo to the alternates file
> rspec './spec/integration/git/rugged/working_repository_spec.rb[1:2:2:1]' # R10K::Git::Rugged::WorkingRepository behaves like a git working repository updating the repo fetches objects from the remote
> rspec './spec/integration/git/rugged/working_repository_spec.rb[1:2:2:2:1]' # R10K::Git::Rugged::WorkingRepository behaves like a git working repository updating the repo without a proxy does not change proxy ENV
> rspec './spec/integration/git/rugged/working_repository_spec.rb[1:2:2:3:1]' # R10K::Git::Rugged::WorkingRepository behaves like a git working repository updating the repo with a proxy manages proxy-related ENV vars
>
> /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --exclude-pattern ./spec/unit/forge/module_release_spec.rb failed
> ERROR: Test "ruby3.0" failed:
The build full is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/r10k/r10k_3.7.0-2+rebuild1633374645_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-puppet-devel/attachments/20211011/103e5100/attachment.sig>
More information about the Pkg-puppet-devel
mailing list