Skip to content

[action] [PR:13799] Skip ROUTE_TABLE and NEIGH_RESOLVE_TABLE entries for test_add_rack.py#14034

Merged
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/13799
Aug 8, 2024
Merged

[action] [PR:13799] Skip ROUTE_TABLE and NEIGH_RESOLVE_TABLE entries for test_add_rack.py#14034
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/13799

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Summary:
For T1 topo on boot there are some route table entries that already exist for Ethernet128 (test_add_rack uses this intf explicitly).

test_add_rack takes a snapshot of the DB at this point and after applying patch_add.json to config. It compares the two and succeeds.

test_add_rack now applies patch_rm.json. This removes the BGP_NEIGHBOUR and /INTERFACE/Ethernet128 entries. Once this happens, APPL_DB will purge it's ROUTE table entries for Ethernet128. Fix is to skip these entries for APPL_DB comparison. We also see the same issue for NEIGH_RESOLVE_TABLE entries; @wen587 confirmed we can skip these too.

The missing entries are:

ROUTE_TABLE:100.1.0.17
ROUTE_TABLE:20c0:a800::/64
ROUTE_TABLE:192.168.0.128/25
ROUTE_TABLE:2064:100::11
ROUTE_TABLE:192.168.0.0/25
ROUTE_TABLE:20c0:a800:0:80::/64

Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

To get this test passing on master, 202405, 202311

How did you do it?

Skip the APPL_DB comparison entries

How did you verify/test it?

The test passes on all branches on Arista SKUs now

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

…sonic-net#13799)

What is the motivation for this PR?
To get this test passing on master, 202405, 202311

How did you do it?
Skip the APPL_DB comparison entries

How did you verify/test it?
The test passes on all branches on Arista SKUs now
@mssonicbld
Copy link
Collaborator Author

Original PR: #13799

@mssonicbld mssonicbld merged commit 34c6fa2 into sonic-net:202405 Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants