Hi,
The docker image building has been failing in
https://hub.docker.com/r/opnfv/functest-parser/builds/ since 7 days. but it is
successful when build manually in my local env. Please have a look and fix it
as soon as possible,thanks.
Successfully installed certifi-2017.4.17 chardet-3.0.4 idna-2.5
openstack-requirements pbr-3.1.1 pyparsing-2.2.0 requests-2.18.2
testtools-2.3.0 urllib3-1.22[91mfatal: destination path '/src/rally' already
exists and is not an empty directory.
[0mRemoving intermediate container 136d8ca27b2f
尚小冬 shangxiaodong
IT开发工程师 IT Development
Engineer
虚拟化四部/无线研究院/无线产品经营部 NIV Dept. IV/Wireless Product R&D Institute/Wireless
Product Operation Division
深圳市南山区科技南路55号中兴通讯研发大楼33楼
33/F, R&D Building, ZTE
Corporation Hi-tech Road South,
Hi-tech
Industrial Park Nanshan District, Shenzhen, P.R.China, 518057
T: +86 755 xxxxxxxx F:+86 755 xxxxxxxx
M: +86 xxxxxxxxxxx
E: shang.xiaod...@zte.com.cn
www.zte.com.cn
原始邮件
发件人:尚小冬10032185
收件人: <ollivier.ced...@gmail.com>
抄送人: <morgan.richo...@orange.com>
<opnfv-helpd...@rt.linuxfoundation.org>冯晓伟00125593
<opnfv-tech-discuss@lists.opnfv.org>
日 期 :2017年09月19日 20:58
主 题 :答复: Re: 答复: Re: 答复: Re: [opnfv-tech-discuss] About parser integration with
functest usingthe lates container
HI,
It seems that the patch works. the test result of parser container is OK now in
my local env.
尚小冬 shangxiaodong
IT开发工程师 IT Development Engineer
虚拟化四部/无线研究院/无线产品经营部 NIV Dept. IV/Wireless Product R&D Institute/Wireless
Product Operation Division
深圳市南山区科技南路55号中兴通讯研发大楼33楼
33/F, R&D Building, ZTE Corporation Hi-tech Road South,
Hi-tech Industrial Park Nanshan District, Shenzhen, P.R.China, 518057
T: +86 755 xxxxxxxx F:+86 755 xxxxxxxx
M: +86 xxxxxxxxxxx
E: shang.xiaod...@zte.com.cn
www.zte.com.cn
发件人: <ollivier.ced...@gmail.com>
收件人:尚小冬10032185 <morgan.richo...@orange.com>
抄送人: <opnfv-helpd...@rt.linuxfoundation.org>冯晓伟00125593
<opnfv-tech-discuss@lists.opnfv.org>
日 期 :2017年09月19日 17:40
主 题 :Re: 答复: Re: 答复: Re: [opnfv-tech-discuss] About parser integration with
functest usingthe lates container
It's related to the latest ansible updates. I added a constraint.
https://gerrit.opnfv.org/gerrit/#/c/42399/
Thank you
Cédric
2017-09-19 10:23 GMT+02:00 Cedric OLLIVIER <ollivier.ced...@gmail.com>:
Hello,
Let's try with a newer rally version (pike) as I kept the one which we have
tested via the main containers.
It's globally a big overhead.
Cédric
2017-09-19 9:17 GMT+02:00 <shang.xiaod...@zte.com.cn>:
Hi,ollivier.
After updating your patch about Rally error, i built the functest-parsr image
and tested it locally, it still doesn't pass step of creating rally deployment,
the log is shown as following:
2017-09-19 07:02:50,682 - functest.ci.prepare_env - INFO -
==============================================
2017-09-19 07:02:50,683 - functest.ci.prepare_env - INFO - Sourcing the
OpenStack RC file...
2017-09-19 07:02:50,693 - functest.ci.prepare_env - INFO -
==============================================
2017-09-19 07:02:50,693 - functest.ci.prepare_env - INFO - Creating Rally
environment...
Command failed, please check log for more info
2017-09-19 07:02:52.105 11 CRITICAL rally [-] Unhandled error: ImportError:
cannot import name VariableManager
2017-09-19 07:02:52.105 11 ERROR rally Traceback (most recent call last):
2017-09-19 07:02:52.105 11 ERROR rally File "/usr/bin/rally", line 10, in
<module>
2017-09-19 07:02:52.105 11 ERROR rally sys.exit(main())
2017-09-19 07:02:52.105 11 ERROR rally File
"/usr/lib/python2.7/site-packages/rally/cli/main.py", line 38, in main
2017-09-19 07:02:52.105 11 ERROR rally return cliutils.run(sys.argv,
categories)
2017-09-19 07:02:52.105 11 ERROR rally File
"/usr/lib/python2.7/site-packages/rally/cli/cliutils.py", line 661, in run
2017-09-19 07:02:52.105 11 ERROR rally ret = fn(*fn_args, **fn_kwargs)
2017-09-19 07:02:52.105 11 ERROR rally File "<decorator-gen-11>", line 2, in
destroy
2017-09-19 07:02:52.105 11 ERROR rally File
"/usr/lib/python2.7/site-packages/rally/cli/envutils.py", line 68, in
default_from_global
2017-09-19 07:02:52.105 11 ERROR rally return f(*args, **kwargs)
2017-09-19 07:02:52.105 11 ERROR rally File "<decorator-gen-10>", line 2, in
destroy
2017-09-19 07:02:52.105 11 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:52.105 11 ERROR rally load()
2017-09-19 07:02:52.105 11 ERROR rally File
"/usr/lib/python2.7/site-packages/rally/plugins/__init__.py", line 32, in load
2017-09-19 07:02:52.105 11 ERROR rally
discover.import_modules_from_package("rally.plugins")
2017-09-19 07:02:52.105 11 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:52.105 11 ERROR rally module_name)
2017-09-19 07:02:52.105 11 ERROR rally File
"/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 73, in
import_module
2017-09-19 07:02:52.105 11 ERROR rally __import__(import_str)
2017-09-19 07:02:52.105 11 ERROR rally File
"/usr/lib/python2.7/site-packages/rally/plugins/openstack/hook/fault_injection.py",
line 16, in <module>
2017-09-19 07:02:52.105 11 ERROR rally import os_faults
2017-09-19 07:02:52.105 11 ERROR rally File
"/usr/lib/python2.7/site-packages/os_faults/__init__.py", line 21, in <module>
2017-09-19 07:02:52.105 11 ERROR rally from os_faults.ansible import
executor
2017-09-19 07:02:52.105 11 ERROR rally File
"/usr/lib/python2.7/site-packages/os_faults/ansible/executor.py", line 24, in
<module>
2017-09-19 07:02:52.105 11 ERROR rally from ansible.vars import
VariableManager
2017-09-19 07:02:52.105 11 ERROR rally ImportError: cannot import name
VariableManager
2017-09-19 07:02:52.105 11 ERROR rally
Command failed, please check log for more info
2017-09-19 07:02:53.633 17 CRITICAL rally [-] Unhandled error: ImportError:
cannot 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
<module>
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 "<decorator-gen-5>", 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 <module>
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 <module>
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
<module>
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&D Building, ZTE Corporation Hi-tech Road South,
Hi-tech Industrial Park Nanshan District, Shenzhen, P.R.China, 518057
T: +86 755 xxxxxxxx F:+86 755 xxxxxxxx
M: +86 xxxxxxxxxxx
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&D Building, ZTE Corporation Hi-tech Road South,
Hi-tech Industrial Park Nanshan District, Shenzhen, P.R.China, 518057
T: +86 755 xxxxxxxx F:+86 755 xxxxxxxx
M: +86 xxxxxxxxxxx
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 dockerfile, then it works and the parser testcase
> runs successfully.
>
> FROM alpine:3.6 -> FROM opnfv/functest-core
>
>
> Please recheck it, thanks.
>
>
> 尚小冬 shangxiaodong
>
>
>
> _______________________________________________
> opnfv-tech-discuss mailing list
> opnfv-tech-discuss@lists.opnfv.org
> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
>
_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss