Project

General

Profile

Actions

Bug #38944

closed

Fix failing test/unit/puppet_fact_parser_test.rb tests

Added by Shimon Shtein 3 months ago. Updated 14 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-

Description

You get an exception in tests:

NoMethodError: undefined method `map' for nil:NilClass
test/unit/puppet_fact_parser_test.rb:860:in `get_facterdb_facts'
test/unit/puppet_fact_parser_test.rb:485:in `block (2 levels) in <class:PuppetFactsParserTest>'
test/unit/puppet_fact_parser_test.rb:753:in `block (5 levels) in <class:PuppetFactsParserTest>'

the underlying reason is broken json files in facterdb. This prevents loading if those files and reduces the problem.

Actions #1

Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10794 added
Actions #2

Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 3.18.0 added
Actions #3

Updated by Shimon Shtein 3 months ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/foreman/pull/10799 added
Actions #5

Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 3.17.1 added
Actions #6

Updated by The Foreman Bot about 1 month ago

  • Pull request https://github.com/theforeman/foreman/pull/10743 added
Actions #7

Updated by Ondřej Gajdušek 14 days ago

  • Subject changed from test/unit/puppet_fact_parser_test.rb tests are failing to Fix failing test/unit/puppet_fact_parser_test.rb tests
Actions

Also available in: Atom PDF