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

pimd: Modified rp-info json o/p #6025

Merged
merged 1 commit into from
Apr 23, 2020

Conversation

patrasar
Copy link
Contributor

@patrasar patrasar commented Mar 18, 2020

Fix : Added a new field "rpAddress" in "show ip pim rp-info json "
Before:
"40.0.0.2":[
{
"outboundInterface":"ens224",
"group":"224.0.0.0/4",
"source":"Static"
}
After:
"40.0.0.2":[
{
"rpAddress":"40.0.0.2",
"outboundInterface":"ens224",
"group":"224.0.0.0/4",
"source":"Static"
}

Signed-off-by: Sarita Patra saritap@vmware.com

@polychaeta polychaeta added the pim label Mar 18, 2020
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/db0aa3b5b821cc4c07bde51c3299ea9c/raw/0d7cac9571661c5504ced4a8df491b9e743ce926/cr_6025_1584506920.diff | git apply

diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 1c77ad1b0..13a354086 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -3419,8 +3419,7 @@ static void igmp_show_groups(struct pim_instance *pim, struct vty *vty, bool uj)
 	if (uj) {
 		json = json_object_new_object();
 		json_groups = json_object_new_array();
-	}
-	else
+	} else
 		vty_out(vty,
 			"Interface        Address         Group           Mode Timer    Srcs V Uptime  \n");
 
@@ -3472,8 +3471,9 @@ static void igmp_show_groups(struct pim_instance *pim, struct vty *vty, bool uj)
 					}
 
 					json_group = json_object_new_object();
-					json_object_string_add(
-						json_group, "source", ifaddr_str);
+					json_object_string_add(json_group,
+							       "source",
+							       ifaddr_str);
 					json_object_string_add(
 						json_group, "group", group_str);
 
@@ -3488,15 +3488,16 @@ static void igmp_show_groups(struct pim_instance *pim, struct vty *vty, bool uj)
 							       "timer", hhmmss);
 					json_object_int_add(
 						json_group, "sourcesCount",
-						grp->group_source_list
-							? listcount(
-								  grp->group_source_list)
-							: 0);
-					json_object_int_add(json_group, "version",
+						grp->group_source_list ? listcount(
+							grp->group_source_list)
+								       : 0);
+					json_object_int_add(json_group,
+							    "version",
 							    grp->igmp_version);
 					json_object_string_add(
 						json_group, "uptime", uptime);
