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

ospf6d: Json support added for command "show ipv6 ospf6 redistribute [json]" #7455

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

ranjanyash54
Copy link

Modify code to add JSON format output in show command
"show ipv6 ospf6 redistribute" with proper formating

Signed-off-by: Yash Ranjan ranjany@vmware.com

@LabN-CI
Copy link
Collaborator

LabN-CI commented Nov 4, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/7455 21c9310
Date 11/04/2020
Start 08:05:39
Finish 08:32:08
Run-Time 26:29
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-11-04-08:05:39.txt
Log autoscript-2020-11-04-08:06:42.log.bz2
Memory 478 474 420

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Nov 4, 2020

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-15183/

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:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-15183/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201104-01-g21c9310c4-0 (missing) -> 7.6-dev-20201104-01-g21c9310c4-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201104-01-g21c9310c4-0 (missing) -> 7.6-dev-20201104-01-g21c9310c4-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201104-01-g21c9310c4-0 (missing) -> 7.6-dev-20201104-01-g21c9310c4-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201104-01-g21c9310c4-0 (missing) -> 7.6-dev-20201104-01-g21c9310c4-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201104-01-g21c9310c4-0 (missing) -> 7.6-dev-20201104-01-g21c9310c4-0~deb10u1

CLANG Static Analyzer Summary

  • Github Pull Request 7455, comparing to Git base SHA 626d165

No Changes in Static Analysis warnings compared to base

3 Static Analyzer issues remaining.

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

Copy link
Member

@donaldsharp donaldsharp left a comment

Choose a reason for hiding this comment

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

Doc changes?

@@ -1374,25 +1377,52 @@ static void ospf6_redistribute_show_config(struct vty *vty, struct ospf6 *ospf6)
nroute[info->type]++;
total++;
}
if (use_json) {
Copy link
Member

Choose a reason for hiding this comment

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

Let's move the if(use_json) to the interior of the for loop. I see absolutely no reason to have 2 separate for loops. Just complicates code and leads to problems in the future when the command is updated and one side is forgotten.

Copy link
Author

Choose a reason for hiding this comment

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

resolved

}

DEFUN (show_ipv6_ospf6_redistribute,
Copy link
Member

Choose a reason for hiding this comment

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

Let's put this defun back to the same formatting as before. I know clang-format fucks it up, but I would prefer we keep the formatting the same here for the rest of the file.

Copy link
Author

Choose a reason for hiding this comment

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

resolved

ospf6d/ospf6d.h Outdated
@@ -23,6 +23,7 @@

#include "libospf.h"
#include "thread.h"
#include "lib/json.h"
Copy link
Member

Choose a reason for hiding this comment

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

I don't believe the entirety of ospfv3 needs json.h support. Please put this in the appropriate files only.

Copy link
Author

Choose a reason for hiding this comment

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

resolved

@ranjanyash54 ranjanyash54 force-pushed the dev_3 branch 2 times, most recently from d9335a6 to 96a7226 Compare November 5, 2020 05:54
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/1beb576b31d2665a93a9131e1561a1ba/raw/cd817c547c10f4423bc606706052543f606d4f6c/cr_7455_1604555666.diff | git apply

diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c
index 005002aa1..396b4a50a 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -1936,14 +1936,10 @@ static void ospf6_asbr_external_route_show(struct vty *vty,
 			forwarding);
 }
 
-DEFUN (show_ipv6_ospf6_redistribute,
-       show_ipv6_ospf6_redistribute_cmd,
-       "show ipv6 ospf6 redistribute [json]",
-       SHOW_STR
-       IP6_STR
-       OSPF6_STR
-       "redistributing External information\n"
-       JSON_STR)
+DEFUN(show_ipv6_ospf6_redistribute, show_ipv6_ospf6_redistribute_cmd,
+      "show ipv6 ospf6 redistribute [json]",
+      SHOW_STR IP6_STR OSPF6_STR
+      "redistributing External information\n" JSON_STR)
 {
 	struct ospf6_route *route;
 	struct ospf6 *ospf6 = NULL;

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.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Nov 5, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/7455 96a7226
Date 11/05/2020
Start 00:55:36
Finish 01:21:52
Run-Time 26:16
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-11-05-00:55:36.txt
Log autoscript-2020-11-05-00:56:36.log.bz2
Memory 475 466 420

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Nov 5, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Topo tests part 1 on Ubuntu 16.04 amd64: Failed (click for details)

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

Topology Tests failed for Topo tests part 1 on Ubuntu 16.04 amd64:

2020-11-05 07:31:57,370 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604AMD64/topotests/lib/bgp.py", line 201, in create_router_bgp
    tgen, router, data_all_bgp, "bgp", build, load_config
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604AMD64/topotests/lib/common_config.py", line 288, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604AMD64/topotests/lib/common_config.py", line 572, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 6: % Unknown command[27]: neighbor 10.0.0.13 remote-as 0 
line 8: % Unknown command[30]: neighbor fd00:0:0:3::1 remote-as 0 
% Specify remote-as or peer-group commands first
line 10: 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: no neighbor fd00:0:0:3::1 activate 



2020-11-05 07:31:57,666 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604AMD64/topotests/lib/bgp.py", line 201, in create_router_bgp
    tgen, router, data_all_bgp, "bgp", build, load_config
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604AMD64/topotests/lib/common_config.py", line 288, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604AMD64/topotests/lib/common_config.py", line 572, 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  



2020-11-05 07:38:15,001 ERROR: assert failed at "test_ebgp_ecmp_topo2/test_ecmp_after_clear_bgp[redist_static]": Testcase test_ecmp_after_clear_bgp[redist_static] : Failed 
   Error: [DUT: r2] VRF: default, BGP is not converged for ipv6 address-family
assert '[DUT: r2] VRF: default, BGP is not converged for ipv6 address-family' is True
2020-11-05 08:02:44,244 ERROR: '_bgp_has_routes' failed after 38.90 seconds
2020-11-05 08:03:14,340 ERROR: r4: zebra left a dead pidfile (pid=4964)
2020-11-05 08:11:40,987 ERROR: r6: bgpd left a dead pidfile (pid=14946)
2020-11-05 08:16:29,109 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604AMD64/topotests/lib/common_config.py", line 1482, in create_interfaces_cfg
    tgen, c_router, interface_data, "interface_config", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604AMD64/topotests/lib/common_config.py", line 288, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604AMD64/topotests/lib/common_config.py", line 572, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 3: % Unknown command[16]: ip ospf  hello-interval 65536 


2020-11-05 08:16:51,341 ERROR: r0: bgpd left a dead pidfile (pid=21994)
2020-11-05 08:16:51,543 ERROR: r2: staticd left a dead pidfile (pid=22190)

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

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

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-15204/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201105-00-gd9335a625-0 (missing) -> 7.6-dev-20201105-00-gd9335a625-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201105-00-gd9335a625-0 (missing) -> 7.6-dev-20201105-00-gd9335a625-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201105-00-gd9335a625-0 (missing) -> 7.6-dev-20201105-00-gd9335a625-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201105-00-gd9335a625-0 (missing) -> 7.6-dev-20201105-00-gd9335a625-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201105-00-gd9335a625-0 (missing) -> 7.6-dev-20201105-00-gd9335a625-0~deb10u1

CLANG Static Analyzer Summary

  • Github Pull Request 7455, comparing to Git base SHA 898fde3

No Changes in Static Analysis warnings compared to base

3 Static Analyzer issues remaining.

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

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Nov 5, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

IPv6 protocols on Ubuntu 18.04: Failed (click for details)
Successful on other platforms/tests
  • Debian 8 deb pkg check
  • Topo tests part 0 on Ubuntu 18.04 arm8
  • Topo tests part 0 on Ubuntu 16.04 amd64
  • Ubuntu 18.04 deb pkg check
  • Ubuntu 20.04 deb pkg check
  • Addresssanitizer topotests part 0
  • IPv4 ldp protocol on Ubuntu 18.04
  • Debian 9 deb pkg check
  • Topo tests part 1 on Ubuntu 18.04 amd64
  • Static analyzer (clang)
  • Addresssanitizer topotests part 1
  • Topo tests part 2 on Ubuntu 16.04 amd64
  • Topo tests part 2 on Ubuntu 18.04 arm8
  • Topo tests part 0 on Ubuntu 18.04 amd64
  • Debian 10 deb pkg check
  • CentOS 7 rpm pkg check
  • Topo tests part 2 on Ubuntu 18.04 amd64
  • Topo tests part 0 on Ubuntu 16.04 i386
  • Addresssanitizer topotests part 2
  • Topo tests part 1 on Ubuntu 16.04 amd64
  • IPv4 protocols on Ubuntu 18.04
  • Topo tests part 1 on Ubuntu 18.04 arm8
  • Topo tests part 2 on Ubuntu 16.04 i386
  • Ubuntu 16.04 deb pkg check
  • Topo tests part 1 on Ubuntu 16.04 i386
  • Fedora 29 rpm pkg check

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-15205/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201105-00-g96a722634-0 (missing) -> 7.6-dev-20201105-00-g96a722634-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201105-00-g96a722634-0 (missing) -> 7.6-dev-20201105-00-g96a722634-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201105-00-g96a722634-0 (missing) -> 7.6-dev-20201105-00-g96a722634-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201105-00-g96a722634-0 (missing) -> 7.6-dev-20201105-00-g96a722634-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201105-00-g96a722634-0 (missing) -> 7.6-dev-20201105-00-g96a722634-0~deb10u1

CLANG Static Analyzer Summary

  • Github Pull Request 7455, comparing to Git base SHA 898fde3

No Changes in Static Analysis warnings compared to base

3 Static Analyzer issues remaining.

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

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/bcb02cde816d3bd82a199418bda654e2/raw/cd817c547c10f4423bc606706052543f606d4f6c/cr_7455_1604636578.diff | git apply

diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c
index 005002aa1..396b4a50a 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -1936,14 +1936,10 @@ static void ospf6_asbr_external_route_show(struct vty *vty,
 			forwarding);
 }
 
