Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isisd: fix redistribution in vrf #8628

Merged
merged 5 commits into from
May 20, 2021

Conversation

idryzhov
Copy link
Contributor

@idryzhov idryzhov commented May 5, 2021

When the redistribution is configured in non-default VRF, isisd should
redistribute routes from this VRF instead of default.

This is an easier implementation of #8215.

Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/e6e58f036a479f012f1a4273ffe60f97/raw/5b670537235d5a511abad1e0288696848bcf267d/cr_8628_1620211728.diff | git apply

diff --git a/isisd/isis_redist.c b/isisd/isis_redist.c
index ae1cf98c2f..5a8c73aad4 100644
--- a/isisd/isis_redist.c
+++ b/isisd/isis_redist.c
@@ -380,9 +380,11 @@ void isis_redist_update_zebra_subscriptions(struct isis *isis, bool disable)
 			afi_t afi = afi_for_redist_protocol(protocol);
 
 			if (do_subscribe[protocol][type] && !disable)
-				isis_zebra_redistribute_set(afi, type, isis->vrf_id);
+				isis_zebra_redistribute_set(afi, type,
+							    isis->vrf_id);
 			else
-				isis_zebra_redistribute_unset(afi, type, isis->vrf_id);
+				isis_zebra_redistribute_unset(afi, type,
+							      isis->vrf_id);
 		}
 }
 

If you are a new contributor to FRR, please see our contributing guidelines.

After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.

@idryzhov idryzhov force-pushed the isis-vrf-redist branch from e0f6653 to a6da518 Compare May 5, 2021 11:45
@LabN-CI
Copy link
Collaborator

LabN-CI commented May 5, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8628 e0f6653
Date 05/05/2021
Start 08:04:12
Finish 08:29:49
Run-Time 25:37
Total 1815
Pass 1815
Fail 0
Valgrind-Errors
Valgrind-Loss
Details vncregress-2021-05-05-08:04:12.txt
Log autoscript-2021-05-05-08:05:21.log.bz2
Memory 497 506 430

For details, please contact louberger

@idryzhov idryzhov force-pushed the isis-vrf-redist branch from a6da518 to d813015 Compare May 5, 2021 12:57
Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/d6fc9f23842a43e07975748e3a02d0a1/raw/450bc654ae5473584661c3da26ccfb1385cf160b/cr_8628_1620219428.diff | git apply

diff --git a/isisd/isisd.c b/isisd/isisd.c
index dcf6175d6b..c90bae48e7 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -612,9 +612,9 @@ static void isis_set_redist_vrf_bitmaps(struct isis *isis, bool set)
 		for (protocol = 0; protocol < REDIST_PROTOCOL_COUNT; protocol++)
 			for (type = 0; type < ZEBRA_ROUTE_MAX + 1; type++)
 				for (level = 0; level < ISIS_LEVELS; level++)
-					if (area->redist_settings[protocol]
-								 [type]
-								 [level].redist)
+					if (area->redist_settings
+						    [protocol][type][level]
+							    .redist)
 						do_subscribe[protocol][type] =
 							1;
 

If you are a new contributor to FRR, please see our contributing guidelines.

After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.

@idryzhov idryzhov force-pushed the isis-vrf-redist branch from d813015 to d381f7a Compare May 5, 2021 12:57
Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/627ac78bc40d703e549917ff0545a37e/raw/ded3b149baf15a10787fe3b1b0ae416a37f05f7e/cr_8628_1620219480.diff | git apply

diff --git a/isisd/isisd.c b/isisd/isisd.c
index a688ee04bf..c65907b171 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -612,9 +612,9 @@ static void isis_set_redist_vrf_bitmaps(struct isis *isis, bool set)
 		for (protocol = 0; protocol < REDIST_PROTOCOL_COUNT; protocol++)
 			for (type = 0; type < ZEBRA_ROUTE_MAX + 1; type++)
 				for (level = 0; level < ISIS_LEVELS; level++)
-					if (area->redist_settings[protocol]
-								 [type]
-								 [level].redist)
+					if (area->redist_settings
+						    [protocol][type][level]
+							    .redist)
 						do_subscribe[protocol][type] =
 							1;
 

If you are a new contributor to FRR, please see our contributing guidelines.

After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.

@idryzhov idryzhov force-pushed the isis-vrf-redist branch from d381f7a to fa0f75d Compare May 5, 2021 12:58
@LabN-CI
Copy link
Collaborator

LabN-CI commented May 5, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8628 a6da518
Date 05/05/2021
Start 08:56:36
Finish 09:22:06
Run-Time 25:30
Total 1815
Pass 1815
Fail 0
Valgrind-Errors
Valgrind-Loss
Details vncregress-2021-05-05-08:56:36.txt
Log autoscript-2021-05-05-08:57:43.log.bz2
Memory 519 519 429

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented May 5, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

See below for issues.
CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18828/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Get source / Pull Request: Successful

Building Stage: Successful

Basic Tests: Failed

Topotests debian 10 amd64 part 1: Failed (click for details)

Topology Test Results are at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-TOPO1DEB10AMD64-18828/test

Topology Tests failed for Topotests debian 10 amd64 part 1:

2021-05-05 11:58:29,014 ERROR: 'router_json_cmp' failed after 169.94 seconds
2021-05-05 11:58:29,019 ERROR: assert failed at "test_bfd_topo3/test_wait_bgp_convergence": "r1" OSPF convergence failure
assert Generated JSON diff error report:
  
  > $: d2 has key '10.254.254.3/32' which is not present in d1
2021-05-05 12:05:55,609 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/bgp.py", line 203, in create_router_bgp
    tgen, router, data_all_bgp, "bgp", build, load_config
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 6: % Unknown command[27]: neighbor 10.0.0.13 remote-as 0 
% Specify remote-as or peer-group commands first
line 7: Failure to communicate[13] to bgpd, line: neighbor 10.0.0.13 timers 3 10 

line 9: % Unknown command[30]: neighbor fd00:0:0:3::1 remote-as 0 
% Specify remote-as or peer-group commands first
line 11: Failure to communicate[13] to bgpd, line: neighbor fd00:0:0:3::1 activate 

% Specify remote-as or peer-group commands first
line 12: Failure to communicate[13] to bgpd, line: neighbor fd00:0:0:3::1 timers 3 10 

% Specify remote-as or peer-group commands first
line 14: Failure to communicate[13] to bgpd, line: no neighbor fd00:0:0:3::1 activate 



2021-05-05 12:05:56,147 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/bgp.py", line 203, in create_router_bgp
    tgen, router, data_all_bgp, "bgp", build, load_config
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % No BGP process is configured
line 2: Failure to communicate[13] to bgpd, line: no router bgp  

see full log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18828/artifact/TOPO1DEB10AMD64/ErrorLog/log_topotests.txt

Successful on other platforms/tests
  • Addresssanitizer topotests part 7
  • Topotests Ubuntu 18.04 arm8 part 4
  • Topotests Ubuntu 18.04 arm8 part 9
  • Topotests Ubuntu 18.04 amd64 part 9
  • Topotests debian 10 amd64 part 9
  • Static analyzer (clang)
  • Fedora 29 rpm pkg check
  • Topotests Ubuntu 18.04 amd64 part 7
  • Topotests Ubuntu 18.04 arm8 part 0
  • Topotests Ubuntu 18.04 arm8 part 5
  • Addresssanitizer topotests part 5
  • Topotests Ubuntu 18.04 amd64 part 5
  • Addresssanitizer topotests part 4
  • Topotests Ubuntu 18.04 amd64 part 1
  • Ubuntu 18.04 deb pkg check
  • Topotests Ubuntu 18.04 arm8 part 3
  • Topotests debian 10 amd64 part 6
  • Topotests Ubuntu 18.04 i386 part 2
  • CentOS 7 rpm pkg check
  • Addresssanitizer topotests part 0
  • Topotests debian 10 amd64 part 4
  • Topotests Ubuntu 18.04 i386 part 7
  • Topotests Ubuntu 18.04 i386 part 4
  • Topotests Ubuntu 18.04 amd64 part 3
  • Topotests Ubuntu 18.04 i386 part 9
  • Topotests debian 10 amd64 part 5
  • Topotests Ubuntu 18.04 amd64 part 4
  • Addresssanitizer topotests part 1
  • IPv6 protocols on Ubuntu 18.04
  • Topotests Ubuntu 18.04 amd64 part 0
  • Topotests Ubuntu 18.04 i386 part 6
  • Topotests Ubuntu 18.04 i386 part 1
  • Topotests Ubuntu 18.04 arm8 part 8
  • Topotests debian 10 amd64 part 2
  • IPv4 protocols on Ubuntu 18.04
  • Topotests debian 10 amd64 part 7
  • Addresssanitizer topotests part 8
  • Debian 10 deb pkg check
  • Topotests Ubuntu 18.04 arm8 part 6
  • Topotests Ubuntu 18.04 arm8 part 1
  • Topotests Ubuntu 18.04 amd64 part 2
  • Topotests debian 10 amd64 part 3
  • Topotests Ubuntu 18.04 amd64 part 6
  • Addresssanitizer topotests part 6
  • Ubuntu 20.04 deb pkg check
  • Ubuntu 16.04 deb pkg check
  • Topotests debian 10 amd64 part 8
  • Topotests Ubuntu 18.04 i386 part 0
  • Addresssanitizer topotests part 2
  • Addresssanitizer topotests part 3
  • Topotests Ubuntu 18.04 i386 part 5
  • Topotests Ubuntu 18.04 amd64 part 8
  • IPv4 ldp protocol on Ubuntu 18.04
  • Debian 9 deb pkg check
  • Topotests Ubuntu 18.04 arm8 part 7
  • Addresssanitizer topotests part 9
  • Topotests debian 10 amd64 part 0
  • Topotests Ubuntu 18.04 i386 part 8
  • Topotests Ubuntu 18.04 arm8 part 2
  • Topotests Ubuntu 18.04 i386 part 3

Warnings Generated during build:

Checkout code: Successful with additional warnings
Topotests debian 10 amd64 part 1: Failed (click for details)

Topology Test Results are at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-TOPO1DEB10AMD64-18828/test

Topology Tests failed for Topotests debian 10 amd64 part 1:

2021-05-05 11:58:29,014 ERROR: 'router_json_cmp' failed after 169.94 seconds
2021-05-05 11:58:29,019 ERROR: assert failed at "test_bfd_topo3/test_wait_bgp_convergence": "r1" OSPF convergence failure
assert Generated JSON diff error report:
  
  > $: d2 has key '10.254.254.3/32' which is not present in d1
2021-05-05 12:05:55,609 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/bgp.py", line 203, in create_router_bgp
    tgen, router, data_all_bgp, "bgp", build, load_config
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 6: % Unknown command[27]: neighbor 10.0.0.13 remote-as 0 
% Specify remote-as or peer-group commands first
line 7: Failure to communicate[13] to bgpd, line: neighbor 10.0.0.13 timers 3 10 

line 9: % Unknown command[30]: neighbor fd00:0:0:3::1 remote-as 0 
% Specify remote-as or peer-group commands first
line 11: Failure to communicate[13] to bgpd, line: neighbor fd00:0:0:3::1 activate 

% Specify remote-as or peer-group commands first
line 12: Failure to communicate[13] to bgpd, line: neighbor fd00:0:0:3::1 timers 3 10 

% Specify remote-as or peer-group commands first
line 14: Failure to communicate[13] to bgpd, line: no neighbor fd00:0:0:3::1 activate 



2021-05-05 12:05:56,147 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/bgp.py", line 203, in create_router_bgp
    tgen, router, data_all_bgp, "bgp", build, load_config
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO1DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % No BGP process is configured
line 2: Failure to communicate[13] to bgpd, line: no router bgp  

see full log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18828/artifact/TOPO1DEB10AMD64/ErrorLog/log_topotests.txt

<stdin>:196: trailing whitespace.
      "metric": 10, 
<stdin>:209: trailing whitespace.
      "metric": 10, 
<stdin>:254: trailing whitespace.
      "metric": 10, 
<stdin>:267: trailing whitespace.
      "metric": 10, 
<stdin>:312: trailing whitespace.
      "metric": 10, 
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.
Report for isis_redist.c | 4 issues
===============================================
< WARNING: line over 80 characters
< #383: FILE: /tmp/f1-24660/isis_redist.c:383:
< WARNING: line over 80 characters
< #385: FILE: /tmp/f1-24660/isis_redist.c:385:

