two functional test cases are skipped when running using tox due to sudo permission issue

asked 2017-09-19 21:18:05 -0500

Anki gravatar image

Hi Team,

When i run networking-sfc functional tests two test cases are skipped, Could you please let me know it is expected and if there is any specific reason for skipping the test cases. I am running on newton based code.

{0} networking_sfc.tests.functional.db.test_models.TestDBCreation.test_head_creation [1.432333s] ... ok {0} networking_sfc.tests.functional.services.sfc.agent.extensions.test_ovs_agent_sfc_extension.TestOVSAgentSfcExtension.test_run(vsctl) ... SKIPPED: Testing with sudo is not enabled {0} networking_sfc.tests.functional.services.sfc.agent.extensions.test_ovs_agent_sfc_extension.TestOVSAgentSfcExtension.test_run(native) ... SKIPPED: Testing with sudo is not enabled Could not load networking_sfc.services.flowclassifier.plugin.FlowClassifierPlugin Could not load networking_sfc.services.sfc.plugin.SfcPlugin {1} networking_sfc.tests.functional.test_service.TestService.test_start [8.083597s] ... ok Slowest Tests Test id Runtime (s)


networking_sfc.tests.functional.test_service.TestService.test_start 8.084 networking_sfc.tests.functional.db.test_models.TestDBCreation.test_head_creation 1.432 networking_sfc.tests.functional.services.sfc.agent.extensions.test_ovs_agent_sfc_extension.TestOVSAgentSfcExtension.test_run(native) 0.103 networking_sfc.tests.functional.services.sfc.agent.extensions.test_ovs_agent_sfc_extension.TestOVSAgentSfcExtension.test_run(vsctl) 0.101

======

Totals

Run: 4 in 9.719352 sec. - Passed: 2 - Skipped: 2 - Failed: 0

==============

Worker Balance

  • Worker 0 (3 tests) => 0:00:01.636940s
  • Worker 1 (1 tests) => 0:00:08.083597s _____________________________________________ summary _____________________________________________ functional: commands succeeded congratulations :)

Thanks, Anki

edit retag flag offensive close merge delete