[DRE-maint] Bug#952024: ruby-rspec-puppet: FTBFS: ERROR: Test "ruby2.7" failed: LoadError:

Daniel Leidert dleidert at debian.org
Sat Mar 21 23:36:41 GMT 2020


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 <top (required)>'

  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 <top (required)>'

  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 <top (required)>'

  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'
     # ./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_spec.rb:8:in `block (2 levels) in <top (required)>'

Regards, Daniel


- -- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAl52pQkACgkQS80FZ8KW
0F2xURAAscIFG7o4Qf4XAiw0fz02inDDFVUnZCXm6rST6DVGmUIs8D8E5cG9Pl4b
6/ezvdHL1AzB1xm5eQ/HTznVeCbbcsWl6dsSea8E8som+R8VUAAZTwvDrDCNtGdn
mIZyWgMY3wHvZmNIGZF8lqNHBoWu3bOvU7R9+oeJWsbwvjBm9xbM6/kHY35zcMsR
xe5JF95NnFvCt/D0dwXThMeKs7xoWudhk0w3nVuEu/5eC7N5dBINlqUPGmVXCq7i
GEdpbCWJn6X6Y/G8pfvS4+r/9BqRnoy3VJCVzZU6bpELdm1lRbGoBUitK0wZTPV+
2Tld+arzd26tOK4akiA6CAdr2qlB4IPn73Z8IwgZy2pWg6ysW3TxpuuS/tPJ7MAx
Ugbydww6e85WGZh/3b8/15bx6GDeiK/elK36Oz0uEYaqJGDDBTPBJrL9Yep+rq6F
qdAUo6pW7RXD1GfJa4491vl6lhrtiksyJKfdyptPt42pw1LBUrxaKHH77hMSN+fE
uEslD0XFqmTtTY0pFdbHSYWWu/q2HLNnzlb4ZAu/UxAMmkitaeYYfsI9H3pVV0iK
ZaL5dEnIg9HeDuQQi7IXL4tzCRWzlmZnOW9iFaLeomAdHr/0+rbLO6cMdaFmbxf+
6Bq4IscBY3PGPv7eXB5XBax1FKo6+5+3Q3qF6p/s1PW+y4po880=
=Vuqy
-----END PGP SIGNATURE-----



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