Re: [opnfv-tech-discuss] 答复: Re: 答复: Re: About parser integration with functest usingthe lates container

2017-09-19 Thread Cedric OLLIVIER
 import name VariableManager
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally Traceback (most recent call last):
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File "/usr/bin/rally", line 10,
>> in 
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally sys.exit(main())
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File
>> "/usr/lib/python2.7/site-packages/rally/cli/main.py", line 38, in main
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally return cliutils.run(sys.argv,
>> categories)
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File
>> "/usr/lib/python2.7/site-packages/rally/cli/cliutils.py", line 661, in
>> run
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally ret = fn(*fn_args, **fn_kwargs)
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File "", line
>> 2, in create
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File
>> "/usr/lib/python2.7/site-packages/rally/plugins/__init__.py", line 42,
>> in ensure_plugins_are_loaded
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally load()
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File
>> "/usr/lib/python2.7/site-packages/rally/plugins/__init__.py", line 32,
>> in load
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally discover.import_modules_from_p
>> ackage("rally.plugins")
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File
>> "/usr/lib/python2.7/site-packages/rally/common/plugin/discover.py", line
>> 60, in import_modules_from_package
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally module_name)
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File
>> "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 73,
>> in import_module
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally __import__(import_str)
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File
>> "/usr/lib/python2.7/site-packages/rally/plugins/openstack/hook/fault_injection.py",
>> line 16, in 
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally import os_faults
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File
>> "/usr/lib/python2.7/site-packages/os_faults/__init__.py", line 21, in
>> 
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally from os_faults.ansible import
>> executor
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally   File
>> "/usr/lib/python2.7/site-packages/os_faults/ansible/executor.py", line
>> 24, in 
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally from ansible.vars import
>> VariableManager
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally ImportError: cannot import name
>> VariableManager
>>
>> 2017-09-19 07:02:53.633 17 ERROR rally
>>
>> 2017-09-19 07:02:53,692 - functest.utils.functest_utils - ERROR - Problem
>> while creating Rally deployment
>>
>> 2017-09-19 07:02:53,693 - functest.ci.prepare_env - ERROR - Problem while
>> creating Rally deployment
>>
>>
>>
>>
>> 尚小冬 shangxiaodong
>>
>>
>> IT开发工程师 IT Development Engineer
>> 虚拟化四部/无线研究院/无线产品经营部 NIV Dept. IV/Wireless Product R&D Institute/Wireless
>> Product Operation Division
>>
>>
>>
>> 深圳市南山区科技南路55号
>> <https://maps.google.com/?q=%E6%B7%B1%E5%9C%B3%E5%B8%82%E5%8D%97%E5%B1%B1%E5%8C%BA%E7%A7%91%E6%8A%80%E5%8D%97%E8%B7%AF55%E5%8F%B7=gmail=g>中兴通讯研发大楼33楼
>>
>> 33/F, R Building, ZTE Corporation Hi-tech Road South,
>> Hi-tech Industrial Park Nanshan District, Shenzhen, P.R.China, 518057
>> T: +86 755  F:+86 755 
>> M: +86 xxx
>> E: shang.xiaod...@zte.com.cn
>> www.zte.com.cn
>> 原始邮件
>> *发件人:* <ollivier.ced...@gmail.com>;
>> *收件人:*尚小冬10032185;
>> *抄送人:* <opnfv-helpd...@rt.linuxfoundation.org>;冯晓伟00125593; <
>> opnfv-tech-discuss@lists.opnfv.org>;
>> *日 期 :*2017年09月14日 22:19
>> *主 题 :**Re: 答复: Re: [opnfv-tech-discuss] About parser integration with
>> functest usingthe lates container*
>>
>>
>> Badly we must install tempest even here as it's automically configured
>> when preparing env.
>> I will work during F dev cycle to split functest core/ci and testcases
>> hosted in Functest.
>>
>> The issue is simply due to OpenStack upper-constraints. I must override
>> them to add -e (then it will be installed in /src).
>> That's what functest-core does.
>>
>> Cédric
>>
>> 2017-09-14 14:43 GMT+02:00  <shang.xiaod...@zte.com.cn>:
>>
>>>

Re: [opnfv-tech-discuss] 答复: Re: 答复: Re: About parser integration with functest usingthe lates container

2017-09-19 Thread Cedric OLLIVIER
3 17 ERROR rally ret = fn(*fn_args, **fn_kwargs)
>
> 2017-09-19 07:02:53.633 17 ERROR rally   File "", line 2,
> in create
>
> 2017-09-19 07:02:53.633 17 ERROR rally   File "/usr/lib/python2.7/site-
> packages/rally/plugins/__init__.py", line 42, in ensure_plugins_are_loaded
>
> 2017-09-19 07:02:53.633 17 ERROR rally load()
>
> 2017-09-19 07:02:53.633 17 ERROR rally   File "/usr/lib/python2.7/site-
> packages/rally/plugins/__init__.py", line 32, in load
>
> 2017-09-19 07:02:53.633 17 ERROR rally discover.import_modules_from_
> package("rally.plugins")
>
> 2017-09-19 07:02:53.633 17 ERROR rally   File "/usr/lib/python2.7/site-
> packages/rally/common/plugin/discover.py", line 60, in
> import_modules_from_package
>
> 2017-09-19 07:02:53.633 17 ERROR rally module_name)
>
> 2017-09-19 07:02:53.633 17 ERROR rally   File "/usr/lib/python2.7/site-
> packages/oslo_utils/importutils.py", line 73, in import_module
>
> 2017-09-19 07:02:53.633 17 ERROR rally __import__(import_str)
>
> 2017-09-19 07:02:53.633 17 ERROR rally   File "/usr/lib/python2.7/site-
> packages/rally/plugins/openstack/hook/fault_injection.py", line 16, in
> 
>
> 2017-09-19 07:02:53.633 17 ERROR rally import os_faults
>
> 2017-09-19 07:02:53.633 17 ERROR rally   File "/usr/lib/python2.7/site-
> packages/os_faults/__init__.py", line 21, in 
>
> 2017-09-19 07:02:53.633 17 ERROR rally from os_faults.ansible import
> executor
>
> 2017-09-19 07:02:53.633 17 ERROR rally   File "/usr/lib/python2.7/site-
> packages/os_faults/ansible/executor.py", line 24, in 
>
> 2017-09-19 07:02:53.633 17 ERROR rally from ansible.vars import
> VariableManager
>
> 2017-09-19 07:02:53.633 17 ERROR rally ImportError: cannot import name
> VariableManager
>
> 2017-09-19 07:02:53.633 17 ERROR rally
>
> 2017-09-19 07:02:53,692 - functest.utils.functest_utils - ERROR - Problem
> while creating Rally deployment
>
> 2017-09-19 07:02:53,693 - functest.ci.prepare_env - ERROR - Problem while
> creating Rally deployment
>
>
>
>
> 尚小冬 shangxiaodong
>
>
> IT开发工程师 IT Development Engineer
> 虚拟化四部/无线研究院/无线产品经营部 NIV Dept. IV/Wireless Product R&D Institute/Wireless
> Product Operation Division
>
>
>
> 深圳市南山区科技南路55号
> <https://maps.google.com/?q=%E6%B7%B1%E5%9C%B3%E5%B8%82%E5%8D%97%E5%B1%B1%E5%8C%BA%E7%A7%91%E6%8A%80%E5%8D%97%E8%B7%AF55%E5%8F%B7=gmail=g>中兴通讯研发大楼33楼
>
> 33/F, R Building, ZTE Corporation Hi-tech Road South,
> Hi-tech Industrial Park Nanshan District, Shenzhen, P.R.China, 518057
> T: +86 755  F:+86 755 
> M: +86 xxx
> E: shang.xiaod...@zte.com.cn
> www.zte.com.cn
> 原始邮件
> *发件人:* <ollivier.ced...@gmail.com>;
> *收件人:*尚小冬10032185;
> *抄送人:* <opnfv-helpd...@rt.linuxfoundation.org>;冯晓伟00125593; <
> opnfv-tech-discuss@lists.opnfv.org>;
> *日 期 :*2017年09月14日 22:19
> *主 题 :**Re: 答复: Re: [opnfv-tech-discuss] About parser integration with
> functest usingthe lates container*
>
>
> Badly we must install tempest even here as it's automically configured
> when preparing env.
> I will work during F dev cycle to split functest core/ci and testcases
> hosted in Functest.
>
> The issue is simply due to OpenStack upper-constraints. I must override
> them to add -e (then it will be installed in /src).
> That's what functest-core does.
>
> Cédric
>
> 2017-09-14 14:43 GMT+02:00  <shang.xiaod...@zte.com.cn>:
>
>>
>> Yes, the image size increase about 100MB.
>>
>> Maybe it's a solution to install tempest directly when building parser
>> container.
>>
>> But i wonder why it's neccessary to call tempest in parser container?
>>
>>
>> 尚小冬 shangxiaodong
>>
>>
>> IT开发工程师 IT Development Engineer
>> 虚拟化四部/无线研究院/无线产品经营部 NIV Dept. IV/Wireless Product R&D Institute/Wireless
>> Product Operation Division
>>
>>
>>
>> 深圳市南山区科技南路55号
>> <https://maps.google.com/?q=%E6%B7%B1%E5%9C%B3%E5%B8%82%E5%8D%97%E5%B1%B1%E5%8C%BA%E7%A7%91%E6%8A%80%E5%8D%97%E8%B7%AF55%E5%8F%B7=gmail=g>中兴通讯研发大楼33楼
>>
>> 33/F, R Building, ZTE Corporation Hi-tech Road South,
>> Hi-tech Industrial Park Nanshan District, Shenzhen, P.R.China, 518057
>> T: +86 755  F:+86 755 
>> M: +86 xxx
>> E: shang.xiaod...@zte.com.cn
>> www.zte.com.cn
>> 原始邮件
>> *发件人:* <ollivier.ced...@gmail.com>;
>> *收件人:*尚小冬10032185;
>> *抄送人:* <opnfv-helpd...@rt.linuxfoundation.org>;冯晓伟00125593; <
>> opnfv-tech-discuss@lists.opnfv.org>;
>> *日 期 :*2017年09月14日 20:25

[opnfv-tech-discuss] 答复: Re: 答复: Re: About parser integration with functest usingthe lates container

2017-09-19 Thread shang.xiaodong
2017-09-19 07:02:53.633 17 ERROR rally module_name)

2017-09-19 07:02:53.633 17 ERROR rally   File 
"/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 73, in 
import_module

2017-09-19 07:02:53.633 17 ERROR rally __import__(import_str)

2017-09-19 07:02:53.633 17 ERROR rally   File 
"/usr/lib/python2.7/site-packages/rally/plugins/openstack/hook/fault_injection.py",
 line 16, in 

2017-09-19 07:02:53.633 17 ERROR rally import os_faults

2017-09-19 07:02:53.633 17 ERROR rally   File 
"/usr/lib/python2.7/site-packages/os_faults/__init__.py", line 21, in 

2017-09-19 07:02:53.633 17 ERROR rally from os_faults.ansible import 
executor

2017-09-19 07:02:53.633 17 ERROR rally   File 
"/usr/lib/python2.7/site-packages/os_faults/ansible/executor.py", line 24, in 


2017-09-19 07:02:53.633 17 ERROR rally from ansible.vars import 
VariableManager

2017-09-19 07:02:53.633 17 ERROR rally ImportError: cannot import name 
VariableManager

2017-09-19 07:02:53.633 17 ERROR rally

2017-09-19 07:02:53,692 - functest.utils.functest_utils - ERROR - Problem while 
creating Rally deployment

2017-09-19 07:02:53,693 - functest.ci.prepare_env - ERROR - Problem while 
creating Rally deployment













尚小冬 shangxiaodong






IT开发工程师 IT Development
Engineer
虚拟化四部/无线研究院/无线产品经营部 NIV Dept. IV/Wireless Product R&D Institute/Wireless 
Product Operation Division









深圳市南山区科技南路55号中兴通讯研发大楼33楼 
33/F, R Building, ZTE
Corporation Hi-tech Road South, 
Hi-tech
Industrial Park Nanshan District, Shenzhen, P.R.China, 518057 
T: +86 755  F:+86 755 xxxxxxxx 
M: +86 xxx 
E: shang.xiaod...@zte.com.cn 
www.zte.com.cn






原始邮件



发件人: <ollivier.ced...@gmail.com>
收件人:尚小冬10032185
抄送人: <opnfv-helpd...@rt.linuxfoundation.org>冯晓伟00125593 
<opnfv-tech-discuss@lists.opnfv.org>
日 期 :2017年09月14日 22:19
主 题 :Re: 答复: Re: [opnfv-tech-discuss] About parser integration with functest 
usingthe lates container






Badly we must install tempest even here as it's automically configured when 
preparing env.

I will work during F dev cycle to split functest core/ci and testcases hosted 
in Functest.


The issue is simply due to OpenStack upper-constraints. I must override them to 
add -e (then it will be installed in /src).

That's what functest-core does.


Cédric




2017-09-14 14:43 GMT+02:00  <shang.xiaod...@zte.com.cn>:





Yes, the image size increase about 100MB.

Maybe it's a solution to install tempest directly when building parser 
container. 

But i wonder why it's neccessary to call tempest in parser container?








尚小冬 shangxiaodong






IT开发工程师 IT Development Engineer
虚拟化四部/无线研究院/无线产品经营部 NIV Dept. IV/Wireless Product R&D Institute/Wireless 
Product Operation Division









深圳市南山区科技南路55号中兴通讯研发大楼33楼 
33/F, R Building, ZTE Corporation Hi-tech Road South, 
Hi-tech Industrial Park Nanshan District, Shenzhen, P.R.China, 518057 
T: +86 755  F:+86 755  
M: +86 xxx 
E: shang.xiaod...@zte.com.cn 
www.zte.com.cn






原始邮件



发件人: <ollivier.ced...@gmail.com>
收件人:尚小冬10032185
抄送人: <opnfv-helpd...@rt.linuxfoundation.org>冯晓伟00125593 
<opnfv-tech-discuss@lists.opnfv.org>
日 期 :2017年09月14日 20:25
主 题 :Re: [opnfv-tech-discuss] About parser integration with functest usingthe 
lates container






Hello,

No you shouldn't inherit from opnfv/functest-core. Otherwise you're
mixing requirements from stable/ocata and stable/pike.
It could also increase the size of the container.

I am working on it this afternoon.

Cédric

2017-09-14 12:55 GMT+02:00  <shang.xiaod...@zte.com.cn>:
> HI, ollivier.
>
> Using the latest container, parser and functest have been integrated
> successfully in my local enviroment, and the following is a functest related
> issue:
>
>
> When start the parser container:
>
>
> | Plugin base  | Name
> | Namespace | Title
> |
>
> +--++---+-+
>
> | Chart| Lines
> | default   | Display results as generic chart with lines.
> |
>
> | Chart| Pie
> | default   | Display results as pie, calculate average values for additive
> data. |
>
> 2017-09-14 10:32:48,469 - functest.ci.prepare_env - INFO - Installing
> tempest from existing repo...
>
> 2017-09-14 10:32:51.581 46 INFO rally.api [-] Creating verifier
> 'opnfv-tempest'.
>
> Source path '/src/tempest' is not valid.
>
> 2017-09-14 10:32:52,047 - functest.utils.functest_utils - ERROR - Problem
> while installing Tempest.
>
> 2017-09-14 10:32:52,047 - functest.ci.prepare_env - ERROR - Problem while
> installing Tempest.
>
>
> With the help from serena, we switch the base image from alpine to
> functest-core in parser doc