Jira (FACT-2488) spec tests on debian fail

4 views
Skip to first unread message

Christoph Maser (Jira)

unread,
Mar 24, 2020, 8:54:03 AM3/24/20
to puppe...@googlegroups.com
Christoph Maser created an issue
 
Facter / Bug FACT-2488
spec tests on debian fail
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/03/24 5:53 AM
Priority: Normal Normal
Reporter: Christoph Maser

Since the release of facter 4 ruby gem some of our spec tests for dbian fail with errors like this one:

pocu_base::mount
  default
      is expected to compile into a catalogue without dependency cycles
      is expected to contain Class[pocu_base::mcollective]
      is expected to contain Service[mcollective] with ensure => "stopped" and enable => "false"
    on debian-8-x86_64
No facts were found in the FacterDB for Facter v3.14.6, using v3.11.6 instead
#<Thread:0x0000562d6ae8d1e8@/builds/pocu/pocu_base/vendor/bundle/ruby/2.5.0/gems/facter-4.0.12/lib/framework/core/fact/internal/internal_fact_manager.rb:23 run> terminated with exception (report_on_exception is true):
/builds/pocu/pocu_base/vendor/bundle/ruby/2.5.0/gems/facter-4.0.12/lib/facts/debian/os/release.rb:12:in `call_the_resolver': undefined method `split' for nil:NilClass (NoMethodError)
	from /builds/pocu/pocu_base/vendor/bundle/ruby/2.5.0/gems/facter-4.0.12/lib/framework/core/fact/internal/core_fact.rb:12:in `create'
	from /builds/pocu/pocu_base/vendor/bundle/ruby/2.5.0/gems/facter-4.0.12/lib/framework/core/fact/internal/internal_fact_manager.rb:25:in `block (2 levels) in start_threads'
      is expected to compile into a catalogue without dependency cycles (FAILED - 1)
      is expected to contain Class[pocu_base::mcollective]
      is expected to contain Service[mcollective] with ensure => "stopped" and enable => "false"

test is run inside docker with image ruby:2.5.7

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Christoph Maser (Jira)

unread,
Mar 24, 2020, 8:54:03 AM3/24/20
to puppe...@googlegroups.com
Christoph Maser updated an issue
Change By: Christoph Maser
Component/s: Facter 4
Reply all
Reply to author
Forward
0 new messages