Thanks. I did run it using the container (see Test Run below). Checking out from master wasn’t really necessary, but I did use the instructions from the docs there.
From: "[email protected]" <[email protected]<mailto:[email protected]>> Date: Tuesday, March 26, 2019 at 9:22:15 PM To: "[email protected]" <[email protected]<mailto:[email protected]>>, "[email protected]" <[email protected]<mailto:[email protected]>>, "'[email protected]'" <[email protected]<mailto:[email protected]>> Cc: "WRIGHT, STEVEN A" <[email protected]<mailto:[email protected]>>, "HALLAHAN, RYAN" <[email protected]<mailto:[email protected]>>, "STARK, STEVEN" <[email protected]<mailto:[email protected]>>, "'Lincoln Lavoie'" <[email protected]<mailto:[email protected]>>, "Heather Kirksey" <[email protected]<mailto:[email protected]>> Subject: Re: #vvp [compliance] [dovetail] Errors Running Dovetail on Heat Hi Trevor, I will use the package you provided to do some tests. Will let you know then. Suggest you to use dovetail docker image to do the test. Dovetail doesn’t support to run outside container. We haven’t do like this for a long time, so don’t know what will happen when doing like this. Thanks, Dan From: [email protected] [mailto:[email protected]] On Behalf Of Trevor Lovett Sent: Tuesday, March 26, 2019 10:31 PM To: [email protected]; [email protected]; '[email protected]' <[email protected]> Cc: WRIGHT, STEVEN A <[email protected]>; HALLAHAN, RYAN <[email protected]>; STARK, STEVEN <[email protected]>; 'Lincoln Lavoie' <[email protected]>; Heather Kirksey <[email protected]> Subject: #vvp [compliance] [dovetail] Errors Running Dovetail on Heat Per the discussion on yesterday’s joint CVC call, I attempted to run the dovetail-based Heat validations on the ONAP demo VNFs. I started with vFW, but I’m getting an error. Here are the details… Setup · Checked out master of https://gerrit.opnfv.org/gerrit/#/admin/projects/dovetail<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.opnfv.org_gerrit_-23_admin_projects_dovetail&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=g9LhwjMTPM4AuoWvYyDmqA&m=CVQh0xKOowG9kqMXiRLXxxXFUzRRyXazgX-dEHeiujs&s=ir8FUKrWCln6XrXFvT7cQPl-7AeAJzRrdkbKxbiBuJs&e=> · Installed python dependencies pip install -r requirements · vFW.tar.gz (attached) copied to ${DOVETAIL_HOME}/pre_config · Contents of ${DOVETAIL_HOME}/pre_config/env_config.sh export VNF_ARCHIVE_NAME="vFW" Test Run · Launched container with following command sudo docker run --privileged=true -it -e DOVETAIL_HOME=$DOVETAIL_HOME -v $DOVETAIL_HOME:$DOVETAIL_HOME -v /var/run/docker.sock:/var/run/docker.sock opnfv/dovetail:latest /bin/bash · Ran test Heat test suite with the following results root@0cb436b6081c:/usr/local/lib/python2.7/dist-packages/dovetail#<mailto:root@0cb436b6081c:/usr/local/lib/python2.7/dist-packages/dovetail#> dovetail run --testsuite onap.heat.2019.04 2019-03-26 14:15:18,949 - run - INFO - ================================================ 2019-03-26 14:15:18,951 - run - INFO - Dovetail compliance: onap.heat.2019.04! 2019-03-26 14:15:18,953 - run - INFO - ================================================ 2019-03-26 14:15:18,955 - run - INFO - Build tag: daily-master-95a88f6c-4fd1-11e9-aed6-0242ac110003 2019-03-26 14:15:19,559 - run - INFO - >>[testcase]: onap-vvp.validate.heat Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/dovetail/run.py", line 296, in <module> main() File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/dovetail/run.py", line 270, in main run_test(testcase_list, kwargs['report'], logger) File "/usr/local/lib/python2.7/dist-packages/dovetail/run.py", line 52, in run_test testcase.run() File "/usr/local/lib/python2.7/dist-packages/dovetail/testcase.py", line 157, in run runner.run() File "/usr/local/lib/python2.7/dist-packages/dovetail/test_runner.py", line 80, in run container_id = container.create(docker_image) File "/usr/local/lib/python2.7/dist-packages/dovetail/container.py", line 63, in create kwargs['environment'] = [env for env in env_list if env is not None] TypeError: 'NoneType' object is not iterable The command 'python /usr/local/lib/python2.7/dist-packages/dovetail/run.py --testsuite onap.heat.2019.04' failed. I did run this vFW with the latest version of VVP (without dovetail) and it passed without issue. I've attached that report as well. Any ideas what is causing this issue? Thanks, Trevor Lovett Lead Member of Technical Staff AT&T Labs, Operational Automation and Program Management AT&T Services, Inc. Dallas, TX m 314.401.8702 | [email protected]<mailto:[email protected]> This email and any attachments are confidential AT&T property intended solely for the recipients. If you received this message in error, please notify me and immediately delete this message from your computer. Any retention, distribution, or other use of this email is strictly prohibited. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16353): https://lists.onap.org/g/onap-discuss/message/16353 Mute This Topic: https://lists.onap.org/mt/30783065/21656 Mute #vvp: https://lists.onap.org/mk?hashtag=vvp&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