-					json_object_array_add(json_groups, json_group);
+					json_object_array_add(json_groups,
+							      json_group);
 				} else {
 					vty_out(vty,
 						"%-16s %-15s %-15s %4s %8s %4d %d %8s\n",
diff --git a/pimd/pim_rp.c b/pimd/pim_rp.c
index 5ca5bcd57..c16e99d66 100644
--- a/pimd/pim_rp.c
+++ b/pimd/pim_rp.c
@@ -1289,9 +1289,10 @@ void pim_rp_show_information(struct pim_instance *pim, struct vty *vty, bool uj)
 					json_rp_rows = json_object_new_array();
 
 				json_row = json_object_new_object();
-				json_object_string_add(json_row, "rp_address",
+				json_object_string_add(
+					json_row, "rp_address",
 					inet_ntoa(rp_info->rp.rpf_addr.u
-								.prefix4));
+							  .prefix4));
 				if (rp_info->rp.source_nexthop.interface)
 					json_object_string_add(
 						json_row, "outboundInterface",

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

@patrasar patrasar force-pushed the rp-info-igmp-group-json-fix branch from 33ceacc to 913ee40 Compare March 18, 2020 04: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/702bebff5d412b9d15200f47e373340e/raw/7fffc3a8d06a3181a13112e108c8721420d28c5c/cr_6025_1584507301.diff | git apply

diff --git a/pimd/pim_rp.c b/pimd/pim_rp.c
index 5ca5bcd57..c16e99d66 100644
--- a/pimd/pim_rp.c
+++ b/pimd/pim_rp.c
@@ -1289,9 +1289,10 @@ void pim_rp_show_information(struct pim_instance *pim, struct vty *vty, bool uj)
 					json_rp_rows = json_object_new_array();
 
 				json_row = json_object_new_object();
-				json_object_string_add(json_row, "rp_address",
+				json_object_string_add(
+					json_row, "rp_address",
 					inet_ntoa(rp_info->rp.rpf_addr.u
-								.prefix4));
+							  .prefix4));
 				if (rp_info->rp.source_nexthop.interface)
 					json_object_string_add(
 						json_row, "outboundInterface",

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

@patrasar patrasar force-pushed the rp-info-igmp-group-json-fix branch from 913ee40 to c10d5bf Compare March 18, 2020 04: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/2e0bc3cb44cd0f86c520b93c4fc37c5c/raw/7fffc3a8d06a3181a13112e108c8721420d28c5c/cr_6025_1584507441.diff | git apply

diff --git a/pimd/pim_rp.c b/pimd/pim_rp.c
index 5ca5bcd57..c16e99d66 100644
--- a/pimd/pim_rp.c
+++ b/pimd/pim_rp.c
@@ -1289,9 +1289,10 @@ void pim_rp_show_information(struct pim_instance *pim, struct vty *vty, bool uj)
 					json_rp_rows = json_object_new_array();
 
 				json_row = json_object_new_object();
-				json_object_string_add(json_row, "rp_address",
+				json_object_string_add(
+					json_row, "rp_address",
 					inet_ntoa(rp_info->rp.rpf_addr.u
-								.prefix4));
+							  .prefix4));
 				if (rp_info->rp.source_nexthop.interface)
 					json_object_string_add(
 						json_row, "outboundInterface",

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

@patrasar patrasar force-pushed the rp-info-igmp-group-json-fix branch 2 times, most recently from 73338f1 to b33b6f8 Compare March 18, 2020 05:16
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/36137768f4dd8b7149cdc4cdf00c1675/raw/cc832082832f236dc3c481887f996f55aeee895e/cr_6025_1584508598.diff | git apply

diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index d159d96ed..2e69e8404 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -3521,7 +3521,8 @@ static void igmp_show_groups(struct pim_instance *pim, struct vty *vty, bool uj)
 
 	if (uj) {
 		if (json_iface)
-			json_object_object_add(json_iface, "groups", json_groups);
+			json_object_object_add(json_iface, "groups",
+					       json_groups);
 		vty_out(vty, "%s\n", json_object_to_json_string_ext(
 					     json, JSON_C_TO_STRING_PRETTY));
 		json_object_free(json);

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

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 18, 2020

Outdated results Continuous Integration Result: FAILED

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

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 18.04 ppc64le build: Failed (click for details)

Make failed for Ubuntu 18.04 ppc64le build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/U1804PPC64LEBUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Ubuntu 18.04 ppc64le build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/U1804PPC64LEBUILD/config.status/config.status

NetBSD 8 amd64 build: Failed (click for details)

Make failed for NetBSD 8 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI012BUILD/ErrorLog/log_make.txt)

/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
pimd/pim_rp.c: In function 'pim_rp_show_information':
pimd/pim_rp.c:1296:20: error: expected ')' before ';' token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function 'json_object_string_add'
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ';' before '}' token

NetBSD 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI012BUILD/config.status/config.status

Debian 9 amd64 build: Failed (click for details)

Make failed for Debian 9 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI021BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Debian 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI021BUILD/config.status/config.status

Ubuntu 14.04 amd64 build: Failed (click for details)

Make failed for Ubuntu 14.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI001BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory `/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1320:4: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Ubuntu 14.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI001BUILD/config.status/config.status

Fedora 29 amd64 build: Failed (click for details)

Make failed for Fedora 29 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/F29BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1319:51: error: expected ; before } token

Fedora 29 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/F29BUILD/config.status/config.status

Ubuntu 16.04 i386 build: Failed (click for details)

Make failed for Ubuntu 16.04 i386 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/U1604I386/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
Makefile:7141: recipe for target 'pimd/pim_rp.o' failed

Ubuntu 16.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/U1604I386/config.status/config.status

Debian 8 amd64 build: Failed (click for details)

Make failed for Debian 8 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI008BLD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Debian 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI008BLD/config.status/config.status

Debian 10 amd64 build: Failed (click for details)

Make failed for Debian 10 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/DEB10BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1319:51: error: expected ; before } token

Debian 10 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/DEB10BUILD/config.status/config.status

FreeBSD 11 amd64 build: Failed (click for details)

Make failed for FreeBSD 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI009BUILD/ErrorLog/log_make.txt)

gmake[1]: Entering directory '/usr/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function 'pim_rp_show_information':
pimd/pim_rp.c:1296:20: error: expected ')' before ';' token
 1296 |          .prefix4));
pimd/pim_rp.c:1293:5: error: invalid use of void expression
 1293 |     json_object_string_add(
 1294 |      json_row, "rp_address",
 1295 |      inet_ntoa(rp_info->rp.rpf_addr.u
 1296 |          .prefix4));

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI009BUILD/config.status/config.status

NetBSD 6 amd64 build: Failed (click for details)

Make failed for NetBSD 6 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI007BUILD/ErrorLog/log_make.txt)

/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
pimd/pim_rp.c: In function 'pim_rp_show_information':
pimd/pim_rp.c:1296:20: error: expected ')' before ';' token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1320:4: error: too few arguments to function 'json_object_string_add'
./lib/json.h:45:13: note: declared here
pimd/pim_rp.c:1320:4: error: expected ';' before '}' token
Makefile:7140: recipe for target 'pimd/pim_rp.o' failed
gmake[1]: *** [pimd/pim_rp.o] Error 1

NetBSD 6 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI007BUILD/config.status/config.status

CentOS 7 amd64 build: Failed (click for details)

Make failed for CentOS 7 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI005BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory `/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1320:4: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

CentOS 7 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI005BUILD/config.status/config.status

Ubuntu 16.04 amd64 build: Failed (click for details)

Make failed for Ubuntu 16.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI014BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Ubuntu 16.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/CI014BUILD/config.status/config.status

Ubuntu 18.04 amd64 build: Failed (click for details)

Make failed for Ubuntu 18.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/U1804AMD64/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ;</summary>

before } token

Ubuntu 18.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/U1804AMD64/config.status/config.status

FreeBSD 12 amd64 build: Failed (click for details)

Make failed for FreeBSD 12 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/FBSD12AMD64/ErrorLog/log_make.txt)

