Skip to content

Comments

zebra: move netfilter contexts to zebra dplane#8124

Merged
mjstapp merged 2 commits intoFRRouting:masterfrom
pguibert6WIND:ipsec_iptable_dplane
Mar 10, 2021
Merged

zebra: move netfilter contexts to zebra dplane#8124
mjstapp merged 2 commits intoFRRouting:masterfrom
pguibert6WIND:ipsec_iptable_dplane

Conversation

@pguibert6WIND
Copy link
Member

this is a part of work not addressed by GSOC2020, that needed to be done so that zebra dplane handles netfilter contexts ( for BGP flowspec)

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/4b1aade150bba1728ff2900e922823f7/raw/36d3e3ac1927af763572e1347dd193544747cf57/cr_8124_1613987661.diff | git apply

diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index fd24ecd67..a7ceb56e4 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -877,8 +877,7 @@ void zsend_netfilter_notify_owner(const struct zebra_dplane_ctx *ctx,
 	if (IS_ZEBRA_DEBUG_PACKET)
 		zlog_debug("%s: Notifying %s id %u note %u", __func__,
 			   zserv_command_string(cmd),
-			   dplane_ctx_netfilter_get_unique(ctx),
-			   note);
+			   dplane_ctx_netfilter_get_unique(ctx), note);
 
 	for (ALL_LIST_ELEMENTS_RO(zrouter.client_list, node, client)) {
 		if (dplane_ctx_netfilter_get_sock(ctx) == client->sock)
@@ -893,8 +892,8 @@ void zsend_netfilter_notify_owner(const struct zebra_dplane_ctx *ctx,
 	zclient_create_header(s, cmd, VRF_DEFAULT);
 	stream_put(s, &note, sizeof(note));
 	stream_putl(s, dplane_ctx_rule_get_unique(ctx));
-	if (cmd == ZEBRA_IPSET_NOTIFY_OWNER ||
-	    cmd == ZEBRA_IPSET_ENTRY_NOTIFY_OWNER) {
+	if (cmd == ZEBRA_IPSET_NOTIFY_OWNER
+	    || cmd == ZEBRA_IPSET_ENTRY_NOTIFY_OWNER) {
 		stream_put(s, dplane_ctx_netfilter_get_ipset_name(ctx),
 			   ZEBRA_IPSET_NAME_SIZE);
 	}
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c
index 8e65ebc6a..69645d75a 100644
--- a/zebra/zebra_dplane.c
+++ b/zebra/zebra_dplane.c
@@ -717,7 +717,8 @@ static void dplane_ctx_free_internal(struct zebra_dplane_ctx *ctx)
 
 			for (ALL_LIST_ELEMENTS(ctx->u.netfilter.ifname_list,
 					       node, nnode, ifname)) {
-				LISTNODE_DETACH(ctx->u.netfilter.ifname_list, node);
+				LISTNODE_DETACH(ctx->u.netfilter.ifname_list,
+						node);
 				XFREE(MTYPE_DP_IFACE, ifname);
 			}
 			list_delete(&ctx->u.netfilter.ifname_list);
@@ -1942,7 +1943,8 @@ uint32_t dplane_ctx_netfilter_get_unique(const struct zebra_dplane_ctx *ctx)
 	return ctx->u.netfilter.unique;
 }
 
-uint32_t dplane_ctx_netfilter_get_interface_number(const struct zebra_dplane_ctx *ctx)
+uint32_t
+dplane_ctx_netfilter_get_interface_number(const struct zebra_dplane_ctx *ctx)
 {
 	DPLANE_CTX_VALID(ctx);
 
@@ -1952,8 +1954,9 @@ uint32_t dplane_ctx_netfilter_get_interface_number(const struct zebra_dplane_ctx
 	return listcount(ctx->u.netfilter.ifname_list);
 }
 
-const char *dplane_ctx_netfilter_get_interface_val(const struct zebra_dplane_ctx *ctx,
-						 uint32_t rank)
+const char *
+dplane_ctx_netfilter_get_interface_val(const struct zebra_dplane_ctx *ctx,
+				       uint32_t rank)
 {
 	struct listnode *node;
 	uint32_t cnt = 0;
@@ -1979,7 +1982,8 @@ uint16_t dplane_ctx_netfilter_get_tcpflags(const struct zebra_dplane_ctx *ctx)
 	return ctx->u.netfilter.tcp_flags;
 }
 
-uint16_t dplane_ctx_netfilter_get_tcpmaskflags(const struct zebra_dplane_ctx *ctx)
+uint16_t
+dplane_ctx_netfilter_get_tcpmaskflags(const struct zebra_dplane_ctx *ctx)
 {
 	DPLANE_CTX_VALID(ctx);
 
@@ -2070,42 +2074,48 @@ uint8_t *dplane_ctx_netfilter_get_ipset_name(const struct zebra_dplane_ctx *ctx)
 	return (uint8_t *)&ctx->u.netfilter.ipset_name;
 }
 
-uint16_t dplane_ctx_netfilter_get_src_port_min(const struct zebra_dplane_ctx *ctx)
+uint16_t
+dplane_ctx_netfilter_get_src_port_min(const struct zebra_dplane_ctx *ctx)
 {
 	DPLANE_CTX_VALID(ctx);
 
 	return ctx->u.netfilter.src_port_min;
 }
 
-uint16_t dplane_ctx_netfilter_get_src_port_max(const struct zebra_dplane_ctx *ctx)
+uint16_t
+dplane_ctx_netfilter_get_src_port_max(const struct zebra_dplane_ctx *ctx)
 {
 	DPLANE_CTX_VALID(ctx);
 
 	return ctx->u.netfilter.src_port_max;
 }
 
-uint16_t dplane_ctx_netfilter_get_dst_port_min(const struct zebra_dplane_ctx *ctx)
+uint16_t
+dplane_ctx_netfilter_get_dst_port_min(const struct zebra_dplane_ctx *ctx)
 {
 	DPLANE_CTX_VALID(ctx);
 
 	return ctx->u.netfilter.dst_port_min;
 }
 
-uint16_t dplane_ctx_netfilter_get_dst_port_max(const struct zebra_dplane_ctx *ctx)
+uint16_t
+dplane_ctx_netfilter_get_dst_port_max(const struct zebra_dplane_ctx *ctx)
 {
 	DPLANE_CTX_VALID(ctx);
 
 	return ctx->u.netfilter.dst_port_max;
 }
 
-struct prefix *dplane_ctx_netfilter_get_src_prefix(const struct zebra_dplane_ctx *ctx)
+struct prefix *
+dplane_ctx_netfilter_get_src_prefix(const struct zebra_dplane_ctx *ctx)
 {
 	DPLANE_CTX_VALID(ctx);
 
 	return (struct prefix *)&ctx->u.netfilter.src_prefix;
 }
 
-struct prefix *dplane_ctx_netfilter_get_dst_prefix(const struct zebra_dplane_ctx *ctx)
+struct prefix *
+dplane_ctx_netfilter_get_dst_prefix(const struct zebra_dplane_ctx *ctx)
 {
 	DPLANE_CTX_VALID(ctx);
 
@@ -2668,7 +2678,8 @@ static int dplane_ctx_rule_init(struct zebra_dplane_ctx *ctx,
 }
 
 /**
- * dplane_ctx_iptable_init() - Initialize a context block for a PBR iptable update.
+ * dplane_ctx_iptable_init() - Initialize a context block for a PBR iptable
+ * update.
  *
  * @ctx:		Dataplane context to init
  * @op:			Operation being performed
@@ -2686,9 +2697,10 @@ static int dplane_ctx_iptable_init(struct zebra_dplane_ctx *ctx,
 	if (IS_ZEBRA_DEBUG_DPLANE_DETAIL) {
 		zlog_debug(
 			"init dplane ctx %s: Unique %u Fwmark %u Family %s Action %s",
-			dplane_op2str(op), iptable->unique,
-			iptable->fwmark, family2str(iptable->family),
-			iptable->action == ZEBRA_IPTABLES_DROP ? "Drop" : "Forward");
+			dplane_op2str(op), iptable->unique, iptable->fwmark,
+			family2str(iptable->family),
+			iptable->action == ZEBRA_IPTABLES_DROP ? "Drop"
+							       : "Forward");
 	}
 
 	ctx->zd_op = op;
@@ -2700,7 +2712,8 @@ static int dplane_ctx_iptable_init(struct zebra_dplane_ctx *ctx,
 	ctx->zd_vrf_id = iptable->vrf_id;
 	if (iptable->nb_interface > 0) {
 		ctx->u.netfilter.ifname_list = list_new();
-		for (ALL_LIST_ELEMENTS_RO(iptable->interface_name_list, node, ifname)) {
+		for (ALL_LIST_ELEMENTS_RO(iptable->interface_name_list, node,
+					  ifname)) {
 			listnode_add(ctx->u.netfilter.ifname_list,
 				     XSTRDUP(MTYPE_DP_IFACE, ifname));
 		}
@@ -2708,19 +2721,20 @@ static int dplane_ctx_iptable_init(struct zebra_dplane_ctx *ctx,
 
 	ctx->u.netfilter.sock = iptable->sock;
 	ctx->u.netfilter.unique = iptable->unique;
-	ctx->u.netfilter.type= iptable->type;
-	ctx->u.netfilter.filter_bm= iptable->filter_bm;
-	ctx->u.netfilter.fwmark= iptable->fwmark;
-	ctx->u.netfilter.action= iptable->action;
-	ctx->u.netfilter.pkt_len_min= iptable->pkt_len_min;
-	ctx->u.netfilter.pkt_len_max= iptable->pkt_len_max;
-	ctx->u.netfilter.tcp_flags= iptable->tcp_flags;
-	ctx->u.netfilter.tcp_mask_flags= iptable->tcp_mask_flags;
-	ctx->u.netfilter.dscp_value= iptable->dscp_value;
-	ctx->u.netfilter.fragment= iptable->fragment;
-	ctx->u.netfilter.protocol= iptable->protocol;
-	ctx->u.netfilter.family= iptable->family;
-	memcpy(ctx->u.netfilter.ipset_name, iptable->ipset_name, ZEBRA_IPSET_NAME_SIZE);
+	ctx->u.netfilter.type = iptable->type;
+	ctx->u.netfilter.filter_bm = iptable->filter_bm;
+	ctx->u.netfilter.fwmark = iptable->fwmark;
+	ctx->u.netfilter.action = iptable->action;
+	ctx->u.netfilter.pkt_len_min = iptable->pkt_len_min;
+	ctx->u.netfilter.pkt_len_max = iptable->pkt_len_max;
+	ctx->u.netfilter.tcp_flags = iptable->tcp_flags;
+	ctx->u.netfilter.tcp_mask_flags = iptable->tcp_mask_flags;
+	ctx->u.netfilter.dscp_value = iptable->dscp_value;
+	ctx->u.netfilter.fragment = iptable->fragment;
+	ctx->u.netfilter.protocol = iptable->protocol;
+	ctx->u.netfilter.family = iptable->family;
+	memcpy(ctx->u.netfilter.ipset_name, iptable->ipset_name,
+	       ZEBRA_IPSET_NAME_SIZE);
 
 	return AOK;
 }
@@ -2739,11 +2753,10 @@ static int dplane_ctx_ipset_init(struct zebra_dplane_ctx *ctx,
 				 struct zebra_pbr_ipset *ipset)
 {
 	if (IS_ZEBRA_DEBUG_DPLANE_DETAIL) {
-		zlog_debug(
-			"init dplane ctx %s: %s Unique %u Family %s Type %s",
-			dplane_op2str(op), ipset->ipset_name, ipset->unique,
-			family2str(ipset->family),
-			zebra_pbr_ipset_type2str(ipset->type));
+		zlog_debug("init dplane ctx %s: %s Unique %u Family %s Type %s",
+			   dplane_op2str(op), ipset->ipset_name, ipset->unique,
+			   family2str(ipset->family),
+			   zebra_pbr_ipset_type2str(ipset->type));
 	}
 
 	ctx->zd_op = op;
@@ -2758,12 +2771,14 @@ static int dplane_ctx_ipset_init(struct zebra_dplane_ctx *ctx,
 	ctx->u.netfilter.unique = ipset->unique;
 	ctx->u.netfilter.type = ipset->type;
 	ctx->u.netfilter.family = ipset->family;
-	memcpy(ctx->u.netfilter.ipset_name, ipset->ipset_name, ZEBRA_IPSET_NAME_SIZE);
+	memcpy(ctx->u.netfilter.ipset_name, ipset->ipset_name,
+	       ZEBRA_IPSET_NAME_SIZE);
 	return AOK;
 }
 
 /**
- * dplane_ctx_ipset_entry_init() - Initialize a context block for a PBR ipset update.
+ * dplane_ctx_ipset_entry_init() - Initialize a context block for a PBR ipset
+ * update.
  *
  * @ctx:		Dataplane context to init
  * @op:			Operation being performed
@@ -2771,18 +2786,17 @@ static int dplane_ctx_ipset_init(struct zebra_dplane_ctx *ctx,
  *
  * Return:	Result status
  */
-static int dplane_ctx_ipset_entry_init(struct zebra_dplane_ctx *ctx,
-				       enum dplane_op_e op,
-				       struct zebra_pbr_ipset_entry *ipset_entry)
+static int
+dplane_ctx_ipset_entry_init(struct zebra_dplane_ctx *ctx, enum dplane_op_e op,
+			    struct zebra_pbr_ipset_entry *ipset_entry)
 {
 	struct zebra_pbr_ipset *ipset;
 
 	ipset = ipset_entry->backpointer;
 	if (IS_ZEBRA_DEBUG_DPLANE_DETAIL) {
-		zlog_debug(
-			"init dplane ctx %s: %s Unique %u filter %u",
-			dplane_op2str(op), ipset->ipset_name, ipset_entry->unique,
-			ipset_entry->filter_bm);
+		zlog_debug("init dplane ctx %s: %s Unique %u filter %u",
+			   dplane_op2str(op), ipset->ipset_name,
+			   ipset_entry->unique, ipset_entry->filter_bm);
 	}
 
 	ctx->zd_op = op;
@@ -2797,7 +2811,8 @@ static int dplane_ctx_ipset_entry_init(struct zebra_dplane_ctx *ctx,
 	ctx->u.netfilter.unique = ipset_entry->unique;
 	ctx->u.netfilter.type = ipset->type;
 	ctx->u.netfilter.family = ipset->family;
-	memcpy(ctx->u.netfilter.ipset_name, ipset->ipset_name, ZEBRA_IPSET_NAME_SIZE);
+	memcpy(ctx->u.netfilter.ipset_name, ipset->ipset_name,
+	       ZEBRA_IPSET_NAME_SIZE);
 	ctx->u.netfilter.protocol = ipset_entry->proto;
 	ctx->u.netfilter.filter_bm = ipset_entry->filter_bm;
 
@@ -4037,12 +4052,14 @@ done:
 	return result;
 }
 
-enum zebra_dplane_result dplane_pbr_iptable_add(struct zebra_pbr_iptable *iptable)
+enum zebra_dplane_result
+dplane_pbr_iptable_add(struct zebra_pbr_iptable *iptable)
 {
 	return iptable_update_internal(DPLANE_OP_IPTABLE_ADD, iptable);
 }
 
-enum zebra_dplane_result dplane_pbr_iptable_delete(struct zebra_pbr_iptable *iptable)
+enum zebra_dplane_result
+dplane_pbr_iptable_delete(struct zebra_pbr_iptable *iptable)
 {
 	return iptable_update_internal(DPLANE_OP_IPTABLE_DELETE, iptable);
 }
@@ -4094,7 +4111,8 @@ enum zebra_dplane_result dplane_pbr_ipset_delete(struct zebra_pbr_ipset *ipset)
  * Common helper api for ipset updates
  */
 static enum zebra_dplane_result
-ipset_entry_update_internal(enum dplane_op_e op, struct zebra_pbr_ipset_entry *ipset_entry)
+ipset_entry_update_internal(enum dplane_op_e op,
+			    struct zebra_pbr_ipset_entry *ipset_entry)
 {
 	enum zebra_dplane_result result = ZEBRA_DPLANE_REQUEST_FAILURE;
 	struct zebra_dplane_ctx *ctx;
@@ -4115,20 +4133,22 @@ done:
 	if (ret == AOK)
 		result = ZEBRA_DPLANE_REQUEST_QUEUED;
 	else {
-		atomic_fetch_add_explicit(&zdplane_info.dg_ipset_entry_errors, 1,
-					  memory_order_relaxed);
+		atomic_fetch_add_explicit(&zdplane_info.dg_ipset_entry_errors,
+					  1, memory_order_relaxed);
 		dplane_ctx_free(&ctx);
 	}
 
 	return result;
 }
 
-enum zebra_dplane_result dplane_pbr_ipset_entry_add(struct zebra_pbr_ipset_entry *ipset)
+enum zebra_dplane_result
+dplane_pbr_ipset_entry_add(struct zebra_pbr_ipset_entry *ipset)
 {
 	return ipset_entry_update_internal(DPLANE_OP_IPSET_ENTRY_ADD, ipset);
 }
 
-enum zebra_dplane_result dplane_pbr_ipset_entry_delete(struct zebra_pbr_ipset_entry *ipset)
+enum zebra_dplane_result
+dplane_pbr_ipset_entry_delete(struct zebra_pbr_ipset_entry *ipset)
 {
 	return ipset_entry_update_internal(DPLANE_OP_IPSET_ENTRY_DELETE, ipset);
 }
@@ -4648,9 +4668,10 @@ static void kernel_dplane_log_detail(struct zebra_dplane_ctx *ctx)
 		break;
 	case DPLANE_OP_IPSET_ENTRY_ADD:
 	case DPLANE_OP_IPSET_ENTRY_DELETE:
-		zlog_debug("Dplane ipset entry update op %s, unique(%u), ctx %p",
-			   dplane_op2str(dplane_ctx_get_op(ctx)),
-			   dplane_ctx_netfilter_get_unique(ctx), ctx);
+		zlog_debug(
+			"Dplane ipset entry update op %s, unique(%u), ctx %p",
+			dplane_op2str(dplane_ctx_get_op(ctx)),
+			dplane_ctx_netfilter_get_unique(ctx), ctx);
 		break;
 	}
 }
@@ -4751,8 +4772,9 @@ static void kernel_dplane_handle_result(struct zebra_dplane_ctx *ctx)
 	case DPLANE_OP_IPTABLE_ADD:
 	case DPLANE_OP_IPTABLE_DELETE:
 		if (res != ZEBRA_DPLANE_REQUEST_SUCCESS)
-			atomic_fetch_add_explicit(&zdplane_info.dg_iptable_errors,
-						  1, memory_order_relaxed);
+			atomic_fetch_add_explicit(
+				&zdplane_info.dg_iptable_errors, 1,
+				memory_order_relaxed);
 		break;
 
 	case DPLANE_OP_IPSET_ADD:
@@ -4765,8 +4787,9 @@ static void kernel_dplane_handle_result(struct zebra_dplane_ctx *ctx)
 	case DPLANE_OP_IPSET_ENTRY_ADD:
 	case DPLANE_OP_IPSET_ENTRY_DELETE:
 		if (res != ZEBRA_DPLANE_REQUEST_SUCCESS)
-			atomic_fetch_add_explicit(&zdplane_info.dg_ipset_entry_errors,
-						  1, memory_order_relaxed);
+			atomic_fetch_add_explicit(
+				&zdplane_info.dg_ipset_entry_errors, 1,
+				memory_order_relaxed);
 		break;
 
 	/* Ignore 'notifications' - no-op */
@@ -4785,7 +4808,8 @@ static void kernel_dplane_handle_result(struct zebra_dplane_ctx *ctx)
 	}
 }
 
-static void kernel_dplane_process_iptable(struct zebra_dplane_provider *prov, struct zebra_dplane_ctx *ctx)
+static void kernel_dplane_process_iptable(struct zebra_dplane_provider *prov,
+					  struct zebra_dplane_ctx *ctx)
 {
 	zebra_pbr_process_iptable(ctx);
 	dplane_provider_enqueue_out_ctx(prov, ctx);
@@ -4798,8 +4822,9 @@ static void kernel_dplane_process_ipset(struct zebra_dplane_provider *prov,
 	dplane_provider_enqueue_out_ctx(prov, ctx);
 }
 
-static void kernel_dplane_process_ipset_entry(struct zebra_dplane_provider *prov,
-					      struct zebra_dplane_ctx *ctx)
+static void
+kernel_dplane_process_ipset_entry(struct zebra_dplane_provider *prov,
+				  struct zebra_dplane_ctx *ctx)
 {
 	zebra_pbr_process_ipset_entry(ctx);
 	dplane_provider_enqueue_out_ctx(prov, ctx);
@@ -4829,14 +4854,15 @@ static int kernel_dplane_process_func(struct zebra_dplane_provider *prov)
 		if (IS_ZEBRA_DEBUG_DPLANE_DETAIL)
 			kernel_dplane_log_detail(ctx);
 
-		if ((dplane_ctx_get_op(ctx) == DPLANE_OP_IPTABLE_ADD ||
-		     dplane_ctx_get_op(ctx) == DPLANE_OP_IPTABLE_DELETE))
+		if ((dplane_ctx_get_op(ctx) == DPLANE_OP_IPTABLE_ADD
+		     || dplane_ctx_get_op(ctx) == DPLANE_OP_IPTABLE_DELETE))
 			kernel_dplane_process_iptable(prov, ctx);
-		else if ((dplane_ctx_get_op(ctx) == DPLANE_OP_IPSET_ADD ||
-		     dplane_ctx_get_op(ctx) == DPLANE_OP_IPSET_DELETE))
+		else if ((dplane_ctx_get_op(ctx) == DPLANE_OP_IPSET_ADD
+			  || dplane_ctx_get_op(ctx) == DPLANE_OP_IPSET_DELETE))
 			kernel_dplane_process_ipset(prov, ctx);
-		else if ((dplane_ctx_get_op(ctx) == DPLANE_OP_IPSET_ENTRY_ADD ||
-		     dplane_ctx_get_op(ctx) == DPLANE_OP_IPSET_ENTRY_DELETE))
+		else if ((dplane_ctx_get_op(ctx) == DPLANE_OP_IPSET_ENTRY_ADD
+			  || dplane_ctx_get_op(ctx)
+				     == DPLANE_OP_IPSET_ENTRY_DELETE))
 			kernel_dplane_process_ipset_entry(prov, ctx);
 		else
 			TAILQ_INSERT_TAIL(&work_list, ctx, zd_q_entries);
diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h
index 585238188..3f07c78f5 100644
--- a/zebra/zebra_dplane.h
+++ b/zebra/zebra_dplane.h
@@ -488,11 +488,14 @@ dplane_ctx_rule_get_old_dst_ip(const struct zebra_dplane_ctx *ctx);
 /* Accessors for policy based routing iptable information */
 int dplane_ctx_netfilter_get_sock(const struct zebra_dplane_ctx *ctx);
 uint32_t dplane_ctx_netfilter_get_unique(const struct zebra_dplane_ctx *ctx);
-uint32_t dplane_ctx_netfilter_get_interface_number(const struct zebra_dplane_ctx *ctx);
-const char *dplane_ctx_netfilter_get_interface_val(const struct zebra_dplane_ctx *ctx,
-						 uint32_t rank);
+uint32_t
+dplane_ctx_netfilter_get_interface_number(const struct zebra_dplane_ctx *ctx);
+const char *
+dplane_ctx_netfilter_get_interface_val(const struct zebra_dplane_ctx *ctx,
+				       uint32_t rank);
 uint16_t dplane_ctx_netfilter_get_tcpflags(const struct zebra_dplane_ctx *ctx);
-uint16_t dplane_ctx_netfilter_get_tcpmaskflags(const struct zebra_dplane_ctx *ctx);
+uint16_t
+dplane_ctx_netfilter_get_tcpmaskflags(const struct zebra_dplane_ctx *ctx);
 uint16_t dplane_ctx_netfilter_get_pktlenmin(const struct zebra_dplane_ctx *ctx);
 uint16_t dplane_ctx_netfilter_get_pktlenmax(const struct zebra_dplane_ctx *ctx);
 uint32_t dplane_ctx_netfilter_get_type(const struct zebra_dplane_ctx *ctx);
@@ -504,13 +507,20 @@ uint8_t dplane_ctx_netfilter_get_dscpvalue(const struct zebra_dplane_ctx *ctx);
 uint8_t dplane_ctx_netfilter_get_protocol(const struct zebra_dplane_ctx *ctx);
 uint16_t dplane_ctx_netfilter_get_flowlabel(const struct zebra_dplane_ctx *ctx);
 uint8_t dplane_ctx_netfilter_get_family(const struct zebra_dplane_ctx *ctx);
-uint8_t *dplane_ctx_netfilter_get_ipset_name(const struct zebra_dplane_ctx *ctx);
-uint16_t dplane_ctx_netfilter_get_src_port_min(const struct zebra_dplane_ctx *ctx);
-uint16_t dplane_ctx_netfilter_get_src_port_max(const struct zebra_dplane_ctx *ctx);
-uint16_t dplane_ctx_netfilter_get_dst_port_min(const struct zebra_dplane_ctx *ctx);
-uint16_t dplane_ctx_netfilter_get_dst_port_max(const struct zebra_dplane_ctx *ctx);
-struct prefix *dplane_ctx_netfilter_get_src_prefix(const struct zebra_dplane_ctx *ctx);
-struct prefix *dplane_ctx_netfilter_get_dst_prefix(const struct zebra_dplane_ctx *ctx);
+uint8_t *
+dplane_ctx_netfilter_get_ipset_name(const struct zebra_dplane_ctx *ctx);
+uint16_t
+dplane_ctx_netfilter_get_src_port_min(const struct zebra_dplane_ctx *ctx);
+uint16_t
+dplane_ctx_netfilter_get_src_port_max(const struct zebra_dplane_ctx *ctx);
+uint16_t
+dplane_ctx_netfilter_get_dst_port_min(const struct zebra_dplane_ctx *ctx);
+uint16_t
+dplane_ctx_netfilter_get_dst_port_max(const struct zebra_dplane_ctx *ctx);
+struct prefix *
+dplane_ctx_netfilter_get_src_prefix(const struct zebra_dplane_ctx *ctx);
+struct prefix *
+dplane_ctx_netfilter_get_dst_prefix(const struct zebra_dplane_ctx *ctx);
 
 /* Accessors for bridge port information */
 uint32_t dplane_ctx_get_br_port_flags(const struct zebra_dplane_ctx *ctx);
@@ -681,8 +691,10 @@ dplane_pbr_rule_update(struct zebra_pbr_rule *old_rule,
 		       struct zebra_pbr_rule *new_rule);
 /* iptable */
 struct zebra_pbr_iptable;
-enum zebra_dplane_result dplane_pbr_iptable_add(struct zebra_pbr_iptable *iptable);
-enum zebra_dplane_result dplane_pbr_iptable_delete(struct zebra_pbr_iptable *iptable);
+enum zebra_dplane_result
+dplane_pbr_iptable_add(struct zebra_pbr_iptable *iptable);
+enum zebra_dplane_result
+dplane_pbr_iptable_delete(struct zebra_pbr_iptable *iptable);
 
 /* ipset */
 struct zebra_pbr_ipset;
@@ -691,8 +703,10 @@ enum zebra_dplane_result dplane_pbr_ipset_delete(struct zebra_pbr_ipset *ipset);
 
 /* ipset entry */
 struct zebra_pbr_ipset_entry;
-enum zebra_dplane_result dplane_pbr_ipset_entry_add(struct zebra_pbr_ipset_entry *ipset);
-enum zebra_dplane_result dplane_pbr_ipset_entry_delete(struct zebra_pbr_ipset_entry *ipset);
+enum zebra_dplane_result
+dplane_pbr_ipset_entry_add(struct zebra_pbr_ipset_entry *ipset);
+enum zebra_dplane_result
+dplane_pbr_ipset_entry_delete(struct zebra_pbr_ipset_entry *ipset);
 
 /* Encode route information into data plane context. */
 int dplane_ctx_route_init(struct zebra_dplane_ctx *ctx, enum dplane_op_e op,
diff --git a/zebra/zebra_pbr.c b/zebra/zebra_pbr.c
index b36a508d0..f0f3349ea 100644
--- a/zebra/zebra_pbr.c
+++ b/zebra/zebra_pbr.c
@@ -578,8 +578,10 @@ void zebra_pbr_process_iptable(struct zebra_dplane_ctx *ctx)
 
 		ipt.interface_name_list = list_new();
 		for (i = 0; i < ipt.nb_interface; i++) {
-			listnode_add(ipt.interface_name_list,
-				     (void *)dplane_ctx_netfilter_get_interface_val(ctx, i));
+			listnode_add(
+				ipt.interface_name_list,
+				(void *)dplane_ctx_netfilter_get_interface_val(
+					ctx, i));
 		}
 	}
 	ret = hook_call(zebra_pbr_iptable_update, mode, &ipt);
@@ -909,35 +911,39 @@ void zebra_pbr_dplane_result(struct zebra_dplane_ctx *ctx)
 						     ? ZAPI_RULE_REMOVED
 						     : ZAPI_RULE_FAIL_REMOVE);
 	else if (op == DPLANE_OP_IPTABLE_ADD)
-		zsend_netfilter_notify_owner(ctx, ZEBRA_IPTABLE_NOTIFY_OWNER,
-					     res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					     ? ZAPI_IPTABLE_INSTALLED :
-					     ZAPI_IPTABLE_FAIL_INSTALL);
+		zsend_netfilter_notify_owner(
+			ctx, ZEBRA_IPTABLE_NOTIFY_OWNER,
+			res == ZEBRA_DPLANE_REQUEST_SUCCESS
+				? ZAPI_IPTABLE_INSTALLED
+				: ZAPI_IPTABLE_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPTABLE_DELETE)
-		zsend_netfilter_notify_owner(ctx, ZEBRA_IPTABLE_NOTIFY_OWNER,
-					     res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					     ? ZAPI_IPTABLE_REMOVED :
-					     ZAPI_IPTABLE_FAIL_REMOVE);
+		zsend_netfilter_notify_owner(
+			ctx, ZEBRA_IPTABLE_NOTIFY_OWNER,
+			res == ZEBRA_DPLANE_REQUEST_SUCCESS
+				? ZAPI_IPTABLE_REMOVED
+				: ZAPI_IPTABLE_FAIL_REMOVE);
 	else if (op == DPLANE_OP_IPSET_ADD)
 		zsend_netfilter_notify_owner(ctx, ZEBRA_IPSET_NOTIFY_OWNER,
 					     res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					     ? ZAPI_IPSET_INSTALLED :
-					     ZAPI_IPSET_FAIL_INSTALL);
+						     ? ZAPI_IPSET_INSTALLED
+						     : ZAPI_IPSET_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPSET_DELETE)
 		zsend_netfilter_notify_owner(ctx, ZEBRA_IPSET_NOTIFY_OWNER,
 					     res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					     ? ZAPI_IPSET_REMOVED :
-					     ZAPI_IPSET_FAIL_REMOVE);
+						     ? ZAPI_IPSET_REMOVED
+						     : ZAPI_IPSET_FAIL_REMOVE);
 	else if (op == DPLANE_OP_IPSET_ENTRY_ADD)
-		zsend_netfilter_notify_owner(ctx, ZEBRA_IPSET_ENTRY_NOTIFY_OWNER,
-					     res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					     ? ZAPI_IPSET_ENTRY_INSTALLED :
-					     ZAPI_IPSET_ENTRY_FAIL_INSTALL);
+		zsend_netfilter_notify_owner(
+			ctx, ZEBRA_IPSET_ENTRY_NOTIFY_OWNER,
+			res == ZEBRA_DPLANE_REQUEST_SUCCESS
+				? ZAPI_IPSET_ENTRY_INSTALLED
+				: ZAPI_IPSET_ENTRY_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPSET_ENTRY_DELETE) {
-		zsend_netfilter_notify_owner(ctx, ZEBRA_IPSET_ENTRY_NOTIFY_OWNER,
-					     res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					     ? ZAPI_IPSET_ENTRY_REMOVED :
-					     ZAPI_IPSET_ENTRY_FAIL_REMOVE);
+		zsend_netfilter_notify_owner(
+			ctx, ZEBRA_IPSET_ENTRY_NOTIFY_OWNER,
+			res == ZEBRA_DPLANE_REQUEST_SUCCESS
+				? ZAPI_IPSET_ENTRY_REMOVED
+				: ZAPI_IPSET_ENTRY_FAIL_REMOVE);
 	} else
 		flog_err(
 			EC_ZEBRA_PBR_RULE_UPDATE,

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.

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Feb 22, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

OpenBSD 6 amd64 build: Failed (click for details)

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

gmake  all-am
gmake[1]: Entering directory '/home/ci/cibuild.17241/frr-source'
zebra/zebra_pbr.c:924:13: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:925:11: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:929:13: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:930:11: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:934:13: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:935:11: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:939:13: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]

OpenBSD 6 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17241/artifact/CI011BUILD/config.status/config.status
OpenBSD 6 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17241/artifact/CI011BUILD/config.log/config.log.gz

Successful on other platforms/tests
  • Fedora 29 amd64 build
  • Ubuntu 16.04 arm8 build
  • FreeBSD 11 amd64 build
  • CentOS 8 amd64 build
  • Ubuntu 16.04 arm7 build
  • Debian 10 amd64 build
  • FreeBSD 12 amd64 build
  • Ubuntu 16.04 i386 build
  • NetBSD 8 amd64 build
  • Debian 9 amd64 build
  • Ubuntu 16.04 amd64 build
  • Ubuntu 18.04 amd64 build
  • Ubuntu 18.04 arm7 build
  • CentOS 7 amd64 build
  • Ubuntu 20.04 amd64 build
  • Ubuntu 18.04 arm8 build
  • Debian 8 amd64 build
  • Ubuntu 18.04 ppc64le build

Warnings Generated during build:

Checkout code: Successful with additional warnings
OpenBSD 6 amd64 build: Failed (click for details)

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

gmake  all-am
gmake[1]: Entering directory '/home/ci/cibuild.17241/frr-source'
zebra/zebra_pbr.c:924:13: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:925:11: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:929:13: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:930:11: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:934:13: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:935:11: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:939:13: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]

OpenBSD 6 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17241/artifact/CI011BUILD/config.status/config.status
OpenBSD 6 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17241/artifact/CI011BUILD/config.log/config.log.gz

Report for zebra_dplane.c | 82 issues
===============================================
< WARNING: line over 80 characters
< #1945: FILE: /tmp/f1-27163/zebra_dplane.c:1945:
< WARNING: line over 80 characters
< #1955: FILE: /tmp/f1-27163/zebra_dplane.c:1955:
< WARNING: line over 80 characters
< #1982: FILE: /tmp/f1-27163/zebra_dplane.c:1982:
< WARNING: line over 80 characters
< #2073: FILE: /tmp/f1-27163/zebra_dplane.c:2073:
< WARNING: line over 80 characters
< #2080: FILE: /tmp/f1-27163/zebra_dplane.c:2080:
< WARNING: line over 80 characters
< #2087: FILE: /tmp/f1-27163/zebra_dplane.c:2087:
< WARNING: line over 80 characters
< #2094: FILE: /tmp/f1-27163/zebra_dplane.c:2094:
< WARNING: line over 80 characters
< #2101: FILE: /tmp/f1-27163/zebra_dplane.c:2101:
< WARNING: line over 80 characters
< #2108: FILE: /tmp/f1-27163/zebra_dplane.c:2108:
< WARNING: line over 80 characters
< #2671: FILE: /tmp/f1-27163/zebra_dplane.c:2671:
< WARNING: line over 80 characters
< #2691: FILE: /tmp/f1-27163/zebra_dplane.c:2691:
< WARNING: line over 80 characters
< #2703: FILE: /tmp/f1-27163/zebra_dplane.c:2703:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2711: FILE: /tmp/f1-27163/zebra_dplane.c:2711:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2712: FILE: /tmp/f1-27163/zebra_dplane.c:2712:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2713: FILE: /tmp/f1-27163/zebra_dplane.c:2713:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2714: FILE: /tmp/f1-27163/zebra_dplane.c:2714:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2715: FILE: /tmp/f1-27163/zebra_dplane.c:2715:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2716: FILE: /tmp/f1-27163/zebra_dplane.c:2716:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2717: FILE: /tmp/f1-27163/zebra_dplane.c:2717:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2718: FILE: /tmp/f1-27163/zebra_dplane.c:2718:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2719: FILE: /tmp/f1-27163/zebra_dplane.c:2719:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2720: FILE: /tmp/f1-27163/zebra_dplane.c:2720:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2721: FILE: /tmp/f1-27163/zebra_dplane.c:2721:
< ERROR: spaces required around that '=' (ctx:VxW)
< #2722: FILE: /tmp/f1-27163/zebra_dplane.c:2722:
< WARNING: line over 80 characters
< #2723: FILE: /tmp/f1-27163/zebra_dplane.c:2723:
< WARNING: line over 80 characters
< #2761: FILE: /tmp/f1-27163/zebra_dplane.c:2761:
< WARNING: line over 80 characters
< #2766: FILE: /tmp/f1-27163/zebra_dplane.c:2766:
< WARNING: line over 80 characters
< #2776: FILE: /tmp/f1-27163/zebra_dplane.c:2776:
< WARNING: line over 80 characters
< #2784: FILE: /tmp/f1-27163/zebra_dplane.c:2784:
< WARNING: line over 80 characters
< #2800: FILE: /tmp/f1-27163/zebra_dplane.c:2800:
< WARNING: line over 80 characters
< #3613: FILE: /tmp/f1-27163/zebra_dplane.c:3613:
< WARNING: line over 80 characters
< #4045: FILE: /tmp/f1-27163/zebra_dplane.c:4045:
< WARNING: line over 80 characters
< #4097: FILE: /tmp/f1-27163/zebra_dplane.c:4097:
< WARNING: line over 80 characters
< #4118: FILE: /tmp/f1-27163/zebra_dplane.c:4118:
< WARNING: line over 80 characters
< #4126: FILE: /tmp/f1-27163/zebra_dplane.c:4126:
< WARNING: line over 80 characters
< #4131: FILE: /tmp/f1-27163/zebra_dplane.c:4131:
< WARNING: line over 80 characters
< #4259: FILE: /tmp/f1-27163/zebra_dplane.c:4259:
< WARNING: line over 80 characters
< #4754: FILE: /tmp/f1-27163/zebra_dplane.c:4754:
< WARNING: line over 80 characters
< #4768: FILE: /tmp/f1-27163/zebra_dplane.c:4768:
< WARNING: line over 80 characters
< #4788: FILE: /tmp/f1-27163/zebra_dplane.c:4788:
< WARNING: line over 80 characters
< #4801: FILE: /tmp/f1-27163/zebra_dplane.c:4801:
Report for zebra_dplane.h | 28 issues
===============================================
< WARNING: line over 80 characters
< #491: FILE: /tmp/f1-27163/zebra_dplane.h:491:
< WARNING: line over 80 characters
< #492: FILE: /tmp/f1-27163/zebra_dplane.h:492:
< WARNING: line over 80 characters
< #495: FILE: /tmp/f1-27163/zebra_dplane.h:495:
< WARNING: line over 80 characters
< #507: FILE: /tmp/f1-27163/zebra_dplane.h:507:
< WARNING: line over 80 characters
< #508: FILE: /tmp/f1-27163/zebra_dplane.h:508:
< WARNING: line over 80 characters
< #509: FILE: /tmp/f1-27163/zebra_dplane.h:509:
< WARNING: line over 80 characters
< #510: FILE: /tmp/f1-27163/zebra_dplane.h:510:
< WARNING: line over 80 characters
< #511: FILE: /tmp/f1-27163/zebra_dplane.h:511:
< WARNING: line over 80 characters
< #512: FILE: /tmp/f1-27163/zebra_dplane.h:512:
< WARNING: line over 80 characters
< #513: FILE: /tmp/f1-27163/zebra_dplane.h:513:
< WARNING: line over 80 characters
< #684: FILE: /tmp/f1-27163/zebra_dplane.h:684:
< WARNING: line over 80 characters
< #685: FILE: /tmp/f1-27163/zebra_dplane.h:685:
< WARNING: line over 80 characters
< #694: FILE: /tmp/f1-27163/zebra_dplane.h:694:
< WARNING: line over 80 characters
< #695: FILE: /tmp/f1-27163/zebra_dplane.h:695:
Report for zebra_pbr.c | 6 issues
===============================================
< WARNING: line over 80 characters
< #582: FILE: /tmp/f1-27163/zebra_pbr.c:582:
< WARNING: line over 80 characters
< #932: FILE: /tmp/f1-27163/zebra_pbr.c:932:
< WARNING: line over 80 characters
< #937: FILE: /tmp/f1-27163/zebra_pbr.c:937:

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/aada8debb96b35ece9f64adb163dd72e/raw/dd54176b66166173bdc0792b4a193663835cc1c9/cr_8124_1613992090.diff | git apply

diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index fd24ecd67..a7ceb56e4 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -877,8 +877,7 @@ void zsend_netfilter_notify_owner(const struct zebra_dplane_ctx *ctx,
 	if (IS_ZEBRA_DEBUG_PACKET)
 		zlog_debug("%s: Notifying %s id %u note %u", __func__,
 			   zserv_command_string(cmd),
-			   dplane_ctx_netfilter_get_unique(ctx),
-			   note);
+			   dplane_ctx_netfilter_get_unique(ctx), note);
 
 	for (ALL_LIST_ELEMENTS_RO(zrouter.client_list, node, client)) {
 		if (dplane_ctx_netfilter_get_sock(ctx) == client->sock)
@@ -893,8 +892,8 @@ void zsend_netfilter_notify_owner(const struct zebra_dplane_ctx *ctx,
 	zclient_create_header(s, cmd, VRF_DEFAULT);
 	stream_put(s, &note, sizeof(note));
 	stream_putl(s, dplane_ctx_rule_get_unique(ctx));
-	if (cmd == ZEBRA_IPSET_NOTIFY_OWNER ||
-	    cmd == ZEBRA_IPSET_ENTRY_NOTIFY_OWNER) {
+	if (cmd == ZEBRA_IPSET_NOTIFY_OWNER
+	    || cmd == ZEBRA_IPSET_ENTRY_NOTIFY_OWNER) {
 		stream_put(s, dplane_ctx_netfilter_get_ipset_name(ctx),
 			   ZEBRA_IPSET_NAME_SIZE);
 	}
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c
index 1d32f59ec..69645d75a 100644
--- a/zebra/zebra_dplane.c
+++ b/zebra/zebra_dplane.c
@@ -717,7 +717,8 @@ static void dplane_ctx_free_internal(struct zebra_dplane_ctx *ctx)
 
 			for (ALL_LIST_ELEMENTS(ctx->u.netfilter.ifname_list,
 					       node, nnode, ifname)) {
-				LISTNODE_DETACH(ctx->u.netfilter.ifname_list, node);
+				LISTNODE_DETACH(ctx->u.netfilter.ifname_list,
+						node);
 				XFREE(MTYPE_DP_IFACE, ifname);
 			}
 			list_delete(&ctx->u.netfilter.ifname_list);
@@ -1955,7 +1956,7 @@ dplane_ctx_netfilter_get_interface_number(const struct zebra_dplane_ctx *ctx)
 
 const char *
 dplane_ctx_netfilter_get_interface_val(const struct zebra_dplane_ctx *ctx,
-						 uint32_t rank)
+				       uint32_t rank)
 {
 	struct listnode *node;
 	uint32_t cnt = 0;
@@ -2699,7 +2700,7 @@ static int dplane_ctx_iptable_init(struct zebra_dplane_ctx *ctx,
 			dplane_op2str(op), iptable->unique, iptable->fwmark,
 			family2str(iptable->family),
 			iptable->action == ZEBRA_IPTABLES_DROP ? "Drop"
-							       :"Forward");
+							       : "Forward");
 	}
 
 	ctx->zd_op = op;
@@ -2785,8 +2786,9 @@ static int dplane_ctx_ipset_init(struct zebra_dplane_ctx *ctx,
  *
  * Return:	Result status
  */
-static int dplane_ctx_ipset_entry_init(struct zebra_dplane_ctx *ctx, enum dplane_op_e op,
-				       struct zebra_pbr_ipset_entry *ipset_entry)
+static int
+dplane_ctx_ipset_entry_init(struct zebra_dplane_ctx *ctx, enum dplane_op_e op,
+			    struct zebra_pbr_ipset_entry *ipset_entry)
 {
 	struct zebra_pbr_ipset *ipset;
 
@@ -2794,7 +2796,7 @@ static int dplane_ctx_ipset_entry_init(struct zebra_dplane_ctx *ctx, enum dplane
 	if (IS_ZEBRA_DEBUG_DPLANE_DETAIL) {
 		zlog_debug("init dplane ctx %s: %s Unique %u filter %u",
 			   dplane_op2str(op), ipset->ipset_name,
-			    ipset_entry->unique, ipset_entry->filter_bm);
+			   ipset_entry->unique, ipset_entry->filter_bm);
 	}
 
 	ctx->zd_op = op;
@@ -4131,8 +4133,8 @@ done:
 	if (ret == AOK)
 		result = ZEBRA_DPLANE_REQUEST_QUEUED;
 	else {
-		atomic_fetch_add_explicit(&zdplane_info.dg_ipset_entry_errors, 1,
-					  memory_order_relaxed);
+		atomic_fetch_add_explicit(&zdplane_info.dg_ipset_entry_errors,
+					  1, memory_order_relaxed);
 		dplane_ctx_free(&ctx);
 	}
 
@@ -4666,9 +4668,10 @@ static void kernel_dplane_log_detail(struct zebra_dplane_ctx *ctx)
 		break;
 	case DPLANE_OP_IPSET_ENTRY_ADD:
 	case DPLANE_OP_IPSET_ENTRY_DELETE:
-		zlog_debug("Dplane ipset entry update op %s, unique(%u), ctx %p",
-			   dplane_op2str(dplane_ctx_get_op(ctx)),
-			   dplane_ctx_netfilter_get_unique(ctx), ctx);
+		zlog_debug(
+			"Dplane ipset entry update op %s, unique(%u), ctx %p",
+			dplane_op2str(dplane_ctx_get_op(ctx)),
+			dplane_ctx_netfilter_get_unique(ctx), ctx);
 		break;
 	}
 }
diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h
index d6171c220..3f07c78f5 100644
--- a/zebra/zebra_dplane.h
+++ b/zebra/zebra_dplane.h
@@ -492,7 +492,7 @@ uint32_t
 dplane_ctx_netfilter_get_interface_number(const struct zebra_dplane_ctx *ctx);
 const char *
 dplane_ctx_netfilter_get_interface_val(const struct zebra_dplane_ctx *ctx,
-						 uint32_t rank);
+				       uint32_t rank);
 uint16_t dplane_ctx_netfilter_get_tcpflags(const struct zebra_dplane_ctx *ctx);
 uint16_t
 dplane_ctx_netfilter_get_tcpmaskflags(const struct zebra_dplane_ctx *ctx);
diff --git a/zebra/zebra_pbr.c b/zebra/zebra_pbr.c
index 748bb98cf..f0f3349ea 100644
--- a/zebra/zebra_pbr.c
+++ b/zebra/zebra_pbr.c
@@ -914,36 +914,36 @@ void zebra_pbr_dplane_result(struct zebra_dplane_ctx *ctx)
 		zsend_netfilter_notify_owner(
 			ctx, ZEBRA_IPTABLE_NOTIFY_OWNER,
 			res == ZEBRA_DPLANE_REQUEST_SUCCESS
-				? ZAPI_IPTABLE_INSTALLED :
-				ZAPI_IPTABLE_FAIL_INSTALL);
+				? ZAPI_IPTABLE_INSTALLED
+				: ZAPI_IPTABLE_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPTABLE_DELETE)
 		zsend_netfilter_notify_owner(
 			ctx, ZEBRA_IPTABLE_NOTIFY_OWNER,
 			res == ZEBRA_DPLANE_REQUEST_SUCCESS
-				? ZAPI_IPTABLE_REMOVED :
-				ZAPI_IPTABLE_FAIL_REMOVE);
+				? ZAPI_IPTABLE_REMOVED
+				: ZAPI_IPTABLE_FAIL_REMOVE);
 	else if (op == DPLANE_OP_IPSET_ADD)
 		zsend_netfilter_notify_owner(ctx, ZEBRA_IPSET_NOTIFY_OWNER,
 					     res == ZEBRA_DPLANE_REQUEST_SUCCESS
-						     ? ZAPI_IPSET_INSTALLED :
-						     ZAPI_IPSET_FAIL_INSTALL);
+						     ? ZAPI_IPSET_INSTALLED
+						     : ZAPI_IPSET_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPSET_DELETE)
 		zsend_netfilter_notify_owner(ctx, ZEBRA_IPSET_NOTIFY_OWNER,
 					     res == ZEBRA_DPLANE_REQUEST_SUCCESS
-						     ? ZAPI_IPSET_REMOVED :
-						     ZAPI_IPSET_FAIL_REMOVE);
+						     ? ZAPI_IPSET_REMOVED
+						     : ZAPI_IPSET_FAIL_REMOVE);
 	else if (op == DPLANE_OP_IPSET_ENTRY_ADD)
 		zsend_netfilter_notify_owner(
 			ctx, ZEBRA_IPSET_ENTRY_NOTIFY_OWNER,
 			res == ZEBRA_DPLANE_REQUEST_SUCCESS
-				? ZAPI_IPSET_ENTRY_INSTALLED :
-				ZAPI_IPSET_ENTRY_FAIL_INSTALL);
+				? ZAPI_IPSET_ENTRY_INSTALLED
+				: ZAPI_IPSET_ENTRY_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPSET_ENTRY_DELETE) {
 		zsend_netfilter_notify_owner(
 			ctx, ZEBRA_IPSET_ENTRY_NOTIFY_OWNER,
 			res == ZEBRA_DPLANE_REQUEST_SUCCESS
-				? ZAPI_IPSET_ENTRY_REMOVED :
-				ZAPI_IPSET_ENTRY_FAIL_REMOVE);
+				? ZAPI_IPSET_ENTRY_REMOVED
+				: ZAPI_IPSET_ENTRY_FAIL_REMOVE);
 	} else
 		flog_err(
 			EC_ZEBRA_PBR_RULE_UPDATE,

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.

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Feb 22, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

OpenBSD 6 amd64 build: Failed (click for details)

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

gmake[1]: Entering directory '/home/ci/cibuild.17243/frr-source'
zebra/zebra_pbr.c  CC       zebra/zebra_ptm.o
:928:14: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:929:12: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:933:14: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:934:12: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:939:7: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:940:5: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:945:7: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]

OpenBSD 6 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17243/artifact/CI011BUILD/config.status/config.status
OpenBSD 6 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17243/artifact/CI011BUILD/config.log/config.log.gz

Details
OpenBSD 6 amd64 build: Failed (click for details)

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

gmake[1]: Entering directory '/home/ci/cibuild.17243/frr-source'
zebra/zebra_pbr.c  CC       zebra/zebra_ptm.o
:928:14: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:929:12: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:933:14: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:934:12: error: implicit conversion from enumeration type 'enum zapi_ipset_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:939:7: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:940:5: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]
zebra/zebra_pbr.c:945:7: error: implicit conversion from enumeration type 'enum zapi_ipset_entry_notify_owner' to different enumeration type 'enum zapi_iptable_notify_owner' [-Werror,-Wenum-conversion]

OpenBSD 6 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17243/artifact/CI011BUILD/config.status/config.status
OpenBSD 6 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17243/artifact/CI011BUILD/config.log/config.log.gz

Ubuntu 18.04 arm7 build: Incomplete (check logs for details)
Successful on other platforms/tests
  • Fedora 29 amd64 build
  • Debian 10 amd64 build
  • FreeBSD 11 amd64 build
  • Ubuntu 16.04 arm8 build
  • CentOS 7 amd64 build
  • Ubuntu 18.04 arm8 build
  • Ubuntu 18.04 amd64 build
  • FreeBSD 12 amd64 build
  • Ubuntu 16.04 arm7 build
  • CentOS 8 amd64 build
  • Ubuntu 18.04 ppc64le build
  • Ubuntu 16.04 i386 build
  • Debian 9 amd64 build
  • NetBSD 8 amd64 build
  • Ubuntu 16.04 amd64 build
  • Ubuntu 20.04 amd64 build
  • Debian 8 amd64 build
### Basic Tests: Incomplete

@LabN-CI
Copy link
Collaborator

LabN-CI commented Feb 22, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 f8afa5d
Date 02/22/2021
Start 06:05:32
Finish 06:45:03
Run-Time 39:31
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-02-22-06:05:32.txt
Log autoscript-2021-02-22-06:06:42.log.bz2
Memory 496 478 427

For details, please contact louberger

@LabN-CI
Copy link
Collaborator

LabN-CI commented Feb 22, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result 0
Date 0
Start 0
Finish vncregress-2021-02-22-07:26:03.txt
Run-Time autoscript-2021-02-22-07:27:07.log.bz2
Total 488 478 427
Pass SUCCESS git merge/7457 70fbc4b
Fail 01/22/2021
Valgrind-Errors 07:26:00
Valgrind-Loss 08:05:26
Details 39:26
Log 1815
Memory 1815
SUCCESS git merge/8124 1c34702 0
02/22/2021 0
07:26:03 0
08:05:23 vncregress-2021-01-22-07:26:00.txt
39:20 autoscript-2021-01-22-07:27:00.log.bz2
1815 504 490 405
1815

For details, please contact louberger

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/aaa9af513c441536ec193c6c200bca07/raw/768b887874ec57adb9f66e01150bf12aeb777de1/cr_8124_1613999161.diff | git apply

diff --git a/lib/zclient.c b/lib/zclient.c
index 0918ea78d..008b94907 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -1560,7 +1560,7 @@ bool zapi_ipset_notify_decode(struct stream *s, uint32_t *unique,
 	if (zclient_debug)
 		zlog_debug("%s: %u", __func__, uni);
 	*unique = uni;
-	*note = (enum zapi_ipset_notify_owner )notew;
+	*note = (enum zapi_ipset_notify_owner)notew;
 	return true;
 
 stream_failure:
@@ -1583,7 +1583,7 @@ bool zapi_ipset_entry_notify_decode(struct stream *s, uint32_t *unique,
 	if (zclient_debug)
 		zlog_debug("%s: %u", __func__, uni);
 	*unique = uni;
-	*note = (enum zapi_ipset_entry_notify_owner )notew;
+	*note = (enum zapi_ipset_entry_notify_owner)notew;
 
 	return true;
 
@@ -1605,7 +1605,7 @@ bool zapi_iptable_notify_decode(struct stream *s,
 	if (zclient_debug)
 		zlog_debug("%s: %u", __func__, uni);
 	*unique = uni;
-	*note = (enum zapi_iptable_notify_owner )notew;
+	*note = (enum zapi_iptable_notify_owner)notew;
 
 	return true;
 

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.

@mjstapp mjstapp self-requested a review February 22, 2021 13:08
@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Feb 22, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Debian 10 amd64 build: Failed (click for details) Debian 10 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/DEB10BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

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

Debian 8 amd64 build: Failed (click for details) Debian 8 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI008BLD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
lib/stream.h:215:13: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

Debian 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI008BLD/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-17244/artifact/CI009BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
 1577 |  STREAM_GETW(note, notew);
lib/stream.h:215:41: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI009BUILD/config.status/config.status
FreeBSD 11 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI009BUILD/config.log/config.log.gz

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-17244/artifact/F29BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Fedora 29 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/F29BUILD/config.status/config.status
Fedora 29 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/F29BUILD/config.log/config.log.gz

OpenBSD 6 amd64 build: Failed (click for details)

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

gmake  all-am
gmake[1]: Entering directory '/home/ci/cibuild.17244/frr-source'
lib/zclient.c:1577:2: error: incompatible pointer types passing 'enum zapi_ipset_entry_notify_owner *' to parameter of type 'struct stream *' [-Werror,-Wincompatible-pointer-types]
./lib/stream.h:435:21: note: expanded from macro 'STREAM_GETW'
./lib/stream.h:215:41: note: passing argument to parameter 's' here
extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c:1601:2: error: incompatible pointer types passing 'enum zapi_iptable_notify_owner *' to parameter of type 'struct stream *' [-Werror,-Wincompatible-pointer-types]
./lib/stream.h:435:21: note: expanded from macro 'STREAM_GETW'  CC       lib/zlog.lo
./lib/stream.h:215:41: note: passing argument to parameter 's' here

OpenBSD 6 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI011BUILD/config.status/config.status
OpenBSD 6 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI011BUILD/config.log/config.log.gz

Ubuntu 18.04 arm8 build: Failed (click for details) Ubuntu 18.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U18ARM8BUILD/config.status/config.status Ubuntu 18.04 arm8 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U18ARM8BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW
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-17244/artifact/U1804AMD64/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 18.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1804AMD64/config.status/config.status
Ubuntu 18.04 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1804AMD64/config.log/config.log.gz

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-17244/artifact/FBSD12AMD64/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
lib/stream.h:215:13: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

FreeBSD 12 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/FBSD12AMD64/config.status/config.status
FreeBSD 12 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/FBSD12AMD64/config.log/config.log.gz

CentOS 8 amd64 build: Failed (click for details) CentOS 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CENTOS8BUILD/config.status/config.status

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

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

CentOS 8 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CENTOS8BUILD/config.log/config.log.gz

Ubuntu 16.04 arm7 build: Failed (click for details) Ubuntu 16.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI101BUILD/config.status/config.status Ubuntu 16.04 arm7 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI101BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW
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-17244/artifact/CI021BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Debian 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI021BUILD/config.status/config.status
Debian 9 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI021BUILD/config.log/config.log.gz

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-17244/artifact/U1804PPC64LEBUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 18.04 ppc64le build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1804PPC64LEBUILD/config.status/config.status
Ubuntu 18.04 ppc64le build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1804PPC64LEBUILD/config.log/config.log.gz

NetBSD 8 amd64 build: Failed (click for details) NetBSD 8 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI012BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
lib/stream.h:215:13: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

NetBSD 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI012BUILD/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-17244/artifact/CI014BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 16.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI014BUILD/config.status/config.status
Ubuntu 16.04 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI014BUILD/config.log/config.log.gz

Ubuntu 18.04 arm7 build: Failed (click for details)

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 18.04 arm7 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U18ARM7BUILD/config.log/config.log.gz
Ubuntu 18.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U18ARM7BUILD/config.status/config.status

Ubuntu 16.04 arm8 build: Failed (click for details)

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 16.04 arm8 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U16ARM8BUILD/config.log/config.log.gz
Ubuntu 16.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U16ARM8BUILD/config.status/config.status

Ubuntu 20.04 amd64 build: Failed (click for details) Ubuntu 20.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U2004AMD64BUILD/config.status/config.status

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

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
 1577 |  STREAM_GETW(note, notew);
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 20.04 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U2004AMD64BUILD/config.log/config.log.gz

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-17244/artifact/U1604I386/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 16.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1604I386/config.status/config.status
Ubuntu 16.04 i386 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1604I386/config.log/config.log.gz

Successful on other platforms/tests
  • CentOS 7 amd64 build

Warnings Generated during build:

Checkout code: Successful with additional warnings
Debian 10 amd64 build: Failed (click for details) Debian 10 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/DEB10BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

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

Debian 8 amd64 build: Failed (click for details) Debian 8 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI008BLD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
lib/stream.h:215:13: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

Debian 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI008BLD/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-17244/artifact/CI009BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
 1577 |  STREAM_GETW(note, notew);
lib/stream.h:215:41: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI009BUILD/config.status/config.status
FreeBSD 11 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI009BUILD/config.log/config.log.gz

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-17244/artifact/F29BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Fedora 29 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/F29BUILD/config.status/config.status
Fedora 29 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/F29BUILD/config.log/config.log.gz

OpenBSD 6 amd64 build: Failed (click for details)

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

gmake  all-am
gmake[1]: Entering directory '/home/ci/cibuild.17244/frr-source'
lib/zclient.c:1577:2: error: incompatible pointer types passing 'enum zapi_ipset_entry_notify_owner *' to parameter of type 'struct stream *' [-Werror,-Wincompatible-pointer-types]
./lib/stream.h:435:21: note: expanded from macro 'STREAM_GETW'
./lib/stream.h:215:41: note: passing argument to parameter 's' here
extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c:1601:2: error: incompatible pointer types passing 'enum zapi_iptable_notify_owner *' to parameter of type 'struct stream *' [-Werror,-Wincompatible-pointer-types]
./lib/stream.h:435:21: note: expanded from macro 'STREAM_GETW'  CC       lib/zlog.lo
./lib/stream.h:215:41: note: passing argument to parameter 's' here

OpenBSD 6 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI011BUILD/config.status/config.status
OpenBSD 6 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI011BUILD/config.log/config.log.gz

Ubuntu 18.04 arm8 build: Failed (click for details) Ubuntu 18.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U18ARM8BUILD/config.status/config.status Ubuntu 18.04 arm8 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U18ARM8BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW
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-17244/artifact/U1804AMD64/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 18.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1804AMD64/config.status/config.status
Ubuntu 18.04 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1804AMD64/config.log/config.log.gz

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-17244/artifact/FBSD12AMD64/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
lib/stream.h:215:13: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

FreeBSD 12 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/FBSD12AMD64/config.status/config.status
FreeBSD 12 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/FBSD12AMD64/config.log/config.log.gz

CentOS 8 amd64 build: Failed (click for details) CentOS 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CENTOS8BUILD/config.status/config.status

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

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

CentOS 8 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CENTOS8BUILD/config.log/config.log.gz

Ubuntu 16.04 arm7 build: Failed (click for details) Ubuntu 16.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI101BUILD/config.status/config.status Ubuntu 16.04 arm7 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI101BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW
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-17244/artifact/CI021BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Debian 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI021BUILD/config.status/config.status
Debian 9 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI021BUILD/config.log/config.log.gz

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-17244/artifact/U1804PPC64LEBUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 18.04 ppc64le build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1804PPC64LEBUILD/config.status/config.status
Ubuntu 18.04 ppc64le build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1804PPC64LEBUILD/config.log/config.log.gz

NetBSD 8 amd64 build: Failed (click for details) NetBSD 8 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI012BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
lib/stream.h:215:13: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

NetBSD 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI012BUILD/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-17244/artifact/CI014BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 16.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI014BUILD/config.status/config.status
Ubuntu 16.04 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/CI014BUILD/config.log/config.log.gz

Ubuntu 18.04 arm7 build: Failed (click for details)

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 18.04 arm7 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U18ARM7BUILD/config.log/config.log.gz
Ubuntu 18.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U18ARM7BUILD/config.status/config.status

Ubuntu 16.04 arm8 build: Failed (click for details)

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 16.04 arm8 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U16ARM8BUILD/config.log/config.log.gz
Ubuntu 16.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U16ARM8BUILD/config.status/config.status

Ubuntu 20.04 amd64 build: Failed (click for details) Ubuntu 20.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U2004AMD64BUILD/config.status/config.status

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

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
 1577 |  STREAM_GETW(note, notew);
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 20.04 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U2004AMD64BUILD/config.log/config.log.gz

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-17244/artifact/U1604I386/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 16.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1604I386/config.status/config.status
Ubuntu 16.04 i386 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17244/artifact/U1604I386/config.log/config.log.gz

Report for zclient.c | 6 issues
===============================================
< ERROR: space prohibited before that close parenthesis ')'
< #1563: FILE: /tmp/f1-14446/zclient.c:1563:
< ERROR: space prohibited before that close parenthesis ')'
< #1586: FILE: /tmp/f1-14446/zclient.c:1586:
< ERROR: space prohibited before that close parenthesis ')'
< #1608: FILE: /tmp/f1-14446/zclient.c:1608:

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Feb 22, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Debian 8 amd64 build: Failed (click for details) Debian 8 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI008BLD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
lib/stream.h:215:13: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

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

Debian 10 amd64 build: Failed (click for details) Debian 10 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/DEB10BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Debian 10 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/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-17245/artifact/CI009BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
 1577 |  STREAM_GETW(note, notew);
lib/stream.h:215:41: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI009BUILD/config.status/config.status
FreeBSD 11 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI009BUILD/config.log/config.log.gz

OpenBSD 6 amd64 build: Failed (click for details)

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

gmake  all-am
gmake[1]: Entering directory '/home/ci/cibuild.17245/frr-source'
lib/zclient.c:1577:2: error: incompatible pointer types passing 'enum zapi_ipset_entry_notify_owner *' to parameter of type 'struct stream *' [-Werror,-Wincompatible-pointer-types]
./lib/stream.h:435:21:   CC       lib/zlog.lo
note: expanded from macro 'STREAM_GETW'
./lib/stream.h:215:41: note: passing argument to parameter 's' here
extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c:1601:2: error: incompatible pointer types passing 'enum zapi_iptable_notify_owner *' to parameter of type 'struct stream *' [-Werror,-Wincompatible-pointer-types]
./lib/stream.h:435:21: note: expanded from macro 'STREAM_GETW'

OpenBSD 6 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI011BUILD/config.status/config.status
OpenBSD 6 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI011BUILD/config.log/config.log.gz

Ubuntu 18.04 arm8 build: Failed (click for details) Ubuntu 18.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U18ARM8BUILD/config.status/config.status Ubuntu 18.04 arm8 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U18ARM8BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW
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-17245/artifact/CI014BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 16.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI014BUILD/config.status/config.status
Ubuntu 16.04 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI014BUILD/config.log/config.log.gz

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-17245/artifact/U1804AMD64/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 18.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U1804AMD64/config.status/config.status
Ubuntu 18.04 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U1804AMD64/config.log/config.log.gz

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-17245/artifact/FBSD12AMD64/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
lib/stream.h:215:13: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

FreeBSD 12 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/FBSD12AMD64/config.status/config.status
FreeBSD 12 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/FBSD12AMD64/config.log/config.log.gz

CentOS 8 amd64 build: Failed (click for details) CentOS 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CENTOS8BUILD/config.status/config.status

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

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

CentOS 8 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CENTOS8BUILD/config.log/config.log.gz

Ubuntu 16.04 arm7 build: Failed (click for details) Ubuntu 16.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI101BUILD/config.status/config.status Ubuntu 16.04 arm7 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI101BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW
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-17245/artifact/U1804PPC64LEBUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 18.04 ppc64le build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U1804PPC64LEBUILD/config.status/config.status
Ubuntu 18.04 ppc64le build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U1804PPC64LEBUILD/config.log/config.log.gz

Ubuntu 20.04 amd64 build: Failed (click for details) Ubuntu 20.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U2004AMD64BUILD/config.status/config.status

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

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
 1577 |  STREAM_GETW(note, notew);
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 20.04 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U2004AMD64BUILD/config.log/config.log.gz

Ubuntu 18.04 arm7 build: Failed (click for details)

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 18.04 arm7 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U18ARM7BUILD/config.log/config.log.gz
Ubuntu 18.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U18ARM7BUILD/config.status/config.status

NetBSD 8 amd64 build: Failed (click for details) NetBSD 8 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI012BUILD/config.log/config.log.gz

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function 'zapi_ipset_entry_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro 'STREAM_GETW'
lib/stream.h:215:13: note: expected 'struct stream *' but argument is of type 'enum zapi_ipset_entry_notify_owner *'
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function 'zapi_iptable_notify_decode':
lib/stream.h:435:21: error: passing argument 1 of 'stream_getw2' from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro 'STREAM_GETW'

NetBSD 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/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-17245/artifact/CI021BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Debian 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI021BUILD/config.status/config.status
Debian 9 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/CI021BUILD/config.log/config.log.gz

Ubuntu 16.04 arm8 build: Failed (click for details)

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

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 16.04 arm8 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U16ARM8BUILD/config.log/config.log.gz
Ubuntu 16.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U16ARM8BUILD/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-17245/artifact/F29BUILD/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:41: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Fedora 29 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/F29BUILD/config.status/config.status
Fedora 29 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/F29BUILD/config.log/config.log.gz

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-17245/artifact/U1604I386/ErrorLog/log_make.txt)

In file included from lib/zclient.c:25:0:
lib/zclient.c: In function zapi_ipset_entry_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1577:2: note: in expansion of macro STREAM_GETW
lib/stream.h:215:13: note: expected struct stream * but argument is of type enum zapi_ipset_entry_notify_owner *
 extern bool stream_getw2(struct stream *s, uint16_t *word);
lib/zclient.c: In function zapi_iptable_notify_decode:
lib/stream.h:435:21: error: passing argument 1 of stream_getw2 from incompatible pointer type [-Werror=incompatible-pointer-types]
lib/zclient.c:1601:2: note: in expansion of macro STREAM_GETW

Ubuntu 16.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U1604I386/config.status/config.status
Ubuntu 16.04 i386 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-17245/artifact/U1604I386/config.log/config.log.gz

Successful on other platforms/tests
  • CentOS 7 amd64 build

@LabN-CI
Copy link
Collaborator

LabN-CI commented Feb 22, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 6f44903
Date 02/22/2021
Start 09:30:36
Finish 10:10:12
Run-Time 39:36
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-02-22-09:30:36.txt
Log autoscript-2021-02-22-09:31:41.log.bz2
Memory 501 485 428

For details, please contact louberger

@LabN-CI
Copy link
Collaborator

LabN-CI commented Feb 22, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 7046d80
Date 02/22/2021
Start 11:35:10
Finish 12:14:32
Run-Time 39:22
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-02-22-11:35:10.txt
Log autoscript-2021-02-22-11:36:10.log.bz2
Memory 500 504 424

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Feb 22, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

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

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


CLANG Static Analyzer Summary

  • Github Pull Request 8124, comparing to Git base SHA fa17cdc
  • Base image data for Git fa17cdc does not exist - compare skipped

4 Static Analyzer issues remaining.

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

@Jafaral Jafaral changed the title move netfilter contexts to zebra dplane zebra: move netfilter contexts to zebra dplane Feb 24, 2021
ctx, i));
}
}
ret = hook_call(zebra_pbr_iptable_update, mode, &ipt);
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see an implementation of this in the code, just these hook calls - how are these objects being programmed?

Copy link
Member Author

Choose a reason for hiding this comment

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

there was an old pull request proposed that was relying on shell scripts.
obviously, because that was not an ABI API, the pull request was refused, though I was confident.

like what has been done for FPM, I think we have to prepare the zebra_dplane module handle queries that are not purely netlink based. 2 examples:

  • this hook script
  • as an other subject, zebra dplane should handle "ip forwarding" vty call. today, onlinux we use fopen().. but I think this should be also handled in zebra dplane too.

struct dplane_ctx_rule old;
};

struct dplane_netfilter_info {
Copy link
Contributor

Choose a reason for hiding this comment

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

It might clean up the accessor apis if this just held a zebra_pbr_ipset_entry and maybe _table, instead of a large number of individual attributes?

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually, I dont think; because when you handle ipset attributes, you may need to know on which iptable entry it is referenced. This is why I reused the same structure to handle both ipset and iptable objects.
any objections?

Copy link
Contributor

Choose a reason for hiding this comment

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

what I meant was that you've got code that moves one attribute at a time to 'init' the fields here, and then accessors that access one field at a time to reconstruct ... an ipset, iptable, etc for processing. if you just did a union of the three structs here, populated them directly in the 'init' step, and then had three accessors to re-populate them, you'd save a lot of lines? you might still need special handling for things like the array of names, but you'd reduce the footprint quite a bit.

Copy link
Member Author

Choose a reason for hiding this comment

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

ok, I got what you mean.
let restart from scratch by using 3 new apis :
dplane_iptable_get()
dplane_ipset_get()
dplane_ipset_entry_get()

dplane_ctx_rule_get_dst_ip(const struct zebra_dplane_ctx *ctx);
const struct prefix *
dplane_ctx_rule_get_old_dst_ip(const struct zebra_dplane_ctx *ctx);
/* Accessors for policy based routing iptable information */
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment here about attribute-by-attribute accessors: wouldn't it be cleaner to just have a get_pbr_ipset() accessor, a _get_pbr_iptable() accessor, that gets a group of values into the pbr struct at once?

Copy link
Contributor

Choose a reason for hiding this comment

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

again, at the very least, wouldn't it make more sense to have more compact accessors - at least that would encapsulate the code required to init the pbr structs?

Copy link
Contributor

Choose a reason for hiding this comment

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

hmm, no, I didn't mean "get a pointer from inside the context" - I just meant "load up a pbr struct from info inside the context" - like:

bool dplane_ctx_get_pbr_iptable(const struct zebra_dplane_ctx *ctx,
                                struct zebra_pbr_iptable *table);

You can store the bits and pieces inside the context in various ways, but this lets you extract them in the way that is most meaningful and compact?

Copy link
Member Author

Choose a reason for hiding this comment

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

ok, I tried to reflect this in the new proposed pull request .

zebra/zapi_msg.h Outdated
extern void zsend_iptable_notify_owner(struct zebra_pbr_iptable *iptable,
enum zapi_iptable_notify_owner note);

extern void zsend_netfilter_notify_owner(const struct zebra_dplane_ctx *ctx,
Copy link
Contributor

Choose a reason for hiding this comment

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

can 'ctx' be 'const' here?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think yes, like for zsend_rule_notify_owner.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Feb 25, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 65f0ef2
Date 02/25/2021
Start 11:21:06
Finish 12:00:30
Run-Time 39:24
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-02-25-11:21:06.txt
Log autoscript-2021-02-25-11:22:08.log.bz2
Memory 479 488 427

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Feb 25, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Get source / Pull Request: Successful

Building Stage: Successful

Basic Tests: Failed

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

CLANG Static Analyzer Summary

  • Github Pull Request 8124, comparing to Git base SHA 30b3fb2
  • Base image data for Git 30b3fb2 does not exist - compare skipped

4 Static Analyzer issues remaining.

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

struct dplane_ctx_rule old;
};

struct dplane_netfilter_info {
Copy link
Contributor

Choose a reason for hiding this comment

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

what I meant was that you've got code that moves one attribute at a time to 'init' the fields here, and then accessors that access one field at a time to reconstruct ... an ipset, iptable, etc for processing. if you just did a union of the three structs here, populated them directly in the 'init' step, and then had three accessors to re-populate them, you'd save a lot of lines? you might still need special handling for things like the array of names, but you'd reduce the footprint quite a bit.

dplane_ctx_rule_get_dst_ip(const struct zebra_dplane_ctx *ctx);
const struct prefix *
dplane_ctx_rule_get_old_dst_ip(const struct zebra_dplane_ctx *ctx);
/* Accessors for policy based routing iptable information */
Copy link
Contributor

Choose a reason for hiding this comment

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

again, at the very least, wouldn't it make more sense to have more compact accessors - at least that would encapsulate the code required to init the pbr structs?

@pguibert6WIND pguibert6WIND force-pushed the ipsec_iptable_dplane branch from 65f0ef2 to 85e7e3e Compare March 1, 2021 12:57
Copy link

@polychaeta polychaeta left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution to FRR!

Click for style suggestions

To apply these suggestions:

curl -s https://gist.githubusercontent.com/polychaeta/0db356c29dd5ff300a9299edd3a58fd0/raw/6e7950099b329e037b443f3abd525e233e8af2b3/cr_8124_1614603476.diff | git apply

diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index fa994638b..7ae25f257 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -866,7 +866,8 @@ void zsend_rule_notify_owner(const struct zebra_dplane_ctx *ctx,
 	zserv_send_message(client, s);
 }
 
-void zsend_iptable_notify_owner(const struct zebra_dplane_ctx *ctx, uint16_t note)
+void zsend_iptable_notify_owner(const struct zebra_dplane_ctx *ctx,
+				uint16_t note)
 {
 	struct listnode *node;
 	struct zserv *client;
@@ -900,8 +901,7 @@ void zsend_iptable_notify_owner(const struct zebra_dplane_ctx *ctx, uint16_t not
 	zserv_send_message(client, s);
 }
 
-void zsend_ipset_notify_owner(const struct zebra_dplane_ctx *ctx,
-			      uint16_t note)
+void zsend_ipset_notify_owner(const struct zebra_dplane_ctx *ctx, uint16_t note)
 {
 	struct listnode *node;
 	struct zserv *client;
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c
index 9f8429b60..148f60efe 100644
--- a/zebra/zebra_dplane.c
+++ b/zebra/zebra_dplane.c
@@ -682,10 +682,12 @@ static void dplane_ctx_free_internal(struct zebra_dplane_ctx *ctx)
 			struct listnode *node, *nnode;
 			char *ifname;
 
-			for (ALL_LIST_ELEMENTS(ctx->u.iptable.interface_name_list,
-					       node, nnode, ifname)) {
-				LISTNODE_DETACH(ctx->u.iptable.interface_name_list,
-						node);
+			for (ALL_LIST_ELEMENTS(
+				     ctx->u.iptable.interface_name_list, node,
+				     nnode, ifname)) {
+				LISTNODE_DETACH(
+					ctx->u.iptable.interface_name_list,
+					node);
 				XFREE(MTYPE_DP_NETFILTER, ifname);
 			}
 			list_delete(&ctx->u.iptable.interface_name_list);
@@ -1903,8 +1905,7 @@ dplane_ctx_iptable_get(const struct zebra_dplane_ctx *ctx)
 
 	return (struct zebra_pbr_iptable *)&ctx->u.iptable;
 }
-struct zebra_pbr_ipset *
-dplane_ctx_ipset_get(const struct zebra_dplane_ctx *ctx)
+struct zebra_pbr_ipset *dplane_ctx_ipset_get(const struct zebra_dplane_ctx *ctx)
 {
 	DPLANE_CTX_VALID(ctx);
 
@@ -2582,12 +2583,15 @@ dplane_ctx_ipset_entry_init(struct zebra_dplane_ctx *ctx, enum dplane_op_e op,
 
 	ctx->zd_vrf_id = ipset->vrf_id;
 
-	memcpy(&ctx->u.ipset_entry, ipset_entry, sizeof(struct zebra_pbr_ipset_entry));
+	memcpy(&ctx->u.ipset_entry, ipset_entry,
+	       sizeof(struct zebra_pbr_ipset_entry));
 	ctx->u.ipset_entry.backpointer = NULL;
-	ctx->u.ipset_entry.info = XCALLOC(MTYPE_DP_NETFILTER,
-					  sizeof(struct zebra_pbr_ipset_backpointer_info));
+	ctx->u.ipset_entry.info =
+		XCALLOC(MTYPE_DP_NETFILTER,
+			sizeof(struct zebra_pbr_ipset_backpointer_info));
 	ctx->u.ipset_entry.info->type = ipset->type;
-	memcpy(ctx->u.ipset_entry.info->ipset_name, ipset->ipset_name, ZEBRA_IPSET_NAME_SIZE);
+	memcpy(ctx->u.ipset_entry.info->ipset_name, ipset->ipset_name,
+	       ZEBRA_IPSET_NAME_SIZE);
 
 	return AOK;
 }
@@ -4439,42 +4443,37 @@ static void kernel_dplane_log_detail(struct zebra_dplane_ctx *ctx)
 		break;
 
 	case DPLANE_OP_IPTABLE_ADD:
-	case DPLANE_OP_IPTABLE_DELETE:
-		{
-			struct zebra_pbr_iptable *ipt = dplane_ctx_iptable_get(ctx);
-			uint32_t unique = 0;
-
-			if (ipt)
-				unique = ipt->unique;
-			zlog_debug("Dplane iptable update op %s, unique(%u), ctx %p",
-				   dplane_op2str(dplane_ctx_get_op(ctx)), unique, ctx);
-		}
-		break;
+	case DPLANE_OP_IPTABLE_DELETE: {
+		struct zebra_pbr_iptable *ipt = dplane_ctx_iptable_get(ctx);
+		uint32_t unique = 0;
+
+		if (ipt)
+			unique = ipt->unique;
+		zlog_debug("Dplane iptable update op %s, unique(%u), ctx %p",
+			   dplane_op2str(dplane_ctx_get_op(ctx)), unique, ctx);
+	} break;
 	case DPLANE_OP_IPSET_ADD:
-	case DPLANE_OP_IPSET_DELETE:
-		{
-			struct zebra_pbr_ipset *ipset = dplane_ctx_ipset_get(ctx);
-			uint32_t unique = 0;
-
-			if (ipset)
-				unique = ipset->unique;
-			zlog_debug("Dplane ipset update op %s, unique(%u), ctx %p",
-				   dplane_op2str(dplane_ctx_get_op(ctx)), unique, ctx);
-		}
-		break;
+	case DPLANE_OP_IPSET_DELETE: {
+		struct zebra_pbr_ipset *ipset = dplane_ctx_ipset_get(ctx);
+		uint32_t unique = 0;
+
+		if (ipset)
+			unique = ipset->unique;
+		zlog_debug("Dplane ipset update op %s, unique(%u), ctx %p",
+			   dplane_op2str(dplane_ctx_get_op(ctx)), unique, ctx);
+	} break;
 	case DPLANE_OP_IPSET_ENTRY_ADD:
-	case DPLANE_OP_IPSET_ENTRY_DELETE:
-		{
-			struct zebra_pbr_ipset_entry *ipent = dplane_ctx_ipset_entry_get(ctx);
-			uint32_t unique = 0;
-
-			if (ipent)
-				unique = ipent->unique;
-			zlog_debug(
-				   "Dplane ipset entry update op %s, unique(%u), ctx %p",
-				   dplane_op2str(dplane_ctx_get_op(ctx)), unique, ctx);
-		}
-		break;
+	case DPLANE_OP_IPSET_ENTRY_DELETE: {
+		struct zebra_pbr_ipset_entry *ipent =
+			dplane_ctx_ipset_entry_get(ctx);
+		uint32_t unique = 0;
+
+		if (ipent)
+			unique = ipent->unique;
+		zlog_debug(
+			"Dplane ipset entry update op %s, unique(%u), ctx %p",
+			dplane_op2str(dplane_ctx_get_op(ctx)), unique, ctx);
+	} break;
 	}
 }
 
diff --git a/zebra/zebra_pbr.c b/zebra/zebra_pbr.c
index f7ff44c6c..2fe543af8 100644
--- a/zebra/zebra_pbr.c
+++ b/zebra/zebra_pbr.c
@@ -599,7 +599,8 @@ void zebra_pbr_process_ipset_entry(struct zebra_dplane_ctx *ctx)
 		dplane_ctx_set_status(ctx, ZEBRA_DPLANE_REQUEST_FAILURE);
 		return;
 	}
-	memcpy(&ipset.ipset_name, ipset_entry->info->ipset_name, ZEBRA_IPSET_NAME_SIZE);
+	memcpy(&ipset.ipset_name, ipset_entry->info->ipset_name,
+	       ZEBRA_IPSET_NAME_SIZE);
 	ipset_entry->backpointer = &ipset;
 
 	ret = hook_call(zebra_pbr_ipset_entry_update, mode, ipset_entry);
@@ -865,33 +866,35 @@ void zebra_pbr_dplane_result(struct zebra_dplane_ctx *ctx)
 						     ? ZAPI_RULE_REMOVED
 						     : ZAPI_RULE_FAIL_REMOVE);
 	else if (op == DPLANE_OP_IPTABLE_ADD)
-		zsend_iptable_notify_owner(
-			ctx, res == ZEBRA_DPLANE_REQUEST_SUCCESS
-				? ZAPI_IPTABLE_INSTALLED
-				: ZAPI_IPTABLE_FAIL_INSTALL);
+		zsend_iptable_notify_owner(ctx,
+					   res == ZEBRA_DPLANE_REQUEST_SUCCESS
+						   ? ZAPI_IPTABLE_INSTALLED
+						   : ZAPI_IPTABLE_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPTABLE_DELETE)
-		zsend_iptable_notify_owner(
-			ctx, res == ZEBRA_DPLANE_REQUEST_SUCCESS
-				? ZAPI_IPTABLE_REMOVED
-				: ZAPI_IPTABLE_FAIL_REMOVE);
+		zsend_iptable_notify_owner(ctx,
+					   res == ZEBRA_DPLANE_REQUEST_SUCCESS
+						   ? ZAPI_IPTABLE_REMOVED
+						   : ZAPI_IPTABLE_FAIL_REMOVE);
 	else if (op == DPLANE_OP_IPSET_ADD)
-		zsend_ipset_notify_owner(ctx, res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					 ? ZAPI_IPSET_INSTALLED
-					 : ZAPI_IPSET_FAIL_INSTALL);
+		zsend_ipset_notify_owner(ctx,
+					 res == ZEBRA_DPLANE_REQUEST_SUCCESS
+						 ? ZAPI_IPSET_INSTALLED
+						 : ZAPI_IPSET_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPSET_DELETE)
-		zsend_ipset_notify_owner(ctx, res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					 ? ZAPI_IPSET_REMOVED
-					 : ZAPI_IPSET_FAIL_REMOVE);
+		zsend_ipset_notify_owner(ctx,
+					 res == ZEBRA_DPLANE_REQUEST_SUCCESS
+						 ? ZAPI_IPSET_REMOVED
+						 : ZAPI_IPSET_FAIL_REMOVE);
 	else if (op == DPLANE_OP_IPSET_ENTRY_ADD)
 		zsend_ipset_entry_notify_owner(
 			ctx, res == ZEBRA_DPLANE_REQUEST_SUCCESS
-				? ZAPI_IPSET_ENTRY_INSTALLED
-				: ZAPI_IPSET_ENTRY_FAIL_INSTALL);
+				     ? ZAPI_IPSET_ENTRY_INSTALLED
+				     : ZAPI_IPSET_ENTRY_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPSET_ENTRY_DELETE) {
 		zsend_ipset_entry_notify_owner(
 			ctx, res == ZEBRA_DPLANE_REQUEST_SUCCESS
-				? ZAPI_IPSET_ENTRY_REMOVED
-				: ZAPI_IPSET_ENTRY_FAIL_REMOVE);
+				     ? ZAPI_IPSET_ENTRY_REMOVED
+				     : ZAPI_IPSET_ENTRY_FAIL_REMOVE);
 	} else
 		flog_err(
 			EC_ZEBRA_PBR_RULE_UPDATE,

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.

@pguibert6WIND pguibert6WIND force-pushed the ipsec_iptable_dplane branch from 85e7e3e to e5cebe3 Compare March 1, 2021 13:23
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/1015f5c06ad8e441a7aeb0c925e0e044/raw/ffa4dad79559993d4fee04adafa2c5dbb7140d36/cr_8124_1614605005.diff | git apply

diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index d403784ab..7ae25f257 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -866,7 +866,8 @@ void zsend_rule_notify_owner(const struct zebra_dplane_ctx *ctx,
 	zserv_send_message(client, s);
 }
 
-void zsend_iptable_notify_owner(const struct zebra_dplane_ctx *ctx, uint16_t note)
+void zsend_iptable_notify_owner(const struct zebra_dplane_ctx *ctx,
+				uint16_t note)
 {
 	struct listnode *node;
 	struct zserv *client;
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c
index 0eeddb391..02d06a039 100644
--- a/zebra/zebra_dplane.c
+++ b/zebra/zebra_dplane.c
@@ -683,8 +683,8 @@ static void dplane_ctx_free_internal(struct zebra_dplane_ctx *ctx)
 			char *ifname;
 
 			for (ALL_LIST_ELEMENTS(
-				     ctx->u.iptable.interface_name_list,
-				     node, nnode, ifname)) {
+				     ctx->u.iptable.interface_name_list, node,
+				     nnode, ifname)) {
 				LISTNODE_DETACH(
 					ctx->u.iptable.interface_name_list,
 					node);
@@ -4466,14 +4466,15 @@ static void kernel_dplane_log_detail(struct zebra_dplane_ctx *ctx)
 	} break;
 	case DPLANE_OP_IPSET_ENTRY_ADD:
 	case DPLANE_OP_IPSET_ENTRY_DELETE: {
-		struct zebra_pbr_ipset_entry *ipent = dplane_ctx_ipset_entry_get(ctx);
+		struct zebra_pbr_ipset_entry *ipent =
+			dplane_ctx_ipset_entry_get(ctx);
 		uint32_t unique = 0;
 
 		if (ipent)
 			unique = ipent->unique;
 		zlog_debug(
-			   "Dplane ipset entry update op %s, unique(%u), ctx %p",
-			   dplane_op2str(dplane_ctx_get_op(ctx)), unique, ctx);
+			"Dplane ipset entry update op %s, unique(%u), ctx %p",
+			dplane_op2str(dplane_ctx_get_op(ctx)), unique, ctx);
 	} break;
 	}
 }
diff --git a/zebra/zebra_pbr.c b/zebra/zebra_pbr.c
index 181adc9f2..e53da5232 100644
--- a/zebra/zebra_pbr.c
+++ b/zebra/zebra_pbr.c
@@ -868,13 +868,13 @@ void zebra_pbr_dplane_result(struct zebra_dplane_ctx *ctx)
 	else if (op == DPLANE_OP_IPTABLE_ADD)
 		zsend_iptable_notify_owner(ctx,
 					   res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					   ? ZAPI_IPTABLE_INSTALLED
-					   : ZAPI_IPTABLE_FAIL_INSTALL);
+						   ? ZAPI_IPTABLE_INSTALLED
+						   : ZAPI_IPTABLE_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPTABLE_DELETE)
 		zsend_iptable_notify_owner(ctx,
 					   res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					   ? ZAPI_IPTABLE_REMOVED
-					   : ZAPI_IPTABLE_FAIL_REMOVE);
+						   ? ZAPI_IPTABLE_REMOVED
+						   : ZAPI_IPTABLE_FAIL_REMOVE);
 	else if (op == DPLANE_OP_IPSET_ADD)
 		zsend_ipset_notify_owner(ctx,
 					 res == ZEBRA_DPLANE_REQUEST_SUCCESS

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 Mar 1, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 85e7e3e
Date 03/01/2021
Start 08:01:05
Finish 08:40:25
Run-Time 39:20
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-03-01-08:01:05.txt
Log autoscript-2021-03-01-08:02:09.log.bz2
Memory 497 503 428

For details, please contact louberger

@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 1, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 e5cebe3
Date 03/01/2021
Start 09:25:29
Finish 10:04:41
Run-Time 39:12
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-03-01-09:25:29.txt
Log autoscript-2021-03-01-09:26:30.log.bz2
Memory 501 509 427

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 1, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Get source / Pull Request: Successful

Building Stage: Successful

Basic Tests: Failed

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

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

Topology Tests failed for Topotests Ubuntu 16.04 i386 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x80434) [0xb7e5a434]
ZEBRA: [0xb7f19d0c]
ZEBRA: [0xb7f19cf5]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(gsignal+0x39) [0xb7c10eb9]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(abort+0x157) [0xb7c12417]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x80455) [0xb7e5a455]
ZEBRA: [0xb7f19d0c]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(malloc_usable_size+0x32) [0xb7c56c62]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(qfree+0x35) [0xb7e34ee5]
ZEBRA: /usr/lib/frr/zebra(+0x582ad) [0x4af2ad]
ZEBRA: /usr/lib/frr/zebra(+0x5846d) [0x4af46d]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x4d9286]
ZEBRA: /usr/lib/frr/zebra(+0x87dc3) [0x4dedc3]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(thread_call+0x59) [0xb7e69c29]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(frr_run+0xd9) [0xb7e2cab9]
ZEBRA: /usr/lib/frr/zebra(main+0x3fb) [0x48489b]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7) [0xb7bfd647]
ZEBRA: /usr/lib/frr/zebra(+0x2e527) [0x485527]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()
2021/03/01 14:35:26 ZEBRA: unlink logbuf: No such file or directory (2)

2021-03-01 14:35:26,649 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

Topotests Ubuntu 18.04 arm8 part 3: Failed (click for details) Topotests Ubuntu 18.04 arm8 part 3: No useful log found
CentOS 7 rpm pkg check: Failed (click for details) CentOS 7 rpm pkg check: No useful log found
Topotests Ubuntu 18.04 amd64 part 3: Failed (click for details)

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

Topology Tests failed for Topotests Ubuntu 18.04 amd64 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614605773 (si_addr 0x6f00004e30, PC 0x7fb51161ffb7); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7fb51207fa07]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7fb51207fbed]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa2d64) [0x7fb5120a6d64]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980) [0x7fb5119e4980]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fb51161ffb7]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7fb511621921]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x89967) [0x7fb51166a967]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x909da) [0x7fb5116719da]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x58c) [0x7fb511678fbc]
ZEBRA: /usr/lib/frr/zebra(+0x897ab) [0x5612aa0da7ab]
ZEBRA: /usr/lib/frr/zebra(+0x89b64) [0x5612aa0dab64]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0x96) [0x5612aa103926]
ZEBRA: /usr/lib/frr/zebra(+0xb8714) [0x5612aa109714]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x56) [0x7fb5120b64f6]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7fb51207b7b8]
ZEBRA: /usr/lib/frr/zebra(main+0x3a4) [0x5612aa0b11b4]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fb511602bf7]
ZEBRA: /usr/lib/frr/zebra(_start+0x2a) [0x5612aa0b1e3a]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-01 13:36:14,130 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:46:47 BGP: vty[??]@> enable
2021/03/01 13:46:47 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 13:46:47 BGP: vty[??]@> enable
2021/03/01 13:46:47 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 13:46:47 BGP: vty[??]@> enable
2021/03/01 13:46:47 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 13:46:48 BGP: vty[??]@> enable
2021/03/01 13:46:48 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 13:46:48 BGP: vty[??]@> enable
2021/03/01 13:46:48 BGP: vty[??]@> enable
2021/03/01 13:46:48 BGP: vty[??]@> enable
2021/03/01 13:46:49 BGP: vty[??]@> enable
2021/03/01 13:46:54 BGP: vty[??]@> enable
2021/03/01 13:46:54 BGP: vty[??]@> enable
2021/03/01 13:46:55 BGP: vty[??]@> enable
2021/03/01 13:46:55 BGP: vty[??]@> enable
2021/03/01 13:46:55 BGP: vty[??]@> enable
2021/03/01 13:47:00 BGP: vty[??]@> enable
2021/03/01 13:47:00 BGP: vty[??]@# do write memory


r2: Daemon bgpd not running

From frr r2 bgpd log file:
2021/03/01 13:48:16 BGP: vty[??]@> enable
2021/03/01 13:48:16 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart json
2021/03/01 13:48:16 BGP: vty[??]@> enable
2021/03/01 13:48:16 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart 
2021/03/01 13:48:16 BGP: vty[??]@> enable
2021/03/01 13:48:16 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart json
2021/03/01 13:48:16 BGP: vty[??]@> enable
2021/03/01 13:48:16 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart 
2021/03/01 13:48:17 BGP: vty[??]@> enable
2021/03/01 13:48:17 BGP: vty[??]@> enable
2021/03/01 13:48:17 BGP: vty[??]@> enable
2021/03/01 13:48:17 BGP: vty[??]@> enable
2021/03/01 13:48:23 BGP: vty[??]@> enable
2021/03/01 13:48:23 BGP: vty[??]@> enable
2021/03/01 13:48:23 BGP: vty[??]@> enable
2021/03/01 13:48:23 BGP: vty[??]@> enable
2021/03/01 13:48:23 BGP: vty[??]@> enable
2021/03/01 13:48:29 BGP: vty[??]@> enable
2021/03/01 13:48:29 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:49:56 BGP: vty[??]@> enable
2021/03/01 13:49:56 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 13:49:56 BGP: vty[??]@> enable
2021/03/01 13:49:56 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 13:49:56 BGP: vty[??]@> enable
2021/03/01 13:49:56 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 13:49:56 BGP: vty[??]@> enable
2021/03/01 13:49:56 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 13:49:57 BGP: vty[??]@> enable
2021/03/01 13:49:57 BGP: vty[??]@> enable
2021/03/01 13:49:57 BGP: vty[??]@> enable
2021/03/01 13:49:57 BGP: vty[??]@> enable
2021/03/01 13:50:03 BGP: vty[??]@> enable
2021/03/01 13:50:03 BGP: vty[??]@> enable
2021/03/01 13:50:03 BGP: vty[??]@> enable
2021/03/01 13:50:03 BGP: vty[??]@> enable
2021/03/01 13:50:04 BGP: vty[??]@> enable
2021/03/01 13:50:09 BGP: vty[??]@> enable
2021/03/01 13:50:09 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:50:24 BGP: vty[??]@(config)# log commands
2021/03/01 13:50:24 BGP: vty[??]@(config)# log file bgpd.log
2021/03/01 13:50:24 BGP: vty[??]@> enable
2021/03/01 13:50:24 BGP: vty[??]@# do show logging
2021/03/01 13:50:25 BGP: vty[??]@> enable
2021/03/01 13:50:25 BGP: vty[??]@# do write terminal

2021/03/01 13:50:25 BGP: vty[??]@> enable
2021/03/01 13:50:25 BGP: vty[??]@# configure terminal
2021/03/01 13:50:25 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/01 13:50:25 BGP: vty[??]@(config)# no log commands

2021/03/01 13:50:26 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 13:50:26 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 13:50:27 BGP: Configuration Read in Took: 00:00:01
2021/03/01 13:50:29 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 13:50:29 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 13:51:00 BGP: Configuration Read in Took: 00:00:00
2021/03/01 13:51:03 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 13:51:06 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:52:17 BGP: vty[??]@> enable
2021/03/01 13:52:17 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 13:52:18 BGP: vty[??]@> enable
2021/03/01 13:52:18 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 13:52:18 BGP: vty[??]@> enable
2021/03/01 13:52:18 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 13:52:18 BGP: vty[??]@> enable
2021/03/01 13:52:18 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 13:52:19 BGP: vty[??]@> enable
2021/03/01 13:52:19 BGP: vty[??]@> enable
2021/03/01 13:52:19 BGP: vty[??]@> enable
2021/03/01 13:52:19 BGP: vty[??]@> enable
2021/03/01 13:52:25 BGP: vty[??]@> enable
2021/03/01 13:52:25 BGP: vty[??]@> enable
2021/03/01 13:52:25 BGP: vty[??]@> enable
2021/03/01 13:52:25 BGP: vty[??]@> enable
2021/03/01 13:52:25 BGP: vty[??]@> enable
2021/03/01 13:52:31 BGP: vty[??]@> enable
2021/03/01 13:52:31 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:53:25 BGP: vty[??]@> enable
2021/03/01 13:53:25 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 13:53:25 BGP: vty[??]@> enable
2021/03/01 13:53:25 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 13:53:26 BGP: vty[??]@> enable
2021/03/01 13:53:26 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 13:53:26 BGP: vty[??]@> enable
2021/03/01 13:53:26 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 13:53:26 BGP: vty[??]@> enable
2021/03/01 13:53:26 BGP: vty[??]@> enable
2021/03/01 13:53:26 BGP: vty[??]@> enable
2021/03/01 13:53:27 BGP: vty[??]@> enable
2021/03/01 13:53:32 BGP: vty[??]@> enable
2021/03/01 13:53:32 BGP: vty[??]@> enable
2021/03/01 13:53:32 BGP: vty[??]@> enable
2021/03/01 13:53:33 BGP: vty[??]@> enable
2021/03/01 13:53:33 BGP: vty[??]@> enable
2021/03/01 13:53:38 BGP: vty[??]@> enable
2021/03/01 13:53:38 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:53:53 BGP: [EC 100663299] buffer_flush_available: write error on fd 2: Bad file descriptor
2021/03/01 13:53:53 BGP: vty[??]@> enable
2021/03/01 13:53:53 BGP: vty[??]@# configure terminal
2021/03/01 13:53:53 BGP: vty[??]@(config)# log commands
2021/03/01 13:53:53 BGP: vty[??]@(config)# log file bgpd.log
2021/03/01 13:53:53 BGP: vty[??]@> enable
2021/03/01 13:53:53 BGP: vty[??]@# do show logging
2021/03/01 13:53:54 BGP: vty[??]@> enable
2021/03/01 13:53:54 BGP: vty[??]@# do write terminal

2021/03/01 13:53:54 BGP: vty[??]@> enable
2021/03/01 13:53:54 BGP: vty[??]@# configure terminal
2021/03/01 13:53:54 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/01 13:53:54 BGP: vty[??]@(config)# no log commands

2021/03/01 13:53:55 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 13:53:55 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 13:53:56 BGP: Configuration Read in Took: 00:00:00
2021/03/01 13:53:58 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 13:53:58 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default

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

Topotests Ubuntu 16.04 amd64 part 3: Failed (click for details)

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

Topology Tests failed for Topotests Ubuntu 16.04 amd64 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614605701 (si_addr 0x6f00004047, PC 0x7f3042b22438); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7f3043562277]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7f304356246d]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa2405) [0x7f3043589405]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f3042ec8390]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f3042b22438]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f3042b2403a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x777fa) [0x7f3042b647fa]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x8038a) [0x7f3042b6d38a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c) [0x7f3042b7158c]
ZEBRA: /usr/lib/frr/zebra(+0x88933) [0x562d4abf3933]
ZEBRA: /usr/lib/frr/zebra(+0x88c89) [0x562d4abf3c89]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x562d4ac1d0d6]
ZEBRA: /usr/lib/frr/zebra(+0xb78ec) [0x562d4ac228ec]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x60) [0x7f3043598c10]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7f304355df68]
ZEBRA: /usr/lib/frr/zebra(main+0x38f) [0x562d4abc9f3f]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f3042b0d840]
ZEBRA: /usr/lib/frr/zebra(_start+0x29) [0x562d4abcabb9]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-01 14:35:01,839 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

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

Warnings Generated during build:

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

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

Topology Tests failed for Topotests Ubuntu 16.04 i386 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x80434) [0xb7e5a434]
ZEBRA: [0xb7f19d0c]
ZEBRA: [0xb7f19cf5]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(gsignal+0x39) [0xb7c10eb9]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(abort+0x157) [0xb7c12417]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x80455) [0xb7e5a455]
ZEBRA: [0xb7f19d0c]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(malloc_usable_size+0x32) [0xb7c56c62]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(qfree+0x35) [0xb7e34ee5]
ZEBRA: /usr/lib/frr/zebra(+0x582ad) [0x4af2ad]
ZEBRA: /usr/lib/frr/zebra(+0x5846d) [0x4af46d]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x4d9286]
ZEBRA: /usr/lib/frr/zebra(+0x87dc3) [0x4dedc3]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(thread_call+0x59) [0xb7e69c29]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(frr_run+0xd9) [0xb7e2cab9]
ZEBRA: /usr/lib/frr/zebra(main+0x3fb) [0x48489b]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7) [0xb7bfd647]
ZEBRA: /usr/lib/frr/zebra(+0x2e527) [0x485527]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()
2021/03/01 14:35:26 ZEBRA: unlink logbuf: No such file or directory (2)

2021-03-01 14:35:26,649 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

Topotests Ubuntu 18.04 arm8 part 3: Failed (click for details) Topotests Ubuntu 18.04 arm8 part 3: No useful log found
CentOS 7 rpm pkg check: Failed (click for details) CentOS 7 rpm pkg check: No useful log found
Topotests Ubuntu 18.04 amd64 part 3: Failed (click for details)

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

Topology Tests failed for Topotests Ubuntu 18.04 amd64 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614605773 (si_addr 0x6f00004e30, PC 0x7fb51161ffb7); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7fb51207fa07]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7fb51207fbed]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa2d64) [0x7fb5120a6d64]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980) [0x7fb5119e4980]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fb51161ffb7]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7fb511621921]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x89967) [0x7fb51166a967]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x909da) [0x7fb5116719da]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x58c) [0x7fb511678fbc]
ZEBRA: /usr/lib/frr/zebra(+0x897ab) [0x5612aa0da7ab]
ZEBRA: /usr/lib/frr/zebra(+0x89b64) [0x5612aa0dab64]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0x96) [0x5612aa103926]
ZEBRA: /usr/lib/frr/zebra(+0xb8714) [0x5612aa109714]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x56) [0x7fb5120b64f6]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7fb51207b7b8]
ZEBRA: /usr/lib/frr/zebra(main+0x3a4) [0x5612aa0b11b4]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fb511602bf7]
ZEBRA: /usr/lib/frr/zebra(_start+0x2a) [0x5612aa0b1e3a]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-01 13:36:14,130 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:46:47 BGP: vty[??]@> enable
2021/03/01 13:46:47 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 13:46:47 BGP: vty[??]@> enable
2021/03/01 13:46:47 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 13:46:47 BGP: vty[??]@> enable
2021/03/01 13:46:47 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 13:46:48 BGP: vty[??]@> enable
2021/03/01 13:46:48 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 13:46:48 BGP: vty[??]@> enable
2021/03/01 13:46:48 BGP: vty[??]@> enable
2021/03/01 13:46:48 BGP: vty[??]@> enable
2021/03/01 13:46:49 BGP: vty[??]@> enable
2021/03/01 13:46:54 BGP: vty[??]@> enable
2021/03/01 13:46:54 BGP: vty[??]@> enable
2021/03/01 13:46:55 BGP: vty[??]@> enable
2021/03/01 13:46:55 BGP: vty[??]@> enable
2021/03/01 13:46:55 BGP: vty[??]@> enable
2021/03/01 13:47:00 BGP: vty[??]@> enable
2021/03/01 13:47:00 BGP: vty[??]@# do write memory


r2: Daemon bgpd not running

From frr r2 bgpd log file:
2021/03/01 13:48:16 BGP: vty[??]@> enable
2021/03/01 13:48:16 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart json
2021/03/01 13:48:16 BGP: vty[??]@> enable
2021/03/01 13:48:16 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart 
2021/03/01 13:48:16 BGP: vty[??]@> enable
2021/03/01 13:48:16 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart json
2021/03/01 13:48:16 BGP: vty[??]@> enable
2021/03/01 13:48:16 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart 
2021/03/01 13:48:17 BGP: vty[??]@> enable
2021/03/01 13:48:17 BGP: vty[??]@> enable
2021/03/01 13:48:17 BGP: vty[??]@> enable
2021/03/01 13:48:17 BGP: vty[??]@> enable
2021/03/01 13:48:23 BGP: vty[??]@> enable
2021/03/01 13:48:23 BGP: vty[??]@> enable
2021/03/01 13:48:23 BGP: vty[??]@> enable
2021/03/01 13:48:23 BGP: vty[??]@> enable
2021/03/01 13:48:23 BGP: vty[??]@> enable
2021/03/01 13:48:29 BGP: vty[??]@> enable
2021/03/01 13:48:29 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:49:56 BGP: vty[??]@> enable
2021/03/01 13:49:56 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 13:49:56 BGP: vty[??]@> enable
2021/03/01 13:49:56 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 13:49:56 BGP: vty[??]@> enable
2021/03/01 13:49:56 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 13:49:56 BGP: vty[??]@> enable
2021/03/01 13:49:56 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 13:49:57 BGP: vty[??]@> enable
2021/03/01 13:49:57 BGP: vty[??]@> enable
2021/03/01 13:49:57 BGP: vty[??]@> enable
2021/03/01 13:49:57 BGP: vty[??]@> enable
2021/03/01 13:50:03 BGP: vty[??]@> enable
2021/03/01 13:50:03 BGP: vty[??]@> enable
2021/03/01 13:50:03 BGP: vty[??]@> enable
2021/03/01 13:50:03 BGP: vty[??]@> enable
2021/03/01 13:50:04 BGP: vty[??]@> enable
2021/03/01 13:50:09 BGP: vty[??]@> enable
2021/03/01 13:50:09 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:50:24 BGP: vty[??]@(config)# log commands
2021/03/01 13:50:24 BGP: vty[??]@(config)# log file bgpd.log
2021/03/01 13:50:24 BGP: vty[??]@> enable
2021/03/01 13:50:24 BGP: vty[??]@# do show logging
2021/03/01 13:50:25 BGP: vty[??]@> enable
2021/03/01 13:50:25 BGP: vty[??]@# do write terminal

2021/03/01 13:50:25 BGP: vty[??]@> enable
2021/03/01 13:50:25 BGP: vty[??]@# configure terminal
2021/03/01 13:50:25 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/01 13:50:25 BGP: vty[??]@(config)# no log commands

2021/03/01 13:50:26 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 13:50:26 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 13:50:27 BGP: Configuration Read in Took: 00:00:01
2021/03/01 13:50:29 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 13:50:29 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 13:51:00 BGP: Configuration Read in Took: 00:00:00
2021/03/01 13:51:03 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 13:51:06 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:52:17 BGP: vty[??]@> enable
2021/03/01 13:52:17 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 13:52:18 BGP: vty[??]@> enable
2021/03/01 13:52:18 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 13:52:18 BGP: vty[??]@> enable
2021/03/01 13:52:18 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 13:52:18 BGP: vty[??]@> enable
2021/03/01 13:52:18 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 13:52:19 BGP: vty[??]@> enable
2021/03/01 13:52:19 BGP: vty[??]@> enable
2021/03/01 13:52:19 BGP: vty[??]@> enable
2021/03/01 13:52:19 BGP: vty[??]@> enable
2021/03/01 13:52:25 BGP: vty[??]@> enable
2021/03/01 13:52:25 BGP: vty[??]@> enable
2021/03/01 13:52:25 BGP: vty[??]@> enable
2021/03/01 13:52:25 BGP: vty[??]@> enable
2021/03/01 13:52:25 BGP: vty[??]@> enable
2021/03/01 13:52:31 BGP: vty[??]@> enable
2021/03/01 13:52:31 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:53:25 BGP: vty[??]@> enable
2021/03/01 13:53:25 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 13:53:25 BGP: vty[??]@> enable
2021/03/01 13:53:25 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 13:53:26 BGP: vty[??]@> enable
2021/03/01 13:53:26 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 13:53:26 BGP: vty[??]@> enable
2021/03/01 13:53:26 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 13:53:26 BGP: vty[??]@> enable
2021/03/01 13:53:26 BGP: vty[??]@> enable
2021/03/01 13:53:26 BGP: vty[??]@> enable
2021/03/01 13:53:27 BGP: vty[??]@> enable
2021/03/01 13:53:32 BGP: vty[??]@> enable
2021/03/01 13:53:32 BGP: vty[??]@> enable
2021/03/01 13:53:32 BGP: vty[??]@> enable
2021/03/01 13:53:33 BGP: vty[??]@> enable
2021/03/01 13:53:33 BGP: vty[??]@> enable
2021/03/01 13:53:38 BGP: vty[??]@> enable
2021/03/01 13:53:38 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 13:53:53 BGP: [EC 100663299] buffer_flush_available: write error on fd 2: Bad file descriptor
2021/03/01 13:53:53 BGP: vty[??]@> enable
2021/03/01 13:53:53 BGP: vty[??]@# configure terminal
2021/03/01 13:53:53 BGP: vty[??]@(config)# log commands
2021/03/01 13:53:53 BGP: vty[??]@(config)# log file bgpd.log
2021/03/01 13:53:53 BGP: vty[??]@> enable
2021/03/01 13:53:53 BGP: vty[??]@# do show logging
2021/03/01 13:53:54 BGP: vty[??]@> enable
2021/03/01 13:53:54 BGP: vty[??]@# do write terminal

2021/03/01 13:53:54 BGP: vty[??]@> enable
2021/03/01 13:53:54 BGP: vty[??]@# configure terminal
2021/03/01 13:53:54 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/01 13:53:54 BGP: vty[??]@(config)# no log commands

2021/03/01 13:53:55 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 13:53:55 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 13:53:56 BGP: Configuration Read in Took: 00:00:00
2021/03/01 13:53:58 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 13:53:58 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default

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

Topotests Ubuntu 16.04 amd64 part 3: Failed (click for details)

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

Topology Tests failed for Topotests Ubuntu 16.04 amd64 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614605701 (si_addr 0x6f00004047, PC 0x7f3042b22438); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7f3043562277]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7f304356246d]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa2405) [0x7f3043589405]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f3042ec8390]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f3042b22438]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f3042b2403a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x777fa) [0x7f3042b647fa]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x8038a) [0x7f3042b6d38a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c) [0x7f3042b7158c]
ZEBRA: /usr/lib/frr/zebra(+0x88933) [0x562d4abf3933]
ZEBRA: /usr/lib/frr/zebra(+0x88c89) [0x562d4abf3c89]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x562d4ac1d0d6]
ZEBRA: /usr/lib/frr/zebra(+0xb78ec) [0x562d4ac228ec]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x60) [0x7f3043598c10]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7f304355df68]
ZEBRA: /usr/lib/frr/zebra(main+0x38f) [0x562d4abc9f3f]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f3042b0d840]
ZEBRA: /usr/lib/frr/zebra(_start+0x29) [0x562d4abcabb9]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-01 14:35:01,839 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

Report for zapi_msg.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #869: FILE: /tmp/f1-12973/zapi_msg.c:869:
Report for zebra_dplane.c | 22 issues
===============================================
< WARNING: line over 80 characters
< #687: FILE: /tmp/f1-12973/zebra_dplane.c:687:
< WARNING: line over 80 characters
< #2585: FILE: /tmp/f1-12973/zebra_dplane.c:2585:
< WARNING: line over 80 characters
< #2588: FILE: /tmp/f1-12973/zebra_dplane.c:2588:
< WARNING: line over 80 characters
< #2590: FILE: /tmp/f1-12973/zebra_dplane.c:2590:
< WARNING: line over 80 characters
< #3394: FILE: /tmp/f1-12973/zebra_dplane.c:3394:
< WARNING: line over 80 characters
< #4444: FILE: /tmp/f1-12973/zebra_dplane.c:4444:
< WARNING: line over 80 characters
< #4450: FILE: /tmp/f1-12973/zebra_dplane.c:4450:
< WARNING: line over 80 characters
< #4456: FILE: /tmp/f1-12973/zebra_dplane.c:4456:
< WARNING: line over 80 characters
< #4462: FILE: /tmp/f1-12973/zebra_dplane.c:4462:
< WARNING: line over 80 characters
< #4468: FILE: /tmp/f1-12973/zebra_dplane.c:4468:
< WARNING: line over 80 characters
< #4475: FILE: /tmp/f1-12973/zebra_dplane.c:4475:
Report for zebra_pbr.c | 6 issues
===============================================
< WARNING: line over 80 characters
< #602: FILE: /tmp/f1-12973/zebra_pbr.c:602:
< WARNING: line over 80 characters
< #878: FILE: /tmp/f1-12973/zebra_pbr.c:878:
< WARNING: line over 80 characters
< #882: FILE: /tmp/f1-12973/zebra_pbr.c:882:

CLANG Static Analyzer Summary

  • Github Pull Request 8124, comparing to Git base SHA 8cf5650
  • Base image data for Git 8cf5650 does not exist - compare skipped

4 Static Analyzer issues remaining.

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

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 1, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Get source / Pull Request: Successful

Building Stage: Successful

Basic Tests: Failed

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

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

Topology Tests failed for Topotests Ubuntu 16.04 i386 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x80434) [0xb7ef8434]
ZEBRA: [0xb7fb7d0c]
ZEBRA: [0xb7fb7cf5]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(gsignal+0x39) [0xb7caeeb9]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(abort+0x157) [0xb7cb0417]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x80455) [0xb7ef8455]
ZEBRA: [0xb7fb7d0c]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(malloc_usable_size+0x32) [0xb7cf4c62]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(qfree+0x35) [0xb7ed2ee5]
ZEBRA: /usr/lib/frr/zebra(+0x582ad) [0x5282ad]
ZEBRA: /usr/lib/frr/zebra(+0x5846d) [0x52846d]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x552286]
ZEBRA: /usr/lib/frr/zebra(+0x87dc3) [0x557dc3]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(thread_call+0x59) [0xb7f07c29]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(frr_run+0xd9) [0xb7ecaab9]
ZEBRA: /usr/lib/frr/zebra(main+0x3fb) [0x4fd89b]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7) [0xb7c9b647]
ZEBRA: /usr/lib/frr/zebra(+0x2e527) [0x4fe527]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()
2021/03/01 14:58:29 ZEBRA: unlink logbuf: No such file or directory (2)

2021-03-01 14:58:29,804 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

Topotests Ubuntu 18.04 arm8 part 3: Failed (click for details) Topotests Ubuntu 18.04 arm8 part 3: No useful log found
CentOS 7 rpm pkg check: Failed (click for details) CentOS 7 rpm pkg check: No useful log found
Topotests Ubuntu 18.04 amd64 part 3: Failed (click for details)

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

Topology Tests failed for Topotests Ubuntu 18.04 amd64 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614607442 (si_addr 0x6f00005286, PC 0x7f8bea2fefb7); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7f8bead5ea07]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7f8bead5ebed]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa2d64) [0x7f8bead85d64]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980) [0x7f8bea6c3980]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f8bea2fefb7]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f8bea300921]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x89967) [0x7f8bea349967]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x909da) [0x7f8bea3509da]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x58c) [0x7f8bea357fbc]
ZEBRA: /usr/lib/frr/zebra(+0x897ab) [0x561a0528c7ab]
ZEBRA: /usr/lib/frr/zebra(+0x89b64) [0x561a0528cb64]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0x96) [0x561a052b5926]
ZEBRA: /usr/lib/frr/zebra(+0xb8714) [0x561a052bb714]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x56) [0x7f8bead954f6]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7f8bead5a7b8]
ZEBRA: /usr/lib/frr/zebra(main+0x3a4) [0x561a052631b4]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f8bea2e1bf7]
ZEBRA: /usr/lib/frr/zebra(_start+0x2a) [0x561a05263e3a]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-01 14:04:02,702 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:14:31 BGP: vty[??]@> enable
2021/03/01 14:14:31 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 14:14:31 BGP: vty[??]@> enable
2021/03/01 14:14:31 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 14:14:32 BGP: vty[??]@> enable
2021/03/01 14:14:32 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 14:14:32 BGP: vty[??]@> enable
2021/03/01 14:14:32 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 14:14:33 BGP: vty[??]@> enable
2021/03/01 14:14:33 BGP: vty[??]@> enable
2021/03/01 14:14:33 BGP: vty[??]@> enable
2021/03/01 14:14:33 BGP: vty[??]@> enable
2021/03/01 14:14:39 BGP: vty[??]@> enable
2021/03/01 14:14:39 BGP: vty[??]@> enable
2021/03/01 14:14:39 BGP: vty[??]@> enable
2021/03/01 14:14:39 BGP: vty[??]@> enable
2021/03/01 14:14:39 BGP: vty[??]@> enable
2021/03/01 14:14:45 BGP: vty[??]@> enable
2021/03/01 14:14:45 BGP: vty[??]@# do write memory


r2: Daemon bgpd not running

From frr r2 bgpd log file:
2021/03/01 14:16:02 BGP: vty[??]@> enable
2021/03/01 14:16:02 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart json
2021/03/01 14:16:02 BGP: vty[??]@> enable
2021/03/01 14:16:02 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart 
2021/03/01 14:16:02 BGP: vty[??]@> enable
2021/03/01 14:16:02 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart json
2021/03/01 14:16:03 BGP: vty[??]@> enable
2021/03/01 14:16:03 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart 
2021/03/01 14:16:03 BGP: vty[??]@> enable
2021/03/01 14:16:03 BGP: vty[??]@> enable
2021/03/01 14:16:03 BGP: vty[??]@> enable
2021/03/01 14:16:03 BGP: vty[??]@> enable
2021/03/01 14:16:09 BGP: vty[??]@> enable
2021/03/01 14:16:09 BGP: vty[??]@> enable
2021/03/01 14:16:09 BGP: vty[??]@> enable
2021/03/01 14:16:09 BGP: vty[??]@> enable
2021/03/01 14:16:09 BGP: vty[??]@> enable
2021/03/01 14:16:15 BGP: vty[??]@> enable
2021/03/01 14:16:15 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:17:44 BGP: vty[??]@> enable
2021/03/01 14:17:44 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 14:17:44 BGP: vty[??]@> enable
2021/03/01 14:17:44 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 14:17:44 BGP: vty[??]@> enable
2021/03/01 14:17:44 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 14:17:45 BGP: vty[??]@> enable
2021/03/01 14:17:45 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 14:17:45 BGP: vty[??]@> enable
2021/03/01 14:17:45 BGP: vty[??]@> enable
2021/03/01 14:17:45 BGP: vty[??]@> enable
2021/03/01 14:17:46 BGP: vty[??]@> enable
2021/03/01 14:17:51 BGP: vty[??]@> enable
2021/03/01 14:17:51 BGP: vty[??]@> enable
2021/03/01 14:17:52 BGP: vty[??]@> enable
2021/03/01 14:17:52 BGP: vty[??]@> enable
2021/03/01 14:17:52 BGP: vty[??]@> enable
2021/03/01 14:17:57 BGP: vty[??]@> enable
2021/03/01 14:17:57 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:18:12 BGP: vty[??]@(config)# log file bgpd.log
2021/03/01 14:18:13 BGP: vty[??]@> enable
2021/03/01 14:18:13 BGP: vty[??]@# do show logging
2021/03/01 14:18:13 BGP: vty[??]@> enable
2021/03/01 14:18:13 BGP: vty[??]@# do write terminal

2021/03/01 14:18:14 BGP: vty[??]@> enable
2021/03/01 14:18:14 BGP: vty[??]@# configure terminal
2021/03/01 14:18:14 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/01 14:18:14 BGP: vty[??]@(config)# no log commands

2021/03/01 14:18:14 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 14:18:14 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 14:18:15 BGP: Configuration Read in Took: 00:00:00
2021/03/01 14:18:18 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 14:18:18 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 14:18:48 BGP: Configuration Read in Took: 00:00:00
2021/03/01 14:18:51 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 14:18:52 BGP: [EC 33554451] bgp_process_packet: BGP OPEN receipt failed for peer: 192.168.0.2
2021/03/01 14:18:53 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:20:03 BGP: vty[??]@> enable
2021/03/01 14:20:03 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 14:20:03 BGP: vty[??]@> enable
2021/03/01 14:20:03 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 14:20:03 BGP: vty[??]@> enable
2021/03/01 14:20:03 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 14:20:04 BGP: vty[??]@> enable
2021/03/01 14:20:04 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 14:20:04 BGP: vty[??]@> enable
2021/03/01 14:20:04 BGP: vty[??]@> enable
2021/03/01 14:20:04 BGP: vty[??]@> enable
2021/03/01 14:20:05 BGP: vty[??]@> enable
2021/03/01 14:20:10 BGP: vty[??]@> enable
2021/03/01 14:20:10 BGP: vty[??]@> enable
2021/03/01 14:20:11 BGP: vty[??]@> enable
2021/03/01 14:20:11 BGP: vty[??]@> enable
2021/03/01 14:20:11 BGP: vty[??]@> enable
2021/03/01 14:20:16 BGP: vty[??]@> enable
2021/03/01 14:20:16 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:21:11 BGP: vty[??]@> enable
2021/03/01 14:21:11 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 14:21:11 BGP: vty[??]@> enable
2021/03/01 14:21:11 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 14:21:11 BGP: vty[??]@> enable
2021/03/01 14:21:11 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 14:21:12 BGP: vty[??]@> enable
2021/03/01 14:21:12 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 14:21:12 BGP: vty[??]@> enable
2021/03/01 14:21:12 BGP: vty[??]@> enable
2021/03/01 14:21:12 BGP: vty[??]@> enable
2021/03/01 14:21:13 BGP: vty[??]@> enable
2021/03/01 14:21:18 BGP: vty[??]@> enable
2021/03/01 14:21:18 BGP: vty[??]@> enable
2021/03/01 14:21:18 BGP: vty[??]@> enable
2021/03/01 14:21:19 BGP: vty[??]@> enable
2021/03/01 14:21:19 BGP: vty[??]@> enable
2021/03/01 14:21:24 BGP: vty[??]@> enable
2021/03/01 14:21:24 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:21:39 BGP: [EC 100663299] buffer_flush_available: write error on fd 2: Bad file descriptor
2021/03/01 14:21:39 BGP: vty[??]@> enable
2021/03/01 14:21:39 BGP: vty[??]@# configure terminal
2021/03/01 14:21:39 BGP: vty[??]@(config)# log commands
2021/03/01 14:21:39 BGP: vty[??]@(config)# log file bgpd.log
2021/03/01 14:21:40 BGP: vty[??]@> enable
2021/03/01 14:21:40 BGP: vty[??]@# do show logging
2021/03/01 14:21:40 BGP: vty[??]@> enable
2021/03/01 14:21:40 BGP: vty[??]@# do write terminal

2021/03/01 14:21:41 BGP: vty[??]@> enable
2021/03/01 14:21:41 BGP: vty[??]@# configure terminal
2021/03/01 14:21:41 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/01 14:21:41 BGP: vty[??]@(config)# no log commands

2021/03/01 14:21:41 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 14:21:41 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 14:21:42 BGP: Configuration Read in Took: 00:00:00
2021/03/01 14:21:45 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 14:21:45 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default

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

Topotests Ubuntu 16.04 amd64 part 3: Failed (click for details)

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

Topology Tests failed for Topotests Ubuntu 16.04 amd64 part 3:

2021-03-01 14:57:38,140 ERROR: 'router_json_cmp' failed after 43.02 seconds
2021-03-01 14:57:38,142 ERROR: assert failed at "test_bgp_features/test_bgp_delayopen_dual": BGP session on r2 did not establish a connection with peer
assert Generated JSON diff error report:
  
  > $->ipv4Unicast->peers->192.168.201.2->state: d1 has element with value 'Connect' but in d2 it has value 'Established'
r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614607065 (si_addr 0x6f00005c3c, PC 0x7f6ba209f438); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7f6ba2adf277]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7f6ba2adf46d]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa2405) [0x7f6ba2b06405]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f6ba2445390]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f6ba209f438]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f6ba20a103a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x777fa) [0x7f6ba20e17fa]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x8038a) [0x7f6ba20ea38a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c) [0x7f6ba20ee58c]
ZEBRA: /usr/lib/frr/zebra(+0x88933) [0x55fc2dca5933]
ZEBRA: /usr/lib/frr/zebra(+0x88c89) [0x55fc2dca5c89]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x55fc2dccf0d6]
ZEBRA: /usr/lib/frr/zebra(+0xb78ec) [0x55fc2dcd48ec]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x60) [0x7f6ba2b15c10]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7f6ba2adaf68]
ZEBRA: /usr/lib/frr/zebra(main+0x38f) [0x55fc2dc7bf3f]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f6ba208a840]
ZEBRA: /usr/lib/frr/zebra(_start+0x29) [0x55fc2dc7cbb9]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-01 14:57:46,079 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

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

Warnings Generated during build:

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

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

Topology Tests failed for Topotests Ubuntu 16.04 i386 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x80434) [0xb7ef8434]
ZEBRA: [0xb7fb7d0c]
ZEBRA: [0xb7fb7cf5]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(gsignal+0x39) [0xb7caeeb9]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(abort+0x157) [0xb7cb0417]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x80455) [0xb7ef8455]
ZEBRA: [0xb7fb7d0c]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(malloc_usable_size+0x32) [0xb7cf4c62]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(qfree+0x35) [0xb7ed2ee5]
ZEBRA: /usr/lib/frr/zebra(+0x582ad) [0x5282ad]
ZEBRA: /usr/lib/frr/zebra(+0x5846d) [0x52846d]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x552286]
ZEBRA: /usr/lib/frr/zebra(+0x87dc3) [0x557dc3]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(thread_call+0x59) [0xb7f07c29]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(frr_run+0xd9) [0xb7ecaab9]
ZEBRA: /usr/lib/frr/zebra(main+0x3fb) [0x4fd89b]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7) [0xb7c9b647]
ZEBRA: /usr/lib/frr/zebra(+0x2e527) [0x4fe527]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()
2021/03/01 14:58:29 ZEBRA: unlink logbuf: No such file or directory (2)

2021-03-01 14:58:29,804 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

Topotests Ubuntu 18.04 arm8 part 3: Failed (click for details) Topotests Ubuntu 18.04 arm8 part 3: No useful log found
CentOS 7 rpm pkg check: Failed (click for details) CentOS 7 rpm pkg check: No useful log found
Topotests Ubuntu 18.04 amd64 part 3: Failed (click for details)

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

Topology Tests failed for Topotests Ubuntu 18.04 amd64 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614607442 (si_addr 0x6f00005286, PC 0x7f8bea2fefb7); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7f8bead5ea07]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7f8bead5ebed]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa2d64) [0x7f8bead85d64]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980) [0x7f8bea6c3980]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f8bea2fefb7]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f8bea300921]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x89967) [0x7f8bea349967]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x909da) [0x7f8bea3509da]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x58c) [0x7f8bea357fbc]
ZEBRA: /usr/lib/frr/zebra(+0x897ab) [0x561a0528c7ab]
ZEBRA: /usr/lib/frr/zebra(+0x89b64) [0x561a0528cb64]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0x96) [0x561a052b5926]
ZEBRA: /usr/lib/frr/zebra(+0xb8714) [0x561a052bb714]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x56) [0x7f8bead954f6]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7f8bead5a7b8]
ZEBRA: /usr/lib/frr/zebra(main+0x3a4) [0x561a052631b4]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f8bea2e1bf7]
ZEBRA: /usr/lib/frr/zebra(_start+0x2a) [0x561a05263e3a]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-01 14:04:02,702 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:14:31 BGP: vty[??]@> enable
2021/03/01 14:14:31 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 14:14:31 BGP: vty[??]@> enable
2021/03/01 14:14:31 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 14:14:32 BGP: vty[??]@> enable
2021/03/01 14:14:32 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 14:14:32 BGP: vty[??]@> enable
2021/03/01 14:14:32 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 14:14:33 BGP: vty[??]@> enable
2021/03/01 14:14:33 BGP: vty[??]@> enable
2021/03/01 14:14:33 BGP: vty[??]@> enable
2021/03/01 14:14:33 BGP: vty[??]@> enable
2021/03/01 14:14:39 BGP: vty[??]@> enable
2021/03/01 14:14:39 BGP: vty[??]@> enable
2021/03/01 14:14:39 BGP: vty[??]@> enable
2021/03/01 14:14:39 BGP: vty[??]@> enable
2021/03/01 14:14:39 BGP: vty[??]@> enable
2021/03/01 14:14:45 BGP: vty[??]@> enable
2021/03/01 14:14:45 BGP: vty[??]@# do write memory


r2: Daemon bgpd not running

