<div dir="ltr"><div><div>I'm trying to set up a dsvm gate job for networking-calico [1] - which I think means<br></div>- using DevStack to set up a single combined controller/compute node, with networking-calico settings and plugin [2]<br></div>- using Tempest to run some tests on that; ideally including some networking-related tests :-)<br><div><br>Unfortunately it doesn't run well yet [3][4]: I see tests failing because of something to do with credentials, and that also seem unrelated to networking, and I'm not sure if any networking-related tests are running.<br><br></div><div>I've tried comparing against the similar job for networking-ovn [5][6].  Before the point where Tempest starts reporting success/failure of individual tests, the only notable difference I see is that the networking-calico output has:<br><br>sed: can't read /opt/stack/new/tempest/etc/tempest.conf: No such file or directory<br>Running tempest with a custom regex filter<br>all create: /opt/stack/new/tempest/.tox/tempest<br>all installdeps: setuptools, -r/opt/stack/new/tempest/requirements.txt<br>all develop-inst: /opt/stack/new/tempest<br><br></div><div>where the networking-ovn output only has:<br><br>Running tempest with a custom regex filter<br>all develop-inst-noop: /opt/stack/new/tempest<br><br></div><div>Is that significant?<br><br></div><div>Then the next, very obvious, difference is that the networking-calico output seems to have the results of individual tests all jumbled up - like output from multiple threads without a lock:<br><br>${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_PATH:-./tempest/test_discover}  --load-list /tmp/tmpGuFAar<br>2016-10-19 17:43:01.981 30902 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf<br>2016-10-19 17:43:02.005 30904 INFO tempest [-] Using tempest confi20g1 6file -/10e-19tc/te mp1e7s:4t3:/te02.030m 3pe0s908t INFO. tceonf<br>mpest [-] Using tempest config file /etc/tempest/tempest.co20n1f6<br>-10-19 17:43:02.059 30906 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf<br>{0} setUpClass (tempest.api.baremetal.admin.test_api_discovery.TestApiDiscovery) ... SKIPPED: TestApiDiscovery skipped as Ironic is not available<br>2016-10-19 17:43:02.373 30902 INFO tempest.test [-] <class 'tempest.lib.exceptions.InvalidCredentials'> raised in AgentsAdminTestJSON.setUpClass. Invoking tearDownClass.<br>{3} setUpClass (tempest.api.baremetal.admin.test_nodes.TestNodes) ... SKIPPED: TestNodes skipped as Ironic is not available<br>{2} setUpClass (tempest.api.baremetal.admin.test_drivers.TestDrivers) ... SKIPPED: TestDrivers skipped as Ironic is not available<br>{2} setUpClass (tempest.api.baremetal.admin.test_ports_negative.TestPortsNegative) ... SKIPPED: TestPortsNegative skipped as Ironic is not available<br>20{3} setUpClass (tempest.api.baremetal.admin.test_nodestates.TestNodeStates) ... SKIPPED: TestNodeStates skipped as Ironic is not available<br>16{0} setUpClass (tempest.api.compute.admin.test_agents.AgentsAdminTestJSON) [0.000000s] ... FAILED<br>2{3} setUpClass (tempest.api.baremetal.admin.test_ports.TestPorts) ... SKIPPED: TestPorts skipped as Ironic is not available<br>021-106-1-016190- -111097:- 147:13:9403:2. 104728.32 :4{1} setUpClass (tempest.api.baremetal.admin.test_chassis.TestChassis) ... SKIPPED: TestChassis skipped as Ironic is not available<br>23:3020.41356 7-9 0931300006 INFO tempest.test [-] <class 'tempest.lib.exceptions.InvalidCre908 INFO- t19de 90empe17st.:4tes3:0tn22 t. [i3-8aIN]l6 FOs  t'30em90<p>4 IN class resFa't.O teitesmpstt eedst.teste[ -mp] [- in]e< s cBtl<.aarlisb.ecmetexalceptions.Invs 'temNodesAdminTestJSON.setUpCalpesidCredentitlaa.lliss 'teb.eassxce. Inlspmtvoki'>on ras.piieInng vassliedtdC i.lrn Agitgeber.aeergaxDcdteoepesntAdtiwmioniannlCsN'el>sga .asrItsan.iiv<br><br></div><div>whereas the networking-ovn output looks neat:<br><br>${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_PATH:-./tempest/test_discover}  --load-list /tmp/tmpl_uSDt<br>{0} setUpClass (tempest.api.baremetal.admin.test_nodestates.TestNodeStates) ... SKIPPED: TestNodeStates skipped as Ironic is not available<br>{2} setUpClass (tempest.api.baremetal.admin.test_api_discovery.TestApiDiscovery) ... SKIPPED: TestApiDiscovery skipped as Ironic is not available<br>{2} setUpClass (tempest.api.baremetal.admin.test_ports.TestPorts) ... SKIPPED: TestPorts skipped as Ironic is not available<br>{3} setUpClass (tempest.api.baremetal.admin.test_chassis.TestChassis) ... SKIPPED: TestChassis skipped as Ironic is not available<br>{1} setUpClass (tempest.api.baremetal.admin.test_drivers.TestDrivers) ... SKIPPED: TestDrivers skipped as Ironic is not available<br>{1} setUpClass (tempest.api.baremetal.admin.test_nodes.TestNodes) ... SKIPPED: TestNodes skipped as Ironic is not available<br>{1} setUpClass (tempest.api.baremetal.admin.test_ports_negative.TestPortsNegative) ... SKIPPED: TestPortsNegative skipped as Ironic is not available<br>{1} setUpClass (tempest.api.compute.admin.test_baremetal_nodes.BaremetalNodesAdminTestJSON) ... SKIPPED: BaremetalNodesAdminTestJSON skipped as Ironic is not available<br>{1} tempest.api.compute.admin.test_flavors.FlavorsAdminTestJSON.test_create_flavor_using_string_ram [0.232261s] ... ok<br>{1} tempest.api.compute.admin.test_flavors.FlavorsAdminTestJSON.test_create_flavor_verify_entry_in_list_details [0.101537s] ... ok<br>{1} tempest.api.compute.admin.test_flavors.FlavorsAdminTestJSON.test_create_flavor_with_int_id [0.081664s] ... ok<br>{1} tempest.api.compute.admin.test_flavors.FlavorsAdminTestJSON.test_create_flavor_with_none_id [0.079674s] ... ok<br>{1} tempest.api.compute.admin.test_flavors.FlavorsAdminTestJSON.test_create_flavor_with_uuid_id [0.075899s] ... ok<br>{1} tempest.api.compute.admin.test_flavors.FlavorsAdminTestJSON.test_create_list_flavor_without_extra_data [0.409597s] ... ok<br><br></div><div>I would appreciate any help as regards what I'm doing wrong here.<br><br></div><div>Thanks,<br></div><div>     Neil<br><br>[1] <a href="http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/networking-calico.yaml">http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/networking-calico.yaml</a><br>[2] <a href="http://git.openstack.org/cgit/openstack/networking-calico/tree/devstack">http://git.openstack.org/cgit/openstack/networking-calico/tree/devstack</a><br>[3] <a href="https://review.openstack.org/#/c/339263/">https://review.openstack.org/#/c/339263/</a><br>[4] <a href="http://logs.openstack.org/63/339263/5/experimental/gate-tempest-dsvm-networking-calico-nv/8d47b1c/console.html">http://logs.openstack.org/63/339263/5/experimental/gate-tempest-dsvm-networking-calico-nv/8d47b1c/console.html</a><br>[5] <a href="http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/networking-ovn.yaml">http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/networking-ovn.yaml</a><br>[6] <a href="http://logs.openstack.org/16/386016/1/check/gate-tempest-dsvm-networking-ovn/4e3924f/console.html.gz">http://logs.openstack.org/16/386016/1/check/gate-tempest-dsvm-networking-ovn/4e3924f/console.html.gz</a><br><br></div></div>