stable/ocata puppet unit test failures for selinux tests

Bug #1707243 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Alex Schultz
Newton
Fix Committed
High
Alex Schultz

Bug Description

Related Bug 1707034 for master but for ocata we're only seeing this failure:

http://logs.openstack.org/11/482211/2/check/gate-puppet-tripleo-puppet-unit-4.5-centos-7/3dcdff9/console.html#_2017-07-27_15_34_15_113401

2017-07-27 15:34:15.113401 | 1) tripleo::selinux on redhat-7-x86_64 behaves like tripleo::selinux with selinux disabled runs setenforce 1
2017-07-27 15:34:15.113451 | Failure/Error: is_expected.to contain_exec('/sbin/setenforce 1')
2017-07-27 15:34:15.113492 | expected that the catalogue would contain Exec[/sbin/setenforce 1]
2017-07-27 15:34:15.113541 | Shared Example Group: "tripleo::selinux" called from ./spec/classes/tripleo_selinux_spec.rb:107
2017-07-27 15:34:15.113588 | # ./spec/classes/tripleo_selinux_spec.rb:72:in `block (4 levels) in <top (required)>'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/488514

Changed in tripleo:
assignee: Christian Inzinger (ci) → Alex Schultz (alex-schultz)
Changed in tripleo:
milestone: pike-3 → pike-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/ocata)

Reviewed: https://review.openstack.org/488514
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=f175a6e2820b0f05eca15f882b3b271b99790774
Submitter: Jenkins
Branch: stable/ocata

commit f175a6e2820b0f05eca15f882b3b271b99790774
Author: Alex Schultz <email address hidden>
Date: Thu Jul 27 12:54:30 2017 -0600

    Fix selinux unit tests

    The selinux test was also failing due to a type issue with the fact
    being used (boolean vs string)

    Change-Id: I36b3b4494f2086daeb574330ce21b19598650aa0
    Closes-Bug: #1707243

tags: added: in-stable-ocata
Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/493619

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/newton)

Reviewed: https://review.openstack.org/493619
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=8a154df52af7ba21e468806618e88316c0bc90d7
Submitter: Jenkins
Branch: stable/newton

commit 8a154df52af7ba21e468806618e88316c0bc90d7
Author: Alex Schultz <email address hidden>
Date: Thu Jul 27 12:54:30 2017 -0600

    Fix selinux unit tests

    The selinux test was also failing due to a type issue with the fact
    being used (boolean vs string)

    Also pin systemd to match rdo for newton.

    Change-Id: I36b3b4494f2086daeb574330ce21b19598650aa0
    Closes-Bug: #1707243
    Closes-Bug: #1710683
    (cherry picked from commit f175a6e2820b0f05eca15f882b3b271b99790774)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 5.6.2

This issue was fixed in the openstack/puppet-tripleo 5.6.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 6.5.1

This issue was fixed in the openstack/puppet-tripleo 6.5.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.