From frr r2 bgpd log file:
2021/03/01 14:16:02 BGP: vty[??]@> enable
2021/03/01 14:16:02 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart json
2021/03/01 14:16:02 BGP: vty[??]@> enable
2021/03/01 14:16:02 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart 
2021/03/01 14:16:02 BGP: vty[??]@> enable
2021/03/01 14:16:02 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart json
2021/03/01 14:16:03 BGP: vty[??]@> enable
2021/03/01 14:16:03 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart 
2021/03/01 14:16:03 BGP: vty[??]@> enable
2021/03/01 14:16:03 BGP: vty[??]@> enable
2021/03/01 14:16:03 BGP: vty[??]@> enable
2021/03/01 14:16:03 BGP: vty[??]@> enable
2021/03/01 14:16:09 BGP: vty[??]@> enable
2021/03/01 14:16:09 BGP: vty[??]@> enable
2021/03/01 14:16:09 BGP: vty[??]@> enable
2021/03/01 14:16:09 BGP: vty[??]@> enable
2021/03/01 14:16:09 BGP: vty[??]@> enable
2021/03/01 14:16:15 BGP: vty[??]@> enable
2021/03/01 14:16:15 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:17:44 BGP: vty[??]@> enable
2021/03/01 14:17:44 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 14:17:44 BGP: vty[??]@> enable
2021/03/01 14:17:44 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 14:17:44 BGP: vty[??]@> enable
2021/03/01 14:17:44 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 14:17:45 BGP: vty[??]@> enable
2021/03/01 14:17:45 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 14:17:45 BGP: vty[??]@> enable
2021/03/01 14:17:45 BGP: vty[??]@> enable
2021/03/01 14:17:45 BGP: vty[??]@> enable
2021/03/01 14:17:46 BGP: vty[??]@> enable
2021/03/01 14:17:51 BGP: vty[??]@> enable
2021/03/01 14:17:51 BGP: vty[??]@> enable
2021/03/01 14:17:52 BGP: vty[??]@> enable
2021/03/01 14:17:52 BGP: vty[??]@> enable
2021/03/01 14:17:52 BGP: vty[??]@> enable
2021/03/01 14:17:57 BGP: vty[??]@> enable
2021/03/01 14:17:57 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:18:12 BGP: vty[??]@(config)# log file bgpd.log
2021/03/01 14:18:13 BGP: vty[??]@> enable
2021/03/01 14:18:13 BGP: vty[??]@# do show logging
2021/03/01 14:18:13 BGP: vty[??]@> enable
2021/03/01 14:18:13 BGP: vty[??]@# do write terminal

2021/03/01 14:18:14 BGP: vty[??]@> enable
2021/03/01 14:18:14 BGP: vty[??]@# configure terminal
2021/03/01 14:18:14 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/01 14:18:14 BGP: vty[??]@(config)# no log commands

2021/03/01 14:18:14 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 14:18:14 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 14:18:15 BGP: Configuration Read in Took: 00:00:00
2021/03/01 14:18:18 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 14:18:18 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 14:18:48 BGP: Configuration Read in Took: 00:00:00
2021/03/01 14:18:51 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 14:18:52 BGP: [EC 33554451] bgp_process_packet: BGP OPEN receipt failed for peer: 192.168.0.2
2021/03/01 14:18:53 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:20:03 BGP: vty[??]@> enable
2021/03/01 14:20:03 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 14:20:03 BGP: vty[??]@> enable
2021/03/01 14:20:03 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 14:20:03 BGP: vty[??]@> enable
2021/03/01 14:20:03 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 14:20:04 BGP: vty[??]@> enable
2021/03/01 14:20:04 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 14:20:04 BGP: vty[??]@> enable
2021/03/01 14:20:04 BGP: vty[??]@> enable
2021/03/01 14:20:04 BGP: vty[??]@> enable
2021/03/01 14:20:05 BGP: vty[??]@> enable
2021/03/01 14:20:10 BGP: vty[??]@> enable
2021/03/01 14:20:10 BGP: vty[??]@> enable
2021/03/01 14:20:11 BGP: vty[??]@> enable
2021/03/01 14:20:11 BGP: vty[??]@> enable
2021/03/01 14:20:11 BGP: vty[??]@> enable
2021/03/01 14:20:16 BGP: vty[??]@> enable
2021/03/01 14:20:16 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:21:11 BGP: vty[??]@> enable
2021/03/01 14:21:11 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/01 14:21:11 BGP: vty[??]@> enable
2021/03/01 14:21:11 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/01 14:21:11 BGP: vty[??]@> enable
2021/03/01 14:21:11 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/01 14:21:12 BGP: vty[??]@> enable
2021/03/01 14:21:12 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/01 14:21:12 BGP: vty[??]@> enable
2021/03/01 14:21:12 BGP: vty[??]@> enable
2021/03/01 14:21:12 BGP: vty[??]@> enable
2021/03/01 14:21:13 BGP: vty[??]@> enable
2021/03/01 14:21:18 BGP: vty[??]@> enable
2021/03/01 14:21:18 BGP: vty[??]@> enable
2021/03/01 14:21:18 BGP: vty[??]@> enable
2021/03/01 14:21:19 BGP: vty[??]@> enable
2021/03/01 14:21:19 BGP: vty[??]@> enable
2021/03/01 14:21:24 BGP: vty[??]@> enable
2021/03/01 14:21:24 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/01 14:21:39 BGP: [EC 100663299] buffer_flush_available: write error on fd 2: Bad file descriptor
2021/03/01 14:21:39 BGP: vty[??]@> enable
2021/03/01 14:21:39 BGP: vty[??]@# configure terminal
2021/03/01 14:21:39 BGP: vty[??]@(config)# log commands
2021/03/01 14:21:39 BGP: vty[??]@(config)# log file bgpd.log
2021/03/01 14:21:40 BGP: vty[??]@> enable
2021/03/01 14:21:40 BGP: vty[??]@# do show logging
2021/03/01 14:21:40 BGP: vty[??]@> enable
2021/03/01 14:21:40 BGP: vty[??]@# do write terminal

2021/03/01 14:21:41 BGP: vty[??]@> enable
2021/03/01 14:21:41 BGP: vty[??]@# configure terminal
2021/03/01 14:21:41 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/01 14:21:41 BGP: vty[??]@(config)# no log commands

2021/03/01 14:21:41 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 14:21:41 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/01 14:21:42 BGP: Configuration Read in Took: 00:00:00
2021/03/01 14:21:45 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/01 14:21:45 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default

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

Topotests Ubuntu 16.04 amd64 part 3: Failed (click for details)

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

Topology Tests failed for Topotests Ubuntu 16.04 amd64 part 3:

2021-03-01 14:57:38,140 ERROR: 'router_json_cmp' failed after 43.02 seconds
2021-03-01 14:57:38,142 ERROR: assert failed at "test_bgp_features/test_bgp_delayopen_dual": BGP session on r2 did not establish a connection with peer
assert Generated JSON diff error report:
  
  > $->ipv4Unicast->peers->192.168.201.2->state: d1 has element with value 'Connect' but in d2 it has value 'Established'
r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614607065 (si_addr 0x6f00005c3c, PC 0x7f6ba209f438); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7f6ba2adf277]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7f6ba2adf46d]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa2405) [0x7f6ba2b06405]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f6ba2445390]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f6ba209f438]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f6ba20a103a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x777fa) [0x7f6ba20e17fa]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x8038a) [0x7f6ba20ea38a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c) [0x7f6ba20ee58c]
ZEBRA: /usr/lib/frr/zebra(+0x88933) [0x55fc2dca5933]
ZEBRA: /usr/lib/frr/zebra(+0x88c89) [0x55fc2dca5c89]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x55fc2dccf0d6]
ZEBRA: /usr/lib/frr/zebra(+0xb78ec) [0x55fc2dcd48ec]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x60) [0x7f6ba2b15c10]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7f6ba2adaf68]
ZEBRA: /usr/lib/frr/zebra(main+0x38f) [0x55fc2dc7bf3f]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f6ba208a840]
ZEBRA: /usr/lib/frr/zebra(_start+0x29) [0x55fc2dc7cbb9]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-01 14:57:46,079 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

Report for zapi_msg.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #869: FILE: /tmp/f1-7272/zapi_msg.c:869:
Report for zebra_dplane.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #4469: FILE: /tmp/f1-7272/zebra_dplane.c:4469:

CLANG Static Analyzer Summary

  • Github Pull Request 8124, comparing to Git base SHA 0a1e7b6
  • Base image data for Git 0a1e7b6 does not exist - compare skipped

4 Static Analyzer issues remaining.

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

@pguibert6WIND pguibert6WIND force-pushed the ipsec_iptable_dplane branch from e5cebe3 to c2b3105 Compare March 2, 2021 08:07
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/9a224dd684d089e265982200c85ed407/raw/ffa4dad79559993d4fee04adafa2c5dbb7140d36/cr_8124_1614672448.diff | git apply

diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index d403784ab..7ae25f257 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -866,7 +866,8 @@ void zsend_rule_notify_owner(const struct zebra_dplane_ctx *ctx,
 	zserv_send_message(client, s);
 }
 
-void zsend_iptable_notify_owner(const struct zebra_dplane_ctx *ctx, uint16_t note)
+void zsend_iptable_notify_owner(const struct zebra_dplane_ctx *ctx,
+				uint16_t note)
 {
 	struct listnode *node;
 	struct zserv *client;
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c
index 0eeddb391..02d06a039 100644
--- a/zebra/zebra_dplane.c
+++ b/zebra/zebra_dplane.c
@@ -683,8 +683,8 @@ static void dplane_ctx_free_internal(struct zebra_dplane_ctx *ctx)
 			char *ifname;
 
 			for (ALL_LIST_ELEMENTS(
-				     ctx->u.iptable.interface_name_list,
-				     node, nnode, ifname)) {
+				     ctx->u.iptable.interface_name_list, node,
+				     nnode, ifname)) {
 				LISTNODE_DETACH(
 					ctx->u.iptable.interface_name_list,
 					node);
@@ -4466,14 +4466,15 @@ static void kernel_dplane_log_detail(struct zebra_dplane_ctx *ctx)
 	} break;
 	case DPLANE_OP_IPSET_ENTRY_ADD:
 	case DPLANE_OP_IPSET_ENTRY_DELETE: {
-		struct zebra_pbr_ipset_entry *ipent = dplane_ctx_ipset_entry_get(ctx);
+		struct zebra_pbr_ipset_entry *ipent =
+			dplane_ctx_ipset_entry_get(ctx);
 		uint32_t unique = 0;
 
 		if (ipent)
 			unique = ipent->unique;
 		zlog_debug(
-			   "Dplane ipset entry update op %s, unique(%u), ctx %p",
-			   dplane_op2str(dplane_ctx_get_op(ctx)), unique, ctx);
+			"Dplane ipset entry update op %s, unique(%u), ctx %p",
+			dplane_op2str(dplane_ctx_get_op(ctx)), unique, ctx);
 	} break;
 	}
 }
diff --git a/zebra/zebra_pbr.c b/zebra/zebra_pbr.c
index 181adc9f2..e53da5232 100644
--- a/zebra/zebra_pbr.c
+++ b/zebra/zebra_pbr.c
@@ -868,13 +868,13 @@ void zebra_pbr_dplane_result(struct zebra_dplane_ctx *ctx)
 	else if (op == DPLANE_OP_IPTABLE_ADD)
 		zsend_iptable_notify_owner(ctx,
 					   res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					   ? ZAPI_IPTABLE_INSTALLED
-					   : ZAPI_IPTABLE_FAIL_INSTALL);
+						   ? ZAPI_IPTABLE_INSTALLED
+						   : ZAPI_IPTABLE_FAIL_INSTALL);
 	else if (op == DPLANE_OP_IPTABLE_DELETE)
 		zsend_iptable_notify_owner(ctx,
 					   res == ZEBRA_DPLANE_REQUEST_SUCCESS
-					   ? ZAPI_IPTABLE_REMOVED
-					   : ZAPI_IPTABLE_FAIL_REMOVE);
+						   ? ZAPI_IPTABLE_REMOVED
+						   : ZAPI_IPTABLE_FAIL_REMOVE);
 	else if (op == DPLANE_OP_IPSET_ADD)
 		zsend_ipset_notify_owner(ctx,
 					 res == ZEBRA_DPLANE_REQUEST_SUCCESS

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 Mar 2, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 c2b3105
Date 03/02/2021
Start 03:20:26
Finish 03:59:51
Run-Time 39:25
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-03-02-03:20:26.txt
Log autoscript-2021-03-02-03:21:28.log.bz2
Memory 487 502 427

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 2, 2021

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Get source / Pull Request: Successful

Building Stage: Successful

Basic Tests: Failed

Topotests Ubuntu 18.04 arm8 part 3: Failed (click for details) Topotests Ubuntu 18.04 arm8 part 3: No useful log found
Topotests Ubuntu 16.04 amd64 part 3: Failed (click for details)

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

Topology Tests failed for Topotests Ubuntu 16.04 amd64 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614674825 (si_addr 0x6f00007cd1, PC 0x7f6f02393438); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7f6f02dd3487]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7f6f02dd367d]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa27e5) [0x7f6f02dfa7e5]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f6f02739390]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f6f02393438]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f6f0239503a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x777fa) [0x7f6f023d57fa]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x8038a) [0x7f6f023de38a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c) [0x7f6f023e258c]
ZEBRA: /usr/lib/frr/zebra(+0x896e3) [0x56504f0e26e3]
ZEBRA: /usr/lib/frr/zebra(+0x89a39) [0x56504f0e2a39]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x56504f10c6d6]
ZEBRA: /usr/lib/frr/zebra(+0xb8eec) [0x56504f111eec]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x7b) [0x7f6f02e0a03b]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7f6f02dcf178]
ZEBRA: /usr/lib/frr/zebra(main+0x38f) [0x56504f0b8b4f]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f6f0237e840]
ZEBRA: /usr/lib/frr/zebra(_start+0x29) [0x56504f0b97c9]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-02 09:47:05,847 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

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

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

Topology Tests failed for Topotests Ubuntu 18.04 amd64 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614675085 (si_addr 0x6f000007b8, PC 0x7efc4e4d1fb7); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7efc4ef31c27]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7efc4ef31e0d]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa3154) [0x7efc4ef59154]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980) [0x7efc4e896980]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7efc4e4d1fb7]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7efc4e4d3921]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x89967) [0x7efc4e51c967]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x909da) [0x7efc4e5239da]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x58c) [0x7efc4e52afbc]
ZEBRA: /usr/lib/frr/zebra(+0x8a58b) [0x55df0649058b]
ZEBRA: /usr/lib/frr/zebra(+0x8a944) [0x55df06490944]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0x96) [0x55df064ba016]
ZEBRA: /usr/lib/frr/zebra(+0xb9e04) [0x55df064bfe04]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0xf5) [0x7efc4ef689a5]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7efc4ef2d9d8]
ZEBRA: /usr/lib/frr/zebra(main+0x3a4) [0x55df06466db4]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7efc4e4b4bf7]
ZEBRA: /usr/lib/frr/zebra(_start+0x2a) [0x55df06467a3a]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-02 08:51:25,628 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:02:25 BGP: vty[??]@> enable
2021/03/02 09:02:25 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/02 09:02:25 BGP: vty[??]@> enable
2021/03/02 09:02:25 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/02 09:02:25 BGP: vty[??]@> enable
2021/03/02 09:02:25 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/02 09:02:26 BGP: vty[??]@> enable
2021/03/02 09:02:26 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/02 09:02:26 BGP: vty[??]@> enable
2021/03/02 09:02:26 BGP: vty[??]@> enable
2021/03/02 09:02:26 BGP: vty[??]@> enable
2021/03/02 09:02:27 BGP: vty[??]@> enable
2021/03/02 09:02:32 BGP: vty[??]@> enable
2021/03/02 09:02:32 BGP: vty[??]@> enable
2021/03/02 09:02:33 BGP: vty[??]@> enable
2021/03/02 09:02:33 BGP: vty[??]@> enable
2021/03/02 09:02:33 BGP: vty[??]@> enable
2021/03/02 09:02:38 BGP: vty[??]@> enable
2021/03/02 09:02:38 BGP: vty[??]@# do write memory


r2: Daemon bgpd not running

From frr r2 bgpd log file:
2021/03/02 09:03:59 BGP: vty[??]@> enable
2021/03/02 09:03:59 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart json
2021/03/02 09:03:59 BGP: vty[??]@> enable
2021/03/02 09:03:59 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart 
2021/03/02 09:03:59 BGP: vty[??]@> enable
2021/03/02 09:03:59 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart json
2021/03/02 09:04:00 BGP: vty[??]@> enable
2021/03/02 09:04:00 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart 
2021/03/02 09:04:00 BGP: vty[??]@> enable
2021/03/02 09:04:00 BGP: vty[??]@> enable
2021/03/02 09:04:00 BGP: vty[??]@> enable
2021/03/02 09:04:00 BGP: vty[??]@> enable
2021/03/02 09:04:06 BGP: vty[??]@> enable
2021/03/02 09:04:06 BGP: vty[??]@> enable
2021/03/02 09:04:06 BGP: vty[??]@> enable
2021/03/02 09:04:06 BGP: vty[??]@> enable
2021/03/02 09:04:07 BGP: vty[??]@> enable
2021/03/02 09:04:12 BGP: vty[??]@> enable
2021/03/02 09:04:12 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:05:48 BGP: vty[??]@> enable
2021/03/02 09:05:48 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/02 09:05:48 BGP: vty[??]@> enable
2021/03/02 09:05:48 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/02 09:05:48 BGP: vty[??]@> enable
2021/03/02 09:05:48 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/02 09:05:48 BGP: vty[??]@> enable
2021/03/02 09:05:48 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/02 09:05:49 BGP: vty[??]@> enable
2021/03/02 09:05:49 BGP: vty[??]@> enable
2021/03/02 09:05:49 BGP: vty[??]@> enable
2021/03/02 09:05:50 BGP: vty[??]@> enable
2021/03/02 09:05:55 BGP: vty[??]@> enable
2021/03/02 09:05:56 BGP: vty[??]@> enable
2021/03/02 09:05:56 BGP: vty[??]@> enable
2021/03/02 09:05:56 BGP: vty[??]@> enable
2021/03/02 09:05:56 BGP: vty[??]@> enable
2021/03/02 09:06:01 BGP: vty[??]@> enable
2021/03/02 09:06:01 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:06:17 BGP: vty[??]@(config)# log file bgpd.log
2021/03/02 09:06:18 BGP: vty[??]@> enable
2021/03/02 09:06:18 BGP: vty[??]@# do show logging
2021/03/02 09:06:18 BGP: vty[??]@> enable
2021/03/02 09:06:18 BGP: vty[??]@# do write terminal

2021/03/02 09:06:19 BGP: vty[??]@> enable
2021/03/02 09:06:19 BGP: vty[??]@# configure terminal
2021/03/02 09:06:19 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/02 09:06:19 BGP: vty[??]@(config)# no log commands

2021/03/02 09:06:19 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/02 09:06:19 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/02 09:06:20 BGP: Configuration Read in Took: 00:00:00
2021/03/02 09:06:23 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/02 09:06:23 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/02 09:06:55 BGP: Configuration Read in Took: 00:00:00
2021/03/02 09:06:57 BGP: [EC 33554451] bgp_process_packet: BGP OPEN receipt failed for peer: 192.168.0.2
2021/03/02 09:06:58 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/02 09:06:58 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:08:12 BGP: vty[??]@> enable
2021/03/02 09:08:12 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/02 09:08:12 BGP: vty[??]@> enable
2021/03/02 09:08:12 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/02 09:08:13 BGP: vty[??]@> enable
2021/03/02 09:08:13 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/02 09:08:13 BGP: vty[??]@> enable
2021/03/02 09:08:13 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/02 09:08:14 BGP: vty[??]@> enable
2021/03/02 09:08:14 BGP: vty[??]@> enable
2021/03/02 09:08:14 BGP: vty[??]@> enable
2021/03/02 09:08:14 BGP: vty[??]@> enable
2021/03/02 09:08:20 BGP: vty[??]@> enable
2021/03/02 09:08:20 BGP: vty[??]@> enable
2021/03/02 09:08:20 BGP: vty[??]@> enable
2021/03/02 09:08:20 BGP: vty[??]@> enable
2021/03/02 09:08:21 BGP: vty[??]@> enable
2021/03/02 09:08:26 BGP: vty[??]@> enable
2021/03/02 09:08:26 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:09:23 BGP: vty[??]@> enable
2021/03/02 09:09:23 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/02 09:09:23 BGP: vty[??]@> enable
2021/03/02 09:09:23 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/02 09:09:24 BGP: vty[??]@> enable
2021/03/02 09:09:24 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/02 09:09:24 BGP: vty[??]@> enable
2021/03/02 09:09:24 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/02 09:09:25 BGP: vty[??]@> enable
2021/03/02 09:09:25 BGP: vty[??]@> enable
2021/03/02 09:09:25 BGP: vty[??]@> enable
2021/03/02 09:09:25 BGP: vty[??]@> enable
2021/03/02 09:09:31 BGP: vty[??]@> enable
2021/03/02 09:09:31 BGP: vty[??]@> enable
2021/03/02 09:09:31 BGP: vty[??]@> enable
2021/03/02 09:09:31 BGP: vty[??]@> enable
2021/03/02 09:09:32 BGP: vty[??]@> enable
2021/03/02 09:09:37 BGP: vty[??]@> enable
2021/03/02 09:09:37 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:09:52 BGP: [EC 100663299] buffer_flush_available: write error on fd 2: Bad file descriptor
2021/03/02 09:09:53 BGP: vty[??]@> enable
2021/03/02 09:09:53 BGP: vty[??]@# configure terminal
2021/03/02 09:09:53 BGP: vty[??]@(config)# log commands
2021/03/02 09:09:53 BGP: vty[??]@(config)# log file bgpd.log
2021/03/02 09:09:53 BGP: vty[??]@> enable
2021/03/02 09:09:53 BGP: vty[??]@# do show logging
2021/03/02 09:09:53 BGP: vty[??]@> enable
2021/03/02 09:09:53 BGP: vty[??]@# do write terminal

2021/03/02 09:09:54 BGP: vty[??]@> enable
2021/03/02 09:09:54 BGP: vty[??]@# configure terminal
2021/03/02 09:09:54 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/02 09:09:54 BGP: vty[??]@(config)# no log commands

2021/03/02 09:09:54 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/02 09:09:54 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/02 09:09:55 BGP: Configuration Read in Took: 00:00:00
2021/03/02 09:09:58 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/02 09:09:59 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default

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

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

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

Topology Tests failed for Topotests Ubuntu 16.04 i386 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x807d4) [0xb7e987d4]
ZEBRA: [0xb7f57d0c]
ZEBRA: [0xb7f57cf5]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(gsignal+0x39) [0xb7c4eeb9]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(abort+0x157) [0xb7c50417]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x807f5) [0xb7e987f5]
ZEBRA: [0xb7f57d0c]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(malloc_usable_size+0x32) [0xb7c94c62]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(qfree+0x35) [0xb7e730b5]
ZEBRA: /usr/lib/frr/zebra(+0x589bd) [0x4669bd]
ZEBRA: /usr/lib/frr/zebra(+0x58b7d) [0x466b7d]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x4912a6]
ZEBRA: /usr/lib/frr/zebra(+0x88de3) [0x496de3]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(thread_call+0x84) [0xb7ea8004]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(frr_run+0xd9) [0xb7e6ac89]
ZEBRA: /usr/lib/frr/zebra(main+0x3fb) [0x43bd7b]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7) [0xb7c3b647]
ZEBRA: /usr/lib/frr/zebra(+0x2ea07) [0x43ca07]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()
2021/03/02 09:46:44 ZEBRA: unlink logbuf: No such file or directory (2)

2021-03-02 09:46:44,827 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

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

Warnings Generated during build:

Checkout code: Successful with additional warnings
Topotests Ubuntu 18.04 arm8 part 3: Failed (click for details) Topotests Ubuntu 18.04 arm8 part 3: No useful log found
Topotests Ubuntu 16.04 amd64 part 3: Failed (click for details)

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

Topology Tests failed for Topotests Ubuntu 16.04 amd64 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614674825 (si_addr 0x6f00007cd1, PC 0x7f6f02393438); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7f6f02dd3487]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7f6f02dd367d]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa27e5) [0x7f6f02dfa7e5]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f6f02739390]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f6f02393438]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f6f0239503a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x777fa) [0x7f6f023d57fa]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x8038a) [0x7f6f023de38a]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c) [0x7f6f023e258c]
ZEBRA: /usr/lib/frr/zebra(+0x896e3) [0x56504f0e26e3]
ZEBRA: /usr/lib/frr/zebra(+0x89a39) [0x56504f0e2a39]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x56504f10c6d6]
ZEBRA: /usr/lib/frr/zebra(+0xb8eec) [0x56504f111eec]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x7b) [0x7f6f02e0a03b]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7f6f02dcf178]
ZEBRA: /usr/lib/frr/zebra(main+0x38f) [0x56504f0b8b4f]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f6f0237e840]
ZEBRA: /usr/lib/frr/zebra(_start+0x29) [0x56504f0b97c9]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-02 09:47:05,847 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

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

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

Topology Tests failed for Topotests Ubuntu 18.04 amd64 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: Received signal 6 at 1614675085 (si_addr 0x6f000007b8, PC 0x7efc4e4d1fb7); aborting...
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x57) [0x7efc4ef31c27]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xdd) [0x7efc4ef31e0d]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xa3154) [0x7efc4ef59154]
ZEBRA: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980) [0x7efc4e896980]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7efc4e4d1fb7]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7efc4e4d3921]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x89967) [0x7efc4e51c967]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(+0x909da) [0x7efc4e5239da]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x58c) [0x7efc4e52afbc]
ZEBRA: /usr/lib/frr/zebra(+0x8a58b) [0x55df0649058b]
ZEBRA: /usr/lib/frr/zebra(+0x8a944) [0x55df06490944]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0x96) [0x55df064ba016]
ZEBRA: /usr/lib/frr/zebra(+0xb9e04) [0x55df064bfe04]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0xf5) [0x7efc4ef689a5]
ZEBRA: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7efc4ef2d9d8]
ZEBRA: /usr/lib/frr/zebra(main+0x3a4) [0x55df06466db4]
ZEBRA: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7efc4e4b4bf7]
ZEBRA: /usr/lib/frr/zebra(_start+0x2a) [0x55df06467a3a]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()

2021-03-02 08:51:25,628 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:02:25 BGP: vty[??]@> enable
2021/03/02 09:02:25 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/02 09:02:25 BGP: vty[??]@> enable
2021/03/02 09:02:25 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/02 09:02:25 BGP: vty[??]@> enable
2021/03/02 09:02:25 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/02 09:02:26 BGP: vty[??]@> enable
2021/03/02 09:02:26 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/02 09:02:26 BGP: vty[??]@> enable
2021/03/02 09:02:26 BGP: vty[??]@> enable
2021/03/02 09:02:26 BGP: vty[??]@> enable
2021/03/02 09:02:27 BGP: vty[??]@> enable
2021/03/02 09:02:32 BGP: vty[??]@> enable
2021/03/02 09:02:32 BGP: vty[??]@> enable
2021/03/02 09:02:33 BGP: vty[??]@> enable
2021/03/02 09:02:33 BGP: vty[??]@> enable
2021/03/02 09:02:33 BGP: vty[??]@> enable
2021/03/02 09:02:38 BGP: vty[??]@> enable
2021/03/02 09:02:38 BGP: vty[??]@# do write memory


r2: Daemon bgpd not running

From frr r2 bgpd log file:
2021/03/02 09:03:59 BGP: vty[??]@> enable
2021/03/02 09:03:59 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart json
2021/03/02 09:03:59 BGP: vty[??]@> enable
2021/03/02 09:03:59 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.1 graceful-restart 
2021/03/02 09:03:59 BGP: vty[??]@> enable
2021/03/02 09:03:59 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart json
2021/03/02 09:04:00 BGP: vty[??]@> enable
2021/03/02 09:04:00 BGP: vty[??]@# show bgp ipv6 neighbor fd00::1 graceful-restart 
2021/03/02 09:04:00 BGP: vty[??]@> enable
2021/03/02 09:04:00 BGP: vty[??]@> enable
2021/03/02 09:04:00 BGP: vty[??]@> enable
2021/03/02 09:04:00 BGP: vty[??]@> enable
2021/03/02 09:04:06 BGP: vty[??]@> enable
2021/03/02 09:04:06 BGP: vty[??]@> enable
2021/03/02 09:04:06 BGP: vty[??]@> enable
2021/03/02 09:04:06 BGP: vty[??]@> enable
2021/03/02 09:04:07 BGP: vty[??]@> enable
2021/03/02 09:04:12 BGP: vty[??]@> enable
2021/03/02 09:04:12 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:05:48 BGP: vty[??]@> enable
2021/03/02 09:05:48 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/02 09:05:48 BGP: vty[??]@> enable
2021/03/02 09:05:48 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/02 09:05:48 BGP: vty[??]@> enable
2021/03/02 09:05:48 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/02 09:05:48 BGP: vty[??]@> enable
2021/03/02 09:05:48 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/02 09:05:49 BGP: vty[??]@> enable
2021/03/02 09:05:49 BGP: vty[??]@> enable
2021/03/02 09:05:49 BGP: vty[??]@> enable
2021/03/02 09:05:50 BGP: vty[??]@> enable
2021/03/02 09:05:55 BGP: vty[??]@> enable
2021/03/02 09:05:56 BGP: vty[??]@> enable
2021/03/02 09:05:56 BGP: vty[??]@> enable
2021/03/02 09:05:56 BGP: vty[??]@> enable
2021/03/02 09:05:56 BGP: vty[??]@> enable
2021/03/02 09:06:01 BGP: vty[??]@> enable
2021/03/02 09:06:01 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:06:17 BGP: vty[??]@(config)# log file bgpd.log
2021/03/02 09:06:18 BGP: vty[??]@> enable
2021/03/02 09:06:18 BGP: vty[??]@# do show logging
2021/03/02 09:06:18 BGP: vty[??]@> enable
2021/03/02 09:06:18 BGP: vty[??]@# do write terminal

2021/03/02 09:06:19 BGP: vty[??]@> enable
2021/03/02 09:06:19 BGP: vty[??]@# configure terminal
2021/03/02 09:06:19 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/02 09:06:19 BGP: vty[??]@(config)# no log commands

2021/03/02 09:06:19 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/02 09:06:19 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/02 09:06:20 BGP: Configuration Read in Took: 00:00:00
2021/03/02 09:06:23 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/02 09:06:23 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/02 09:06:55 BGP: Configuration Read in Took: 00:00:00
2021/03/02 09:06:57 BGP: [EC 33554451] bgp_process_packet: BGP OPEN receipt failed for peer: 192.168.0.2
2021/03/02 09:06:58 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/02 09:06:58 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default

r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:08:12 BGP: vty[??]@> enable
2021/03/02 09:08:12 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/02 09:08:12 BGP: vty[??]@> enable
2021/03/02 09:08:12 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/02 09:08:13 BGP: vty[??]@> enable
2021/03/02 09:08:13 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/02 09:08:13 BGP: vty[??]@> enable
2021/03/02 09:08:13 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/02 09:08:14 BGP: vty[??]@> enable
2021/03/02 09:08:14 BGP: vty[??]@> enable
2021/03/02 09:08:14 BGP: vty[??]@> enable
2021/03/02 09:08:14 BGP: vty[??]@> enable
2021/03/02 09:08:20 BGP: vty[??]@> enable
2021/03/02 09:08:20 BGP: vty[??]@> enable
2021/03/02 09:08:20 BGP: vty[??]@> enable
2021/03/02 09:08:20 BGP: vty[??]@> enable
2021/03/02 09:08:21 BGP: vty[??]@> enable
2021/03/02 09:08:26 BGP: vty[??]@> enable
2021/03/02 09:08:26 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:09:23 BGP: vty[??]@> enable
2021/03/02 09:09:23 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart json
2021/03/02 09:09:23 BGP: vty[??]@> enable
2021/03/02 09:09:23 BGP: vty[??]@# show bgp ipv4 neighbor 192.168.0.2 graceful-restart 
2021/03/02 09:09:24 BGP: vty[??]@> enable
2021/03/02 09:09:24 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart json
2021/03/02 09:09:24 BGP: vty[??]@> enable
2021/03/02 09:09:24 BGP: vty[??]@# show bgp ipv6 neighbor fd00::2 graceful-restart 
2021/03/02 09:09:25 BGP: vty[??]@> enable
2021/03/02 09:09:25 BGP: vty[??]@> enable
2021/03/02 09:09:25 BGP: vty[??]@> enable
2021/03/02 09:09:25 BGP: vty[??]@> enable
2021/03/02 09:09:31 BGP: vty[??]@> enable
2021/03/02 09:09:31 BGP: vty[??]@> enable
2021/03/02 09:09:31 BGP: vty[??]@> enable
2021/03/02 09:09:31 BGP: vty[??]@> enable
2021/03/02 09:09:32 BGP: vty[??]@> enable
2021/03/02 09:09:37 BGP: vty[??]@> enable
2021/03/02 09:09:37 BGP: vty[??]@# do write memory


r1: Daemon bgpd not running

From frr r1 bgpd log file:
2021/03/02 09:09:52 BGP: [EC 100663299] buffer_flush_available: write error on fd 2: Bad file descriptor
2021/03/02 09:09:53 BGP: vty[??]@> enable
2021/03/02 09:09:53 BGP: vty[??]@# configure terminal
2021/03/02 09:09:53 BGP: vty[??]@(config)# log commands
2021/03/02 09:09:53 BGP: vty[??]@(config)# log file bgpd.log
2021/03/02 09:09:53 BGP: vty[??]@> enable
2021/03/02 09:09:53 BGP: vty[??]@# do show logging
2021/03/02 09:09:53 BGP: vty[??]@> enable
2021/03/02 09:09:53 BGP: vty[??]@# do write terminal

2021/03/02 09:09:54 BGP: vty[??]@> enable
2021/03/02 09:09:54 BGP: vty[??]@# configure terminal
2021/03/02 09:09:54 BGP: vty[??]@(config)# XFRR_start_configuration
2021/03/02 09:09:54 BGP: vty[??]@(config)# no log commands

2021/03/02 09:09:54 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/02 09:09:54 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default
2021/03/02 09:09:55 BGP: Configuration Read in Took: 00:00:00
2021/03/02 09:09:58 BGP: bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.0.2 in vrf default
2021/03/02 09:09:59 BGP: bgp_update_receive: rcvd End-of-RIB for IPv6 Unicast from fd00::2 in vrf default

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

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

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

Topology Tests failed for Topotests Ubuntu 16.04 i386 part 3:

r1: Daemon zebra not running

From frr r1 zebra log file:
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x807d4) [0xb7e987d4]
ZEBRA: [0xb7f57d0c]
ZEBRA: [0xb7f57cf5]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(gsignal+0x39) [0xb7c4eeb9]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(abort+0x157) [0xb7c50417]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(+0x807f5) [0xb7e987f5]
ZEBRA: [0xb7f57d0c]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(malloc_usable_size+0x32) [0xb7c94c62]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(qfree+0x35) [0xb7e730b5]
ZEBRA: /usr/lib/frr/zebra(+0x589bd) [0x4669bd]
ZEBRA: /usr/lib/frr/zebra(+0x58b7d) [0x466b7d]
ZEBRA: /usr/lib/frr/zebra(zebra_pbr_dplane_result+0xb6) [0x4912a6]
ZEBRA: /usr/lib/frr/zebra(+0x88de3) [0x496de3]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(thread_call+0x84) [0xb7ea8004]
ZEBRA: /usr/lib/i386-linux-gnu/frr/libfrr.so.0(frr_run+0xd9) [0xb7e6ac89]
ZEBRA: /usr/lib/frr/zebra(main+0x3fb) [0x43bd7b]
ZEBRA: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7) [0xb7c3b647]
ZEBRA: /usr/lib/frr/zebra(+0x2ea07) [0x43ca07]
ZEBRA: in thread rib_process_dplane_results scheduled from zebra/zebra_rib.c:3939 rib_dplane_results()
2021/03/02 09:46:44 ZEBRA: unlink logbuf: No such file or directory (2)

2021-03-02 09:46:44,827 ERROR: assert failed at "bgp_flowspec.test_bgp_flowspec_topo/test_bgp_flowspec": r1: Daemon zebra not running

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

Report for zapi_msg.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #869: FILE: /tmp/f1-7443/zapi_msg.c:869:
Report for zebra_dplane.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #4469: FILE: /tmp/f1-7443/zebra_dplane.c:4469:

@pguibert6WIND pguibert6WIND force-pushed the ipsec_iptable_dplane branch from c2b3105 to 8de30f8 Compare March 3, 2021 08:09
@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 3, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 8de30f8
Date 03/03/2021
Start 03:11:03
Finish 03:50:30
Run-Time 39:27
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-03-03-03:11:03.txt
Log autoscript-2021-03-03-03:12:08.log.bz2
Memory 494 503 428

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 3, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

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

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 zapi_msg.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #869: FILE: /tmp/f1-28539/zapi_msg.c:869:
Report for zebra_dplane.c | 2 issues
===============================================
< ERROR: space required after that close brace '}'
< #316: FILE: /tmp/f1-28539/zebra_dplane.c:316:

@pguibert6WIND pguibert6WIND force-pushed the ipsec_iptable_dplane branch from 8de30f8 to 01da5ba Compare March 4, 2021 08:27
@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 4, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 01da5ba
Date 03/04/2021
Start 03:31:05
Finish 04:10:23
Run-Time 39:18
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-03-04-03:31:05.txt
Log autoscript-2021-03-04-03:32:07.log.bz2
Memory 489 482 427

For details, please contact louberger

The iptable processing was not handled in remote dataplane, and was
directly processed by the thread in charge of zapi calls. Now that call
can be handled in the zebra_dplane separate thread. once a
zebra_dplane_ctx is allocated for iptable handling, the hook call is
performed later. Subsequently, a return code may be triggered to zclient
interface if any problem occurs when calling the hook call.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
@pguibert6WIND pguibert6WIND force-pushed the ipsec_iptable_dplane branch from 01da5ba to fae5f26 Compare March 4, 2021 10:50
@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 4, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 fae5f26
Date 03/04/2021
Start 06:31:06
Finish 07:10:26
Run-Time 39:20
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-03-04-06:31:06.txt
Log autoscript-2021-03-04-06:32:09.log.bz2
Memory 486 489 428

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 4, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

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

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 zapi_msg.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #869: FILE: /tmp/f1-11386/zapi_msg.c:869:
Report for zebra_dplane.c | 4 issues
===============================================
< ERROR: space required after that close brace '}'
< #316: FILE: /tmp/f1-11386/zebra_dplane.c:316:
< WARNING: line over 80 characters
< #4088: FILE: /tmp/f1-11386/zebra_dplane.c:4088:

@pguibert6WIND pguibert6WIND force-pushed the ipsec_iptable_dplane branch from fae5f26 to e21694c Compare March 4, 2021 13:25
@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 4, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

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

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 zapi_msg.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #869: FILE: /tmp/f1-31276/zapi_msg.c:869:
Report for zebra_dplane.c | 10 issues
===============================================
< ERROR: space required after that close brace '}'
< #316: FILE: /tmp/f1-31276/zebra_dplane.c:316:
< WARNING: line over 80 characters
< #1938: FILE: /tmp/f1-31276/zebra_dplane.c:1938:
< WARNING: line over 80 characters
< #3415: FILE: /tmp/f1-31276/zebra_dplane.c:3415:
< WARNING: line over 80 characters
< #4096: FILE: /tmp/f1-31276/zebra_dplane.c:4096:
< WARNING: line over 80 characters
< #4480: FILE: /tmp/f1-31276/zebra_dplane.c:4480:
Report for zebra_pbr.c | 4 issues
===============================================
< WARNING: line over 80 characters
< #558: FILE: /tmp/f1-31276/zebra_pbr.c:558:
< WARNING: line over 80 characters
< #576: FILE: /tmp/f1-31276/zebra_pbr.c:576:

@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 4, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 e21694c
Date 03/04/2021
Start 09:11:05
Finish 09:50:21
Run-Time 39:16
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-03-04-09:11:05.txt
Log autoscript-2021-03-04-09:12:07.log.bz2
Memory 501 484 428

For details, please contact louberger

@pguibert6WIND pguibert6WIND force-pushed the ipsec_iptable_dplane branch from e21694c to 681efca Compare March 4, 2021 15:14
@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 4, 2021

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/8124 681efca
Date 03/04/2021
Start 10:36:05
Finish 11:15:27
Run-Time 39:22
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-03-04-10:36:05.txt
Log autoscript-2021-03-04-10:37:08.log.bz2
Memory 493 498 426

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 4, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

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

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 zebra_dplane.c | 8 issues
===============================================
< WARNING: line over 80 characters
< #1938: FILE: /tmp/f1-17278/zebra_dplane.c:1938:
< WARNING: line over 80 characters
< #3415: FILE: /tmp/f1-17278/zebra_dplane.c:3415:
< WARNING: line over 80 characters
< #4096: FILE: /tmp/f1-17278/zebra_dplane.c:4096:
< WARNING: line over 80 characters
< #4480: FILE: /tmp/f1-17278/zebra_dplane.c:4480:
Report for zebra_pbr.c | 4 issues
===============================================
< WARNING: line over 80 characters
< #558: FILE: /tmp/f1-17278/zebra_pbr.c:558:
< WARNING: line over 80 characters
< #576: FILE: /tmp/f1-17278/zebra_pbr.c:576:

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 4, 2021

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

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

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 zebra_dplane.c | 6 issues
===============================================
< WARNING: line over 80 characters
< #3415: FILE: /tmp/f1-5985/zebra_dplane.c:3415:
< WARNING: line over 80 characters
< #4096: FILE: /tmp/f1-5985/zebra_dplane.c:4096:
< WARNING: line over 80 characters
< #4480: FILE: /tmp/f1-5985/zebra_dplane.c:4480:

Copy link
Contributor

@mjstapp mjstapp left a comment

Choose a reason for hiding this comment

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

just had a couple of questions

like it has been done for iptable contexts, a zebra dplane context is
created for each ipset/ipset entry event. The zebra_dplane_ctx job is
then enqueued and processed by separate thread. Like it has been done
for zebra_pbr_iptable context, the ipset and ipset entry contexts are
encapsulated into an union of structures in zebra_dplane_ctx.

There is a specificity in that when storing ipset_entry structure, there
was a backpointer pointer to the ipset structure that is necessary
to get some complementary information before calling the hook. The
proposal is to use an ipset_entry_info structure next to the ipset_entry,
in the zebra_dplane context. That information is used for ipset_entry
processing. The ipset name and the ipset type are the only fields
 necessary.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 10, 2021

💚 Basic BGPD CI results: SUCCESS, 0 tests failed

Results table
_ _
Result SUCCESS git merge/8124 ef52423
Date 03/10/2021
Start 09:11:04
Finish 09:50:22
Run-Time 39:18
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2021-03-10-09:11:04.txt
Log autoscript-2021-03-10-09:12:13.log.bz2
Memory 464 502 406

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

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 zebra_dplane.c | 6 issues
===============================================
< WARNING: line over 80 characters
< #3415: FILE: /tmp/f1-4359/zebra_dplane.c:3415:
< WARNING: line over 80 characters
< #4096: FILE: /tmp/f1-4359/zebra_dplane.c:4096:
< WARNING: line over 80 characters
< #4480: FILE: /tmp/f1-4359/zebra_dplane.c:4480:

Copy link
Contributor

@mjstapp mjstapp left a comment

Choose a reason for hiding this comment

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

Looks good to me now, thanks

@mjstapp mjstapp merged commit 6ff2514 into FRRouting:master Mar 10, 2021
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.

5 participants