Jira (PUP-9977) testcase fails on RHEL 8 for v5.5.2

5 views
Skip to first unread message

Siddesh (JIRA)

unread,
Aug 26, 2019, 4:19:03 AM8/26/19
to puppe...@googlegroups.com
Siddesh created an issue
 
Puppet / Bug PUP-9977
testcase fails on RHEL 8 for v5.5.2
Issue Type: Bug Bug
Affects Versions: PUP 5.5.2
Assignee: Unassigned
Components: Types and Providers
Created: 2019/08/26 1:18 AM
Environment:

Docker container 

os: Red Hat Enterprise Linux 8.0 (Ootpa)  x86

 

Priority: Normal Normal
Reporter: Siddesh

Puppet Version: 5.5.2**
Puppet Server Version: 5.5.2
OS Name/Version: Red Hat Enterprise Linux 8.0 (Ootpa)

Describe your issue in as much detail as possible…

testcase Failures:

  1) Puppet::Type::User::ProviderUseradd#check_valid_shell should raise an error if the shell is not executable
     Failure/Error: expect { provider.check_valid_shell }.to raise_error(Puppet::Error, /Shell LICENSE must be executable/)
       expected Puppet::Error with message matching /Shell LICENSE must be executable/ but nothing was raised
     # ./spec/unit/provider/user/useradd_spec.rb:602:in `block (3 levels) in <top (required)>'

Finished in 21.23 seconds (files took 7.76 seconds to load)
2619 examples, 1 failure, 10 pending

Failed examples:

rspec ./spec/unit/provider/user/useradd_spec.rb:599 # Puppet::Type::User::ProviderUseradd#check_valid_shell should raise an error if the shell is not executable

 

Describe steps to reproduce…

git clone git://github.com/puppetlabs/puppet
cd puppet
git checkout 5.5.2
bundle install --path .bundle/gems/

bundle exec rspec "spec/unit/provider"

 

Desired Behavior:

testcase passes without errors

Actual Behavior:

testcase fails with shell validation error on RHEL 8

Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

Examples:
Run puppet agent with --test --trace --debug

Relevant sections of /var/log/puppetlabs/puppetserver/puppetserver.log or any applicable logs from the same directory.

For more detailed information turn up the server logs by upping the log level in the server's logback.xml

Relevant sections of configurations files (puppet.conf, hiera.conf, Server's conf.d, defaults/sysconfig)

For memory issues with server heap dumps are also helpful.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Jorie Tappa (JIRA)

unread,
Aug 26, 2019, 12:53:04 PM8/26/19
to puppe...@googlegroups.com
Jorie Tappa commented on Bug PUP-9977
 
Re: testcase fails on RHEL 8 for v5.5.2

Hi Siddesh, I would suggest trying the latest 5.5.x release, or running the entire test suite, as some tests are order dependent and only running spec/unit/provider may have unknown outcomes.

Josh Cooper (JIRA)

unread,
Dec 12, 2019, 12:26:04 AM12/12/19
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9977

Thanks for reporting this issue. However, we haven’t been able to reproduce this against the current version of Puppet, and are closing this issue now as Cannot Reproduce. If you have additional information or reproduction scenarios that may be of use, please comment in this ticket with details.

Reply all
Reply to author
Forward
0 new messages