Source: ruby-vagrant-cloud
Version: 3.0.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-vagrant-cloud 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 1, expected 0)
>       # ./lib/vagrant_cloud/data.rb:217:in `initialize'
>       # ./lib/vagrant_cloud/box.rb:21:in `initialize'
>       # ./lib/vagrant_cloud/response/search.rb:57:in `new'
>       # ./lib/vagrant_cloud/response/search.rb:57:in `block in reload_boxes'
>       # ./lib/vagrant_cloud/response/search.rb:51:in `map'
>       # ./lib/vagrant_cloud/response/search.rb:51:in `reload_boxes'
>       # ./lib/vagrant_cloud/response/search.rb:18:in `initialize'
>       # ./spec/unit/vagrant_cloud/response/search_spec.rb:12:in `new'
>       # ./spec/unit/vagrant_cloud/response/search_spec.rb:12:in `block (2 
> levels) in <top (required)>'
>       # ./spec/unit/vagrant_cloud/response/search_spec.rb:101:in `block (3 
> levels) in <top (required)>'
> 
> Finished in 0.47348 seconds (files took 0.61223 seconds to load)
> 501 examples, 92 failures
> 
> Failed examples:
> 
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:23 # 
> VagrantCloud::Box::Version#initialize should load providers
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:36 # 
> VagrantCloud::Box::Version#delete should not delete if version does not exist
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:41 # 
> VagrantCloud::Box::Version#delete should return nil
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:51 # 
> VagrantCloud::Box::Version#delete when version exists should make a version 
> deletion request
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:56 # 
> VagrantCloud::Box::Version#delete when version exists should include box 
> username and name
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:62 # 
> VagrantCloud::Box::Version#delete when version exists should include the 
> version
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:68 # 
> VagrantCloud::Box::Version#delete when version exists should delete the 
> version from the box versions
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:83 # 
> VagrantCloud::Box::Version#release when version is released should error
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:91 # 
> VagrantCloud::Box::Version#release when version has not been saved should 
> error
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:102 # 
> VagrantCloud::Box::Version#release when version is saved and not released 
> should send request to release version
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:108 # 
> VagrantCloud::Box::Version#release when version is saved and not released 
> should include box username, box name, and version
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:114 # 
> VagrantCloud::Box::Version#release when version is saved and not released 
> should update status with value provided in result
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:121 # 
> VagrantCloud::Box::Version#release when version is saved and not released 
> should return self
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:132 # 
> VagrantCloud::Box::Version#revoke when version is not released should error
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:140 # 
> VagrantCloud::Box::Version#revoke when version is released should send 
> request to revoke release
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:146 # 
> VagrantCloud::Box::Version#revoke when version is released should include the 
> box username, box name, and version
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:152 # 
> VagrantCloud::Box::Version#revoke when version is released should update 
> status with value provided in result
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:159 # 
> VagrantCloud::Box::Version#revoke when version is released should return self
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:168 # 
> VagrantCloud::Box::Version#add_provider should create a new provider
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:172 # 
> VagrantCloud::Box::Version#add_provider should add provider to providers 
> collection
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:177 # 
> VagrantCloud::Box::Version#add_provider should raise error when provider 
> exists
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:188 # 
> VagrantCloud::Box::Version#dirty? when version does not exist should be true
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:196 # 
> VagrantCloud::Box::Version#dirty? when version does exist should be false
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:203 # 
> VagrantCloud::Box::Version#dirty? when version does exist with modified 
> attribute should be true
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:209 # 
> VagrantCloud::Box::Version#dirty? when version does exist with deep check 
> should be false
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:216 # 
> VagrantCloud::Box::Version#dirty? when version does exist with deep check 
> with modified attribute should be true
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:224 # 
> VagrantCloud::Box::Version#dirty? when version does exist with deep check 
> with dirty provider in providers collection should be true
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:238 # 
> VagrantCloud::Box::Version#exist? with created_at attribute set should be true
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:246 # 
> VagrantCloud::Box::Version#exist? with created_at attribute unset should be 
> false
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:258 # 
> VagrantCloud::Box::Version#save should return self
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:268 # 
> VagrantCloud::Box::Version#save when version is dirty should save the version
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:277 # 
> VagrantCloud::Box::Version#save when version is clean should not save the 
> version
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:286 # 
> VagrantCloud::Box::Version#save when dirty provider in providers collection 
> should save the providers
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:297 # 
> VagrantCloud::Box::Version#save_version when version exists should request a 
> version update
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:303 # 
> VagrantCloud::Box::Version#save_version when version exists should include 
> the box username, box name, version, and description
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:310 # 
> VagrantCloud::Box::Version#save_version when version exists should return self
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:320 # 
> VagrantCloud::Box::Version#save_version when version does not exist should 
> request a version create
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:326 # 
> VagrantCloud::Box::Version#save_version when version does not exist should 
> include the box username, box name, version, and description
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:333 # 
> VagrantCloud::Box::Version#save_version when version does not exist should 
> return self
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:342 # 
> VagrantCloud::Box::Version#save_providers should return self
> rspec ./spec/unit/vagrant_cloud/box/version_spec.rb:346 # 
> VagrantCloud::Box::Version#save_providers should save the providers
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:27 # VagrantCloud::Box#initialize 
> should create new instance with organization and name
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:34 # 
> VagrantCloud::Box#short_description should be mutable
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:42 # 
> VagrantCloud::Box#description should be mutable
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:50 # VagrantCloud::Box#private 
> should be mutable
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:58 # VagrantCloud::Box#delete 
> should return nil
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:62 # VagrantCloud::Box#delete 
> should not request to delete box that does not exist
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:70 # VagrantCloud::Box#delete 
> when box exists should request box deletion
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:78 # 
> VagrantCloud::Box#add_version should create a new version
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:82 # 
> VagrantCloud::Box#add_version should add new version to the versions 
> collection
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:87 # 
> VagrantCloud::Box#add_version should error when adding an existing version
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:95 # VagrantCloud::Box#dirty? 
> should be true when box does not exist
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:103 # VagrantCloud::Box#dirty? 
> when box exists should be false
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:110 # VagrantCloud::Box#dirty? 
> when box exists when attribute is modified should be true
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:114 # VagrantCloud::Box#dirty? 
> when box exists when attribute is modified should be true on attribute name 
> check
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:120 # VagrantCloud::Box#dirty? 
> when box exists deep check should be false
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:127 # VagrantCloud::Box#dirty? 
> when box exists deep check when a version is added should be true
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:136 # VagrantCloud::Box#exist? 
> should be false when created_at is unset
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:144 # VagrantCloud::Box#exist? 
> when created_at is set should be true
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:154 # 
> VagrantCloud::Box#versions_on_demand when box exists should load versions 
> when called
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:159 # 
> VagrantCloud::Box#versions_on_demand when box exists should not load versions 
> after initial load
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:171 # 
> VagrantCloud::Box#versions_on_demand when box does not exist should not load 
> versions when called
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:176 # 
> VagrantCloud::Box#versions_on_demand when box does not exist should not load 
> versions after initial load
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:192 # VagrantCloud::Box#save 
> should return self
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:199 # VagrantCloud::Box#save when 
> box does not exist should save the box
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:208 # VagrantCloud::Box#save when 
> box includes unsaved versions should save the versions
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:217 # VagrantCloud::Box#save when 
> box exists should not save anything
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:226 # VagrantCloud::Box#save when 
> box exists when box attribute is updated should save the box
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:238 # VagrantCloud::Box#save_box 
> when box exists should return self
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:243 # VagrantCloud::Box#save_box 
> when box exists should request a box update
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:248 # VagrantCloud::Box#save_box 
> when box exists should include the organization name
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:254 # VagrantCloud::Box#save_box 
> when box exists should include the name
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:260 # VagrantCloud::Box#save_box 
> when box exists should include the short description
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:266 # VagrantCloud::Box#save_box 
> when box exists should include the description
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:272 # VagrantCloud::Box#save_box 
> when box exists should include the box privacy
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:282 # VagrantCloud::Box#save_box 
> when box does not exist should request a box create
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:287 # VagrantCloud::Box#save_box 
> when box does not exist should include the organization name
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:293 # VagrantCloud::Box#save_box 
> when box does not exist should include the name
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:299 # VagrantCloud::Box#save_box 
> when box does not exist should include the short description
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:305 # VagrantCloud::Box#save_box 
> when box does not exist should include the description
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:311 # VagrantCloud::Box#save_box 
> when box does not exist should include the box privacy
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:320 # 
> VagrantCloud::Box#save_versions should return self
> rspec ./spec/unit/vagrant_cloud/box_spec.rb:324 # 
> VagrantCloud::Box#save_versions should call save on any versions
> rspec ./spec/unit/vagrant_cloud/organization_spec.rb:21 # 
> VagrantCloud::Organization#add_box should create a new box
> rspec ./spec/unit/vagrant_cloud/organization_spec.rb:25 # 
> VagrantCloud::Organization#add_box should add box to the collection
> rspec ./spec/unit/vagrant_cloud/organization_spec.rb:31 # 
> VagrantCloud::Organization#add_box should error if box name already exists
> rspec ./spec/unit/vagrant_cloud/organization_spec.rb:59 # 
> VagrantCloud::Organization#dirty? deep check with box collection of one clean 
> box should return false
> rspec ./spec/unit/vagrant_cloud/organization_spec.rb:66 # 
> VagrantCloud::Organization#dirty? deep check with box collection of one clean 
> box with a dirty box in collection should return true
> rspec ./spec/unit/vagrant_cloud/organization_spec.rb:80 # 
> VagrantCloud::Organization#save with boxes should save boxes
> rspec ./spec/unit/vagrant_cloud/response/search_spec.rb:92 # 
> VagrantCloud::Response::Search#boxes should have a boxes count of 1
> rspec ./spec/unit/vagrant_cloud/response/search_spec.rb:96 # 
> VagrantCloud::Response::Search#boxes should contain a Box instance
> rspec ./spec/unit/vagrant_cloud/response/search_spec.rb:100 # 
> VagrantCloud::Response::Search#boxes should population the organization
> 
> /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 --format documentation failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-vagrant-cloud/ruby-vagrant-cloud_3.0.2-1+rebuild1633398314_amd64.build.txt

Attachment: signature.asc
Description: PGP signature

Reply via email to