[DRE-maint] Bug#1027098: vagrant: FTBFS with ruby-rspec 3.12: ERROR: Test "ruby3.1" failed: [31mFailure/Error: expect(env).to receive(:[]=).with(:machine_ssh_info, host: "ADDRESS") [0m
Antonio Terceiro
terceiro at debian.org
Tue Dec 27 18:19:02 GMT 2022
Source: vagrant
Version: 2.2.19+dfsg-3
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby-rspec-3.12
Hi,
I'm about to upload ruby-rspec 3.12. During a test rebuild with that version,
vagrant failed to build.
Relevant part of the build log (hopefully):
> [31mFailure/Error: expect(env).to receive(:[]=).with(:machine_ssh_info, host: "ADDRESS")[0m
> [31m[0m
> [31m {:ui=>#<Vagrant::UI::Silent:0x00007f54ca10bf78 @logger=#<Log4r::Logger:0x00007f54ca10bf28 @fullname="vagrant::ui::interface", @outputters=[], @additive=true, @name="interface", @path="vagrant::ui", @parent=#<Log4r::RootLogger:0x00007f54cce6cbc0 @level=0, @outputters=[]>, @level=0, @trace=false>, @opts={}, @stdin=#<IO:<STDIN>>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>>, :machine=>#<Double "machine">} received :[]= with unexpected arguments[0m
> [31m expected: (:machine_ssh_info, {:host=>"ADDRESS"}) (keyword arguments)[0m
> [31m got: (:machine_ssh_info, {:host=>"ADDRESS"}) (options hash)[0m
> [36m# /<<PKGBUILDDIR>>/test/unit/plugins/providers/hyperv/action/read_guest_ip_test.rb:34:in `block (3 levels) in <top (required)>'[0m
>
> Finished in 4 minutes 58.9 seconds (files took 1.27 seconds to load)
> [31m2940 examples, 3 failures, 9 pending[0m
>
> Failed examples:
>
> [31mrspec /<<PKGBUILDDIR>>/test/unit/plugins/commands/package/command_test.rb:65[0m [36m# VagrantPlugins::CommandPackage::Command#execute with single argument with --output option packages default machine inside specified folder[0m
> [31mrspec /<<PKGBUILDDIR>>/test/unit/plugins/commands/package/command_test.rb:98[0m [36m# VagrantPlugins::CommandPackage::Command#execute with --base option and option value packages vm defined within virtualbox[0m
> [31mrspec /<<PKGBUILDDIR>>/test/unit/plugins/providers/hyperv/action/read_guest_ip_test.rb:33[0m [36m# VagrantPlugins::HyperV::Action::ReadGuestIP with machine ID set should set the host information into the env[0m
>
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern test/unit/\{plugins\}/\*\*/\*_test.rb --exclude-pattern \{test/unit/vagrant/action/builtin/box_add_test.rb,test/unit/plugins/communicators/winrm/\*_test.rb,test/unit/plugins/pushes/ftp/\*_test.rb\} -I/<<PKGBUILDDIR>>/debian/lib failed
> ERROR: Test "ruby3.1" failed:
The full build log is attached.
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vagrant.log.gz
Type: application/gzip
Size: 28226 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/7006103a/attachment-0001.gz>
-------------- 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/20221227/7006103a/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list