Skip to content

[acl] ACL test teardown failures leave config_db.json in a bad state #2292

@daall

Description

@daall

Description
If the ACL test hits a loganalyzer failure while it's removing the ACL table, then the config_db.json doesn't get restored and subsequent config reload commands will leave the device dataplane completely isolated.

Steps to reproduce the issue:

  1. Run test_acl.py
  2. Fail test_acl.py during teardown (currently is the case w/ the master image)
  3. config reload -y

Describe the results you received:
Device has a bunch of ACL rules including a blanket DROP rule and loses BGP connectivity.

Describe the results you expected:
Device should be in its pre-test state.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions