Wind River Support Network

HomeDefectsOPS-72
Fixed

OPS-72 : Build-in cases directory in file "README" and "run_ostest_nose.sh" is wrong.

Created: May 25, 2014    Updated: Nov 4, 2016
Resolved Date: Aug 20, 2014
Found In Version: Havana 2013.2
Fix Version: Havana 2013.2 RCPL 5.0.1.16
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: OpenStack

Description

1 Cuts from $PRODUCT_PATH/wrlinux-x/addons/wr-ovp-openstack/Documentation.ND/test/openstack_test_results/README

---->---->---->---->

Summary
=======

This folder contains the results of all openstack testcases in the
following folders:

   /usr/lib/python2.7/site-packages/keystoneclient/tests
   /usr/lib/python2.7/site-packages/keystone/tests
   /usr/lib/python2.7/site-packages/glance/tests
   /usr/lib/python2.7/site-packages/cinderclient/tests
   /usr/lib/python2.7/site-packages/cinder/tests
   /usr/lib/python2.7/site-packages/neutronclient/tests
   /usr/lib/python2.7/site-packages/neutron/tests
   /usr/lib/python2.7/site-packages/novaclient/tests
   /usr/lib/python2.7/site-packages/nova/tests
   /usr/lib/python2.7/site-packages/horizon/test/tests
   /usr/lib/python2.7/site-packages/ceilometerclient/tests
   /usr/lib/python2.7/site-packages/ceilometer/tests
   /usr/lib/python2.7/site-packages/heatclient/tests
   /usr/lib/python2.7/site-packages/heat/tests
   /usr/lib/python2.7/site-packages/tempest

---->---->---->---->

2 On controller console

root@controller:~# ls /usr/lib/python2.7/site-packages/keystoneclient/tests
ls: cannot access /usr/lib/python2.7/site-packages/keystoneclient/tests: No such file or directory
root@controller:~# ls /usr/lib64/python2.7/site-packages/keystoneclient/tests
__init__.py			test_http.pyc
__init__.pyc			test_https.py
apiclient			test_https.pyc
auth				test_keyring.py
client_fixtures.py		test_keyring.pyc
client_fixtures.pyc		test_memcache_crypt.py
fakes.py			test_memcache_crypt.pyc
fakes.pyc			test_s3_token_middleware.py
generic				test_s3_token_middleware.pyc
test_auth_token_middleware.py	test_session.py
test_auth_token_middleware.pyc	test_session.pyc
test_base.py			test_shell.py
test_base.pyc			test_shell.pyc
test_cms.py			test_utils.py
test_cms.pyc			test_utils.pyc
test_discovery.py		utils.py
test_discovery.pyc		utils.pyc
test_ec2utils.py		v2_0
test_ec2utils.pyc		v3
test_http.py
root@controller:~#

Workaround

No

Steps to Reproduce

1 Build controller and compute to test build-in testcase.
Build controller:
------------------
configure --enable-board=intel-xeon-core --enable-rootfs=ovp-openstack-controller --with-layer=meta-cloud-services/meta-openstack-qemu --enable-addons=wr-ovp-openstack,wr-ovp --enable-bootimage=ext3 --enable-jobs=18 --enable-parallel-pkgbuilds=18 --with-template=feature/openstack-test

Build compute:
---------------
configure --enable-board=intel-xeon-core --enable-rootfs=ovp-openstack-compute --enable-addons=wr-ovp,wr-ovp-openstack --with-layer=meta-cloud-services/meta-openstack-qemu --enable-reconfig --enable-bootimage=ext3 --enable-jobs=18 --enable-parallel-pkgbuilds=18

2 Following steps in $PRODUCT_PATH/wrlinux-x/addons/wr-ovp-openstack/Documentation.ND/test/openstack_test_results/README
Then you found directory about build-in test case isn't right.

The same problem also exist in file of "run_ostest_nose.sh", files path is following:
$PRODUCT_PATH/wrlinux-x/addons/wr-ovp-openstack/Documentation.ND/test/openstack_test_results/run_ostest_nose.sh
Live chat
Online