Fix merged: https://review.opendev.org/c/openstack/neutron/+/469838/
** Changed in: neutron Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1679816 Title: There is no validation for image type in test.neutron.tests.tempest.scenario.test_trunk.TrunkTest.test_subport_connectivity Status in neutron: Fix Released Bug description: Description of problem: test.neutron.tests.tempest.scenario.test_trunk.TrunkTest.test_subport_connectivity To run this test we should not use Cirros image. Before running the test we should verify which image is in use. If the test run with an unsupported image like Cirros image, it will fail with: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/test_trunk.py", line 240, in test_subport_connectivity server['ssh_client'].exec_command(command) File "/usr/lib/python2.7/site-packages/tempest/common/utils/linux/remote_client.py", line 36, in wrapper return function(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/tempest/common/utils/linux/remote_client.py", line 92, in exec_command return self.ssh_client.exec_command(cmd) File "/usr/lib/python2.7/site-packages/tempest/lib/common/ssh.py", line 201, in exec_command stderr=err_data, stdout=out_data) tempest.lib.exceptions.SSHExecCommandFailed: Command 'set -eu -o pipefail; PATH=$PATH:/sbin; IFACE=$(ip l | grep "^[0-9]*: e" | cut -d \: -f 2) && sudo su -c "ip l a link $IFACE name $IFACE.10 type vlan id 10 && ip l s up dev $IFACE.10 && dhclient $IFACE.10"', exit status: 2, stderr: ip: RTNETLINK answers: Operation not supported Version-Release number of selected component (if applicable): Ocata How reproducible: always Steps to Reproduce: 1. run the test with Cirros image 2. 3. Actual results: Expected results: Additional info: https://review.openstack.org/#/c/436756/8/neutron/tests/tempest/api/test_trunk.py@242 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1679816/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp