Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Manual Test
-
Not Needed
-
Needs Assessment
Description
When running bundle exec rake parallel:spec[12] from the puppet master branch on a Fedora Linux (I've tested 27 and 28) the following statement:
FastGettext.translation_repositories[FastGettext.default_text_domain]
|
returns nil which results in the message "undefined method `chain' for nil:NilClass" in file lib/puppet/gettext/config.rb on line 179. This in turn, causes +40 spec test failures.
Sample stack trace from one of the failed tests:
1) Puppet::Resource::Catalog::Compiler when initializing should cache the server metadata and reuse it
|
Failure/Error: puppet_translations = FastGettext.translation_repositories[FastGettext.default_text_domain].chain
|
NoMethodError:
|
undefined method `chain' for nil:NilClass
|
# ./lib/puppet/gettext/config.rb:179:in `copy_default_translations'
|
# ./lib/puppet/gettext/config.rb:73:in `reset_text_domain'
|
# ./lib/puppet/node/environment.rb:426:in `with_text_domain'
|
# ./lib/puppet/indirector/catalog/compiler.rb:53:in `find'
|
# ./spec/unit/indirector/catalog/compiler_spec.rb:35:in `block (3 levels) in <top (required)>'
|
# util/rspec_runner:44:in `run'
|
# util/rspec_runner:59:in `<main>'
|