Skip to content

tests: Fix bgp_srv6_sid_explicit test failures #19068

Merged
Jafaral merged 1 commit intoFRRouting:masterfrom
cscarpitta:fix/fix_bgp_srv6_sid_explicit_test_failure
Jun 23, 2025
Merged

tests: Fix bgp_srv6_sid_explicit test failures #19068
Jafaral merged 1 commit intoFRRouting:masterfrom
cscarpitta:fix/fix_bgp_srv6_sid_explicit_test_failure

Conversation

@cscarpitta
Copy link
Contributor

@cscarpitta cscarpitta commented Jun 22, 2025

Routers in bgp_srv6_sid_explicit topotest have IPv6 forwarding capability disabled. This causes the kernel to install an unexpected mngtmpaddr address (Privacy Extensions RFC3041), which may cause test failures.

Routers should have the IPv6 forwarding capability enabled to work properly as routers.

@frrbot frrbot bot added the tests Topotests, make check, etc label Jun 22, 2025
@cscarpitta
Copy link
Contributor Author

@Mergifyio backport dev/10.4

@mergify
Copy link

mergify bot commented Jun 22, 2025

backport dev/10.4

✅ Backports have been created

Details

@cscarpitta
Copy link
Contributor Author

ci:rerun

Copy link
Member

@Jafaral Jafaral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we generally ask to split large commits of unrelated changes. But In this case, the numbers of commits is so excessive and unnecessary. Turning IPv6 off doesn't really need 6 commits. It is the same change. In fact, all fixes are simple , related, and repeated from one file to the next. Just squash them all to one and call it good.

Add a summary of the changes you made to the description of the one commit. Some points to keep in mind:

  • No need to mention file names unless it add value the description, In the vast majority of cases you don't need it. And if you think you want to explain something in depth about a change to a file, then you probably have make that a commit and explain that change, and you still don't need to refer to the file name. Saying something like "drop 'ip forward' from r2/frr.conf" doesn't really add value. git already shows me what files have changes and what the changes are. Your description should be about "why", not how and where.
  • Please avoid using the same commit message and description in two commits. If you think you need that, it is an indication that those two commits should be squashed.

The routers in the topology have IPv6 forwarding capability disabled.
This causes the kernel to install an unexpected mngtmpaddr address
(Privacy Extensions RFC3041), which may cause test failures.

Routers should have the IPv6 forwarding capability enabled to work
properly as routers.

Also, clean up the router configuration files by removing unnecessary
stuff.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
@cscarpitta cscarpitta force-pushed the fix/fix_bgp_srv6_sid_explicit_test_failure branch from 538612c to d020d44 Compare June 22, 2025 19:57
@cscarpitta
Copy link
Contributor Author

@Jafaral Squashed and updated the commit description. Thanks for the hints.

@Jafaral Jafaral merged commit 2aa0e7f into FRRouting:master Jun 23, 2025
13 checks passed
Jafaral added a commit that referenced this pull request Jun 24, 2025
tests: Fix `bgp_srv6_sid_explicit` test failures  (backport #19068)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport master size/M tests Topotests, make check, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants