Wind River Support Network

HomeDefectsOPS-44
Fixed

OPS-44 : There are some errors when running build-in openstack test cases of "keystone".

Created: May 15, 2014    Updated: Aug 24, 2015
Resolved Date: Jun 11, 2014
Found In Version: Havana 2013.2
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: OpenStack

Description

Testing topology
================

controller(Using Ironpass)  <----> compute(Using westmare)


Problem Description
======================
There are some errors when running build-in openstack test cases of "keystone".

Expected Behavior
======================
ok

Observed Behavior
======================
root@controller:~# init_setup_ostest.sh
Stopping neutron-server...done.
Starting neutron-server...done.
root@controller:~# run_ostest_nose.sh
...

===================================
Start running tests in /usr/lib64/python2.7/site-packages/keystone/tests
===================================
Total: 1404, Passed: 666
...

Note: Detailed result about keystone please see following URL.
http://pek-rth-vm1.wrs.com/publiclog/wrlopenstack/openstack/GIT_2014-05-12/intel-xeon-core/IronPass/build-in-test/results_nose_14-05-03-33-03/_usr_lib64_python2.7_site-packages_keystone_tests.details
http://pek-rth-vm1.wrs.com/publiclog/wrlopenstack/openstack/GIT_2014-05-12/intel-xeon-core/IronPass/build-in-test/results_nose_14-05-03-33-03/_usr_lib64_python2.7_site-packages_keystone_tests.results 

Steps to Reproduce

1 Configure compute and controller, then deploy it on the board.
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=24 --enable-parallel-pkgbuilds=24 --with-template=feature/openstack-test; make fs
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=24 --enable-parallel-pkgbuilds=24; make fs

2 
When opening this defect, I Copied following fils to testing device from here. 
($product_path)/wrlinux-x/addons/wr-ovp-openstack/Documentation.ND/test/openstack_test_results/run_ostest_nose.sh 

Note: The path about keystone in run_ostest_nost is wrong, you need change related keystone's path. 

3 
Following is running command. 
root@controller:~# ./run_ostest_nose.sh -t /usr/lib64/python2.7/site-packages/keystone/tests 
Live chat
Online