-DEFUN (show_ipv6_ospf6_redistribute,
-       show_ipv6_ospf6_redistribute_cmd,
-       "show ipv6 ospf6 redistribute [json]",
-       SHOW_STR
-       IP6_STR
-       OSPF6_STR
-       "redistributing External information\n"
-       JSON_STR)
+DEFUN(show_ipv6_ospf6_redistribute, show_ipv6_ospf6_redistribute_cmd,
+      "show ipv6 ospf6 redistribute [json]",
+      SHOW_STR IP6_STR OSPF6_STR
+      "redistributing External information\n" JSON_STR)
 {
 	struct ospf6_route *route;
 	struct ospf6 *ospf6 = NULL;

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.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Nov 6, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/7455 20768e9
Date 11/06/2020
Start 01:23:14
Finish 01:58:14
Run-Time 35:00
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-11-06-01:23:14.txt
Log autoscript-2020-11-06-01:24:13.log.bz2
Memory 489 494 418

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Nov 6, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Topo tests part 1 on Ubuntu 16.04 i386: Failed (click for details)

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

Topology Tests failed for Topo tests part 1 on Ubuntu 16.04 i386:

RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
2020-11-06 06:01:34,484 ERROR: R3: bgpd left a dead pidfile (pid=13788)
2020-11-06 06:01:55,233 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604I386/topotests/lib/bgp.py", line 201, in create_router_bgp
    tgen, router, data_all_bgp, "bgp", build, load_config
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604I386/topotests/lib/common_config.py", line 288, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604I386/topotests/lib/common_config.py", line 572, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 6: % Unknown command[27]: neighbor 10.0.0.13 remote-as 0 
line 8: % Unknown command[30]: neighbor fd00:0:0:3::1 remote-as 0 
% Specify remote-as or peer-group commands first
line 10: 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: no neighbor fd00:0:0:3::1 activate 



2020-11-06 06:01:55,629 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604I386/topotests/lib/bgp.py", line 201, in create_router_bgp
    tgen, router, data_all_bgp, "bgp", build, load_config
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604I386/topotests/lib/common_config.py", line 288, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604I386/topotests/lib/common_config.py", line 572, 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  



2020-11-06 06:05:41,555 ERROR: assert failed at "test_ebgp_ecmp_topo2/test_modify_ecmp_max_paths[redist_static-8]": Testcase test_modify_ecmp_max_paths[redist_static-8] : Failed 
   Error: Nexthop set(['fd00:0:0:8::1']) is Missing for route 1::/64 in RIB of router r3
  
assert "Nexthop set(['fd00:0:0:8::1']) is Missing for route 1::/64 in RIB of router r3\n" is True
2020-11-06 06:33:26,122 ERROR: '_bgp_has_routes' failed after 42.56 seconds
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
2020-11-06 06:47:56,425 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604I386/topotests/lib/common_config.py", line 1482, in create_interfaces_cfg
    tgen, c_router, interface_data, "interface_config", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604I386/topotests/lib/common_config.py", line 288, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1604I386/topotests/lib/common_config.py", line 572, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 3: % Unknown command[16]: ip ospf  hello-interval 65536 

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

Topo tests part 0 on Ubuntu 18.04 amd64: Failed (click for details)

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

Topology Tests failed for Topo tests part 0 on Ubuntu 18.04 amd64:

*** defaultIntf: warning: r1 has no interfaces
2020-11-06 05:19:47,624 ERROR: assert failed at "evpn_type5_test_topo1.test_evpn_type5_topo1/test_evpn_routes_from_VNFs_p1": Testcase test_evpn_routes_from_VNFs_p1 :Failed 
   Error: [DUT: d2]: Missing route in RIB, routes: ['20.1.1.1/32']
assert "[DUT: d2]: Missing route in RIB, routes: ['20.1.1.1/32']" is True
2020-11-06 05:27:48,048 WARNING: ['Area 1:', ' Interface: r1-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.1/24', ' IPv6 Link-Locals:', ' fe80::fc6e:e4ff:fe1c:aa8c/64', '', ' Interface: r1-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.1/24', ' IPv6 Link-Locals:', ' fe80::6022:1dff:fe62:7325/64']
2020-11-06 05:27:48,049 WARNING: {'1': {'r1-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r1-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:27:48,185 WARNING: ['Area 1:', ' Interface: r2-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.2/24', ' IPv6 Link-Locals:', ' fe80::4809:9bff:fe54:268a/64', '', ' Interface: r2-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.2/24', ' IPv6 Link-Locals:', ' fe80::9818:50ff:fe3c:2e4b/64']
2020-11-06 05:27:48,185 WARNING: {'1': {'r2-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r2-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:27:48,319 WARNING: ['Area 1:', ' Interface: r3-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.3/24', ' IPv6 Link-Locals:', ' fe80::c90:4dff:fe8a:8321/64', '', ' Interface: r3-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.3/24', ' IPv6 Link-Locals:', ' fe80::d071:dcff:fe2c:216c/64']
2020-11-06 05:27:48,319 WARNING: {'1': {'r3-eth2': [{'metric': '10', 'level': 'Level-1'}], 'r3-eth1': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:02,268 WARNING: ['Area 1:', ' Interface: r1-eth1, State: Config, Active, Circuit Id: 0x0', ' Type: Unknown, Level: L1', ' Level-1 Information:', ' Metric: 16777214, Active neighbors: 0', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', '', ' Interface: r1-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.1/24', ' IPv6 Link-Locals:', ' fe80::6022:1dff:fe62:7325/64']
2020-11-06 05:28:02,268 WARNING: {'1': {'r1-eth1': [{'metric': '16777214', 'level': 'Level-1'}], 'r1-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:02,406 WARNING: ['Area 1:', ' Interface: r2-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 16777214, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.2/24', ' IPv6 Link-Locals:', ' fe80::4809:9bff:fe54:268a/64', '', ' Interface: r2-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.2/24', ' IPv6 Link-Locals:', ' fe80::9818:50ff:fe3c:2e4b/64']
2020-11-06 05:28:02,407 WARNING: {'1': {'r2-eth1': [{'metric': '16777214', 'level': 'Level-1'}], 'r2-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:02,573 WARNING: ['Area 1:', ' Interface: r3-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.3/24', ' IPv6 Link-Locals:', ' fe80::c90:4dff:fe8a:8321/64', '', ' Interface: r3-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.3/24', ' IPv6 Link-Locals:', ' fe80::d071:dcff:fe2c:216c/64']
2020-11-06 05:28:02,573 WARNING: {'1': {'r3-eth2': [{'metric': '10', 'level': 'Level-1'}], 'r3-eth1': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:19,166 WARNING: ['Area 1:', ' Interface: r1-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.1/24', ' IPv6 Link-Locals:', ' fe80::fc6e:e4ff:fe1c:aa8c/64', '', ' Interface: r1-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.1/24', ' IPv6 Link-Locals:', ' fe80::6022:1dff:fe62:7325/64']
2020-11-06 05:28:19,167 WARNING: {'1': {'r1-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r1-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:19,346 WARNING: ['Area 1:', ' Interface: r2-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.2/24', ' IPv6 Link-Locals:', ' fe80::4809:9bff:fe54:268a/64', '', ' Interface: r2-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.2/24', ' IPv6 Link-Locals:', ' fe80::9818:50ff:fe3c:2e4b/64']
2020-11-06 05:28:19,347 WARNING: {'1': {'r2-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r2-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:19,528 WARNING: ['Area 1:', ' Interface: r3-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.3/24', ' IPv6 Link-Locals:', ' fe80::c90:4dff:fe8a:8321/64', '', ' Interface: r3-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.3/24', ' IPv6 Link-Locals:', ' fe80::d071:dcff:fe2c:216c/64']
2020-11-06 05:28:19,528 WARNING: {'1': {'r3-eth2': [{'metric': '10', 'level': 'Level-1'}], 'r3-eth1': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:34,045 WARNING: ['Area 1:', ' Interface: r1-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 16777214, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.1/24', ' IPv6 Link-Locals:', ' fe80::fc6e:e4ff:fe1c:aa8c/64', '', ' Interface: r1-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.1/24', ' IPv6 Link-Locals:', ' fe80::6022:1dff:fe62:7325/64']
2020-11-06 05:28:34,046 WARNING: {'1': {'r1-eth1': [{'metric': '16777214', 'level': 'Level-1'}], 'r1-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:34,224 WARNING: ['Area 1:', ' Interface: r2-eth1, State: Config, Active, Circuit Id: 0x0', ' Type: Unknown, Level: L1', ' Level-1 Information:', ' Metric: 16777214, Active neighbors: 0', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', '', ' Interface: r2-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.2/24', ' IPv6 Link-Locals:', ' fe80::9818:50ff:fe3c:2e4b/64']
2020-11-06 05:28:34,225 WARNING: {'1': {'r2-eth1': [{'metric': '16777214', 'level': 'Level-1'}], 'r2-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:34,441 WARNING: ['Area 1:', ' Interface: r3-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.3/24', ' IPv6 Link-Locals:', ' fe80::c90:4dff:fe8a:8321/64', '', ' Interface: r3-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.3/24', ' IPv6 Link-Locals:', ' fe80::d071:dcff:fe2c:216c/64']
2020-11-06 05:28:34,441 WARNING: {'1': {'r3-eth2': [{'metric': '10', 'level': 'Level-1'}], 'r3-eth1': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:50,351 WARNING: ['Area 1:', ' Interface: r1-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.1/24', ' IPv6 Link-Locals:', ' fe80::fc6e:e4ff:fe1c:aa8c/64', '', ' Interface: r1-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.1/24', ' IPv6 Link-Locals:', ' fe80::6022:1dff:fe62:7325/64']
2020-11-06 05:28:50,351 WARNING: {'1': {'r1-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r1-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:50,528 WARNING: ['Area 1:', ' Interface: r2-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.2/24', ' IPv6 Link-Locals:', ' fe80::4809:9bff:fe54:268a/64', '', ' Interface: r2-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.2/24', ' IPv6 Link-Locals:', ' fe80::9818:50ff:fe3c:2e4b/64']
2020-11-06 05:28:50,528 WARNING: {'1': {'r2-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r2-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-06 05:28:50,717 WARNING: ['Area 1:', ' Interface: r3-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.3/24', ' IPv6 Link-Locals:', ' fe80::c90:4dff:fe8a:8321/64', '', ' Interface: r3-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.3/24', ' IPv6 Link-Locals:', ' fe80::d071:dcff:fe2c:216c/64']
2020-11-06 05:28:50,717 WARNING: {'1': {'r3-eth2': [{'metric': '10', 'level': 'Level-1'}], 'r3-eth1': [{'metric': '10', 'level': 'Level-1'}]}}

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

IPv6 protocols on Ubuntu 18.04: Failed (click for details)
Successful on other platforms/tests
  • IPv4 protocols on Ubuntu 18.04
  • Topo tests part 2 on Ubuntu 16.04 amd64
  • Topo tests part 1 on Ubuntu 18.04 arm8
  • Topo tests part 2 on Ubuntu 18.04 amd64
  • Topo tests part 0 on Ubuntu 16.04 i386
  • Debian 10 deb pkg check
  • Static analyzer (clang)
  • Topo tests part 2 on Ubuntu 16.04 i386
  • Ubuntu 16.04 deb pkg check
  • Topo tests part 0 on Ubuntu 18.04 arm8
  • Fedora 29 rpm pkg check
  • IPv4 ldp protocol on Ubuntu 18.04
  • Addresssanitizer topotests part 2
  • Ubuntu 20.04 deb pkg check
  • Debian 8 deb pkg check
  • Topo tests part 1 on Ubuntu 18.04 amd64
  • Ubuntu 18.04 deb pkg check
  • Debian 9 deb pkg check
  • Topo tests part 0 on Ubuntu 16.04 amd64
  • CentOS 7 rpm pkg check
  • Addresssanitizer topotests part 0
  • Topo tests part 2 on Ubuntu 18.04 arm8
  • Addresssanitizer topotests part 1
  • Topo tests part 1 on Ubuntu 16.04 amd64

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-15242/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201106-01-g20768e9e8-0 (missing) -> 7.6-dev-20201106-01-g20768e9e8-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201106-01-g20768e9e8-0 (missing) -> 7.6-dev-20201106-01-g20768e9e8-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201106-01-g20768e9e8-0 (missing) -> 7.6-dev-20201106-01-g20768e9e8-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201106-01-g20768e9e8-0 (missing) -> 7.6-dev-20201106-01-g20768e9e8-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201106-01-g20768e9e8-0 (missing) -> 7.6-dev-20201106-01-g20768e9e8-0~deb10u1

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/613be84a1238bd847e651a6abdd1c826/raw/cd817c547c10f4423bc606706052543f606d4f6c/cr_7455_1605021113.diff | git apply

diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c
index 005002aa1..396b4a50a 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -1936,14 +1936,10 @@ static void ospf6_asbr_external_route_show(struct vty *vty,
 			forwarding);
 }
 
-DEFUN (show_ipv6_ospf6_redistribute,
-       show_ipv6_ospf6_redistribute_cmd,
-       "show ipv6 ospf6 redistribute [json]",
-       SHOW_STR
-       IP6_STR
-       OSPF6_STR
-       "redistributing External information\n"
-       JSON_STR)
+DEFUN(show_ipv6_ospf6_redistribute, show_ipv6_ospf6_redistribute_cmd,
+      "show ipv6 ospf6 redistribute [json]",
+      SHOW_STR IP6_STR OSPF6_STR
+      "redistributing External information\n" JSON_STR)
 {
 	struct ospf6_route *route;
 	struct ospf6 *ospf6 = NULL;

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.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Nov 10, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/7455 1c02aa9
Date 11/10/2020
Start 11:16:10
Finish 11:51:33
Run-Time 35:23
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-11-10-11:16:10.txt
Log autoscript-2020-11-10-11:17:09.log.bz2
Memory 494 472 413

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Nov 10, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Topo tests part 1 on Ubuntu 18.04 arm8: Failed (click for details) Topo tests part 1 on Ubuntu 18.04 arm8: No useful log found
IPv4 protocols on Ubuntu 18.04: Failed (click for details)
Successful on other platforms/tests
  • Addresssanitizer topotests part 2
  • Topo tests part 1 on Ubuntu 18.04 amd64
  • Debian 8 deb pkg check
  • Topo tests part 0 on Ubuntu 16.04 amd64
  • CentOS 7 rpm pkg check
  • Addresssanitizer topotests part 0
  • IPv4 ldp protocol on Ubuntu 18.04
  • Debian 9 deb pkg check
  • Topo tests part 1 on Ubuntu 16.04 amd64
  • Addresssanitizer topotests part 1
  • IPv6 protocols on Ubuntu 18.04
  • Topo tests part 2 on Ubuntu 18.04 arm8
  • Topo tests part 0 on Ubuntu 18.04 amd64
  • Topo tests part 1 on Ubuntu 16.04 i386
  • Topo tests part 2 on Ubuntu 16.04 amd64
  • Debian 10 deb pkg check
  • Topo tests part 2 on Ubuntu 18.04 amd64
  • Topo tests part 0 on Ubuntu 16.04 i386
  • Static analyzer (clang)
  • Fedora 29 rpm pkg check
  • Topo tests part 0 on Ubuntu 18.04 arm8
  • Topo tests part 2 on Ubuntu 16.04 i386
  • Ubuntu 18.04 deb pkg check
  • Ubuntu 20.04 deb pkg check
  • Ubuntu 16.04 deb pkg check

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-15341/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1

@ranjanyash54
Copy link
Author

ci: rerun

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Nov 10, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

IPv4 protocols on Ubuntu 18.04: Failed (click for details)
Topo tests part 1 on Ubuntu 18.04 amd64: Failed (click for details)

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

Topology Tests failed for Topo tests part 1 on Ubuntu 18.04 amd64:

2020-11-10 19:18:57,792 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1804AMD64/topotests/lib/bgp.py", line 201, in create_router_bgp
    tgen, router, data_all_bgp, "bgp", build, load_config
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1804AMD64/topotests/lib/common_config.py", line 288, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1804AMD64/topotests/lib/common_config.py", line 572, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 6: % Unknown command[27]: neighbor 10.0.0.13 remote-as 0 
line 8: % Unknown command[30]: neighbor fd00:0:0:3::1 remote-as 0 
% Specify remote-as or peer-group commands first
line 10: 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: no neighbor fd00:0:0:3::1 activate 



2020-11-10 19:18:58,081 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1804AMD64/topotests/lib/bgp.py", line 201, in create_router_bgp
    tgen, router, data_all_bgp, "bgp", build, load_config
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1804AMD64/topotests/lib/common_config.py", line 288, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1804AMD64/topotests/lib/common_config.py", line 572, 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  



2020-11-10 19:22:25,616 ERROR: assert failed at "test_ebgp_ecmp_topo2/test_modify_ecmp_max_paths[redist_static-8]": Testcase test_modify_ecmp_max_paths[redist_static-8] : Failed 
   Error: Nexthop set(['fd00:0:0:8::1']) is Missing for route 1::/64 in RIB of router r3
  
assert "Nexthop set(['fd00:0:0:8::1']) is Missing for route 1::/64 in RIB of router r3\n" is True
2020-11-10 19:47:22,570 ERROR: r3: bgpd left a dead pidfile (pid=17532)
2020-11-10 19:48:44,160 ERROR: '_bgp_has_routes' failed after 38.78 seconds
2020-11-10 19:57:57,347 ERROR: r0: bgpd left a dead pidfile (pid=2334)
2020-11-10 19:58:04,028 ERROR: r0: bgpd left a dead pidfile (pid=3034)
2020-11-10 20:01:38,957 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1804AMD64/topotests/lib/common_config.py", line 1482, in create_interfaces_cfg
    tgen, c_router, interface_data, "interface_config", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1804AMD64/topotests/lib/common_config.py", line 288, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TP1U1804AMD64/topotests/lib/common_config.py", line 572, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 3: % Unknown command[16]: ip ospf  hello-interval 65536 

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

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

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-15350/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1

@donaldsharp
Copy link
Member

ci:rerun

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Nov 15, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Topo tests part 0 on Ubuntu 16.04 i386: Failed (click for details)

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

Topology Tests failed for Topo tests part 0 on Ubuntu 16.04 i386:

*** defaultIntf: warning: r1 has no interfaces
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
2020-11-15 16:22:01,891 ERROR: r1: zebra left a dead pidfile (pid=1310)
2020-11-15 16:23:22,070 WARNING: ['Area 1:', ' Interface: r1-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.1/24', ' IPv6 Link-Locals:', ' fe80::4ce4:66ff:feec:861c/64', '', ' Interface: r1-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.1/24', ' IPv6 Link-Locals:', ' fe80::c8f2:66ff:fe72:114c/64']
2020-11-15 16:23:22,070 WARNING: {'1': {'r1-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r1-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:23:22,245 WARNING: ['Area 1:', ' Interface: r2-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.2/24', ' IPv6 Link-Locals:', ' fe80::d4f0:6bff:fe99:14dc/64', '', ' Interface: r2-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.2/24', ' IPv6 Link-Locals:', ' fe80::689b:ceff:fe9e:3ab3/64']
2020-11-15 16:23:22,245 WARNING: {'1': {'r2-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r2-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:23:22,425 WARNING: ['Area 1:', ' Interface: r3-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.3/24', ' IPv6 Link-Locals:', ' fe80::605f:e7ff:fec8:6fd3/64', '', ' Interface: r3-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.3/24', ' IPv6 Link-Locals:', ' fe80::bc77:60ff:fe3a:8d7b/64']
2020-11-15 16:23:22,426 WARNING: {'1': {'r3-eth2': [{'metric': '10', 'level': 'Level-1'}], 'r3-eth1': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:23:35,652 WARNING: ['Area 1:', ' Interface: r1-eth1, State: Config, Active, Circuit Id: 0x0', ' Type: Unknown, Level: L1', ' Level-1 Information:', ' Metric: 16777214, Active neighbors: 0', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', '', ' Interface: r1-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.1/24', ' IPv6 Link-Locals:', ' fe80::c8f2:66ff:fe72:114c/64']
2020-11-15 16:23:35,652 WARNING: {'1': {'r1-eth1': [{'metric': '16777214', 'level': 'Level-1'}], 'r1-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:23:35,825 WARNING: ['Area 1:', ' Interface: r2-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 16777214, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.2/24', ' IPv6 Link-Locals:', ' fe80::d4f0:6bff:fe99:14dc/64', '', ' Interface: r2-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.2/24', ' IPv6 Link-Locals:', ' fe80::689b:ceff:fe9e:3ab3/64']
2020-11-15 16:23:35,826 WARNING: {'1': {'r2-eth1': [{'metric': '16777214', 'level': 'Level-1'}], 'r2-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:23:35,999 WARNING: ['Area 1:', ' Interface: r3-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.3/24', ' IPv6 Link-Locals:', ' fe80::605f:e7ff:fec8:6fd3/64', '', ' Interface: r3-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.3/24', ' IPv6 Link-Locals:', ' fe80::bc77:60ff:fe3a:8d7b/64']
2020-11-15 16:23:35,999 WARNING: {'1': {'r3-eth2': [{'metric': '10', 'level': 'Level-1'}], 'r3-eth1': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:23:52,074 WARNING: ['Area 1:', ' Interface: r1-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.1/24', ' IPv6 Link-Locals:', ' fe80::4ce4:66ff:feec:861c/64', '', ' Interface: r1-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.1/24', ' IPv6 Link-Locals:', ' fe80::c8f2:66ff:fe72:114c/64']
2020-11-15 16:23:52,074 WARNING: {'1': {'r1-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r1-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:23:52,248 WARNING: ['Area 1:', ' Interface: r2-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.2/24', ' IPv6 Link-Locals:', ' fe80::d4f0:6bff:fe99:14dc/64', '', ' Interface: r2-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.2/24', ' IPv6 Link-Locals:', ' fe80::689b:ceff:fe9e:3ab3/64']
2020-11-15 16:23:52,248 WARNING: {'1': {'r2-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r2-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:23:52,420 WARNING: ['Area 1:', ' Interface: r3-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.3/24', ' IPv6 Link-Locals:', ' fe80::605f:e7ff:fec8:6fd3/64', '', ' Interface: r3-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.3/24', ' IPv6 Link-Locals:', ' fe80::bc77:60ff:fe3a:8d7b/64']
2020-11-15 16:23:52,421 WARNING: {'1': {'r3-eth2': [{'metric': '10', 'level': 'Level-1'}], 'r3-eth1': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:24:06,557 WARNING: ['Area 1:', ' Interface: r1-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 16777214, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.1/24', ' IPv6 Link-Locals:', ' fe80::4ce4:66ff:feec:861c/64', '', ' Interface: r1-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.1/24', ' IPv6 Link-Locals:', ' fe80::c8f2:66ff:fe72:114c/64']
2020-11-15 16:24:06,557 WARNING: {'1': {'r1-eth1': [{'metric': '16777214', 'level': 'Level-1'}], 'r1-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:24:06,732 WARNING: ['Area 1:', ' Interface: r2-eth1, State: Config, Active, Circuit Id: 0x0', ' Type: Unknown, Level: L1', ' Level-1 Information:', ' Metric: 16777214, Active neighbors: 0', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', '', ' Interface: r2-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.2/24', ' IPv6 Link-Locals:', ' fe80::689b:ceff:fe9e:3ab3/64']
2020-11-15 16:24:06,732 WARNING: {'1': {'r2-eth1': [{'metric': '16777214', 'level': 'Level-1'}], 'r2-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:24:06,905 WARNING: ['Area 1:', ' Interface: r3-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.3/24', ' IPv6 Link-Locals:', ' fe80::605f:e7ff:fec8:6fd3/64', '', ' Interface: r3-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.3/24', ' IPv6 Link-Locals:', ' fe80::bc77:60ff:fe3a:8d7b/64']
2020-11-15 16:24:06,905 WARNING: {'1': {'r3-eth2': [{'metric': '10', 'level': 'Level-1'}], 'r3-eth1': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:24:23,113 WARNING: ['Area 1:', ' Interface: r1-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.1/24', ' IPv6 Link-Locals:', ' fe80::4ce4:66ff:feec:861c/64', '', ' Interface: r1-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.1/24', ' IPv6 Link-Locals:', ' fe80::c8f2:66ff:fe72:114c/64']
2020-11-15 16:24:23,113 WARNING: {'1': {'r1-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r1-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:24:23,288 WARNING: ['Area 1:', ' Interface: r2-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.1.2/24', ' IPv6 Link-Locals:', ' fe80::d4f0:6bff:fe99:14dc/64', '', ' Interface: r2-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.2/24', ' IPv6 Link-Locals:', ' fe80::689b:ceff:fe9e:3ab3/64']
2020-11-15 16:24:23,288 WARNING: {'1': {'r2-eth1': [{'metric': '10', 'level': 'Level-1'}], 'r2-eth2': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:24:23,464 WARNING: ['Area 1:', ' Interface: r3-eth1, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.2.3/24', ' IPv6 Link-Locals:', ' fe80::605f:e7ff:fec8:6fd3/64', '', ' Interface: r3-eth2, State: Up, Active, Circuit Id: 0x0', ' Type: p2p, Level: L1', ' Level-1 Information:', ' Metric: 10, Active neighbors: 1', ' Hello interval: 3, Holddown count: 10 (pad)', ' CNSP interval: 10, PSNP interval: 2', ' IP Prefix(es):', ' 10.0.3.3/24', ' IPv6 Link-Locals:', ' fe80::bc77:60ff:fe3a:8d7b/64']
2020-11-15 16:24:23,465 WARNING: {'1': {'r3-eth2': [{'metric': '10', 'level': 'Level-1'}], 'r3-eth1': [{'metric': '10', 'level': 'Level-1'}]}}
2020-11-15 16:24:26,127 ERROR: ce1: zebra left a dead pidfile (pid=4790)
2020-11-15 16:26:26,519 ERROR: ce3: zebra left a dead pidfile (pid=7247)
2020-11-15 16:28:13,725 ERROR: r2: zebra left a dead pidfile (pid=13432)
2020-11-15 16:30:52,456 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:30:59,681 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:31:06,872 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:31:14,055 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:31:21,242 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:31:28,426 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:31:35,604 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:31:42,785 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:31:49,965 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:31:57,142 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:32:04,323 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:32:11,502 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:32:18,687 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:32:25,868 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:32:33,051 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:32:40,229 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:32:47,443 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:32:54,622 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:33:01,803 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:33:08,981 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:33:16,164 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:33:23,363 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:33:30,544 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:33:37,725 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:33:44,917 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:33:52,094 WARNING: vtysh_cmd: failed to convert json output
2020-11-15 16:33:59,102 ERROR: 'router_json_cmp' failed after 218.80 seconds
2020-11-15 16:33:59,134 ERROR: assert failed at "test_route_scale/test_route_install": Route scale test install failed:
  Generated JSON diff error report:
  
  
  > $: d2 has key 'routes' which is not present in d1
  > $: d2 has key 'routesTotalFib' which is not present in d1
  > $: d2 has key 'routesTotal' which is not present in d1
  
  
assert False
No function contains program counter for selected frame.
No function contains program counter for selected frame.
No function contains program counter for selected frame.

r1: zebra crashed. Core file found - Backtrace follows:
[New LWP 17625]
[New LWP 17630]
[New LWP 17629]
[New LWP 18010]
[New LWP 17684]
[New LWP 17632]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/frr/zebra --log stdout --log-level debug -s 90000000 -d'.
Program terminated with signal SIGABRT, Aborted.
#0  0xb7f7ccf5 in ?? ()
[Current thread is 1 (Thread 0xb788c7c0 (LWP 17625))]
  Id   Target Id         Frame 
* 1    Thread 0xb788c7c0 (LWP 17625) 0xb7f7ccf5 in ?? ()
  2    Thread 0xb703bb40 (LWP 17630) 0xb7f7ccf5 in ?? ()
  3    Thread 0xb783cb40 (LWP 17629) 0xb7f7ccf5 in ?? ()
  4    Thread 0xb54feb40 (LWP 18010) 0xb7f7ccf5 in ?? ()
  5    Thread 0xb5cffb40 (LWP 17684) 0xb7f7ccf5 in ?? ()
  6    Thread 0xb683ab40 (LWP 17632) 0xb7f7ccf5 in ?? ()
#0  0xb7f7ccf5 in ?? ()
No symbol table info available.
#1  0xb7eadb54 in qmalloc () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
No symbol table info available.
#2  0xb7ed738a in stream_new () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
No symbol table info available.
#3  0x0049fe8e in ?? ()
No symbol table info available.
#4  0x004a556f in zsend_route_notify_owner_ctx ()
No symbol table info available.
#5  0x004d514d in ?? ()
No symbol table info available.
#6  0xb7ee2379 in thread_call () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
No symbol table info available.
#7  0xb7ea8ec1 in frr_run () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
No symbol table info available.
#8  0x0047d32e in main ()
No symbol table info available.
#1  0xb7eadb54 in qmalloc () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
Dump of assembler code for function qmalloc:
   0xb7eada60 <+0>:	push   %ebp
   0xb7eada61 <+1>:	mov    %esp,%ebp
   0xb7eada63 <+3>:	push   %edi
   0xb7eada64 <+4>:	push   %esi
   0xb7eada65 <+5>:	push   %ebx
   0xb7eada66 <+6>:	call   0xb7e80c00
   0xb7eada6b <+11>:	add    $0xbcfa5,%ebx
   0xb7eada71 <+17>:	sub    $0x28,%esp
   0xb7eada74 <+20>:	pushl  0xc(%ebp)
   0xb7eada77 <+23>:	mov    0x8(%ebp),%esi
   0xb7eada7a <+26>:	mov    %gs:0x14,%eax
   0xb7eada80 <+32>:	mov    %eax,-0x1c(%ebp)
   0xb7eada83 <+35>:	xor    %eax,%eax
   0xb7eada85 <+37>:	call   0xb7e7bfe8
   0xb7eada8a <+42>:	add    $0x10,%esp
   0xb7eada8d <+45>:	test   %eax,%eax
   0xb7eada8f <+47>:	mov    %eax,%edi
   0xb7eada91 <+49>:	je     0xb7eadb40 <qmalloc+224>
   0xb7eada97 <+55>:	mov    $0x1,%edx
   0xb7eada9c <+60>:	lock xadd %edx,0xc(%esi)
   0xb7eadaa1 <+65>:	mov    0x10(%esi),%eax
   0xb7eadaa4 <+68>:	add    $0x1,%edx
   0xb7eadaa7 <+71>:	lea    0x10(%esi),%ecx
   0xb7eadaaa <+74>:	cmp    %eax,%edx
   0xb7eadaac <+76>:	mov    %eax,-0x20(%ebp)
   0xb7eadaaf <+79>:	ja     0xb7eadb30 <qmalloc+208>
   0xb7eadab1 <+81>:	mov    0x14(%esi),%eax
   0xb7eadab4 <+84>:	lea    0x14(%esi),%edx
   0xb7eadab7 <+87>:	test   %eax,%eax
   0xb7eadab9 <+89>:	mov    %eax,-0x20(%ebp)
   0xb7eadabc <+92>:	je     0xb7eadb20 <qmalloc+192>
   0xb7eadabe <+94>:	lea    -0x1(%eax),%edx
   0xb7eadac1 <+97>:	cmp    $0xfffffffd,%edx
   0xb7eadac4 <+100>:	ja     0xb7eadad2 <qmalloc+114>
   0xb7eadac6 <+102>:	cmp    %eax,0xc(%ebp)
   0xb7eadac9 <+105>:	je     0xb7eadad2 <qmalloc+114>
   0xb7eadacb <+107>:	movl   $0xffffffff,0x14(%esi)
   0xb7eadad2 <+114>:	sub    $0xc,%esp
   0xb7eadad5 <+117>:	push   %edi
   0xb7eadad6 <+118>:	call   0xb7e7c138
   0xb7eadadb <+123>:	mov    %eax,%edx
   0xb7eadadd <+125>:	lock xadd %edx,0x18(%esi)
   0xb7eadae2 <+130>:	add    %eax,%edx
   0xb7eadae4 <+132>:	mov    0x1c(%esi),%eax
   0xb7eadae7 <+135>:	add    $0x10,%esp
   0xb7eadaea <+138>:	lea    0x1c(%esi),%ecx
   0xb7eadaed <+141>:	cmp    %eax,%edx
   0xb7eadaef <+143>:	mov    %eax,-0x20(%ebp)
   0xb7eadaf2 <+146>:	ja     0xb7eadb10 <qmalloc+176>
   0xb7eadaf4 <+148>:	mov    -0x1c(%ebp),%ecx
   0xb7eadaf7 <+151>:	xor    %gs:0x14,%ecx
   0xb7eadafe <+158>:	mov    %edi,%eax
   0xb7eadb00 <+160>:	jne    0xb7eadb54 <qmalloc+244>
   0xb7eadb02 <+162>:	lea    -0xc(%ebp),%esp
   0xb7eadb05 <+165>:	pop    %ebx
   0xb7eadb06 <+166>:	pop    %esi
   0xb7eadb07 <+167>:	pop    %edi
   0xb7eadb08 <+168>:	pop    %ebp
   0xb7eadb09 <+169>:	ret    
   0xb7eadb0a <+170>:	lea    0x0(%esi),%esi
   0xb7eadb10 <+176>:	lock cmpxchg %edx,(%ecx)
   0xb7eadb14 <+180>:	je     0xb7eadaf4 <qmalloc+148>
   0xb7eadb16 <+182>:	mov    %eax,-0x20(%ebp)
   0xb7eadb19 <+185>:	jmp    0xb7eadaf4 <qmalloc+148>
   0xb7eadb1b <+187>:	nop
   0xb7eadb1c <+188>:	lea    0x0(%esi,%eiz,1),%esi
   0xb7eadb20 <+192>:	mov    0xc(%ebp),%eax
   0xb7eadb23 <+195>:	xchg   %eax,(%edx)
   0xb7eadb25 <+197>:	mov    %eax,-0x20(%ebp)
   0xb7eadb28 <+200>:	jmp    0xb7eadabe <qmalloc+94>
   0xb7eadb2a <+202>:	lea    0x0(%esi),%esi
   0xb7eadb30 <+208>:	lock cmpxchg %edx,(%ecx)
   0xb7eadb34 <+212>:	cmove  -0x20(%ebp),%eax
   0xb7eadb38 <+216>:	mov    %eax,-0x20(%ebp)
   0xb7eadb3b <+219>:	jmp    0xb7eadab1 <qmalloc+81>
   0xb7eadb40 <+224>:	mov    0xc(%ebp),%edx
   0xb7eadb43 <+227>:	test   %edx,%edx
   0xb7eadb45 <+229>:	je     0xb7eadaf4 <qmalloc+148>
   0xb7eadb47 <+231>:	push   %eax
   0xb7eadb48 <+232>:	push   %eax
   0xb7eadb49 <+233>:	pushl  0x8(%esi)
   0xb7eadb4c <+236>:	pushl  0xc(%ebp)
   0xb7eadb4f <+239>:	call   0xb7eaa760 <memory_oom>
=> 0xb7eadb54 <+244>:	call   0xb7effa60
End of assembler dump.
#2  0xb7ed738a in stream_new () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
Dump of assembler code for function stream_new:
   0xb7ed7360 <+0>:	push   %ebp
   0xb7ed7361 <+1>:	mov    %esp,%ebp
   0xb7ed7363 <+3>:	push   %esi
   0xb7ed7364 <+4>:	push   %ebx
   0xb7ed7365 <+5>:	mov    0x8(%ebp),%esi
   0xb7ed7368 <+8>:	call   0xb7e80c00
   0xb7ed736d <+13>:	add    $0x936a3,%ebx
   0xb7ed7373 <+19>:	test   %esi,%esi
   0xb7ed7375 <+21>:	je     0xb7ed73a8 <stream_new+72>
   0xb7ed7377 <+23>:	lea    0x10(%esi),%eax
   0xb7ed737a <+26>:	sub    $0x8,%esp
   0xb7ed737d <+29>:	push   %eax
   0xb7ed737e <+30>:	lea    0x23d0(%ebx),%eax
   0xb7ed7384 <+36>:	push   %eax
   0xb7ed7385 <+37>:	call   0xb7eada60 <qmalloc>
=> 0xb7ed738a <+42>:	movl   $0x0,0x8(%eax)
   0xb7ed7391 <+49>:	movl   $0x0,0x4(%eax)
   0xb7ed7398 <+56>:	movl   $0x0,(%eax)
   0xb7ed739e <+62>:	mov    %esi,0xc(%eax)
   0xb7ed73a1 <+65>:	lea    -0x8(%ebp),%esp
   0xb7ed73a4 <+68>:	pop    %ebx
   0xb7ed73a5 <+69>:	pop    %esi
   0xb7ed73a6 <+70>:	pop    %ebp
   0xb7ed73a7 <+71>:	ret    
   0xb7ed73a8 <+72>:	lea    -0x4d9f0(%ebx),%eax
   0xb7ed73ae <+78>:	push   %eax
   0xb7ed73af <+79>:	lea    -0x4e3eb(%ebx),%eax
   0xb7ed73b5 <+85>:	push   $0x6c
   0xb7ed73b7 <+87>:	push   %eax
   0xb7ed73b8 <+88>:	lea    -0x4e3de(%ebx),%eax
   0xb7ed73be <+94>:	push   %eax
   0xb7ed73bf <+95>:	call   0xb7e7c4e0
End of assembler dump.
#3  0x0049fe8e in ?? ()
#4  0x004a556f in zsend_route_notify_owner_ctx ()
Dump of assembler code for function zsend_route_notify_owner_ctx:
   0x004a5510 <+0>:	push   %ebp
   0x004a5511 <+1>:	mov    %esp,%ebp
   0x004a5513 <+3>:	push   %edi
   0x004a5514 <+4>:	push   %esi
   0x004a5515 <+5>:	push   %ebx
   0x004a5516 <+6>:	call   0x47df00 <_start+58>
   0x004a551b <+11>:	add    $0xb3175,%ebx
   0x004a5521 <+17>:	sub    $0x28,%esp
   0x004a5524 <+20>:	mov    0x8(%ebp),%esi
   0x004a5527 <+23>:	push   %esi
   0x004a5528 <+24>:	call   0x4a8fd0 <dplane_ctx_get_table>
   0x004a552d <+29>:	mov    %esi,(%esp)
   0x004a5530 <+32>:	mov    %eax,-0x1c(%ebp)
   0x004a5533 <+35>:	call   0x4a8e80 <dplane_ctx_get_vrf>
   0x004a5538 <+40>:	mov    %esi,(%esp)
   0x004a553b <+43>:	mov    %eax,%edi
   0x004a553d <+45>:	call   0x4a9020 <dplane_ctx_get_instance>
   0x004a5542 <+50>:	mov    %esi,(%esp)
   0x004a5545 <+53>:	mov    %ax,-0x1e(%ebp)
   0x004a5549 <+57>:	call   0x4a8f40 <dplane_ctx_get_type>
   0x004a554e <+62>:	mov    %esi,(%esp)
   0x004a5551 <+65>:	mov    %eax,-0x24(%ebp)
   0x004a5554 <+68>:	call   0x4a8d70 <dplane_ctx_get_dest>
   0x004a5559 <+73>:	movzwl -0x1e(%ebp),%ecx
   0x004a555d <+77>:	add    $0xc,%esp
   0x004a5560 <+80>:	mov    -0x24(%ebp),%edx
   0x004a5563 <+83>:	pushl  0xc(%ebp)
   0x004a5566 <+86>:	pushl  -0x1c(%ebp)
   0x004a5569 <+89>:	push   %edi
   0x004a556a <+90>:	call   0x49fe30
=> 0x004a556f <+95>:	lea    -0xc(%ebp),%esp
   0x004a5572 <+98>:	pop    %ebx
   0x004a5573 <+99>:	pop    %esi
   0x004a5574 <+100>:	pop    %edi
   0x004a5575 <+101>:	pop    %ebp
   0x004a5576 <+102>:	ret    
End of assembler dump.
#5  0x004d514d in ?? ()
2020-11-15 16:33:59,803 ERROR: assert failed at "test_route_scale/test_memory_leak": 
r1: zebra crashed. Core file found - Backtrace follows:
[New LWP 17625]
[New LWP 17630]
[New LWP 17629]
[New LWP 18010]
[New LWP 17684]
[New LWP 17632]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/frr/zebra --log stdout --log-level debug -s 90000000 -d'.
Program terminated with signal SIGABRT, Aborted.
#0  0xb7f7ccf5 in ?? ()
[Current thread is 1 (Thread 0xb788c7c0 (LWP 17625))]
  Id   Target Id         Frame 
* 1    Thread 0xb788c7c0 (LWP 17625) 0xb7f7ccf5 in ?? ()
  2    Thread 0xb703bb40 (LWP 17630) 0xb7f7ccf5 in ?? ()
  3    Thread 0xb783cb40 (LWP 17629) 0xb7f7ccf5 in ?? ()
  4    Thread 0xb54feb40 (LWP 18010) 0xb7f7ccf5 in ?? ()
  5    Thread 0xb5cffb40 (LWP 17684) 0xb7f7ccf5 in ?? ()
  6    Thread 0xb683ab40 (LWP 17632) 0xb7f7ccf5 in ?? ()
#0  0xb7f7ccf5 in ?? ()
No symbol table info available.
#1  0xb7eadb54 in qmalloc () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
No symbol table info available.
#2  0xb7ed738a in stream_new () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
No symbol table info available.
#3  0x0049fe8e in ?? ()
No symbol table info available.
#4  0x004a556f in zsend_route_notify_owner_ctx ()
No symbol table info available.
#5  0x004d514d in ?? ()
No symbol table info available.
#6  0xb7ee2379 in thread_call () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
No symbol table info available.
#7  0xb7ea8ec1 in frr_run () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
No symbol table info available.
#8  0x0047d32e in main ()
No symbol table info available.
#1  0xb7eadb54 in qmalloc () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
Dump of assembler code for function qmalloc:
   0xb7eada60 <+0>:	push   %ebp
   0xb7eada61 <+1>:	mov    %esp,%ebp
   0xb7eada63 <+3>:	push   %edi
   0xb7eada64 <+4>:	push   %esi
   0xb7eada65 <+5>:	push   %ebx
   0xb7eada66 <+6>:	call   0xb7e80c00
   0xb7eada6b <+11>:	add    $0xbcfa5,%ebx
   0xb7eada71 <+17>:	sub    $0x28,%esp
   0xb7eada74 <+20>:	pushl  0xc(%ebp)
   0xb7eada77 <+23>:	mov    0x8(%ebp),%esi
   0xb7eada7a <+26>:	mov    %gs:0x14,%eax
   0xb7eada80 <+32>:	mov    %eax,-0x1c(%ebp)
   0xb7eada83 <+35>:	xor    %eax,%eax
   0xb7eada85 <+37>:	call   0xb7e7bfe8
   0xb7eada8a <+42>:	add    $0x10,%esp
   0xb7eada8d <+45>:	test   %eax,%eax
   0xb7eada8f <+47>:	mov    %eax,%edi
   0xb7eada91 <+49>:	je     0xb7eadb40 <qmalloc+224>
   0xb7eada97 <+55>:	mov    $0x1,%edx
   0xb7eada9c <+60>:	lock xadd %edx,0xc(%esi)
   0xb7eadaa1 <+65>:	mov    0x10(%esi),%eax
   0xb7eadaa4 <+68>:	add    $0x1,%edx
   0xb7eadaa7 <+71>:	lea    0x10(%esi),%ecx
   0xb7eadaaa <+74>:	cmp    %eax,%edx
   0xb7eadaac <+76>:	mov    %eax,-0x20(%ebp)
   0xb7eadaaf <+79>:	ja     0xb7eadb30 <qmalloc+208>
   0xb7eadab1 <+81>:	mov    0x14(%esi),%eax
   0xb7eadab4 <+84>:	lea    0x14(%esi),%edx
   0xb7eadab7 <+87>:	test   %eax,%eax
   0xb7eadab9 <+89>:	mov    %eax,-0x20(%ebp)
   0xb7eadabc <+92>:	je     0xb7eadb20 <qmalloc+192>
   0xb7eadabe <+94>:	lea    -0x1(%eax),%edx
   0xb7eadac1 <+97>:	cmp    $0xfffffffd,%edx
   0xb7eadac4 <+100>:	ja     0xb7eadad2 <qmalloc+114>
   0xb7eadac6 <+102>:	cmp    %eax,0xc(%ebp)
   0xb7eadac9 <+105>:	je     0xb7eadad2 <qmalloc+114>
   0xb7eadacb <+107>:	movl   $0xffffffff,0x14(%esi)
   0xb7eadad2 <+114>:	sub    $0xc,%esp
   0xb7eadad5 <+117>:	push   %edi
   0xb7eadad6 <+118>:	call   0xb7e7c138
   0xb7eadadb <+123>:	mov    %eax,%edx
   0xb7eadadd <+125>:	lock xadd %edx,0x18(%esi)
   0xb7eadae2 <+130>:	add    %eax,%edx
   0xb7eadae4 <+132>:	mov    0x1c(%esi),%eax
   0xb7eadae7 <+135>:	add    $0x10,%esp
   0xb7eadaea <+138>:	lea    0x1c(%esi),%ecx
   0xb7eadaed <+141>:	cmp    %eax,%edx
   0xb7eadaef <+143>:	mov    %eax,-0x20(%ebp)
   0xb7eadaf2 <+146>:	ja     0xb7eadb10 <qmalloc+176>
   0xb7eadaf4 <+148>:	mov    -0x1c(%ebp),%ecx
   0xb7eadaf7 <+151>:	xor    %gs:0x14,%ecx
   0xb7eadafe <+158>:	mov    %edi,%eax
   0xb7eadb00 <+160>:	jne    0xb7eadb54 <qmalloc+244>
   0xb7eadb02 <+162>:	lea    -0xc(%ebp),%esp
   0xb7eadb05 <+165>:	pop    %ebx
   0xb7eadb06 <+166>:	pop    %esi
   0xb7eadb07 <+167>:	pop    %edi
   0xb7eadb08 <+168>:	pop    %ebp
   0xb7eadb09 <+169>:	ret    
   0xb7eadb0a <+170>:	lea    0x0(%esi),%esi
   0xb7eadb10 <+176>:	lock cmpxchg %edx,(%ecx)
   0xb7eadb14 <+180>:	je     0xb7eadaf4 <qmalloc+148>
   0xb7eadb16 <+182>:	mov    %eax,-0x20(%ebp)
   0xb7eadb19 <+185>:	jmp    0xb7eadaf4 <qmalloc+148>
   0xb7eadb1b <+187>:	nop
   0xb7eadb1c <+188>:	lea    0x0(%esi,%eiz,1),%esi
   0xb7eadb20 <+192>:	mov    0xc(%ebp),%eax
   0xb7eadb23 <+195>:	xchg   %eax,(%edx)
   0xb7eadb25 <+197>:	mov    %eax,-0x20(%ebp)
   0xb7eadb28 <+200>:	jmp    0xb7eadabe <qmalloc+94>
   0xb7eadb2a <+202>:	lea    0x0(%esi),%esi
   0xb7eadb30 <+208>:	lock cmpxchg %edx,(%ecx)
   0xb7eadb34 <+212>:	cmove  -0x20(%ebp),%eax
   0xb7eadb38 <+216>:	mov    %eax,-0x20(%ebp)
   0xb7eadb3b <+219>:	jmp    0xb7eadab1 <qmalloc+81>
   0xb7eadb40 <+224>:	mov    0xc(%ebp),%edx
   0xb7eadb43 <+227>:	test   %edx,%edx
   0xb7eadb45 <+229>:	je     0xb7eadaf4 <qmalloc+148>
   0xb7eadb47 <+231>:	push   %eax
   0xb7eadb48 <+232>:	push   %eax
   0xb7eadb49 <+233>:	pushl  0x8(%esi)
   0xb7eadb4c <+236>:	pushl  0xc(%ebp)
   0xb7eadb4f <+239>:	call   0xb7eaa760 <memory_oom>
=> 0xb7eadb54 <+244>:	call   0xb7effa60
End of assembler dump.
#2  0xb7ed738a in stream_new () from /usr/lib/i386-linux-gnu/frr/libfrr.so.0
Dump of assembler code for function stream_new:
   0xb7ed7360 <+0>:	push   %ebp
   0xb7ed7361 <+1>:	mov    %esp,%ebp
   0xb7ed7363 <+3>:	push   %esi
   0xb7ed7364 <+4>:	push   %ebx
   0xb7ed7365 <+5>:	mov    0x8(%ebp),%esi
   0xb7ed7368 <+8>:	call   0xb7e80c00
   0xb7ed736d <+13>:	add    $0x936a3,%ebx
   0xb7ed7373 <+19>:	test   %esi,%esi
   0xb7ed7375 <+21>:	je     0xb7ed73a8 <stream_new+72>
   0xb7ed7377 <+23>:	lea    0x10(%esi),%eax
   0xb7ed737a <+26>:	sub    $0x8,%esp
   0xb7ed737d <+29>:	push   %eax
   0xb7ed737e <+30>:	lea    0x23d0(%ebx),%eax
   0xb7ed7384 <+36>:	push   %eax
   0xb7ed7385 <+37>:	call   0xb7eada60 <qmalloc>
=> 0xb7ed738a <+42>:	movl   $0x0,0x8(%eax)
   0xb7ed7391 <+49>:	movl   $0x0,0x4(%eax)
   0xb7ed7398 <+56>:	movl   $0x0,(%eax)
   0xb7ed739e <+62>:	mov    %esi,0xc(%eax)
   0xb7ed73a1 <+65>:	lea    -0x8(%ebp),%esp
   0xb7ed73a4 <+68>:	pop    %ebx
   0xb7ed73a5 <+69>:	pop    %esi
   0xb7ed73a6 <+70>:	pop    %ebp
   0xb7ed73a7 <+71>:	ret    
   0xb7ed73a8 <+72>:	lea    -0x4d9f0(%ebx),%eax
   0xb7ed73ae <+78>:	push   %eax
   0xb7ed73af <+79>:	lea    -0x4e3eb(%ebx),%eax
   0xb7ed73b5 <+85>:	push   $0x6c
   0xb7ed73b7 <+87>:	push   %eax
   0xb7ed73b8 <+88>:	lea    -0x4e3de(%ebx),%eax
   0xb7ed73be <+94>:	push   %eax
   0xb7ed73bf <+95>:	call   0xb7e7c4e0
End of assembler dump.
#3  0x0049fe8e in ?? ()
#4  0x004a556f in zsend_route_notify_owner_ctx ()
Dump of assembler code for function zsend_route_notify_owner_ctx:
   0x004a5510 <+0>:	push   %ebp
   0x004a5511 <+1>:	mov    %esp,%ebp
   0x004a5513 <+3>:	push   %edi
   0x004a5514 <+4>:	push   %esi
   0x004a5515 <+5>:	push   %ebx
   0x004a5516 <+6>:	call   0x47df00 <_start+58>
   0x004a551b <+11>:	add    $0xb3175,%ebx
   0x004a5521 <+17>:	sub    $0x28,%esp
   0x004a5524 <+20>:	mov    0x8(%ebp),%esi
   0x004a5527 <+23>:	push   %esi
   0x004a5528 <+24>:	call   0x4a8fd0 <dplane_ctx_get_table>
   0x004a552d <+29>:	mov    %esi,(%esp)
   0x004a5530 <+32>:	mov    %eax,-0x1c(%ebp)
   0x004a5533 <+35>:	call   0x4a8e80 <dplane_ctx_get_vrf>
   0x004a5538 <+40>:	mov    %esi,(%esp)
   0x004a553b <+43>:	mov    %eax,%edi
   0x004a553d <+45>:	call   0x4a9020 <dplane_ctx_get_instance>
   0x004a5542 <+50>:	mov    %esi,(%esp)
   0x004a5545 <+53>:	mov    %ax,-0x1e(%ebp)
   0x004a5549 <+57>:	call   0x4a8f40 <dplane_ctx_get_type>
   0x004a554e <+62>:	mov    %esi,(%esp)
   0x004a5551 <+65>:	mov    %eax,-0x24(%ebp)
   0x004a5554 <+68>:	call   0x4a8d70 <dplane_ctx_get_dest>
   0x004a5559 <+73>:	movzwl -0x1e(%ebp),%ecx
   0x004a555d <+77>:	add    $0xc,%esp
   0x004a5560 <+80>:	mov    -0x24(%ebp),%edx
   0x004a5563 <+83>:	pushl  0xc(%ebp)
   0x004a5566 <+86>:	pushl  -0x1c(%ebp)
   0x004a5569 <+89>:	push   %edi
   0x004a556a <+90>:	call   0x49fe30
=> 0x004a556f <+95>:	lea    -0xc(%ebp),%esp
   0x004a5572 <+98>:	pop    %ebx
   0x004a5573 <+99>:	pop    %esi
   0x004a5574 <+100>:	pop    %edi
   0x004a5575 <+101>:	pop    %ebp
   0x004a5576 <+102>:	ret    
End of assembler dump.
#5  0x004d514d in ?? ()

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

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

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-15430/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201110-01-g1c02aa97d-0 (missing) -> 7.6-dev-20201110-01-g1c02aa97d-0~deb10u1

…[json]"

Modify code to add JSON format output in show command
"show ipv6 ospf6 redistribute" with proper formating

Signed-off-by: Yash Ranjan <ranjany@vmware.com>
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/3232cee8bf836cf2aa25c912b9c102f0/raw/cd817c547c10f4423bc606706052543f606d4f6c/cr_7455_1605503515.diff | git apply

diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c
index 005002aa1..396b4a50a 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -1936,14 +1936,10 @@ static void ospf6_asbr_external_route_show(struct vty *vty,
 			forwarding);
 }
 
-DEFUN (show_ipv6_ospf6_redistribute,
-       show_ipv6_ospf6_redistribute_cmd,
-       "show ipv6 ospf6 redistribute [json]",
-       SHOW_STR
-       IP6_STR
-       OSPF6_STR
-       "redistributing External information\n"
-       JSON_STR)
+DEFUN(show_ipv6_ospf6_redistribute, show_ipv6_ospf6_redistribute_cmd,
+      "show ipv6 ospf6 redistribute [json]",
+      SHOW_STR IP6_STR OSPF6_STR
+      "redistributing External information\n" JSON_STR)
 {
 	struct ospf6_route *route;
 	struct ospf6 *ospf6 = NULL;

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.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Nov 16, 2020

💚 Basic BGPD CI results: SUCCESS, 0 tests failed

Results table
_ _
Result SUCCESS git merge/7455 dd72623
Date 11/16/2020
Start 00:51:21
Finish 01:26:45
Run-Time 35:24
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-11-16-00:51:21.txt
Log autoscript-2020-11-16-00:52:23.log.bz2
Memory 472 488 418

For details, please contact louberger

@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-15436/

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:

Debian 10 amd64 build: Successful with additional warnings

Debian Package lintian failed for Debian 10 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-15436/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr source: pkg-js-tools-test-is-missing
W: frr source: newer-standards-version 4.5.0.3 (current is 4.3.0)
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201116-00-gdd726234a-0 (missing) -> 7.6-dev-20201116-00-gdd726234a-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201116-00-gdd726234a-0 (missing) -> 7.6-dev-20201116-00-gdd726234a-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201116-00-gdd726234a-0 (missing) -> 7.6-dev-20201116-00-gdd726234a-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201116-00-gdd726234a-0 (missing) -> 7.6-dev-20201116-00-gdd726234a-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.6-dev-20201116-00-gdd726234a-0 (missing) -> 7.6-dev-20201116-00-gdd726234a-0~deb10u1

@donaldsharp donaldsharp merged commit 74c6aba into FRRouting:master Nov 18, 2020
@ranjanyash54 ranjanyash54 deleted the dev_3 branch November 27, 2020 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants