[FACT-1763] Facter acceptance tests fail on POWER Linux machines Created: 2017/09/26  Updated: 2018/10/01  Resolved: 2017/09/28

Status: Closed
Project: Facter
Component/s: None
Affects Version/s: None
Fix Version/s: FACT 3.6.9, FACT 3.9.4, FACT 3.12.0

Type: CI Blocker Priority: Normal
Reporter: Enis Inan Assignee: Enis Inan
Resolution: Fixed Votes: 0
Labels: docs_reviewed
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relates to FACT-1765 Facter should not output a warning fo... Closed
CI Pipeline/s:
platform puppet-agent
Team: Platform OS
Sprint: Platform OS 2017-10-03
Release Notes: Bug Fix
Release Notes Summary: dmidecode is no longer checked on POWER Linux machines.
QA Risk Assessment: No Action


Link to the job:

Representative case:

Relevant part of the output:

23:08:36 Failed Tests Cases:
23:08:36   Test Case tests/no_errors_on_stderr.rb reported: #<Minitest::Assertion: Facter should not have written to stderr.
23:08:36 Expected "2017-09-26 02:06:21.880868 WARN  puppetlabs.facter - dmidecode not found at configured location /opt/puppetlabs/puppet/bin, using PATH instead\n" to be empty.>
23:08:36     Test line: tests/no_errors_on_stderr.rb:n7:in `block (4 levels) in run_test'
23:08:36   Test Case tests/facts/non_root_users_without_errors.rb reported: #<Minitest::Assertion: Expected no errors from facter when run as user nonroot.
23:08:36 Expected "2017-09-26 02:07:36.989857 WARN  puppetlabs.facter - dmidecode not found at configured location /opt/puppetlabs/puppet/bin, using PATH instead" to be empty.>
23:08:36     Test line: tests/facts/non_root_users_without_errors.rb:28:in `block (5 levels) in run_test'

Comment by Enis Inan [ 2017/09/26 ]

This is most likely caused by the recently merged PRs for PA-1466

Comment by Geoff Nichols [ 2017/09/26 ]

Merged to facter#3.6.x at https://github.com/puppetlabs/facter/commit/d5af4cf9c28a5e8f52742bdf7e6a247885251c46.

Comment by Enis Inan [ 2017/09/27 ]


Looks like the changes here failed the Puppet acceptance tests.

Comment by Enis Inan [ 2017/09/27 ]

This should be fixed by FACT-1765

Comment by Kenn Hussey [ 2018/01/02 ]

Enis Inan please provide release notes for this issue, if needed. Thanks!

Comment by Enis Inan [ 2018/01/02 ]

Ticket has been updated with release notes.

Comment by Michelle Fredette [ 2018/10/01 ]

release note added.

Generated at Mon Feb 24 16:43:22 PST 2020 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.