← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1506862] [NEW] VethFixture: smart veth delete

 

Public bug reported:

VethFixture cleanup tries to delete veths from their namespaces even if
they don't exist (without crashing the cleanup), it implies an extra
trace if an error is raised which can be confusing:

Command: ['sudo', '-n', 'ip', 'netns', 'exec', 'test-ddc6fc89-5159-44e2-ba15-099a10adf5bc', 'ip', 'link', 'del', 'test-veth114005']
Exit code: 1
Stdin: 
Stdout: 
Stderr: Cannot open network namespace "test-ddc6fc89-5159-44e2-ba15-099a10adf5bc": No such file or directory

** Affects: neutron
     Importance: Undecided
     Assignee: Cedric Brandily (cbrandily)
         Status: In Progress


** Tags: functional-tests low-hanging-fruit

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1506862

Title:
  VethFixture: smart veth delete

Status in neutron:
  In Progress

Bug description:
  VethFixture cleanup tries to delete veths from their namespaces even
  if they don't exist (without crashing the cleanup), it implies an
  extra trace if an error is raised which can be confusing:

  Command: ['sudo', '-n', 'ip', 'netns', 'exec', 'test-ddc6fc89-5159-44e2-ba15-099a10adf5bc', 'ip', 'link', 'del', 'test-veth114005']
  Exit code: 1
  Stdin: 
  Stdout: 
  Stderr: Cannot open network namespace "test-ddc6fc89-5159-44e2-ba15-099a10adf5bc": No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1506862/+subscriptions


Follow ups