snaps has been removed from the upper-constraints provided by
Functest.Then the former snaps package is selected from PYPI instead of
the git commit id previously defined.And the sfc module can't be
imported due to the snaps api changes.
I'm adding snaps again in constraints to ensure only one version is
selected amongst all the OPNFV features.
bash-4.4# pythonPython 2.7.15 (default, Aug 16 2018, 14:17:09) [GCC
6.4.0] on linux2Type "help", "copyright", "credits" or "license" for
more information.>>> import sfc.tests.functest.run_sfc_testsTraceback
(most recent call last):  File "<stdin>", line 1, in <module>  File
"/usr/lib/python2.7/site-packages/sfc/tests/functest/run_sfc_tests.py", 
line 21, in <module>    from sfc.lib import cleanup as sfc_cleanup 
File "/usr/lib/python2.7/site-packages/sfc/lib/cleanup.py", line 4, in
<module>    import sfc.lib.openstack_utils as os_sfc_utils  File
"/usr/lib/python2.7/site-packages/sfc/lib/openstack_utils.py", line 13,
in <module>    from snaps.config.vm_inst import
FloatingIpConfigImportError: No module named config.vm_inst>>> 


Le jeudi 14 mars 2019 à 17:39 +0100, Cedric OLLIVIER via
Lists.Opnfv.Org a écrit :
> Manuel,
> 
> The testcase is enabled (see Loading test case 'functest-odl-sfc').
> Here it looks like a programming mistake as the sfc module can't be
> loaded. I'm checking your code.
> 
> 
> Cédric
> 
> Le jeudi 14 mars 2019 à 17:31 +0100, Manuel Buil a écrit :
> > Hi Cedric,
> > Now I can see SFC in master but I think something is wrong because
> > the module cannot be loaded:
> > https://hastebin.com/dipibupihu.bash
> > Is there anything else that I must activate?
> > Thanks,Manuel
> > 
> > 
> > On Thu, 2019-03-07 at 10:00 +0100, Manuel Buil wrote:
> > > Hello Cedric,
> > > 
> > > As you suggested, I started using the container "opnfv/functest-
> > > features:latest"; however, I don't see sfc project there. Is
> > > there anything wrong?  
> > > 
> > > Regards,
> > > Manuel
> > > 
> > > On Wed, 2019-03-06 at 19:00 +0100, Cedric OLLIVIER wrote:
> > > > SFC is now enabled in Functest master which could be the best
> > > > containers regarding your SUT (XCI).
> > > > https://gerrit.opnfv.org/gerrit/#/c/66811/
> > > > 
> > > > It had been disabled in Functest master when the SFC hunter
> > > > branch didn't exist (requirement synchronization). 
> > > > 
> > > > Cédric
> > > > 
> > > > Le mercredi 06 mars 2019 à 11:39 +0100, Manuel Buil a écrit :
> > > > > Thanks Cristina!
> > > > > 
> > > > > On Wed, 2019-03-06 at 09:10 +0000, Cristina Pauna wrote:
> > > > > > Hi Manuel,
> > > > > >  
> > > > > > When you start the Functest container, you need to pass
> > > > > > DEPLOY_SCENARIO variable, that needs to match the regex in
> > > > > > the
> > > > > >  testcases file [1] 
> > > > > > In your case, it needs to match odl.*sfc [2]
> > > > > >  
> > > > > > Thanks,
> > > > > > Cristina
> > > > > >  
> > > > > >  
> > > > > > [1]
> > > > > > 
> > > > > > https://github.com/opnfv/functest/blob/master/functest/ci/t
> > > > > > estcases.yaml
> > > > > > [2]
> > > > > > 
> > > > > > https://github.com/opnfv/functest/blob/master/functest/ci/t
> > > > > > estcases.yaml#L492
> > > > > >  
> > > > > > 
> > > > > > 
> > > > > > From: opnfv-tech-discuss@lists.opnfv.org [mailto:opnfv-tech
> > > > > > -disc...@lists.opnfv.org]
> > > > > > On Behalf Of Manuel Buil
> > > > > > 
> > > > > > Sent: Wednesday, March 6, 2019 10:54 AM
> > > > > > 
> > > > > > To: OPNFV-tech <opnfv-tech-discuss@lists.opnfv.org>
> > > > > > 
> > > > > > Subject: Re: [opnfv-tech-discuss] How to activate tests in
> > > > > > functest-features
> > > > > > 
> > > > > > 
> > > > > >  
> > > > > > 
> > > > > > Hey,
> > > > > > 
> > > > > > 
> > > > > >  
> > > > > > 
> > > > > > 
> > > > > > Nobody knows the answer? We are stuck in SFC...
> > > > > > 
> > > > > > 
> > > > > >  
> > > > > > 
> > > > > > 
> > > > > > We have also checked 
> > > > > > https://opnfv-functest.readthedocs.io/en/stable-gambia/test
> > > > > > ing/user/userguide/runfunctest.html but we could not find
> > > > > > anything either.
> > > > > > 
> > > > > > 
> > > > > >  
> > > > > > 
> > > > > > 
> > > > > > Any hint or pointer to docs would be great!
> > > > > > 
> > > > > > 
> > > > > >  
> > > > > > 
> > > > > > 
> > > > > > Thanks,
> > > > > > 
> > > > > > 
> > > > > > Manuel
> > > > > > 
> > > > > > 
> > > > > >  
> > > > > > 
> > > > > > 
> > > > > > On Mon, 2019-03-04 at 15:31 +0100, Manuel Buil wrote:
> > > > > > 
> > > > > > > Hi,
> > > > > > > 
> > > > > > > 
> > > > > > >  
> > > > > > > 
> > > > > > > 
> > > > > > > When I run 'run_tests -t functest-odl-sfc' inside the
> > > > > > > functest-
> > > > > > > 
> > > > > > > 
> > > > > > > features:gambia or hunter version, the tests are skipped.
> > > > > > > I have been
> > > > > > > 
> > > > > > > 
> > > > > > > reading the wiki but I could not find how to make
> > > > > > > functest run the sfc
> > > > > > > 
> > > > > > > 
> > > > > > > tests:
> > > > > > > 
> > > > > > > 
> > > > > > >  
> > > > > > > 
> > > > > > > 
> > > > > > > https://wiki.opnfv.org/pages/viewpage.action?pageId=29098
> > > > > > > 314
> > > > > > > 
> > > > > > > 
> > > > > > >  
> > > > > > > 
> > > > > > > 
> > > > > > > Any help or pointer to the correct doc will help!
> > > > > > > 
> > > > > > > 
> > > > > > >  
> > > > > > > 
> > > > > > > 
> > > > > > > Thanks,
> > > > > > > 
> > > > > > > 
> > > > > > > Manuel
> > > > > > > 
> > > > > > > 
> > > > > > > -=-=-=-=-=-=-=-=-=-=-=-
> > > > > > > 
> > > > > > > 
> > > > > > > Links: You receive all messages sent to this group.
> > > > > > > 
> > > > > > > 
> > > > > > >  
> > > > > > > 
> > > > > > > 
> > > > > > > View/Reply Online (#22879): 
> > > > > > > https://lists.opnfv.org/g/opnfv-tech-discuss/message/2287
> > > > > > > 9
> > > > > > > 
> > > > > > > 
> > > > > > > Mute This Topic: 
> > > > > > > https://lists.opnfv.org/mt/30213915/675458
> > > > > > > 
> > > > > > > 
> > > > > > > Group Owner: 
> > > > > > > opnfv-tech-discuss+ow...@lists.opnfv.org
> > > > > > > 
> > > > > > > 
> > > > > > > Unsubscribe: 
> > > > > > > https://lists.opnfv.org/g/opnfv-tech-discuss/unsubb  [mbu
> > > > > > > i...@suse.com]
> > > > > > > 
> > > > > > > 
> > > > > > > -=-=-=-=-=-=-=-=-=-=-=-
> > > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > This message, including attachments, is CONFIDENTIAL. It
> > > > > > may also be privileged or otherwise protected by law. If
> > > > > > you received this email by mistake please let us know by
> > > > > > reply and then delete it from your system; you should not
> > > > > > copy it or disclose its contents
> > > > > >  to anyone. All messages sent to and from Enea may be
> > > > > > monitored to ensure compliance with internal policies and
> > > > > > to protect our business. Emails are not secure and cannot
> > > > > > be guaranteed to be error free as they can be intercepted,
> > > > > > a mended, lost or destroyed,
> > > > > >  or contain viruses. The sender therefore does not accept
> > > > > > liability for any errors or omissions in the contents of
> > > > > > this message, which arise as a result of email
> > > > > > transmission. Anyone who communicates with us by email
> > > > > > accepts these risks.
> > > > > > 
> > > > > > 
> > > > > > -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent
> > > > > > to this group.
> > > > > > View/Reply Online (#22890): https://lists.opnfv.org/g/opnfv
> > > > > > -tech-discuss/message/22890
> > > > > > Mute This Topic: https://lists.opnfv.org/mt/30213915/675458
> > > > > > Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org
> > > > > > Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/u
> > > > > > nsub  [mb...@suse.com]-=-=-=-=-=-=-=-=-=-=-=-
> > > > > 
> > > > > -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent
> > > > > to this group.
> > > > > View/Reply Online (#22891): https://lists.opnfv.org/g/opnfv-t
> > > > > ech-discuss/message/22891
> > > > > Mute This Topic: https://lists.opnfv.org/mt/30213915/1217365
> > > > > Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org
> > > > > Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/uns
> > > > > ub  [ollivier.ced...@gmail.com]-=-=-=-=-=-=-=-=-=-=-=-
> > > > 
> > > > -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to
> > > > this group.
> > > > View/Reply Online (#22893): https://lists.opnfv.org/g/opnfv-tec
> > > > h-discuss/message/22893
> > > > Mute This Topic: https://lists.opnfv.org/mt/30213915/675458
> > > > Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org
> > > > Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub
> > > >   [mb...@suse.com]-=-=-=-=-=-=-=-=-=-=-=-
> > > 
> > > -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to
> > > this group.
> > > View/Reply Online (#22897): https://lists.opnfv.org/g/opnfv-tech-
> > > discuss/message/22897
> > > Mute This Topic: https://lists.opnfv.org/mt/30213915/675458
> > > Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org
> > > Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub  
> > > [mb...@suse.com]-=-=-=-=-=-=-=-=-=-=-=-
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#22921): https://lists.opnfv.org/g/opnfv-tech-disc
> uss/message/22921
> Mute This Topic: https://lists.opnfv.org/mt/30213915/1217365
> Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org
> Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub  [oll
> ivier.ced...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#22923): 
https://lists.opnfv.org/g/opnfv-tech-discuss/message/22923
Mute This Topic: https://lists.opnfv.org/mt/30213915/21656
Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org
Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to