Bug 1271670 - packages should not install unit tests
Summary: packages should not install unit tests
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: 10.0 (Newton)
Assignee: Hugh Brock
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On: 1244735 1271678 1271679 1271680 1271681 1271682 1271683 1271685 1271686 1271687 1271688 1271689 1271691 1271692 1271693 1271700
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-14 13:29 UTC by Mike Burns
Modified: 2016-08-23 22:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1244735
Environment:
Last Closed: 2016-08-23 22:18:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.