Bug#952024: ruby-rspec-puppet: FTBFS: ERROR: Test "ruby2.7" failed: LoadError:
Package: src:ruby-rspec-puppet Followup-For: Bug #952024 -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 After libfacter has been fixed, the package FTBFS with these errors: Failures: 1) boolean_test is expected to contain Notify[bool testing] with message =~ /bool is false/ Failure/Error: string.gsub!(/\$/, "\\$") FrozenError: can't modify frozen String: "false" # ./lib/rspec-puppet/support.rb:443:in `gsub!' # ./lib/rspec-puppet/support.rb:443:in `escape_special_chars' # ./lib/rspec-puppet/support.rb:343:in `str_from_value' # ./lib/rspec-puppet/support.rb:351:in `block in param_str_from_hash' # ./lib/rspec-puppet/support.rb:350:in `each' # ./lib/rspec-puppet/support.rb:350:in `collect' # ./lib/rspec-puppet/support.rb:350:in `param_str_from_hash' # ./lib/rspec-puppet/support.rb:280:in `param_str' # ./lib/rspec-puppet/support.rb:155:in `test_manifest' # ./lib/rspec-puppet/support.rb:21:in `build_code' # ./lib/rspec-puppet/support.rb:91:in `block in load_catalogue' # ./lib/rspec-puppet/support.rb:376:in `with_vardir' # ./lib/rspec-puppet/support.rb:83:in `load_catalogue' # ./lib/rspec-puppet/example/class_example_group.rb:7:in `catalogue' # ./lib/rspec-puppet/support.rb:12:in `block in subject' # ./lib/rspec-puppet/matchers/create_generic.rb:84:in `matches?' # ./spec/classes/boolean_regexp_spec.rb:8:in `block (2 levels) in ' 2) boolean_test is expected not to contain Notify[bool testing] with message =~ /true/ Failure/Error: string.gsub!(/\$/, "\\$") FrozenError: can't modify frozen String: "false" # ./lib/rspec-puppet/support.rb:443:in `gsub!' # ./lib/rspec-puppet/support.rb:443:in `escape_special_chars' # ./lib/rspec-puppet/support.rb:343:in `str_from_value' # ./lib/rspec-puppet/support.rb:351:in `block in param_str_from_hash' # ./lib/rspec-puppet/support.rb:350:in `each' # ./lib/rspec-puppet/support.rb:350:in `collect' # ./lib/rspec-puppet/support.rb:350:in `param_str_from_hash' # ./lib/rspec-puppet/support.rb:280:in `param_str' # ./lib/rspec-puppet/support.rb:155:in `test_manifest' # ./lib/rspec-puppet/support.rb:21:in `build_code' # ./lib/rspec-puppet/support.rb:91:in `block in load_catalogue' # ./lib/rspec-puppet/support.rb:376:in `with_vardir' # ./lib/rspec-puppet/support.rb:83:in `load_catalogue' # ./lib/rspec-puppet/example/class_example_group.rb:7:in `catalogue' # ./lib/rspec-puppet/support.rb:12:in `block in subject' # ./lib/rspec-puppet/matchers/create_generic.rb:84:in `matches?' # ./spec/classes/boolean_regexp_spec.rb:11:in `block (2 levels) in ' 3) boolean_test is expected to contain Notify[bool testing] with message !~ /true/ Failure/Error: string.gsub!(/\$/, "\\$") FrozenError: can't modify frozen String: "false" # ./lib/rspec-puppet/support.rb:443:in `gsub!' # ./lib/rspec-puppet/support.rb:443:in `escape_special_chars' # ./lib/rspec-puppet/support.rb:343:in `str_from_value' # ./lib/rspec-puppet/support.rb:351:in `block in param_str_from_hash' # ./lib/rspec-puppet/support.rb:350:in `each' # ./lib/rspec-puppet/support.rb:350:in `collect' # ./lib/rspec-puppet/support.rb:350:in `param_str_from_hash' # ./lib/rspec-puppet/support.rb:280:in `param_str' # ./lib/rspec-puppet/support.rb:155:in `test_manifest' # ./lib/rspec-puppet/support.rb:21:in `build_code' # ./lib/rspec-puppet/support.rb:91:in `block in load_catalogue' # ./lib/rspec-puppet/support.rb:376:in `with_vardir' # ./lib/rspec-puppet/support.rb:83:in `load_catalogue' # ./lib/rspec-puppet/example/class_example_group.rb:7:in `catalogue' # ./lib/rspec-puppet/support.rb:12:in `block in subject' # ./lib/rspec-puppet/matchers/create_generic.rb:84:in `matches?' # ./spec/classes/boolean_regexp_spec.rb:12:in `block (2 levels) in ' 4) boolean_test is expected to contain Notify[bool testing] with message => "This will print when $bool is false." Failure/Error: string.gsub!(/\$/, "\\$") FrozenError: can't modify frozen String: "false" # ./lib/rspec-puppet/support.rb:443:in `gsub!' # ./lib/rspec-puppet/support.rb:443:in `escape_special_chars' # ./lib/rspec-puppet/support.rb:343:in `str_from_value' # ./lib/rspec-puppet/support.rb:351:in `block in param_str_from_hash' # ./lib/rspec-puppet/support.rb:350:in `each' # ./lib/rspec-puppet/support.rb:350:in `collect' # ./lib/rspec-puppet/support.rb:350:in `param_str_from_hash' # ./lib/rspec-puppet/support.rb:280:in `param_str' # ./lib/rspec-puppet/support.rb:155:in `test_manifest' # ./lib/rspec-puppet/support.rb:21:in `build_code' # ./lib/rspec-puppet/support.rb:91:in `block in load_catalogue' # ./lib/rspec-puppet/support.rb:376:in `with_vardir' # ./lib/rspec-puppet/support.rb:83:in `load_catalogue' #
Bug#952024: ruby-rspec-puppet: FTBFS: ERROR: Test "ruby2.7" failed: LoadError:
Am Sonntag, den 23.02.2020, 08:46 +0100 schrieb Lucas Nussbaum: [..] > Relevant part (hopefully): > > LoadError: > > libfacter was not found. Please make sure it was installed to the > > expected location. > > cannot load such file -- libfacter.so facter needs a rebuild to ruby2.7. Locally it builds just fine and creates the library link we need. Regards, Daniel signature.asc Description: This is a digitally signed message part
Bug#952024: ruby-rspec-puppet: FTBFS: ERROR: Test "ruby2.7" failed: LoadError:
Source: ruby-rspec-puppet Version: 2.7.8-1 Severity: serious Justification: FTBFS on amd64 Tags: buster sid Usertags: ftbfs-20200222 ftbfs-buster Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > LoadError: > libfacter was not found. Please make sure it was installed to the expected > location. > cannot load such file -- libfacter.so > # ./lib/rspec-puppet.rb:1:in `' > # ./spec/spec_helper.rb:11:in `' > # ./spec/unit/monkey_patches_spec.rb:1:in `' > # -- > # --- Caused by: --- > # LoadError: > # cannot load such file -- libfacter.so > # ./lib/rspec-puppet.rb:1:in `' > > Finished in 0.4 seconds (files took 2.18 seconds to load) > 0 examples, 0 failures, 87 errors occurred outside of examples > > /usr/bin/ruby2.7 > -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib > /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec > --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed > ERROR: Test "ruby2.7" failed: The full build log is available from: http://qa-logs.debian.net/2020/02/22/ruby-rspec-puppet_2.7.8-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.