Bug 1271685 - openstack-tuskar-ui should not install unit tests
Summary: openstack-tuskar-ui should not install unit tests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tuskar-ui
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: y2
: 7.0 (Kilo)
Assignee: Mike Burns
QA Contact: Ola Pavlenko
URL:
Whiteboard:
Depends On:
Blocks: 1271670
TreeView+ depends on / blocked
 
Reported: 2015-10-14 13:48 UTC by Mike Burns
Modified: 2015-12-21 16:55 UTC (History)
5 users (show)

Fixed In Version: openstack-tuskar-ui-0.4.0-5.el7ost
Doc Type: Bug Fix
Doc Text:
Essentially the same text as BZ#1271700. Setting doc_text flag to NACK.
Clone Of:
Environment:
Last Closed: 2015-12-21 16:55:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gerrithub.io 249784 0 None None None Never
Red Hat Product Errata RHBA-2015:2651 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OSP 7 director Bug Fix Advisory 2015-12-21 21:50:26 UTC

Description Mike Burns 2015-10-14 13:48:10 UTC
openstack-tuskar-ui is currently installing unit tests and those should not be shipped.  This is with the latest OSPd 7.1 package.

Comment 4 Ronnie Rasouli 2015-12-06 09:43:59 UTC
in 7.0:
ll /usr/lib/python2.7/site-packages/tuskar_ui/*/tests.py*
[stack@instack ~]$ ll /usr/lib/python2.7/site-packages/tuskar_ui/*/tests.py*
-rw-r--r--. 1 root root 11336 Jul 23 07:56 /usr/lib/python2.7/site-packages/tuskar_ui/utils/tests.py
-rw-r--r--. 2 root root 10397 Jul 23 07:56 /usr/lib/python2.7/site-packages/tuskar_ui/utils/tests.pyc
-rw-r--r--. 2 root root 10397 Jul 23 07:56 /usr/lib/python2.7/site-packages/tuskar_ui/utils/tests.pyo
==========================================================================
[stack@instack ~]$ ll /usr/lib/python2.7/site-packages/tuskar_ui/test
total 100
drwxr-xr-x. 2 root root 4096 Dec  3 11:08 api_tests
-rw-r--r--. 1 root root 1818 Apr 17  2015 formset_table_tests.py
-rw-r--r--. 2 root root 2387 Jul 23 07:56 formset_table_tests.pyc
-rw-r--r--. 2 root root 2387 Jul 23 07:56 formset_table_tests.pyo
-rw-r--r--. 1 root root 1599 Apr 17  2015 helpers.py
-rw-r--r--. 2 root root 2137 Jul 23 07:56 helpers.pyc
-rw-r--r--. 2 root root 2137 Jul 23 07:56 helpers.pyo
-rw-r--r--. 1 root root    0 Apr 17  2015 __init__.py
-rw-r--r--. 2 root root  146 Jul 23 07:56 __init__.pyc
-rw-r--r--. 2 root root  146 Jul 23 07:56 __init__.pyo
-rw-r--r--. 1 root root 2091 Apr 17  2015 selenium.py
-rw-r--r--. 2 root root 2151 Jul 23 07:56 selenium.pyc
-rw-r--r--. 2 root root 2151 Jul 23 07:56 selenium.pyo
-rw-r--r--. 1 root root 4367 Apr 17  2015 settings.py
-rw-r--r--. 2 root root 4180 Jul 23 07:56 settings.pyc
-rw-r--r--. 2 root root 4180 Jul 23 07:56 settings.pyo
drwxr-xr-x. 2 root root 4096 Dec  3 11:08 test_data
-rw-r--r--. 1 root root 2405 Apr 17  2015 test_forms.py
-rw-r--r--. 2 root root 2839 Jul 23 07:56 test_forms.pyc
-rw-r--r--. 2 root root 2839 Jul 23 07:56 test_forms.pyo
-rw-r--r--. 1 root root  930 Apr 17  2015 urls.py
-rw-r--r--. 2 root root  590 Jul 23 07:56 urls.pyc
-rw-r--r--. 2 root root  590 Jul 23 07:56 urls.pyo
========================================================
[stack@instack ~]$ ll /usr/lib/python2.7/site-packages/tuskar_ui/utils/tests.py*
-rw-r--r--. 1 root root 11336 Jul 23 07:56 /usr/lib/python2.7/site-packages/tuskar_ui/utils/tests.py
-rw-r--r--. 2 root root 10397 Jul 23 07:56 /usr/lib/python2.7/site-packages/tuskar_ui/utils/tests.pyc
-rw-r--r--. 2 root root 10397 Jul 23 07:56 /usr/lib/python2.7/site-packages/tuskar_ui/utils/tests.pyo
************************************************************
in 7.2 openstack-tuskar-0.4.18-5.el7ost.noarch

[stack@instack ~]$ ll /usr/lib/python2.7/site-packages/tuskar_ui/utils/tests.py*
ls: cannot access /usr/lib/python2.7/site-packages/tuskar_ui/utils/tests.py*: No such file or directory
[stack@instack ~]$ ll /usr/lib/python2.7/site-packages/tuskar_ui/test
ls: cannot access /usr/lib/python2.7/site-packages/tuskar_ui/test: No such file or directory
[stack@instack ~]$ ll /usr/lib/python2.7/site-packages/tuskar_ui/*/tests.py*
ls: cannot access /usr/lib/python2.7/site-packages/tuskar_ui/*/tests.py*: No such file or directory

Comment 6 errata-xmlrpc 2015-12-21 16:55:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2015:2651


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