[DRE-maint] Bug#996297: ruby-ice-nine: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: Failure/Error: expect(subject.end).to be_frozen

Antonio Terceiro terceiro at debian.org
Tue Oct 12 23:21:22 BST 2021


Source: ruby-ice-nine
Version: 0.11.2-1
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-ice-nine 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):
>       Failure/Error: expect(subject.end).to be_frozen
>         expected `"z".frozen?` to return true, got false
>       Shared Example Group: "IceNine.deep_freeze" called from ./spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb:20
>       # ./spec/shared/ice_nine_deep_freeze.rb:134:in `block (3 levels) in <top (required)>'
> 
> Top 10 slowest examples (0.02481 seconds, 24.6% of total time):
>   IceNine.deep_freeze it should behave like IceNine.deep_freeze with a Range freezes the object
>     0.01391 seconds ./spec/shared/ice_nine_deep_freeze.rb:125
>   IceNine::Freezer::Hash.deep_freeze with a Hash object having a default value freezes the default value
>     0.00449 seconds ./spec/unit/ice_nine/freezer/hash/class_methods/deep_freeze_spec.rb:30
>   IceNine.deep_freeze it should behave like IceNine.deep_freeze with a Integer does not freeze the object
>     0.00196 seconds ./spec/shared/ice_nine_deep_freeze.rb:257
>   IceNine::Freezer::Range.deep_freeze with a Range with a circular reference in the first element behaves like IceNine::Freezer::Range.deep_freeze freeze the first element
>     0.00172 seconds ./spec/shared/range_deep_freeze.rb:6
>   IceNine.deep_freeze it should behave like IceNine.deep_freeze with a Integer returns the object
>     0.00073 seconds ./spec/shared/ice_nine_deep_freeze.rb:253
>   IceNine.deep_freeze with a shallowly frozen value does a deep freeze
>     0.0007 seconds ./spec/integration/ice_nine/class_methods/deep_freeze_spec.rb:15
>   IceNine::Freezer::Struct.deep_freeze with a Struct behaves like IceNine::Freezer::Array.deep_freeze behaves like IceNine::Freezer::Object.deep_freeze freezes instance variables
>     0.00035 seconds ./spec/shared/object_deep_freeze.rb:16
>   IceNine.deep_freeze! it should behave like IceNine.deep_freeze with a Hash with a circular reference freezes the object
>     0.00033 seconds ./spec/shared/ice_nine_deep_freeze.rb:104
>   IceNine.deep_freeze! it should behave like IceNine.deep_freeze with a Struct with a circular reference freezes the object
>     0.00032 seconds ./spec/shared/ice_nine_deep_freeze.rb:201
>   IceNine.deep_freeze! it should behave like IceNine.deep_freeze with a Range freeze the last object in the Range
>     0.0003 seconds ./spec/shared/ice_nine_deep_freeze.rb:133
> 
> Top 10 slowest example groups:
>   IceNine::Freezer::Array.deep_freeze
>     0.00062 seconds average (0.00497 seconds / 8 examples) ./spec/unit/ice_nine/freezer/array/class_methods/deep_freeze_spec.rb:6
>   IceNine.deep_freeze
>     0.00058 seconds average (0.03281 seconds / 57 examples) ./spec/integration/ice_nine/class_methods/deep_freeze_spec.rb:7
>   IceNine::Freezer::Range.deep_freeze
>     0.00046 seconds average (0.0069 seconds / 15 examples) ./spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb:6
>   IceNine::Freezer::Hash.deep_freeze
>     0.00045 seconds average (0.01272 seconds / 28 examples) ./spec/unit/ice_nine/freezer/hash/class_methods/deep_freeze_spec.rb:6
>   IceNine::Freezer::Struct.deep_freeze
>     0.0004 seconds average (0.0016 seconds / 4 examples) ./spec/unit/ice_nine/freezer/struct/class_methods/deep_freeze_spec.rb:6
>   IceNine::RecursionGuard::Frozen#guard
>     0.0004 seconds average (0.0008 seconds / 2 examples) ./spec/unit/ice_nine/recursion_guard/frozen/guard_spec.rb:6
>   IceNine::Freezer.[]
>     0.00036 seconds average (0.00289 seconds / 8 examples) ./spec/unit/ice_nine/freezer/class_methods/element_reader_spec.rb:9
>   IceNine::Freezer::Object.deep_freeze
>     0.00036 seconds average (0.00325 seconds / 9 examples) ./spec/unit/ice_nine/freezer/object/class_methods/deep_freeze_spec.rb:6
>   IceNine::Freezer::NilClass.deep_freeze
>     0.00035 seconds average (0.00104 seconds / 3 examples) ./spec/unit/ice_nine/freezer/nil_class/class_methods/deep_freeze_spec.rb:8
>   IceNine::RecursionGuard::ObjectSet#guard
>     0.00032 seconds average (0.00065 seconds / 2 examples) ./spec/unit/ice_nine/recursion_guard/object_set/guard_spec.rb:6
> 
> Finished in 0.10075 seconds (files took 0.21702 seconds to load)
> 244 examples, 13 failures
> 
> Failed examples:
> 
> rspec './spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb[1:1:2:1:1:3]' # IceNine::Freezer::Range.deep_freeze with a Range with a circular reference in the first element behaves like IceNine::Freezer::Range.deep_freeze behaves like IceNine::Freezer::Object.deep_freeze freezes instance variables
> rspec './spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb[1:1:2:1:1:2]' # IceNine::Freezer::Range.deep_freeze with a Range with a circular reference in the first element behaves like IceNine::Freezer::Range.deep_freeze behaves like IceNine::Freezer::Object.deep_freeze freezes the object
> rspec './spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb[1:1:2:1:1:1]' # IceNine::Freezer::Range.deep_freeze with a Range with a circular reference in the first element behaves like IceNine::Freezer::Range.deep_freeze behaves like IceNine::Freezer::Object.deep_freeze returns the object
> rspec './spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb[1:1:1:1:1:1]' # IceNine::Freezer::Range.deep_freeze with a Range without a circular reference behaves like IceNine::Freezer::Range.deep_freeze behaves like IceNine::Freezer::Object.deep_freeze returns the object
> rspec './spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb[1:1:1:1:1:3]' # IceNine::Freezer::Range.deep_freeze with a Range without a circular reference behaves like IceNine::Freezer::Range.deep_freeze behaves like IceNine::Freezer::Object.deep_freeze freezes instance variables
> rspec './spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb[1:1:1:1:1:2]' # IceNine::Freezer::Range.deep_freeze with a Range without a circular reference behaves like IceNine::Freezer::Range.deep_freeze behaves like IceNine::Freezer::Object.deep_freeze freezes the object
> rspec './spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb[1:1:3:1:1:2]' # IceNine::Freezer::Range.deep_freeze with a Range with a circular reference in the last element behaves like IceNine::Freezer::Range.deep_freeze behaves like IceNine::Freezer::Object.deep_freeze freezes the object
> rspec './spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb[1:1:3:1:1:1]' # IceNine::Freezer::Range.deep_freeze with a Range with a circular reference in the last element behaves like IceNine::Freezer::Range.deep_freeze behaves like IceNine::Freezer::Object.deep_freeze returns the object
> rspec './spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb[1:1:3:1:1:3]' # IceNine::Freezer::Range.deep_freeze with a Range with a circular reference in the last element behaves like IceNine::Freezer::Range.deep_freeze behaves like IceNine::Freezer::Object.deep_freeze freezes instance variables
> rspec './spec/integration/ice_nine/class_methods/deep_freeze_spec.rb[1:2:4:2]' # IceNine.deep_freeze it should behave like IceNine.deep_freeze with a Range freezes the object
> rspec './spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb[1:2:4:2]' # IceNine.deep_freeze! it should behave like IceNine.deep_freeze with a Range freezes the object
> rspec './spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb[1:2:4:3]' # IceNine.deep_freeze! it should behave like IceNine.deep_freeze with a Range freeze the first object in the Range
> rspec './spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb[1:2:4:4]' # IceNine.deep_freeze! it should behave like IceNine.deep_freeze with a Range freeze the last object in the Range
> 
> Randomized with seed 25996
> 
> /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 failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-ice-nine/ruby-ice-nine_0.11.2-1+rebuild1633383280_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/fe1f8d8a/attachment.sig>


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