gmake[1]: Entering directory '/usr/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function 'pim_rp_show_information':
pimd/pim_rp.c:1296:20: error: expected ')' before ';' token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function 'json_object_string_add'
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ';' before '}' token

FreeBSD 12 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/FBSD12AMD64/config.status/config.status

Successful on other platforms/tests
  • Ubuntu 12.04 amd64 build
  • OpenBSD 6 amd64 build

Warnings Generated during build:

Make failed for FreeBSD 12 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/FBSD12AMD64/ErrorLog/log_make.txt)

gmake[1]: Entering directory '/usr/home/ci/cibuild.11245/frr-source'
pimd/pim_rp.c: In function 'pim_rp_show_information':
pimd/pim_rp.c:1296:20: error: expected ')' before ';' token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function 'json_object_string_add'
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ';' before '}' token

FreeBSD 12 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11245/artifact/FBSD12AMD64/config.status/config.status

Report for pim_rp.c | 13 issues
===============================================
< ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f1-2213/pim_rp.c:1264:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f2-2213/pim_rp.c:1264:
114c114
< ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f1-2213/pim_rp.c:1266:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f2-2213/pim_rp.c:1266:
117c117
< ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f1-2213/pim_rp.c:1268:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f2-2213/pim_rp.c:1268:
121c121
< #1397: FILE: /tmp/f1-2213/pim_rp.c:1397:

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 18, 2020

Outdated results Continuous Integration Result: FAILED

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

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 18.04 ppc64le build: Failed (click for details)

Make failed for Ubuntu 18.04 ppc64le build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/U1804PPC64LEBUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Ubuntu 18.04 ppc64le build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/U1804PPC64LEBUILD/config.status/config.status

Debian 9 amd64 build: Failed (click for details)

Make failed for Debian 9 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI021BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Debian 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI021BUILD/config.status/config.status

NetBSD 8 amd64 build: Failed (click for details)

Make failed for NetBSD 8 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI012BUILD/ErrorLog/log_make.txt)

/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
pimd/pim_rp.c: In function 'pim_rp_show_information':
pimd/pim_rp.c:1296:20: error: expected ')' before ';' token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function 'json_object_string_add'
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ';' before '}' token

NetBSD 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI012BUILD/config.status/config.status

Ubuntu 14.04 amd64 build: Failed (click for details)

Make failed for Ubuntu 14.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI001BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory `/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1320:4: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Ubuntu 14.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI001BUILD/config.status/config.status

Ubuntu 16.04 i386 build: Failed (click for details)

Make failed for Ubuntu 16.04 i386 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/U1604I386/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Ubuntu 16.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/U1604I386/config.status/config.status

Fedora 29 amd64 build: Failed (click for details)

Make failed for Fedora 29 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/F29BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1319:51: error: expected ; before } token

Fedora 29 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/F29BUILD/config.status/config.status

FreeBSD 11 amd64 build: Failed (click for details)

Make failed for FreeBSD 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI009BUILD/ErrorLog/log_make.txt)

gmake[1]: Entering directory '/usr/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function 'pim_rp_show_information':
pimd/pim_rp.c:1296:20: error: expected ')' before ';' token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function 'json_object_string_add'
In file included from pimd/pim_rp.c:22:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1319:51: error: expected ';' before '}' token

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI009BUILD/config.status/config.status

Debian 8 amd64 build: Failed (click for details)

Make failed for Debian 8 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI008BLD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Debian 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI008BLD/config.status/config.status

NetBSD 6 amd64 build: Failed (click for details)

Make failed for NetBSD 6 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI007BUILD/ErrorLog/log_make.txt)

/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
pimd/pim_rp.c: In function 'pim_rp_show_information':
pimd/pim_rp.c:1296:20: error: expected ')' before ';' token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1320:4: error: too few arguments to function 'json_object_string_add'
./lib/json.h:45:13: note: declared here
pimd/pim_rp.c:1320:4: error: expected ';' before '}' token
gmake[1]: *** [Makefile:7140: pimd/pim_rp.o] Error 1
doc/user/_build/texinfo/frr.texi:5: warning: unrecognized encoding name `UTF-8'.

NetBSD 6 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI007BUILD/config.status/config.status

CentOS 7 amd64 build: Failed (click for details)

Make failed for CentOS 7 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI005BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory `/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1320:4: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

CentOS 7 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI005BUILD/config.status/config.status

FreeBSD 12 amd64 build: Failed (click for details)

Make failed for FreeBSD 12 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/FBSD12AMD64/ErrorLog/log_make.txt)

gmake[1]: Entering directory '/usr/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function 'pim_rp_show_information':
pimd/pim_rp.c:1296:20: error: expected ')' before ';' token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function 'json_object_string_add'
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ';' before '}' token

FreeBSD 12 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/FBSD12AMD64/config.status/config.status

Debian 10 amd64 build: Failed (click for details)

Make failed for Debian 10 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/DEB10BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1319:51: error: expected ; before } token

Debian 10 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/DEB10BUILD/config.status/config.status

Ubuntu 16.04 amd64 build: Failed (click for details)

Make failed for Ubuntu 16.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI014BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1320:4: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Ubuntu 16.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/CI014BUILD/config.status/config.status

Ubuntu 18.04 amd64 build: Failed (click for details)

Make failed for Ubuntu 18.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/U1804AMD64/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ;</summary>

before } token

Ubuntu 18.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/U1804AMD64/config.status/config.status

Successful on other platforms/tests
  • Ubuntu 12.04 amd64 build
  • OpenBSD 6 amd64 build

Warnings Generated during build:

Make failed for Ubuntu 18.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/U1804AMD64/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.11246/frr-source'
pimd/pim_rp.c: In function pim_rp_show_information:
pimd/pim_rp.c:1296:20: error: expected ) before ; token
pimd/pim_rp.c:1293:5: error: invalid use of void expression
pimd/pim_rp.c:1292:5: error: too few arguments to function json_object_string_add
In file included from pimd/pim_rp.c:22:0:
./lib/json.h:45:13: note: declared here
 extern void json_object_string_add(struct json_object *obj, const char *key,
pimd/pim_rp.c:1320:4: error: expected ; before } token

Ubuntu 18.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11246/artifact/U1804AMD64/config.status/config.status

Report for pim_cmd.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #3588: FILE: /tmp/f1-11885/pim_cmd.c:3588:
Report for pim_rp.c | 13 issues
===============================================
< ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f1-11885/pim_rp.c:1264:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f2-11885/pim_rp.c:1264:
114c114
< ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f1-11885/pim_rp.c:1266:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f2-11885/pim_rp.c:1266:
117c117
< ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f1-11885/pim_rp.c:1268:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f2-11885/pim_rp.c:1268:
121c121
< #1397: FILE: /tmp/f1-11885/pim_rp.c:1397:

@patrasar patrasar force-pushed the rp-info-igmp-group-json-fix branch from b33b6f8 to c98e741 Compare March 18, 2020 05:39
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/cd13df26cb9b90aaffbc2abf2b43cfad/raw/cc832082832f236dc3c481887f996f55aeee895e/cr_6025_1584509968.diff | git apply

diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index d159d96ed..2e69e8404 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -3521,7 +3521,8 @@ static void igmp_show_groups(struct pim_instance *pim, struct vty *vty, bool uj)
 
 	if (uj) {
 		if (json_iface)
-			json_object_object_add(json_iface, "groups", json_groups);
+			json_object_object_add(json_iface, "groups",
+					       json_groups);
 		vty_out(vty, "%s\n", json_object_to_json_string_ext(
 					     json, JSON_C_TO_STRING_PRETTY));
 		json_object_free(json);

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

@patrasar patrasar force-pushed the rp-info-igmp-group-json-fix branch from c98e741 to 269da5d Compare March 18, 2020 05:41
@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 18, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6025 33ceacc
Date 03/18/2020
Start 01:16:43
Finish 01:42:33
Run-Time 25:50
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-03-18-01:16:43.txt
Log autoscript-2020-03-18-01:17:38.log.bz2
Memory 476 488 418

For details, please contact louberger

@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 18, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6025 269da5d
Date 03/18/2020
Start 02:11:49
Finish 02:37:44
Run-Time 25:55
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-03-18-02:11:49.txt
Log autoscript-2020-03-18-02:12:50.log.bz2
Memory 438 460 418

For details, please contact louberger

pimd/pim_rp.c Outdated Show resolved Hide resolved
@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 18, 2020

Outdated results 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-11241/

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
Report for pim_cmd.c | 8 issues
===============================================
< ERROR: else should follow close brace '}'
< #3423: FILE: /tmp/f1-15382/pim_cmd.c:3423:
< WARNING: line over 80 characters
< #3483: FILE: /tmp/f1-15382/pim_cmd.c:3483:
< WARNING: line over 80 characters
< #3499: FILE: /tmp/f1-15382/pim_cmd.c:3499:
< WARNING: line over 80 characters
< #3506: FILE: /tmp/f1-15382/pim_cmd.c:3506:
Report for pim_rp.c | 13 issues
===============================================
< ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f1-15382/pim_rp.c:1264:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f2-15382/pim_rp.c:1264:
114c114
< ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f1-15382/pim_rp.c:1266:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f2-15382/pim_rp.c:1266:
117c117
< ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f1-15382/pim_rp.c:1268:
---
> ERROR: strcpy() is error-prone;</summary>

please use strlcpy()#1268: FILE: /tmp/f2-15382/pim_rp.c:1268:

121c121
< #1395: FILE: /tmp/f1-15382/pim_rp.c:1395:

Warnings Generated during build:

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

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g33ceacc2e-0 (missing) -> 7.4-dev-20200318-00-g33ceacc2e-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g33ceacc2e-0 (missing) -> 7.4-dev-20200318-00-g33ceacc2e-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g33ceacc2e-0 (missing) -> 7.4-dev-20200318-00-g33ceacc2e-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g33ceacc2e-0 (missing) -> 7.4-dev-20200318-00-g33ceacc2e-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g33ceacc2e-0 (missing) -> 7.4-dev-20200318-00-g33ceacc2e-0~deb10u1

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 18, 2020

Outdated results 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-11242/

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
Report for pim_rp.c | 13 issues
===============================================
< ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f1-19977/pim_rp.c:1264:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f2-19977/pim_rp.c:1264:
114c114
< ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f1-19977/pim_rp.c:1266:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f2-19977/pim_rp.c:1266:
117c117
< ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f1-19977/pim_rp.c:1268:
---
> ERROR: strcpy() is error-prone;</summary>

please use strlcpy()#1268: FILE: /tmp/f2-19977/pim_rp.c:1268:

121c121
< #1395: FILE: /tmp/f1-19977/pim_rp.c:1395:

Warnings Generated during build:

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

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g913ee40d1-0 (missing) -> 7.4-dev-20200318-00-g913ee40d1-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g913ee40d1-0 (missing) -> 7.4-dev-20200318-00-g913ee40d1-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g913ee40d1-0 (missing) -> 7.4-dev-20200318-00-g913ee40d1-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g913ee40d1-0 (missing) -> 7.4-dev-20200318-00-g913ee40d1-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g913ee40d1-0 (missing) -> 7.4-dev-20200318-00-g913ee40d1-0~deb10u1

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 18, 2020

Outdated results 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-11243/

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
Report for pim_rp.c | 13 issues
===============================================
< ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f1-23750/pim_rp.c:1264:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f2-23750/pim_rp.c:1264:
114c114
< ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f1-23750/pim_rp.c:1266:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f2-23750/pim_rp.c:1266:
117c117
< ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f1-23750/pim_rp.c:1268:
---
> ERROR: strcpy() is error-prone;</summary>

please use strlcpy()#1268: FILE: /tmp/f2-23750/pim_rp.c:1268:

121c121
< #1395: FILE: /tmp/f1-23750/pim_rp.c:1395:

Warnings Generated during build:

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

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gc10d5bf6c-0 (missing) -> 7.4-dev-20200318-00-gc10d5bf6c-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gc10d5bf6c-0 (missing) -> 7.4-dev-20200318-00-gc10d5bf6c-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gc10d5bf6c-0 (missing) -> 7.4-dev-20200318-00-gc10d5bf6c-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gc10d5bf6c-0 (missing) -> 7.4-dev-20200318-00-gc10d5bf6c-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gc10d5bf6c-0 (missing) -> 7.4-dev-20200318-00-gc10d5bf6c-0~deb10u1

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 18, 2020

Outdated results 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-11248/

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
Report for pim_cmd.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #3588: FILE: /tmp/f1-31684/pim_cmd.c:3588:
Report for pim_rp.c | 13 issues
===============================================
< ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f1-31684/pim_rp.c:1264:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f2-31684/pim_rp.c:1264:
114c114
< ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f1-31684/pim_rp.c:1266:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f2-31684/pim_rp.c:1266:
117c117
< ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f1-31684/pim_rp.c:1268:
---
> ERROR: strcpy() is error-prone;</summary>

please use strlcpy()#1268: FILE: /tmp/f2-31684/pim_rp.c:1268:

121c121
< #1396: FILE: /tmp/f1-31684/pim_rp.c:1396:

Warnings Generated during build:

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

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gc98e74110-0 (missing) -> 7.4-dev-20200318-00-gc98e74110-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gc98e74110-0 (missing) -> 7.4-dev-20200318-00-gc98e74110-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gc98e74110-0 (missing) -> 7.4-dev-20200318-00-gc98e74110-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gc98e74110-0 (missing) -> 7.4-dev-20200318-00-gc98e74110-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gc98e74110-0 (missing) -> 7.4-dev-20200318-00-gc98e74110-0~deb10u1

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 18, 2020

Outdated results 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-11249/

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
Report for pim_rp.c | 13 issues
===============================================
< ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f1-3198/pim_rp.c:1264:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f2-3198/pim_rp.c:1264:
114c114
< ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f1-3198/pim_rp.c:1266:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f2-3198/pim_rp.c:1266:
117c117
< ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f1-3198/pim_rp.c:1268:
---
> ERROR: strcpy() is error-prone;</summary>

please use strlcpy()#1268: FILE: /tmp/f2-3198/pim_rp.c:1268:

121c121
< #1396: FILE: /tmp/f1-3198/pim_rp.c:1396:

Warnings Generated during build:

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

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g269da5d2e-0 (missing) -> 7.4-dev-20200318-00-g269da5d2e-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g269da5d2e-0 (missing) -> 7.4-dev-20200318-00-g269da5d2e-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g269da5d2e-0 (missing) -> 7.4-dev-20200318-00-g269da5d2e-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g269da5d2e-0 (missing) -> 7.4-dev-20200318-00-g269da5d2e-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-g269da5d2e-0 (missing) -> 7.4-dev-20200318-00-g269da5d2e-0~deb10u1

@patrasar patrasar force-pushed the rp-info-igmp-group-json-fix branch from 269da5d to bf96ef0 Compare March 18, 2020 09:34
@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 18, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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: Failed

Checkout code: Failed (click for details) Checkout code: No useful log found

@patrasar
Copy link
Contributor Author

CI: rerun

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 18, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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: Failed

Checkout code: Failed (click for details) Checkout code: No useful log found

@patrasar
Copy link
Contributor Author

CI: rerun

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 18, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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: Failed

Checkout code: Failed (click for details) Checkout code: No useful log found

@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 18, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6025 bf96ef0
Date 03/18/2020
Start 05:41:34
Finish 06:07:22
Run-Time 25:48
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-03-18-05:41:34.txt
Log autoscript-2020-03-18-05:42:33.log.bz2
Memory 486 490 418

For details, please contact louberger

Copy link
Contributor

@AnuradhaKaruppiah AnuradhaKaruppiah left a comment

Choose a reason for hiding this comment

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

Unfortunately I can't ACK json output changes. That needs the exec powers :)

Copy link
Contributor

@AnuradhaKaruppiah AnuradhaKaruppiah left a comment

Choose a reason for hiding this comment

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

  1. Why was fix 1 needed? I am ok with the change (i personally have always preferred array of elements over dictionaries with multiple levels) but don't get why it was needed?
  2. fix-2 is fine.

@patrasar
Copy link
Contributor Author

  1. Why was fix 1 needed? I am ok with the change (i personally have always preferred array of elements over dictionaries with multiple levels) but don't get why it was needed?
  2. fix-2 is fine.

In the command “show ip pim rp-info” json: The rp address here is the key, however the rp-address is not a field under the array.
{
"40.0.0.3":[
{
"outboundInterface":"ens224",
"group":"224.0.0.0/4",
"source":"Static"
“rp_address”:”40.0.0.3” -àNeeds to be added
}
]
}

In the command: “show ip igmp groups json”, the issue I am seeing is under the interface, for every group, you have a dictionary defined. However without a fixed name, we do not have any way to identify that the group address is a dictionary.

dev# show ip igmp groups json
{
"ens192":{
"name":"ens192",
"state":"up",
"address":"20.0.0.1",
"index":7,
"flagMulticast":true,
"flagBroadcast":true,
"lanDelayEnabled":true,
"225.1.1.1":{ --à Cannot be a variable. Needs to be a fixed name for the exporter code.
"source":"20.0.0.1",
"group":"225.1.1.1",
"timer":"00:04:13",
"sourcesCount":1,
"version":2,
"uptime":"00:00:06"
}
}
}

This design of the CLI is not intuitive and does not follow the unicast the same norms as the unicast commands.
For Eg:
localhost# show ip route json
{
"1.1.1.0/25":[
{
"prefix":"1.1.1.0/25", (For Issue 1# mentioned above)
"protocol":"static",
"selected":true,
"distance":3,
"metric":0,
"tag":4016,
"uptime":"4d01h02m",
"nexthops":[ -à Fixed name (for issue 2 mentioned above).
{
"fib":true,
"ip":"100.64.1.1",
"afi":"ipv4",
"interfaceIndex":23,
"interfaceName":"downlink-296",
"active":true
}
]
}
],

In the above example you can see that for the “nexthops” in “show ip route json” it is clearly indicated by keyword “nexthops” and all the next hops are defined in an array.

@patrasar
Copy link
Contributor Author

CI : rerun

@AnuradhaKaruppiah
Copy link
Contributor

AnuradhaKaruppiah commented Mar 24, 2020

dev# show ip igmp groups json
{
"ens192":{
"name":"ens192",
"state":"up",
"address":"20.0.0.1",
"index":7,
"flagMulticast":true,
"flagBroadcast":true,
"lanDelayEnabled":true,
"225.1.1.1":{ --à Cannot be a variable. Needs to be a fixed name for the exporter code.
"source":"20.0.0.1",
"group":"225.1.1.1",
"timer":"00:04:13",
"sourcesCount":1,
"version":2,
"uptime":"00:00:06"
}
}
}

You are right, the current output is not machine parse-able -

root@lhr:mgmt:~# python
Python 2.7.16 (default, Oct 10 2019, 22:02:15)
[GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import json
>>> import subprocess
>>> igmp_out = subprocess.check_output("net show igmp group json".split())
>>> igmp_out = json.loads(igmp_out)
>>> for iface,ifInfo in igmp_out.iteritems():
...            for group, groupInfo in ifInfo.iteritems():
...                  print group
...
239.1.1.1
index
239.1.1.3
239.1.1.2
name
flagMulticast
state
address
flagBroadcast
lanDelayEnabled
239.1.1.1
index
239.1.1.3
239.1.1.2
name
flagMulticast
state
address
flagBroadcast
lanDelayEnabled
>>>

Copy link
Contributor

@AnuradhaKaruppiah AnuradhaKaruppiah left a comment

Choose a reason for hiding this comment

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

As the current "igmp group json" output is not parse-able I don't think this change to format can actually break anything.

@ton31337
Copy link
Member

ton31337 commented Apr 9, 2020

ci:rerun

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 9, 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-11751/

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
Report for pim_rp.c | 13 issues
===============================================
< ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f1-27715/pim_rp.c:1264:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f2-27715/pim_rp.c:1264:
114c114
< ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f1-27715/pim_rp.c:1266:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f2-27715/pim_rp.c:1266:
117c117
< ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f1-27715/pim_rp.c:1268:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f2-27715/pim_rp.c:1268:
121c121
< #1402: FILE: /tmp/f1-27715/pim_rp.c:1402:

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-11751/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gbf96ef033-0 (missing) -> 7.4-dev-20200318-00-gbf96ef033-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gbf96ef033-0 (missing) -> 7.4-dev-20200318-00-gbf96ef033-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gbf96ef033-0 (missing) -> 7.4-dev-20200318-00-gbf96ef033-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gbf96ef033-0 (missing) -> 7.4-dev-20200318-00-gbf96ef033-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200318-00-gbf96ef033-0 (missing) -> 7.4-dev-20200318-00-gbf96ef033-0~deb10u1

@patrasar patrasar force-pushed the rp-info-igmp-group-json-fix branch from bf96ef0 to b6300b2 Compare April 14, 2020 11:25
@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 14, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/6025 b6300b2
Date 04/14/2020
Start 07:50:26
Finish 08:16:19
Run-Time 25:53
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-14-07:50:26.txt
Log autoscript-2020-04-14-07:51:23.log.bz2
Memory 481 488 424

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

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
Report for pim_rp.c | 13 issues
===============================================
< ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f1-11888/pim_rp.c:1264:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1264: FILE: /tmp/f2-11888/pim_rp.c:1264:
114c114
< ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f1-11888/pim_rp.c:1266:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1266: FILE: /tmp/f2-11888/pim_rp.c:1266:
117c117
< ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f1-11888/pim_rp.c:1268:
---
> ERROR: strcpy() is error-prone; please use strlcpy()#1268: FILE: /tmp/f2-11888/pim_rp.c:1268:
121c121
< #1402: FILE: /tmp/f1-11888/pim_rp.c:1402:

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-11836/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200414-00-gb6300b2df-0 (missing) -> 7.4-dev-20200414-00-gb6300b2df-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200414-00-gb6300b2df-0 (missing) -> 7.4-dev-20200414-00-gb6300b2df-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200414-00-gb6300b2df-0 (missing) -> 7.4-dev-20200414-00-gb6300b2df-0~deb10u1
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200414-00-gb6300b2df-0 (missing) -> 7.4-dev-20200414-00-gb6300b2df-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200414-00-gb6300b2df-0 (missing) -> 7.4-dev-20200414-00-gb6300b2df-0~deb10u1

@ton31337
Copy link
Member

@patrasar looks like you deleted your previous changes?

@patrasar
Copy link
Contributor Author

@patrasar looks like you deleted your previous changes?

That we took care in another commit

@ton31337
Copy link
Member

then the commit name does not reflect what is changed, can you fix that?

Copy link
Member

@ton31337 ton31337 left a comment

Choose a reason for hiding this comment

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

@patrasar could you update what's the status of this PR?

@patrasar patrasar changed the title pimd: Modified rp-info & igmp groups json o/p pimd: Modified rp-info json o/p Apr 22, 2020
@patrasar
Copy link
Contributor Author

then the commit name does not reflect what is changed, can you fix that?

Updated the commit.

@ton31337
Copy link
Member

am, the commit message still isn't as expected.

@patrasar
Copy link
Contributor Author

am, the commit message still isn't as expected.

done

@ton31337
Copy link
Member

not really :)
Screenshot from 2020-04-22 17-20-12

Fix: Added a new field "rpAddress" in "show ip pim rp-info json"
Before:
"40.0.0.2":[
    {
      "outboundInterface":"ens224",
      "group":"224.0.0.0\/4",
      "source":"Static"
    }
After:
"40.0.0.2":[
    {
      "rpAddress":"40.0.0.2",
      "outboundInterface":"ens224",
      "group":"224.0.0.0\/4",
      "source":"Static"
    }

Signed-off-by: Sarita Patra <saritap@vmware.com>
@patrasar patrasar force-pushed the rp-info-igmp-group-json-fix branch from b6300b2 to ac8e400 Compare April 22, 2020 15:14
@patrasar
Copy link
Contributor Author

not really :)
Screenshot from 2020-04-22 17-20-12

I changed the message and commit as well. Thanks :)

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

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-11994/artifact/DEB10BUILD/ErrorLog/log_lintian.txt)

W: frr source: pkg-js-tools-test-is-missing
W: frr source: pkg-js-tools-test-is-missing
W: frr-rpki-rtrlib: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-gac8e400cd-0 (missing) -> 7.4-dev-20200422-00-gac8e400cd-0~deb10u1
W: frr: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-gac8e400cd-0 (missing) -> 7.4-dev-20200422-00-gac8e400cd-0~deb10u1
W: frr-snmp: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-gac8e400cd-0 (missing) -> 7.4-dev-20200422-00-gac8e400cd-0~deb10u1
W: frr-pythontools: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-gac8e400cd-0 (missing) -> 7.4-dev-20200422-00-gac8e400cd-0~deb10u1
W: frr-doc: changelog-file-missing-explicit-entry 6.0-2 -> 7.4-dev-20200422-00-gac8e400cd-0 (missing) -> 7.4-dev-20200422-00-gac8e400cd-0~deb10u1

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 22, 2020

💚 Basic BGPD CI results: SUCCESS, 0 tests failed

Results table
_ _
Result SUCCESS git merge/6025 ac8e400
Date 04/22/2020
Start 13:28:50
Finish 13:54:46
Run-Time 25:56
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-04-22-13:28:50.txt
Log autoscript-2020-04-22-13:29:46.log.bz2
Memory 455 453 425

For details, please contact louberger

@ton31337 ton31337 merged commit 5e20fb8 into FRRouting:master Apr 23, 2020
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