CLANG Static Analyzer Summary

  • Github Pull Request 8628, comparing to Git base SHA 48c2039

No Changes in Static Analysis warnings compared to base

2 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18828/artifact/shared/static_analysis/index.html

@LabN-CI
Copy link
Collaborator

LabN-CI commented May 5, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8628 fa0f75d
Date 05/05/2021
Start 12:05:29
Finish 12:30:59
Run-Time 25:30
Total 1815
Pass 1815
Fail 0
Valgrind-Errors
Valgrind-Loss
Details vncregress-2021-05-05-12:05:29.txt
Log autoscript-2021-05-05-12:06:42.log.bz2
Memory 515 505 427

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented May 5, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18831/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.


CLANG Static Analyzer Summary

  • Github Pull Request 8628, comparing to Git base SHA 48c2039

No Changes in Static Analysis warnings compared to base

2 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18831/artifact/shared/static_analysis/index.html

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented May 5, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18836/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Checkout code: Successful with additional warnings
<stdin>:231: trailing whitespace.
      "metric": 10, 
<stdin>:244: trailing whitespace.
      "metric": 10, 
<stdin>:289: trailing whitespace.
      "metric": 10, 
<stdin>:302: trailing whitespace.
      "metric": 10, 
<stdin>:347: trailing whitespace.
      "metric": 10, 
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.
Report for isisd.c | 2 issues
===============================================
< WARNING: Block comments use a trailing */ on a separate line
< #627: FILE: /tmp/f1-23907/isisd.c:627:

CLANG Static Analyzer Summary

  • Github Pull Request 8628, comparing to Git base SHA 6038682

No Changes in Static Analysis warnings compared to base

2 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18836/artifact/shared/static_analysis/index.html

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented May 5, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18837/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Checkout code: Successful with additional warnings
<stdin>:231: trailing whitespace.
      "metric": 10, 
<stdin>:244: trailing whitespace.
      "metric": 10, 
<stdin>:289: trailing whitespace.
      "metric": 10, 
<stdin>:302: trailing whitespace.
      "metric": 10, 
<stdin>:347: trailing whitespace.
      "metric": 10, 
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.
Report for isisd.c | 2 issues
===============================================
< WARNING: Block comments use a trailing */ on a separate line
< #627: FILE: /tmp/f1-28002/isisd.c:627:

CLANG Static Analyzer Summary

  • Github Pull Request 8628, comparing to Git base SHA 6038682

No Changes in Static Analysis warnings compared to base

2 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18837/artifact/shared/static_analysis/index.html

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented May 5, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18838/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Checkout code: Successful with additional warnings
<stdin>:231: trailing whitespace.
      "metric": 10, 
<stdin>:244: trailing whitespace.
      "metric": 10, 
<stdin>:289: trailing whitespace.
      "metric": 10, 
<stdin>:302: trailing whitespace.
      "metric": 10, 
<stdin>:347: trailing whitespace.
      "metric": 10, 
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.
Report for isisd.c | 2 issues
===============================================
< WARNING: Block comments use a trailing */ on a separate line
< #627: FILE: /tmp/f1-31474/isisd.c:627:

CLANG Static Analyzer Summary

  • Github Pull Request 8628, comparing to Git base SHA 6038682

No Changes in Static Analysis warnings compared to base

2 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18838/artifact/shared/static_analysis/index.html

@idryzhov idryzhov force-pushed the isis-vrf-redist branch from fa0f75d to 06c0a49 Compare May 9, 2021 15:06
Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/04753e06fb8272dc04318a3b2ba4fa86/raw/dd7f8799c82829d40be95c58ba7ee79f74901644/cr_8628_1620572823.diff | git apply

diff --git a/isisd/isis_redist.c b/isisd/isis_redist.c
index dfa5d8251..2f5e490da 100644
--- a/isisd/isis_redist.c
+++ b/isisd/isis_redist.c
@@ -361,9 +361,10 @@ static void isis_redist_update_zebra_subscriptions(struct isis *isis)
 		for (protocol = 0; protocol < REDIST_PROTOCOL_COUNT; protocol++)
 			for (type = 0; type < ZEBRA_ROUTE_MAX + 1; type++)
 				for (level = 0; level < ISIS_LEVELS; level++)
-					if (area->redist_settings
-						    [protocol][type][level]
-							    .redist == 1)
+					if (area->redist_settings[protocol]
+								 [type][level]
+									 .redist
+					    == 1)
 						do_subscribe[protocol][type] =
 							1;
 
diff --git a/isisd/isisd.c b/isisd/isisd.c
index 4d4ba0a39..9b61c5d28 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -604,9 +604,10 @@ static void isis_set_redist_vrf_bitmaps(struct isis *isis, bool set)
 		for (protocol = 0; protocol < REDIST_PROTOCOL_COUNT; protocol++)
 			for (type = 0; type < ZEBRA_ROUTE_MAX + 1; type++)
 				for (level = 0; level < ISIS_LEVELS; level++)
-					if (area->redist_settings
-						    [protocol][type][level]
-							    .redist == 1)
+					if (area->redist_settings[protocol]
+								 [type][level]
+									 .redist
+					    == 1)
 						do_subscribe[protocol][type] =
 							1;
 
@@ -627,16 +628,24 @@ static void isis_set_redist_vrf_bitmaps(struct isis *isis, bool set)
 
 			if (type == DEFAULT_ROUTE) {
 				if (set)
-					vrf_bitmap_set(zclient->default_information[afi], isis->vrf_id);
+					vrf_bitmap_set(
+						zclient->default_information
+							[afi],
+						isis->vrf_id);
 				else
-					vrf_bitmap_unset(zclient->default_information[afi], isis->vrf_id);
+					vrf_bitmap_unset(
+						zclient->default_information
+							[afi],
+						isis->vrf_id);
 			} else {
 				if (set)
-					vrf_bitmap_set(zclient->redist[afi][type],
-						       isis->vrf_id);
+					vrf_bitmap_set(
+						zclient->redist[afi][type],
+						isis->vrf_id);
 				else
-					vrf_bitmap_unset(zclient->redist[afi][type],
-							 isis->vrf_id);
+					vrf_bitmap_unset(
+						zclient->redist[afi][type],
+						isis->vrf_id);
 			}
 		}
 }

If you are a new contributor to FRR, please see our contributing guidelines.

After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.

@idryzhov idryzhov force-pushed the isis-vrf-redist branch from 06c0a49 to 60d2573 Compare May 9, 2021 15:11
@idryzhov
Copy link
Contributor Author

idryzhov commented May 9, 2021

Rebased and fixed a couple more issues.

@LabN-CI
Copy link
Collaborator

LabN-CI commented May 9, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8628 06c0a49
Date 05/09/2021
Start 11:10:54
Finish 11:36:18
Run-Time 25:24
Total 1815
Pass 1815
Fail 0
Valgrind-Errors
Valgrind-Loss
Details vncregress-2021-05-09-11:10:54.txt
Log autoscript-2021-05-09-11:12:07.log.bz2
Memory 512 506 431

For details, please contact louberger

@LabN-CI
Copy link
Collaborator

LabN-CI commented May 9, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8628 60d2573
Date 05/09/2021
Start 11:40:54
Finish 12:06:16
Run-Time 25:22
Total 1815
Pass 1815
Fail 0
Valgrind-Errors
Valgrind-Loss
Details vncregress-2021-05-09-11:40:54.txt
Log autoscript-2021-05-09-11:42:08.log.bz2
Memory 513 516 428

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented May 9, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18904/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Checkout code: Successful with additional warnings
<stdin>:394: trailing whitespace.
      "metric": 10, 
<stdin>:407: trailing whitespace.
      "metric": 10, 
<stdin>:452: trailing whitespace.
      "metric": 10, 
<stdin>:465: trailing whitespace.
      "metric": 10, 
<stdin>:510: trailing whitespace.
      "metric": 10, 
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.
Report for isisd.c | 12 issues
===============================================
< WARNING: braces {} are not necessary for single statement blocks
< #563: FILE: /tmp/f1-21378/isisd.c:563:
< WARNING: Block comments use a trailing */ on a separate line
< #619: FILE: /tmp/f1-21378/isisd.c:619:
< WARNING: line over 80 characters
< #630: FILE: /tmp/f1-21378/isisd.c:630:
< WARNING: line over 80 characters
< #632: FILE: /tmp/f1-21378/isisd.c:632:
< WARNING: line over 80 characters
< #635: FILE: /tmp/f1-21378/isisd.c:635:
< WARNING: line over 80 characters
< #638: FILE: /tmp/f1-21378/isisd.c:638:

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented May 9, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

See below for issues.
CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18905/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Get source / Pull Request: Successful

Building Stage: Successful

Basic Tests: Failed

CentOS 7 rpm pkg check: Failed (click for details) CentOS 7 rpm pkg check: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18905/artifact/CENTOS7RPM/ErrorLog/log_package_install.txt CentOS 7 rpm pkg check: No useful log found
Successful on other platforms/tests
  • Topotests Ubuntu 18.04 amd64 part 2
  • Topotests Ubuntu 18.04 arm8 part 2
  • Topotests Ubuntu 18.04 arm8 part 7
  • Topotests debian 10 amd64 part 2
  • Ubuntu 16.04 deb pkg check
  • Addresssanitizer topotests part 6
  • Topotests Ubuntu 18.04 amd64 part 6
  • Topotests Ubuntu 18.04 i386 part 6
  • Addresssanitizer topotests part 2
  • Ubuntu 18.04 deb pkg check
  • Topotests Ubuntu 18.04 amd64 part 1
  • Ubuntu 20.04 deb pkg check
  • Debian 9 deb pkg check
  • Debian 10 deb pkg check
  • Topotests Ubuntu 18.04 amd64 part 8
  • Topotests debian 10 amd64 part 3
  • Addresssanitizer topotests part 9
  • Topotests Ubuntu 18.04 i386 part 3
  • Topotests Ubuntu 18.04 arm8 part 8
  • Topotests Ubuntu 18.04 i386 part 1
  • Topotests debian 10 amd64 part 1
  • Addresssanitizer topotests part 7
  • Topotests debian 10 amd64 part 0
  • Topotests Ubuntu 18.04 i386 part 8
  • Addresssanitizer topotests part 3
  • Static analyzer (clang)
  • Addresssanitizer topotests part 5
  • Topotests Ubuntu 18.04 amd64 part 7
  • Topotests Ubuntu 18.04 i386 part 9
  • Topotests Ubuntu 18.04 amd64 part 0
  • Topotests Ubuntu 18.04 i386 part 4
  • Topotests Ubuntu 18.04 arm8 part 5
  • Topotests Ubuntu 18.04 arm8 part 0
  • Addresssanitizer topotests part 0
  • IPv4 ldp protocol on Ubuntu 18.04
  • Topotests Ubuntu 18.04 arm8 part 9
  • Topotests Ubuntu 18.04 i386 part 0
  • Topotests debian 10 amd64 part 9
  • Topotests Ubuntu 18.04 i386 part 5
  • Topotests debian 10 amd64 part 4
  • Topotests Ubuntu 18.04 arm8 part 4
  • Topotests debian 10 amd64 part 8
  • Topotests Ubuntu 18.04 amd64 part 9
  • IPv6 protocols on Ubuntu 18.04
  • Fedora 29 rpm pkg check
  • Topotests Ubuntu 18.04 arm8 part 3
  • Topotests Ubuntu 18.04 amd64 part 3
  • Topotests Ubuntu 18.04 amd64 part 5
  • Addresssanitizer topotests part 1
  • Topotests debian 10 amd64 part 5
  • Topotests Ubuntu 18.04 i386 part 7
  • Topotests debian 10 amd64 part 6
  • Addresssanitizer topotests part 4
  • Topotests Ubuntu 18.04 amd64 part 4
  • Topotests Ubuntu 18.04 arm8 part 6
  • Topotests debian 10 amd64 part 7
  • IPv4 protocols on Ubuntu 18.04
  • Addresssanitizer topotests part 8
  • Topotests Ubuntu 18.04 arm8 part 1
  • Topotests Ubuntu 18.04 i386 part 2

Warnings Generated during build:

Checkout code: Successful with additional warnings
CentOS 7 rpm pkg check: Failed (click for details) CentOS 7 rpm pkg check: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18905/artifact/CENTOS7RPM/ErrorLog/log_package_install.txt CentOS 7 rpm pkg check: No useful log found
<stdin>:402: trailing whitespace.
      "metric": 10, 
<stdin>:415: trailing whitespace.
      "metric": 10, 
<stdin>:460: trailing whitespace.
      "metric": 10, 
<stdin>:473: trailing whitespace.
      "metric": 10, 
<stdin>:518: trailing whitespace.
      "metric": 10, 
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.
Report for isisd.c | 4 issues
===============================================
< WARNING: braces {} are not necessary for single statement blocks
< #563: FILE: /tmp/f1-26944/isisd.c:563:
< WARNING: Block comments use a trailing */ on a separate line
< #620: FILE: /tmp/f1-26944/isisd.c:620:

@idryzhov
Copy link
Contributor Author

idryzhov commented May 9, 2021

ci:rerun

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented May 9, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

See below for issues.
CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18909/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Get source / Pull Request: Successful

Building Stage: Successful

Basic Tests: Failed

Topotests debian 10 amd64 part 9: Failed (click for details)

Topology Test Results are at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-TOPO9DEB10AMD64-18909/test

Topology Tests failed for Topotests debian 10 amd64 part 9:

2021-05-09 20:05:53,179 ERROR: 'router_json_cmp' failed after 92.65 seconds
2021-05-09 20:05:53,183 ERROR: assert failed at "test_ospf_sr_topo1/test_rib_ipv4_step4": "rt6" JSON output mismatches the expected result
assert Generated JSON diff error report:
  
  > $->10.0.7.0/24: d2 has the following element at index 0 which is not present in d1: 
  
  	{
  	    "distance": 110,
  	    "prefix": "10.0.7.0/24",
  	    "protocol": "ospf",
  	    "metric": 10,
  	    "nexthops": [
  	        {
  	            "active": true,
  	            "directlyConnected": true,
  	            "interfaceName": "eth-rt4"
  	        }
  	    ]
  	}
  
  	Closest match in d1 is at index 0 with the following errors: 
  
  	> $->10.0.7.0/24[0]->nexthops: d2 has the following element at index 0 which is not present in d1: 
  	
  		{
  		    "active": true,
  		    "directlyConnected": true,
  		    "interfaceName": "eth-rt4"
  		}
  	
  		Closest match in d1 is at index 0 with the following errors: 
  	
  		> $->10.0.7.0/24[0]->nexthops[0]: d2 has key 'active' which is not present in d1
  	
  
2021-05-09 20:16:37,290 WARNING: vtysh_cmd: failed to convert json output
2021-05-09 20:17:00,028 WARNING: vtysh_cmd: failed to convert json output
2021-05-09 20:27:22,195 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 1802, in create_interfaces_cfg
    tgen, c_router, interface_data, "interface_config", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 3: % Unknown command[16]: ip ospf hello-interval 65536 


2021-05-09 20:28:02,021 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 1802, in create_interfaces_cfg
    tgen, c_router, interface_data, "interface_config", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 3: % Unknown command[16]: ip ospf dead-interval 65536 

see full log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18909/artifact/TOPO9DEB10AMD64/ErrorLog/log_topotests.txt

Successful on other platforms/tests
  • Topotests Ubuntu 18.04 arm8 part 7
  • Topotests Ubuntu 18.04 amd64 part 6
  • Topotests Ubuntu 18.04 arm8 part 2
  • Ubuntu 18.04 deb pkg check
  • Ubuntu 20.04 deb pkg check
  • Ubuntu 16.04 deb pkg check
  • Addresssanitizer topotests part 2
  • Topotests Ubuntu 18.04 amd64 part 1
  • Topotests Ubuntu 18.04 arm8 part 3
  • Debian 10 deb pkg check
  • CentOS 7 rpm pkg check
  • Topotests Ubuntu 18.04 amd64 part 8
  • Topotests Ubuntu 18.04 amd64 part 2
  • Debian 9 deb pkg check
  • Addresssanitizer topotests part 9
  • Topotests debian 10 amd64 part 0
  • Topotests Ubuntu 18.04 i386 part 8
  • Topotests debian 10 amd64 part 3
  • Topotests Ubuntu 18.04 i386 part 3
  • Addresssanitizer topotests part 7
  • Topotests Ubuntu 18.04 i386 part 6
  • Topotests Ubuntu 18.04 arm8 part 8
  • Topotests debian 10 amd64 part 2
  • Topotests Ubuntu 18.04 i386 part 1
  • Addresssanitizer topotests part 3
  • Topotests debian 10 amd64 part 1
  • Topotests Ubuntu 18.04 i386 part 9
  • Topotests Ubuntu 18.04 i386 part 4
  • Static analyzer (clang)
  • Topotests Ubuntu 18.04 amd64 part 4
  • Topotests Ubuntu 18.04 arm8 part 5
  • Topotests Ubuntu 18.04 arm8 part 0
  • Topotests Ubuntu 18.04 amd64 part 0
  • Addresssanitizer topotests part 5
  • Topotests Ubuntu 18.04 arm8 part 4
  • Topotests Ubuntu 18.04 arm8 part 9
  • Topotests Ubuntu 18.04 i386 part 0
  • Topotests Ubuntu 18.04 i386 part 5
  • Addresssanitizer topotests part 0
  • IPv4 ldp protocol on Ubuntu 18.04
  • Topotests debian 10 amd64 part 4
  • Topotests Ubuntu 18.04 arm8 part 1
  • Topotests Ubuntu 18.04 amd64 part 9
  • Topotests Ubuntu 18.04 amd64 part 3
  • Fedora 29 rpm pkg check
  • IPv6 protocols on Ubuntu 18.04
  • Addresssanitizer topotests part 1
  • Topotests debian 10 amd64 part 5
  • Topotests debian 10 amd64 part 8
  • Addresssanitizer topotests part 4
  • Topotests Ubuntu 18.04 amd64 part 5
  • Addresssanitizer topotests part 6
  • Topotests debian 10 amd64 part 6
  • Addresssanitizer topotests part 8
  • Topotests Ubuntu 18.04 amd64 part 7
  • Topotests Ubuntu 18.04 i386 part 2
  • Topotests Ubuntu 18.04 i386 part 7
  • Topotests Ubuntu 18.04 arm8 part 6
  • Topotests debian 10 amd64 part 7
  • IPv4 protocols on Ubuntu 18.04

Warnings Generated during build:

Checkout code: Successful with additional warnings
Topotests debian 10 amd64 part 9: Failed (click for details)

Topology Test Results are at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-TOPO9DEB10AMD64-18909/test

Topology Tests failed for Topotests debian 10 amd64 part 9:

2021-05-09 20:05:53,179 ERROR: 'router_json_cmp' failed after 92.65 seconds
2021-05-09 20:05:53,183 ERROR: assert failed at "test_ospf_sr_topo1/test_rib_ipv4_step4": "rt6" JSON output mismatches the expected result
assert Generated JSON diff error report:
  
  > $->10.0.7.0/24: d2 has the following element at index 0 which is not present in d1: 
  
  	{
  	    "distance": 110,
  	    "prefix": "10.0.7.0/24",
  	    "protocol": "ospf",
  	    "metric": 10,
  	    "nexthops": [
  	        {
  	            "active": true,
  	            "directlyConnected": true,
  	            "interfaceName": "eth-rt4"
  	        }
  	    ]
  	}
  
  	Closest match in d1 is at index 0 with the following errors: 
  
  	> $->10.0.7.0/24[0]->nexthops: d2 has the following element at index 0 which is not present in d1: 
  	
  		{
  		    "active": true,
  		    "directlyConnected": true,
  		    "interfaceName": "eth-rt4"
  		}
  	
  		Closest match in d1 is at index 0 with the following errors: 
  	
  		> $->10.0.7.0/24[0]->nexthops[0]: d2 has key 'active' which is not present in d1
  	
  
2021-05-09 20:16:37,290 WARNING: vtysh_cmd: failed to convert json output
2021-05-09 20:17:00,028 WARNING: vtysh_cmd: failed to convert json output
2021-05-09 20:27:22,195 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 1802, in create_interfaces_cfg
    tgen, c_router, interface_data, "interface_config", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 3: % Unknown command[16]: ip ospf hello-interval 65536 


2021-05-09 20:28:02,021 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 1802, in create_interfaces_cfg
    tgen, c_router, interface_data, "interface_config", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO9DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 3: % Unknown command[16]: ip ospf dead-interval 65536 

see full log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18909/artifact/TOPO9DEB10AMD64/ErrorLog/log_topotests.txt

<stdin>:402: trailing whitespace.
      "metric": 10, 
<stdin>:415: trailing whitespace.
      "metric": 10, 
<stdin>:460: trailing whitespace.
      "metric": 10, 
<stdin>:473: trailing whitespace.
      "metric": 10, 
<stdin>:518: trailing whitespace.
      "metric": 10, 
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.
Report for isisd.c | 4 issues
===============================================
< WARNING: braces {} are not necessary for single statement blocks
< #563: FILE: /tmp/f1-28471/isisd.c:563:
< WARNING: Block comments use a trailing */ on a separate line
< #620: FILE: /tmp/f1-28471/isisd.c:620:

@idryzhov
Copy link
Contributor Author

Failures are unrelated to this PR.

Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

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

Just one question inline ... I'm also curious about the metric changes, which don't seem directly related to this PR (although I could have missed something somewhere). Otherwise these look good.

[level].redist)
[type][level]
.redist
== 1)
Copy link
Member

Choose a reason for hiding this comment

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

Could just be the way I'm seeing this, but this looks misaligned to me?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is how polychaeta wants it to be :) I just followed its recommendation.

Copy link
Member

Choose a reason for hiding this comment

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

nit: it would be great if isis_redist->redist could be turned into an enum, otherwise it's really easy to mistake it as a boolean which is either set or not set (causing bugs like this one you fixed).

@idryzhov
Copy link
Contributor Author

Just one question inline ... I'm also curious about the metric changes, which don't seem directly related to this PR (although I could have missed something somewhere). Otherwise these look good.

Previously ISIS was redistributing routes from the default VRF instead of the VRF it is configured in. I think this is the reason. At least right now metrics are equal to ones from the same test in the default VRF. I believe this is correct.

idryzhov added 5 commits May 14, 2021 17:12
Currently the VRF is deregistered only when it is re-enabled again.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
We don't need to register for default routes from zebra, when the
origination type is set to "always".

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
When the redistribution is configured in non-default VRF, isisd should
redistribute routes from this VRF instead of default.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Release memory for all redistributed route info.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
We only need an instance when we have at least one area configured in a
VRF. Currently we have the following issues:
- instance for the default VRF is always created
- instance is not removed after the last area config is removed

This commit fixes both issues.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
@LabN-CI
Copy link
Collaborator

LabN-CI commented May 14, 2021

💚 Basic BGPD CI results: SUCCESS, 0 tests failed

Results table
_ _
Result SUCCESS git merge/8628 5cfffcd
Date 05/14/2021
Start 10:30:49
Finish 10:56:41
Run-Time 25:52
Total 1815
Pass 1815
Fail 0
Valgrind-Errors
Valgrind-Loss
Details vncregress-2021-05-14-10:30:49.txt
Log autoscript-2021-05-14-10:32:02.log.bz2
Memory 516 522 423

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented May 14, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

See below for issues.
CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18995/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Get source / Pull Request: Successful

Building Stage: Successful

Basic Tests: Failed

Topotests Ubuntu 18.04 i386 part 3: Failed (click for details)

Topology Test Results are at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-TOPO3U18I386-18995/test

Topology Tests failed for Topotests Ubuntu 18.04 i386 part 3:

2021-05-14 16:51:24,638 ERROR: torm12: pimd left a dead pidfile (pid=2694)
r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/05/14 17:07:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:37 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/05/14 17:07:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:37 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/05/14 17:07:38 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:38 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/05/14 17:07:38 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:38 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/05/14 17:07:38 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:39 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:39 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:39 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:46 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:46 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:46 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:46 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:47 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:53 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:53 BGP: [M7Q4P-46WDR] vty[??]@# do write memory


r2: Daemon bgpd not running

From frr r2 bgpd log file:
2021/05/14 17:09:26 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:26 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart json
2021/05/14 17:09:27 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:27 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart 
2021/05/14 17:09:27 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:27 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart json
2021/05/14 17:09:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:28 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart 
2021/05/14 17:09:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:29 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:35 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:35 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:36 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:36 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:36 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:43 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:43 BGP: [M7Q4P-46WDR] vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/05/14 17:11:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:28 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/05/14 17:11:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:28 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/05/14 17:11:29 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:29 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/05/14 17:11:29 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:29 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/05/14 17:11:30 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:30 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:30 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:30 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:38 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:44 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:44 BGP: [M7Q4P-46WDR] vty[??]@# do write memory


2021-05-14 17:13:27,454 ERROR: assert failed at "test_bgp_gr_functionality_topo1/test_BGP_GR_TC_46_p1": Testcase test_BGP_GR_TC_46_p1 :Failed 
   Error [DUT: r1]: localGrMode is not correct Expected: Restart*, Found: Helper
assert '[DUT: r1]: localGrMode is not correct Expected: Restart*, Found: Helper' is True

see full log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18995/artifact/TOPO3U18I386/ErrorLog/log_topotests.txt

Successful on other platforms/tests
  • Topotests Ubuntu 18.04 i386 part 5
  • IPv6 protocols on Ubuntu 18.04
  • Addresssanitizer topotests part 3
  • Addresssanitizer topotests part 1
  • Topotests debian 10 amd64 part 8
  • Topotests Ubuntu 18.04 amd64 part 3
  • Topotests Ubuntu 18.04 amd64 part 5
  • IPv4 protocols on Ubuntu 18.04
  • Topotests Ubuntu 18.04 arm8 part 6
  • Addresssanitizer topotests part 8
  • Topotests Ubuntu 18.04 arm8 part 1
  • Topotests Ubuntu 18.04 amd64 part 0
  • Topotests Ubuntu 18.04 amd64 part 4
  • Addresssanitizer topotests part 6
  • Topotests Ubuntu 18.04 arm8 part 9
  • Topotests debian 10 amd64 part 7
  • Debian 10 deb pkg check
  • Topotests Ubuntu 18.04 amd64 part 7
  • Debian 9 deb pkg check
  • Fedora 29 rpm pkg check
  • IPv4 ldp protocol on Ubuntu 18.04
  • Topotests Ubuntu 18.04 arm8 part 4
  • Topotests debian 10 amd64 part 9
  • Ubuntu 20.04 deb pkg check
  • Topotests Ubuntu 18.04 i386 part 0
  • CentOS 7 rpm pkg check
  • Topotests Ubuntu 18.04 amd64 part 8
  • Topotests Ubuntu 18.04 amd64 part 9
  • Addresssanitizer topotests part 2
  • Topotests Ubuntu 18.04 arm8 part 3
  • Topotests Ubuntu 18.04 i386 part 8
  • Topotests debian 10 amd64 part 5
  • Topotests debian 10 amd64 part 0
  • Topotests Ubuntu 18.04 i386 part 7
  • Topotests Ubuntu 18.04 i386 part 2
  • Topotests debian 10 amd64 part 1
  • Topotests debian 10 amd64 part 6
  • Topotests Ubuntu 18.04 arm8 part 7
  • Addresssanitizer topotests part 4
  • Topotests Ubuntu 18.04 arm8 part 2
  • Addresssanitizer topotests part 9
  • Topotests debian 10 amd64 part 2
  • Ubuntu 16.04 deb pkg check
  • Topotests Ubuntu 18.04 amd64 part 2
  • Topotests Ubuntu 18.04 i386 part 6
  • Topotests Ubuntu 18.04 i386 part 4
  • Addresssanitizer topotests part 7
  • Topotests Ubuntu 18.04 i386 part 1
  • Topotests Ubuntu 18.04 arm8 part 8
  • Topotests Ubuntu 18.04 i386 part 9
  • Topotests Ubuntu 18.04 arm8 part 0
  • Topotests Ubuntu 18.04 amd64 part 6
  • Topotests Ubuntu 18.04 arm8 part 5
  • Topotests debian 10 amd64 part 4
  • Addresssanitizer topotests part 0
  • Addresssanitizer topotests part 5
  • Static analyzer (clang)
  • Topotests debian 10 amd64 part 3
  • Ubuntu 18.04 deb pkg check
  • Topotests Ubuntu 18.04 amd64 part 1

Warnings Generated during build:

Checkout code: Successful with additional warnings
Topotests Ubuntu 18.04 i386 part 3: Failed (click for details)

Topology Test Results are at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-TOPO3U18I386-18995/test

Topology Tests failed for Topotests Ubuntu 18.04 i386 part 3:

2021-05-14 16:51:24,638 ERROR: torm12: pimd left a dead pidfile (pid=2694)
r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/05/14 17:07:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:37 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/05/14 17:07:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:37 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/05/14 17:07:38 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:38 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/05/14 17:07:38 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:38 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/05/14 17:07:38 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:39 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:39 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:39 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:46 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:46 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:46 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:46 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:47 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:53 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:07:53 BGP: [M7Q4P-46WDR] vty[??]@# do write memory


r2: Daemon bgpd not running

From frr r2 bgpd log file:
2021/05/14 17:09:26 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:26 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart json
2021/05/14 17:09:27 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:27 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart 
2021/05/14 17:09:27 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:27 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart json
2021/05/14 17:09:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:28 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart 
2021/05/14 17:09:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:29 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:35 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:35 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:36 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:36 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:36 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:43 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:09:43 BGP: [M7Q4P-46WDR] vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/05/14 17:11:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:28 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/05/14 17:11:28 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:28 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/05/14 17:11:29 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:29 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/05/14 17:11:29 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:29 BGP: [M7Q4P-46WDR] vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/05/14 17:11:30 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:30 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:30 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:30 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:37 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:38 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:44 BGP: [M7Q4P-46WDR] vty[??]@> enable
2021/05/14 17:11:44 BGP: [M7Q4P-46WDR] vty[??]@# do write memory


2021-05-14 17:13:27,454 ERROR: assert failed at "test_bgp_gr_functionality_topo1/test_BGP_GR_TC_46_p1": Testcase test_BGP_GR_TC_46_p1 :Failed 
   Error [DUT: r1]: localGrMode is not correct Expected: Restart*, Found: Helper
assert '[DUT: r1]: localGrMode is not correct Expected: Restart*, Found: Helper' is True

see full log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-18995/artifact/TOPO3U18I386/ErrorLog/log_topotests.txt

<stdin>:402: trailing whitespace.
      "metric": 10, 
<stdin>:415: trailing whitespace.
      "metric": 10, 
<stdin>:460: trailing whitespace.
      "metric": 10, 
<stdin>:473: trailing whitespace.
      "metric": 10, 
<stdin>:518: trailing whitespace.
      "metric": 10, 
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.
Report for isisd.c | 4 issues
===============================================
< WARNING: braces {} are not necessary for single statement blocks
< #564: FILE: /tmp/f1-14453/isisd.c:564:
< WARNING: Block comments use a trailing */ on a separate line
< #621: FILE: /tmp/f1-14453/isisd.c:621:

@@ -595,6 +589,68 @@ static int isis_vrf_delete(struct vrf *vrf)
return 0;
}

static void isis_set_redist_vrf_bitmaps(struct isis *isis, bool set)
Copy link
Member

Choose a reason for hiding this comment

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

This is very similar to isis_redist_update_zebra_subscriptions(). Wouldn't it be possible to merge both functions together?

Overall these changes look good to me (important bug fixes), but it's a bit scary how complex the redistribute handling has gotten. Long term we should consider using VRF names instead of VRF IDs when sending redistribute requests to zebra, since VRF names are immutable. That way we wouldn't need to sync with zebra whenever a VRF is disabled, enabled, or just change its ID (for those adventurous enough to try it :)).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was thinking about merging them initially, but there are already a lot of indentation levels in isis_redist_update_zebra_subscriptions, and adding more conditions will make it horrible.

Let's keep them separate, and when we implement your suggestion about name registration, the second function will be simply removed.

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good to me :)

Copy link
Member

@rwestphal rwestphal left a comment

Choose a reason for hiding this comment

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

LGTM

@idryzhov
Copy link
Contributor Author

ci:rerun

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented May 19, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

See below for issues.
CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19113/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Get source / Pull Request: Successful

Building Stage: Failed

Ubuntu 16.04 i386 build: Failed (click for details) Ubuntu 16.04 i386 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19113/artifact/U1604I386/ErrorLog/ Ubuntu 16.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19113/artifact/U1604I386/config.status/config.status Ubuntu 16.04 i386 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19113/artifact/U1604I386/config.log/config.log.gz Ubuntu 16.04 i386 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19113/artifact/U1604I386/frr.xref.xz/frr.xref.xz Ubuntu 16.04 i386 build: No useful log found
Successful on other platforms/tests
  • Debian 9 amd64 build
  • NetBSD 8 amd64 build
  • Ubuntu 16.04 amd64 build
  • Ubuntu 18.04 amd64 build
  • Ubuntu 20.04 amd64 build
  • Ubuntu 18.04 arm7 build
  • CentOS 7 amd64 build
  • Ubuntu 18.04 arm8 build
  • Debian 11 amd64 build
  • Ubuntu 18.04 ppc64le build
  • Fedora 29 amd64 build
  • OpenBSD 6 amd64 build
  • Ubuntu 16.04 arm8 build
  • FreeBSD 11 amd64 build
  • CentOS 8 amd64 build
  • Ubuntu 16.04 arm7 build
  • Ubuntu 18.04 i386 build
  • Debian 10 amd64 build
  • FreeBSD 12 amd64 build

Warnings Generated during build:

Checkout code: Successful with additional warnings
Ubuntu 16.04 i386 build: Failed (click for details) Ubuntu 16.04 i386 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19113/artifact/U1604I386/ErrorLog/ Ubuntu 16.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19113/artifact/U1604I386/config.status/config.status Ubuntu 16.04 i386 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19113/artifact/U1604I386/config.log/config.log.gz Ubuntu 16.04 i386 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19113/artifact/U1604I386/frr.xref.xz/frr.xref.xz Ubuntu 16.04 i386 build: No useful log found
<stdin>:402: trailing whitespace.
      "metric": 10, 
<stdin>:415: trailing whitespace.
      "metric": 10, 
<stdin>:460: trailing whitespace.
      "metric": 10, 
<stdin>:473: trailing whitespace.
      "metric": 10, 
<stdin>:518: trailing whitespace.
      "metric": 10, 
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.
Report for isisd.c | 4 issues
===============================================
< WARNING: braces {} are not necessary for single statement blocks
< #564: FILE: /tmp/f1-32501/isisd.c:564:
< WARNING: Block comments use a trailing */ on a separate line
< #621: FILE: /tmp/f1-32501/isisd.c:621:

@idryzhov
Copy link
Contributor Author

ci:rerun

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19124/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

Warnings Generated during build:

Checkout code: Successful with additional warnings
<stdin>:402: trailing whitespace.
      "metric": 10, 
<stdin>:415: trailing whitespace.
      "metric": 10, 
<stdin>:460: trailing whitespace.
      "metric": 10, 
<stdin>:473: trailing whitespace.
      "metric": 10, 
<stdin>:518: trailing whitespace.
      "metric": 10, 
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.
Report for isisd.c | 4 issues
===============================================
< WARNING: braces {} are not necessary for single statement blocks
< #564: FILE: /tmp/f1-21210/isisd.c:564:
< WARNING: Block comments use a trailing */ on a separate line
< #621: FILE: /tmp/f1-21210/isisd.c:621:

@aldobrrrr
Copy link
Contributor

aldobrrrr commented May 30, 2021

Hi @donaldsharp, I am the author of PR #8215 mentioned by @idryzhov.

For the record I want to signal that this PR, for the part relative to redist vrf problem, was taken from my PR without adding or fixing anything in respect of my code. When I've sent the PR I've had the same problem with metrics change because that problem isn't releated with our modifications but is a side effect. I've asked for help to @idryzhov, the reviewer of my PR, to understand the causes of the failure and he has decided to send his PR rewriting mine and patching the test in a way that obviously allow the code to pass the CI verifications.

Maybe I've had too much respect for the project, I should have patched the test too.

In any case I'm glad that this functionality was integrated, my time was not totally wasted.

@idryzhov
Copy link
Contributor Author

My answer is in the mentioned PR - #8215 (comment)

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.

8 participants