Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1271670

Summary: packages should not install unit tests
Product: Red Hat OpenStack Reporter: Mike Burns <mburns>
Component: rhosp-directorAssignee: Hugh Brock <hbrock>
Status: CLOSED CURRENTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0 (Kilo)CC: afazekas, hbrock, mburns, morazi, rhel-osp-director-maint, srevivo
Target Milestone: ---Keywords: Tracking
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1244735 Environment:
Last Closed: 2016-08-23 22:18:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1244735, 1271678, 1271679, 1271680, 1271681, 1271682, 1271683, 1271685, 1271686, 1271687, 1271688, 1271689, 1271691, 1271692, 1271693, 1271700    
Bug Blocks:    

Description Mike Burns 2015-10-14 13:29:54 UTC
+++ This bug was initially created as a clone of Bug #1244735 +++

Description of problem:
The python rpm packages should not contain unit-test.



--- Additional comment from Mike Burns on 2015-10-14 09:00:52 EDT ---

This seems to be a generic problem.  I looked at 4 or 5 python packages and the tests directory is included in every rpm.  

I do see that we're cleaning tests up in some core packages already, though, so I'll do that.  This is a common problem for multiple packages though, so this will need to be cloned for each component

--- Additional comment from Mike Burns on 2015-10-14 09:25:42 EDT ---

These are the things I identified that need this change

diskimage-builder
instack
instack-undercloud
openstack-ironic
openstack-tripleo-image-elements
openstack-tuskar
openstack-tuskar-ui
openstack-tuskar-ui-extras
os-apply-config
os-cloud-config
os-collect-config
os-net-config
os-refresh-config
python-ironicclient
python-rdomanager-oscplugin
python-tuskarclient

Comment 2 Mike Burns 2016-04-07 20:54:03 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 3 Attila Fazekas 2016-04-08 06:40:15 UTC
I would like add a note to $subject.

The story become more complicated since the tempest plugins exists and tempest also packaged and `kind of supported`.

several component exports a tempest plugin entry point https://bugzilla.redhat.com/show_bug.cgi?id=1314460 .

The tempest plugin related tests should not be just nuked, they should be packaged separately.