Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

zebra: srv6 manager #5865

Merged
merged 66 commits into from
Jun 4, 2021
Merged

Conversation

slankdev
Copy link
Contributor

@slankdev slankdev commented Feb 26, 2020

This PR is part of #5853 that work as following:

  • add new CLI-node for SRv6 configuration on lib,vtysh,zebra
  • add new ZAPI to configure SRv6-locator and SRv6-function on zebra
  • add new CLI to configure SRv6-locator on zebra
  • add topotest for this featuree
  • add documentation

Easiest way to play this feature:: execute topotest

ref : http://docs.frrouting.org/projects/dev-guide/en/latest/topotests.html

// after topotest setup was done.
git checkout <this-PR>
./configure \
    --prefix=/usr \
    --localstatedir=/var/run/frr \
    --sbindir=/usr/lib/frr \
    --sysconfdir=/etc/frr \
    --enable-vtysh \
    --enable-pimd \
    --enable-sharpd \
    --enable-multipath=64 \
    --enable-user=frr \
    --enable-group=frr \
    --enable-vty-group=frrvty \
    --with-pkg-extra-version=-play-srv6-manager
make && make install

cd tests/topotests/srv6_manager/
./test_srv6_manager.py --topology-only

mininet> r1 vtysh -c 'show segment-routing srv6 locator'
Locator:
Name                 ID      Prefix                   Status
-------------------- ------- ------------------------ -------
loc1                       1 2001:db8:1:1::/64        Up
loc2                       2 2001:db8:2:2::/64        Up

This PR isn't working for (following are nextstep):

  • static function allocation and configuration by staticd.
  • seg6 routing configuration.
  • sr tunsrc configuration.
  • bgpd support VPNv4 with SRv6 backend

This branch is tested On

  • userspace: ubuntu 18.04
  • kernel: 5.4.2

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/976c3248882c04d672e5fb73df5a388a/raw/5370987b100fec15f3ea5cf0f24e8688b3a0eec3/cr_5865_1582699442.diff | git apply

diff --git a/lib/command.h b/lib/command.h
index 31b3ac0b8..2c82160fb 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -84,87 +84,87 @@ struct host {
 
 /* List of CLI nodes. Please remember to update the name array in command.c. */
 enum node_type {
-	AUTH_NODE,		 /* Authentication mode of vty interface. */
-	VIEW_NODE,		 /* View node. Default mode of vty interface. */
-	AUTH_ENABLE_NODE,	/* Authentication mode for change enable. */
-	ENABLE_NODE,		 /* Enable node. */
-	CONFIG_NODE,		 /* Config node. Default mode of config file. */
-	DEBUG_NODE,		 /* Debug node. */
-	VRF_DEBUG_NODE,		 /* Vrf Debug node. */
-	NORTHBOUND_DEBUG_NODE,	 /* Northbound Debug node. */
-	DEBUG_VNC_NODE,		 /* Debug VNC node. */
-	RMAP_DEBUG_NODE,         /* Route-map debug node */
-	RESOLVER_DEBUG_NODE,	 /* Resolver debug node */
-	AAA_NODE,		 /* AAA node. */
-	KEYCHAIN_NODE,		 /* Key-chain node. */
-	KEYCHAIN_KEY_NODE,       /* Key-chain key node. */
-	IP_NODE,		 /* Static ip route node. */
-	VRF_NODE,		 /* VRF mode node. */
-	INTERFACE_NODE,		 /* Interface mode node. */
-	NH_GROUP_NODE,		 /* Nexthop-Group mode node. */
-	ZEBRA_NODE,		 /* zebra connection node. */
-	TABLE_NODE,		 /* rtm_table selection node. */
-	RIP_NODE,		 /* RIP protocol mode node. */
-	RIPNG_NODE,		 /* RIPng protocol mode node. */
-	BABEL_NODE,		 /* BABEL protocol mode node. */
-	EIGRP_NODE,		 /* EIGRP protocol mode node. */
-	BGP_NODE,		 /* BGP protocol mode which includes BGP4+ */
-	BGP_VPNV4_NODE,		 /* BGP MPLS-VPN PE exchange. */
-	BGP_VPNV6_NODE,		 /* BGP MPLS-VPN PE exchange. */
-	BGP_IPV4_NODE,		 /* BGP IPv4 unicast address family.  */
-	BGP_IPV4M_NODE,		 /* BGP IPv4 multicast address family.  */
-	BGP_IPV4L_NODE,		 /* BGP IPv4 labeled unicast address family.  */
-	BGP_IPV6_NODE,		 /* BGP IPv6 address family */
-	BGP_IPV6M_NODE,		 /* BGP IPv6 multicast address family. */
-	BGP_IPV6L_NODE,		 /* BGP IPv6 labeled unicast address family. */
-	BGP_VRF_POLICY_NODE,     /* BGP VRF policy */
-	BGP_VNC_DEFAULTS_NODE,   /* BGP VNC nve defaults */
-	BGP_VNC_NVE_GROUP_NODE,  /* BGP VNC nve group */
-	BGP_VNC_L2_GROUP_NODE,   /* BGP VNC L2 group */
-	RFP_DEFAULTS_NODE,       /* RFP defaults node */
-	BGP_EVPN_NODE,		 /* BGP EVPN node. */
-	OSPF_NODE,		 /* OSPF protocol mode */
-	OSPF6_NODE,		 /* OSPF protocol for IPv6 mode */
-	LDP_NODE,		 /* LDP protocol mode */
-	LDP_IPV4_NODE,		 /* LDP IPv4 address family */
-	LDP_IPV6_NODE,		 /* LDP IPv6 address family */
-	LDP_IPV4_IFACE_NODE,     /* LDP IPv4 Interface */
-	LDP_IPV6_IFACE_NODE,     /* LDP IPv6 Interface */
-	LDP_L2VPN_NODE,		 /* LDP L2VPN node */
-	LDP_PSEUDOWIRE_NODE,     /* LDP Pseudowire node */
-	ISIS_NODE,		 /* ISIS protocol mode */
-	ACCESS_NODE,		 /* Access list node. */
-	PREFIX_NODE,		 /* Prefix list node. */
-	ACCESS_IPV6_NODE,	/* Access list node. */
-	ACCESS_MAC_NODE,	 /* MAC access list node*/
-	PREFIX_IPV6_NODE,	/* Prefix list node. */
-	AS_LIST_NODE,		 /* AS list node. */
-	COMMUNITY_LIST_NODE,     /* Community list node. */
-	RMAP_NODE,		 /* Route map node. */
-	PBRMAP_NODE,		 /* PBR map node. */
-	SMUX_NODE,		 /* SNMP configuration node. */
-	DUMP_NODE,		 /* Packet dump node. */
-	FORWARDING_NODE,	 /* IP forwarding node. */
-	PROTOCOL_NODE,		 /* protocol filtering node */
-	MPLS_NODE,		 /* MPLS config node */
-	SR_NODE,		 /* SR node */
-	SRV6_NODE,		 /* SRv6 node */
-	SRV6_LOCS_NODE,		 /* SRv6 locators node */
-	SRV6_LOC_NODE,		 /* SRv6 locator node */
-	PW_NODE,		 /* Pseudowire config node */
-	VTY_NODE,		 /* Vty node. */
-	LINK_PARAMS_NODE,	/* Link-parameters node */
-	BGP_EVPN_VNI_NODE,       /* BGP EVPN VNI */
-	RPKI_NODE,     /* RPKI node for configuration of RPKI cache server
-			  connections.*/
-	BGP_FLOWSPECV4_NODE,	/* BGP IPv4 FLOWSPEC Address-Family */
-	BGP_FLOWSPECV6_NODE,	/* BGP IPv6 FLOWSPEC Address-Family */
-	BFD_NODE,		 /* BFD protocol mode. */
-	BFD_PEER_NODE,		 /* BFD peer configuration mode. */
-	OPENFABRIC_NODE,	/* OpenFabric router configuration node */
-	VRRP_NODE,		 /* VRRP node */
-	BMP_NODE,		/* BMP config under router bgp */
-	NODE_TYPE_MAX, /* maximum */
+	AUTH_NODE,		/* Authentication mode of vty interface. */
+	VIEW_NODE,		/* View node. Default mode of vty interface. */
+	AUTH_ENABLE_NODE,       /* Authentication mode for change enable. */
+	ENABLE_NODE,		/* Enable node. */
+	CONFIG_NODE,		/* Config node. Default mode of config file. */
+	DEBUG_NODE,		/* Debug node. */
+	VRF_DEBUG_NODE,		/* Vrf Debug node. */
+	NORTHBOUND_DEBUG_NODE,  /* Northbound Debug node. */
+	DEBUG_VNC_NODE,		/* Debug VNC node. */
+	RMAP_DEBUG_NODE,	/* Route-map debug node */
+	RESOLVER_DEBUG_NODE,    /* Resolver debug node */
+	AAA_NODE,		/* AAA node. */
+	KEYCHAIN_NODE,		/* Key-chain node. */
+	KEYCHAIN_KEY_NODE,      /* Key-chain key node. */
+	IP_NODE,		/* Static ip route node. */
+	VRF_NODE,		/* VRF mode node. */
+	INTERFACE_NODE,		/* Interface mode node. */
+	NH_GROUP_NODE,		/* Nexthop-Group mode node. */
+	ZEBRA_NODE,		/* zebra connection node. */
+	TABLE_NODE,		/* rtm_table selection node. */
+	RIP_NODE,		/* RIP protocol mode node. */
+	RIPNG_NODE,		/* RIPng protocol mode node. */
+	BABEL_NODE,		/* BABEL protocol mode node. */
+	EIGRP_NODE,		/* EIGRP protocol mode node. */
+	BGP_NODE,		/* BGP protocol mode which includes BGP4+ */
+	BGP_VPNV4_NODE,		/* BGP MPLS-VPN PE exchange. */
+	BGP_VPNV6_NODE,		/* BGP MPLS-VPN PE exchange. */
+	BGP_IPV4_NODE,		/* BGP IPv4 unicast address family.  */
+	BGP_IPV4M_NODE,		/* BGP IPv4 multicast address family.  */
+	BGP_IPV4L_NODE,		/* BGP IPv4 labeled unicast address family.  */
+	BGP_IPV6_NODE,		/* BGP IPv6 address family */
+	BGP_IPV6M_NODE,		/* BGP IPv6 multicast address family. */
+	BGP_IPV6L_NODE,		/* BGP IPv6 labeled unicast address family. */
+	BGP_VRF_POLICY_NODE,    /* BGP VRF policy */
+	BGP_VNC_DEFAULTS_NODE,  /* BGP VNC nve defaults */
+	BGP_VNC_NVE_GROUP_NODE, /* BGP VNC nve group */
+	BGP_VNC_L2_GROUP_NODE,  /* BGP VNC L2 group */
+	RFP_DEFAULTS_NODE,      /* RFP defaults node */
+	BGP_EVPN_NODE,		/* BGP EVPN node. */
+	OSPF_NODE,		/* OSPF protocol mode */
+	OSPF6_NODE,		/* OSPF protocol for IPv6 mode */
+	LDP_NODE,		/* LDP protocol mode */
+	LDP_IPV4_NODE,		/* LDP IPv4 address family */
+	LDP_IPV6_NODE,		/* LDP IPv6 address family */
+	LDP_IPV4_IFACE_NODE,    /* LDP IPv4 Interface */
+	LDP_IPV6_IFACE_NODE,    /* LDP IPv6 Interface */
+	LDP_L2VPN_NODE,		/* LDP L2VPN node */
+	LDP_PSEUDOWIRE_NODE,    /* LDP Pseudowire node */
+	ISIS_NODE,		/* ISIS protocol mode */
+	ACCESS_NODE,		/* Access list node. */
+	PREFIX_NODE,		/* Prefix list node. */
+	ACCESS_IPV6_NODE,       /* Access list node. */
+	ACCESS_MAC_NODE,	/* MAC access list node*/
+	PREFIX_IPV6_NODE,       /* Prefix list node. */
+	AS_LIST_NODE,		/* AS list node. */
+	COMMUNITY_LIST_NODE,    /* Community list node. */
+	RMAP_NODE,		/* Route map node. */
+	PBRMAP_NODE,		/* PBR map node. */
+	SMUX_NODE,		/* SNMP configuration node. */
+	DUMP_NODE,		/* Packet dump node. */
+	FORWARDING_NODE,	/* IP forwarding node. */
+	PROTOCOL_NODE,		/* protocol filtering node */
+	MPLS_NODE,		/* MPLS config node */
+	SR_NODE,		/* SR node */
+	SRV6_NODE,		/* SRv6 node */
+	SRV6_LOCS_NODE,		/* SRv6 locators node */
+	SRV6_LOC_NODE,		/* SRv6 locator node */
+	PW_NODE,		/* Pseudowire config node */
+	VTY_NODE,		/* Vty node. */
+	LINK_PARAMS_NODE,       /* Link-parameters node */
+	BGP_EVPN_VNI_NODE,      /* BGP EVPN VNI */
+	RPKI_NODE,	   /* RPKI node for configuration of RPKI cache server
+				connections.*/
+	BGP_FLOWSPECV4_NODE, /* BGP IPv4 FLOWSPEC Address-Family */
+	BGP_FLOWSPECV6_NODE, /* BGP IPv6 FLOWSPEC Address-Family */
+	BFD_NODE,	    /* BFD protocol mode. */
+	BFD_PEER_NODE,       /* BFD peer configuration mode. */
+	OPENFABRIC_NODE,     /* OpenFabric router configuration node */
+	VRRP_NODE,	   /* VRRP node */
+	BMP_NODE,	    /* BMP config under router bgp */
+	NODE_TYPE_MAX,       /* maximum */
 };
 
 extern vector cmdvec;
diff --git a/lib/nexthop.c b/lib/nexthop.c
index 580105b0b..db048fbca 100644
--- a/lib/nexthop.c
+++ b/lib/nexthop.c
@@ -425,8 +425,8 @@ void nexthop_del_labels(struct nexthop *nexthop)
 	}
 }
 
-void nexthop_add_seg6(struct nexthop *nexthop, int mode,
-		size_t num_segs, struct in6_addr *segs)
+void nexthop_add_seg6(struct nexthop *nexthop, int mode, size_t num_segs,
+		      struct in6_addr *segs)
 {
 	struct seg6_segs *nh_segs;
 
@@ -445,8 +445,8 @@ void nexthop_del_seg6(struct nexthop *nexthop)
 	}
 }
 
-void nexthop_add_seg6local(struct nexthop *nexthop,
-		uint32_t action, const struct seg6local_context *ctx)
+void nexthop_add_seg6local(struct nexthop *nexthop, uint32_t action,
+			   const struct seg6local_context *ctx)
 {
 	struct seg6local_context *nh_ctx;
 
@@ -649,8 +649,7 @@ void nexthop_copy_no_recurse(struct nexthop *copy,
 				 &nexthop->nh_seg6_segs->segs[0]);
 
 	if (nexthop->nh_seg6local_ctx) {
-		nexthop_add_seg6local(copy,
-				      nexthop->nh_seg6local_action,
+		nexthop_add_seg6local(copy, nexthop->nh_seg6local_action,
 				      nexthop->nh_seg6local_ctx);
 	}
 }
diff --git a/lib/nexthop.h b/lib/nexthop.h
index 17780ef96..caf8258f1 100644
--- a/lib/nexthop.h
+++ b/lib/nexthop.h
@@ -135,8 +135,8 @@ void nexthops_free(struct nexthop *nexthop);
 void nexthop_add_labels(struct nexthop *, enum lsp_types_t, uint8_t,
 			mpls_label_t *);
 void nexthop_del_labels(struct nexthop *);
-void nexthop_add_seg6(struct nexthop *nexthop, int mode,
-		      size_t num_segs, struct in6_addr *segs);
+void nexthop_add_seg6(struct nexthop *nexthop, int mode, size_t num_segs,
+		      struct in6_addr *segs);
 void nexthop_del_seg6(struct nexthop *nexthop);
 void nexthop_add_seg6local(struct nexthop *nexthop, uint32_t action,
 			   const struct seg6local_context *ctx);
diff --git a/lib/srv6.c b/lib/srv6.c
index 0859325d5..e78a0ab1a 100644
--- a/lib/srv6.c
+++ b/lib/srv6.c
@@ -84,7 +84,8 @@ int snprintf_seg6_segs(char *str,
 }
 
 const char *seg6local_context2str(char *str, size_t size,
-		const struct seg6local_context *ctx, uint32_t action)
+				  const struct seg6local_context *ctx,
+				  uint32_t action)
 {
 	char b0[128];
 
@@ -159,8 +160,8 @@ struct srv6_function *srv6_function_alloc(const struct prefix_ipv6 *prefix)
 }
 
 void srv6_function_init(struct srv6_function *function,
-		const char *locator_name,
-		const struct prefix_ipv6 *prefix)
+			const char *locator_name,
+			const struct prefix_ipv6 *prefix)
 {
 	memset(function, 0, sizeof(*function));
 	function->prefix.family = AF_INET6;
diff --git a/lib/srv6.h b/lib/srv6.h
index e6d1bcd04..ac1963630 100644
--- a/lib/srv6.h
+++ b/lib/srv6.h
@@ -148,21 +148,21 @@ static inline void *sid_copy(struct in6_addr *dst,
 const char *
 seg6local_action2str(uint32_t action);
 
-const char *
-seg6local_context2str(char *str, size_t size,
-		const struct seg6local_context *ctx, uint32_t action);
+const char *seg6local_context2str(char *str, size_t size,
+				  const struct seg6local_context *ctx,
+				  uint32_t action);
 
 int snprintf_seg6_segs(char *str,
 		size_t size, const struct seg6_segs *segs);
 
 extern struct srv6_locator *srv6_locator_alloc(const char *name);
 extern void srv6_locator_free(struct srv6_locator *locator);
-extern struct srv6_function *srv6_function_alloc(
-		const struct prefix_ipv6 *prefix);
+extern struct srv6_function *
+srv6_function_alloc(const struct prefix_ipv6 *prefix);
 extern void srv6_function_free(struct srv6_function *function);
 extern void srv6_function_init(struct srv6_function *function,
-		const char *locator_name,
-		const struct prefix_ipv6 *prefix);
+			       const char *locator_name,
+			       const struct prefix_ipv6 *prefix);
 
 #ifdef __cplusplus
 }
diff --git a/lib/zclient.c b/lib/zclient.c
index 1b26ed054..90c7eeba7 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -3181,8 +3181,8 @@ static int zclient_read(struct thread *thread)
 		break;
 	case ZEBRA_SRV6_LOCATOR_ADD:
 		if (zclient->srv6_locator_add)
-			(*zclient->srv6_locator_add)(command, zclient,
-						     length, vrf_id);
+			(*zclient->srv6_locator_add)(command, zclient, length,
+						     vrf_id);
 		break;
 	case ZEBRA_SRV6_LOCATOR_DELETE:
 		if (zclient->srv6_locator_delete)
@@ -3191,8 +3191,8 @@ static int zclient_read(struct thread *thread)
 		break;
 	case ZEBRA_SRV6_FUNCTION_ADD:
 		if (zclient->srv6_function_add)
-			(*zclient->srv6_function_add)(command, zclient,
-						      length, vrf_id);
+			(*zclient->srv6_function_add)(command, zclient, length,
+						      vrf_id);
 		break;
 	case ZEBRA_SRV6_FUNCTION_DELETE:
 		if (zclient->srv6_function_delete)
@@ -3448,8 +3448,7 @@ int zapi_srv6_function_encode(uint8_t cmd, struct stream *s,
 	return 0;
 }
 
-int zapi_srv6_function_decode(struct stream *s,
-			      struct srv6_function *function)
+int zapi_srv6_function_decode(struct stream *s, struct srv6_function *function)
 {
 	uint8_t namelen;
 
diff --git a/lib/zclient.h b/lib/zclient.h
index c27eddd54..f7443418d 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -451,12 +451,12 @@ struct zapi_route {
  * This flag tells Zebra that the route is a seg6 route and should
  * be treated specially.
  */
-#define ZEBRA_FLAG_SEG6_ROUTE         0x80
+#define ZEBRA_FLAG_SEG6_ROUTE 0x80
 /*
  * This flag tells Zebra that the route is a seg6local route and
  * should be treated specially.
  */
-#define ZEBRA_FLAG_SEG6LOCAL_ROUTE   0x100
+#define ZEBRA_FLAG_SEG6LOCAL_ROUTE 0x100
 
 	uint8_t message;
 
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 6c296328c..eae4703dd 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -1206,19 +1206,23 @@ static struct cmd_node nh_group_node = {
 };
 
 static struct cmd_node sr_node = {
-	SR_NODE, "%s(config-sr)# ",
+	SR_NODE,
+	"%s(config-sr)# ",
 };
 
 static struct cmd_node srv6_node = {
-	SRV6_NODE, "%s(config-srv6)# ",
+	SRV6_NODE,
+	"%s(config-srv6)# ",
 };
 
 static struct cmd_node srv6_locs_node = {
-	SRV6_LOCS_NODE, "%s(config-srv6-locators)# ",
+	SRV6_LOCS_NODE,
+	"%s(config-srv6-locators)# ",
 };
 
 static struct cmd_node srv6_loc_node = {
-	SRV6_LOC_NODE, "%s(config-srv6-locator)# ",
+	SRV6_LOC_NODE,
+	"%s(config-srv6-locator)# ",
 };
 
 static struct cmd_node rmap_node = {RMAP_NODE, "%s(config-route-map)# "};
@@ -1351,32 +1355,27 @@ DEFUNSH(VTYSH_REALLYALL, vtysh_end_all, vtysh_end_all_cmd, "end",
 	return vtysh_end();
 }
 
-DEFUNSH(VTYSH_SR, segment_routing, segment_routing_cmd,
-	"segment-routing",
+DEFUNSH(VTYSH_SR, segment_routing, segment_routing_cmd, "segment-routing",
 	"Segment-Routing configration\n")
 {
 	vty->node = SR_NODE;
 	return CMD_SUCCESS;
 }
 
-DEFUNSH(VTYSH_SR, srv6, srv6_cmd,
-	"srv6",
-	"Segment-Routing SRv6 configration\n")
+DEFUNSH(VTYSH_SR, srv6, srv6_cmd, "srv6", "Segment-Routing SRv6 configration\n")
 {
 	vty->node = SRV6_NODE;
 	return CMD_SUCCESS;
 }
 
-DEFUNSH(VTYSH_SR, srv6_locators, srv6_locators_cmd,
-	"locators",
+DEFUNSH(VTYSH_SR, srv6_locators, srv6_locators_cmd, "locators",
 	"Segment-Routing SRv6 locators configration\n")
 {
 	vty->node = SRV6_LOCS_NODE;
 	return CMD_SUCCESS;
 }
 
-DEFUNSH(VTYSH_SR, srv6_locator, srv6_locator_cmd,
-	"locator WORD",
+DEFUNSH(VTYSH_SR, srv6_locator, srv6_locator_cmd, "locator WORD",
 	"Segment Routing SRv6 locator\n"
 	"Specify locator-name\n")
 {
diff --git a/vtysh/vtysh.h b/vtysh/vtysh.h
index 3cac68296..bfea7f3b7 100644
--- a/vtysh/vtysh.h
+++ b/vtysh/vtysh.h
@@ -58,7 +58,7 @@ DECLARE_MGROUP(MVTYSH)
 #define VTYSH_KEYS        VTYSH_RIPD|VTYSH_EIGRPD
 /* Daemons who can process nexthop-group configs */
 #define VTYSH_NH_GROUP    VTYSH_PBRD|VTYSH_SHARPD
-#define VTYSH_SR          VTYSH_ZEBRA
+#define VTYSH_SR VTYSH_ZEBRA
 
 enum vtysh_write_integrated {
 	WRITE_INTEGRATED_UNSPECIFIED,
diff --git a/zebra/main.c b/zebra/main.c
index ae63793e6..f19ca1b25 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -418,8 +418,8 @@ int main(int argc, char **argv)
 	zebra_srv6_init();
 	zebra_srv6_vty_init();
 
-/* For debug purpose. */
-/* SET_FLAG (zebra_debug_event, ZEBRA_DEBUG_EVENT); */
+	/* For debug purpose. */
+	/* SET_FLAG (zebra_debug_event, ZEBRA_DEBUG_EVENT); */
 
 	/* Process the configuration file. Among other configuration
 	*  directives we can meet those installing static routes. Such
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c
index a63188843..dd75b707a 100644
--- a/zebra/rt_netlink.c
+++ b/zebra/rt_netlink.c
@@ -1178,14 +1178,14 @@ static void _netlink_route_build_singlepath(const char *routedesc, int bytelen,
 		case ZEBRA_SEG6_LOCAL_ACTION_END_X:
 			addattr32(nlmsg, req_size, SEG6_LOCAL_ACTION,
 				  SEG6_LOCAL_ACTION_END_X);
-			addattr_l(nlmsg, req_size, SEG6_LOCAL_NH6,
-				  &ctx->nh6, sizeof(struct in6_addr));
+			addattr_l(nlmsg, req_size, SEG6_LOCAL_NH6, &ctx->nh6,
+				  sizeof(struct in6_addr));
 			break;
 		case ZEBRA_SEG6_LOCAL_ACTION_END_DX4:
 			addattr32(nlmsg, req_size, SEG6_LOCAL_ACTION,
 				  SEG6_LOCAL_ACTION_END_DX4);
-			addattr_l(nlmsg, req_size, SEG6_LOCAL_NH4,
-				  &ctx->nh4, sizeof(struct in_addr));
+			addattr_l(nlmsg, req_size, SEG6_LOCAL_NH4, &ctx->nh4,
+				  sizeof(struct in_addr));
 			break;
 		default:
 			zlog_err("%s: unsupport seg6local behaviour action=%u",
@@ -2153,8 +2153,9 @@ static int netlink_nexthop(int cmd, struct zebra_dplane_ctx *ctx)
 						  sizeof(struct in_addr));
 					break;
 				default:
-					zlog_err("%s: unsupport seg6local behaviour action=%u",
-						 __func__, action);
+					zlog_err(
+						"%s: unsupport seg6local behaviour action=%u",
+						__func__, action);
 					break;
 				}
 				addattr_nest_end(&req.n, nest);
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index e9895f6ae..ab114f980 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -1089,8 +1089,7 @@ int zsend_zebra_srv6_locator_add(struct zserv *client,
 {
 	struct stream *s = stream_new(ZEBRA_MAX_PACKET_SIZ);
 
-	if (zapi_srv6_locator_encode(ZEBRA_SRV6_LOCATOR_ADD,
-				     s, locator) < 0) {
+	if (zapi_srv6_locator_encode(ZEBRA_SRV6_LOCATOR_ADD, s, locator) < 0) {
 		stream_free(s);
 		return -1;
 	}
@@ -1103,8 +1102,8 @@ int zsend_zebra_srv6_locator_delete(struct zserv *client,
 {
 	struct stream *s = stream_new(ZEBRA_MAX_PACKET_SIZ);
 
-	if (zapi_srv6_locator_encode(ZEBRA_SRV6_LOCATOR_DELETE,
-				     s, locator) < 0) {
+	if (zapi_srv6_locator_encode(ZEBRA_SRV6_LOCATOR_DELETE, s, locator)
+	    < 0) {
 		stream_free(s);
 		return -1;
 	}
@@ -1688,11 +1687,11 @@ static void zread_route_add(ZAPI_HANDLER_ARGS)
 		    && api_nh->type != NEXTHOP_TYPE_BLACKHOLE) {
 			if (IS_ZEBRA_DEBUG_RECV)
 				zlog_debug("%s: adding seg6local action %s",
-					   __func__, seg6local_action2str(
+					   __func__,
+					   seg6local_action2str(
 						   api_nh->seg6local_action));
 
-			nexthop_add_seg6local(nexthop,
-					      api_nh->seg6local_action,
+			nexthop_add_seg6local(nexthop, api_nh->seg6local_action,
 					      &api_nh->seg6local_ctx);
 		}
 
@@ -2777,8 +2776,7 @@ void (*const zserv_handlers[])(ZAPI_HANDLER_ARGS) = {
 	[ZEBRA_MLAG_FORWARD_MSG] = zebra_mlag_forward_client_msg,
 	[ZEBRA_SRV6_FUNCTION_ADD] = zrecv_zebra_srv6_function_add,
 	[ZEBRA_SRV6_FUNCTION_DELETE] = zrecv_zebra_srv6_function_delete,
-	[ZEBRA_CLIENT_CAPABILITIES] = zread_client_capabilities
-};
+	[ZEBRA_CLIENT_CAPABILITIES] = zread_client_capabilities};
 
 #if defined(HANDLE_ZAPI_FUZZING)
 extern struct zebra_privs_t zserv_privs;
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index d773d892d..5cd2347da 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -650,11 +650,13 @@ static void vty_show_ip_route(struct vty *vty, struct route_node *rn,
 
 			if (nexthop->nh_seg6local_ctx) {
 				json_seg6local = json_object_new_object();
-				json_object_string_add(json_seg6local,
-					"action", seg6local_action2str(
-					nexthop->nh_seg6local_action));
+				json_object_string_add(
+					json_seg6local, "action",
+					seg6local_action2str(
+						nexthop->nh_seg6local_action));
 				json_object_object_add(json_nexthop,
-					"seg6local", json_seg6local);
+						       "seg6local",
+						       json_seg6local);
 			}
 
 			json_object_array_add(json_nexthops, json_nexthop);
@@ -787,11 +789,12 @@ static void vty_show_ip_route(struct vty *vty, struct route_node *rn,
 
 		if (nexthop->nh_seg6local_ctx) {
 			seg6local_context2str(buf, sizeof(buf),
-				nexthop->nh_seg6local_ctx,
-				nexthop->nh_seg6local_action);
+					      nexthop->nh_seg6local_ctx,
+					      nexthop->nh_seg6local_action);
 			vty_out(vty, ", seg6local %s %s",
 				seg6local_action2str(
-					nexthop->nh_seg6local_action), buf);
+					nexthop->nh_seg6local_action),
+				buf);
 		}
 
 		if (uptime < ONE_DAY_SECOND)

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

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Feb 26, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Get source / Pull Request: Successful

Building Stage: Failed

Ubuntu 16.04 i386 build: Failed (click for details)

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

make[1]: Entering directory '/home/ci/cibuild.10865/frr-source'
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

Ubuntu 14.04 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:209:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

Debian 8 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:209:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

FreeBSD 12 amd64 build: Failed (click for details)

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

 ^~~~~~~~~~
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:10: fatal error: linux/types.h: No such file or directory
 #include <linux/types.h>
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

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-10865/artifact/CI011BUILD/ErrorLog/log_make.txt)

In file included from zebra/zebra_srv6.c:37:
In file included from ./include/linux/seg6_iptunnel.h:18:
./include/linux/seg6.h:18:10: fatal error: 'linux/types.h' file not found
#include <linux/types.h>
1 error generated.
gmake[1]: *** [Makefile:7620: zebra/zebra_srv6.o] Error 1
gmake[1]: Target 'all-am' not remade because of errors.
gmake[1]: Leaving directory '/home/ci/cibuild.10865/frr-source'
gmake: *** [Makefile:4531: all] Error 2

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

NetBSD 8 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:25: fatal error: linux/types.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")
 ^

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
In file included from ./include/linux/seg6_iptunnel.h:18,
./include/linux/seg6.h:18:10: fatal error: linux/types.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
In file included from ./lib/table.h:26,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define

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

NetBSD 6 amd64 build: Failed (click for details)

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

/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:25: fatal error: linux/types.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:7147: zebra/zebra_srv6.o] Error 1
doc/user/_build/texinfo/frr.texi:5: warning: unrecognized encoding name `UTF-8'.
gmake[1]: Target 'all-am' not remade because of errors.
gmake[1]: Leaving directory '/home/ci/cibuild.10865/frr-source'
gmake: *** [Makefile:4064: all] Error 2

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

Successful on other platforms
  • Ubuntu 12.04 amd64 build
  • Ubuntu 18.04 ppc64le build
  • Fedora 29 amd64 build
  • CentOS 7 amd64 build
  • Debian 10 amd64 build
  • Debian 9 amd64 build
  • Ubuntu 18.04 amd64 build

Warnings Generated during build:

Checkout code: Successful with additional warnings
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-10865/artifact/U1604I386/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.10865/frr-source'
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

Ubuntu 14.04 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:209:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

Debian 8 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:209:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

FreeBSD 12 amd64 build: Failed (click for details)

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

 ^~~~~~~~~~
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:10: fatal error: linux/types.h: No such file or directory
 #include <linux/types.h>
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

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-10865/artifact/CI011BUILD/ErrorLog/log_make.txt)

In file included from zebra/zebra_srv6.c:37:
In file included from ./include/linux/seg6_iptunnel.h:18:
./include/linux/seg6.h:18:10: fatal error: 'linux/types.h' file not found
#include <linux/types.h>
1 error generated.
gmake[1]: *** [Makefile:7620: zebra/zebra_srv6.o] Error 1
gmake[1]: Target 'all-am' not remade because of errors.
gmake[1]: Leaving directory '/home/ci/cibuild.10865/frr-source'
gmake: *** [Makefile:4531: all] Error 2

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

NetBSD 8 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:25: fatal error: linux/types.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")
 ^

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
In file included from ./include/linux/seg6_iptunnel.h:18,
./include/linux/seg6.h:18:10: fatal error: linux/types.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
In file included from ./lib/table.h:26,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define

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

NetBSD 6 amd64 build: Failed (click for details)

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

/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:25: fatal error: linux/types.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:7147: zebra/zebra_srv6.o] Error 1
doc/user/_build/texinfo/frr.texi:5: warning: unrecognized encoding name `UTF-8'.
gmake[1]: Target 'all-am' not remade because of errors.
gmake[1]: Leaving directory '/home/ci/cibuild.10865/frr-source'
gmake: *** [Makefile:4064: all] Error 2

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

Report for command.c | 8 issues
===============================================
< WARNING: C99 // comments do not match recommendation
< #142: FILE: /tmp/f1-12292/command.c:142:
< WARNING: C99 // comments do not match recommendation
< #143: FILE: /tmp/f1-12292/command.c:143:
< WARNING: C99 // comments do not match recommendation
< #144: FILE: /tmp/f1-12292/command.c:144:
< WARNING: C99 // comments do not match recommendation
< #145: FILE: /tmp/f1-12292/command.c:145:
Report for zclient.h | 8 issues
===============================================
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #336: FILE: /tmp/f1-12292/zclient.h:336:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #337: FILE: /tmp/f1-12292/zclient.h:337:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #338: FILE: /tmp/f1-12292/zclient.h:338:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #339: FILE: /tmp/f1-12292/zclient.h:339:
Report for zebra_srv6.h | 8 issues
===============================================
WARNING: function definition argument 'ZAPI_HANDLER_ARGS' should also have an identifier name
#51: FILE: /tmp/f1-12292/zebra_srv6.h:51:
+extern void zrecv_zebra_srv6_function_add(ZAPI_HANDLER_ARGS);

WARNING: function definition argument 'ZAPI_HANDLER_ARGS' should also have an identifier name
#52: FILE: /tmp/f1-12292/zebra_srv6.h:52:
+extern void zrecv_zebra_srv6_function_delete(ZAPI_HANDLER_ARGS);
Report for zebra_srv6_vty.c | 16 issues
===============================================
WARNING: line over 80 characters
#81: FILE: /tmp/f1-12292/zebra_srv6_vty.c:81:
+		vty_out(vty, " Name       Context              Prefix                   Owner\n");

WARNING: line over 80 characters
#82: FILE: /tmp/f1-12292/zebra_srv6_vty.c:82:
+		vty_out(vty, "---------- -------------------- ------------------------ ------------\n");

WARNING: line over 80 characters
#179: FILE: /tmp/f1-12292/zebra_srv6_vty.c:179:
+		vty_out(vty, "Name                 ID      Prefix                   Status\n");

WARNING: line over 80 characters
#180: FILE: /tmp/f1-12292/zebra_srv6_vty.c:180:
+		vty_out(vty, "-------------------- ------- ------------------------ -------\n");

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

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

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

@LabN-CI
Copy link
Collaborator

LabN-CI commented Feb 26, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/5865 3686f9d
Date 02/26/2020
Start 01:45:52
Finish 02:11:43
Run-Time 25:51
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-02-26-01:45:52.txt
Log autoscript-2020-02-26-01:46:52.log.bz2
Memory 457 470 418

For details, please contact louberger

@slankdev slankdev force-pushed the slankdev-zebra-srv6-manager branch from 3686f9d to 1af5b33 Compare March 1, 2020 01:16
@slankdev
Copy link
Contributor Author

slankdev commented Mar 1, 2020

Above force-push fix the code-format depending this PR.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 1, 2020

Outdated results 🛑

Basic BGPD CI results: FAILURE

_ _
Result
Date
Start
Finish vncregress-2020-02-29-20:20:52.txt
Run-Time make-2020-02-29-20:20:52.out.bz2
Total
Pass Complete
Fail 11/13/2019
Valgrind-Errors 20:20:58
Valgrind-Loss 20:45:22
Details 24:24
Log 1815
Memory 1815
FAILURE git merge/5865 1af5b33 frr.github Build 0
02/29/2020 0
20:20:52 0
20:21:23 autoscript-2019-11-13-20:20:58.txt
00:31 autoscript-2019-11-13-20:20:58.log.bz2
442 437 366

|

For details, please contact louberger

@slankdev
Copy link
Contributor Author

slankdev commented Mar 1, 2020

CI Error while building stage isn't fixed yet. now I'm just working for that.

Also, BGPD CI error, I'll check that.

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 1, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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)

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:209:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

 ^~~~~~~~~~
In file included from ./include/linux/seg6_iptunnel.h:18,
./include/linux/seg6.h:18:10: fatal error: linux/types.h: No such file or directory
 #include <linux/types.h>
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

NetBSD 6 amd64 build: Failed (click for details)

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

/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:25: fatal error: linux/types.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:7147: zebra/zebra_srv6.o] Error 1
doc/user/_build/texinfo/frr.texi:5: warning: unrecognized encoding name `UTF-8'.
gmake[1]: Target 'all-am' not remade because of errors.
gmake[1]: Leaving directory '/home/ci/cibuild.10909/frr-source'
gmake: *** [Makefile:4064: all] Error 2

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

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-10909/artifact/CI011BUILD/ErrorLog/log_make.txt)

In file included from zebra/zebra_srv6.c:37:
In file included from ./include/linux/seg6_iptunnel.h:18:
./include/linux/seg6.h:18:10: fatal error: 'linux/types.h' file not found
#include <linux/types.h>
1 warning and 1 error generated.
gmake[1]: *** [Makefile:7620: zebra/zebra_srv6.o] Error 1
In file included from zebra/zebra_srv6_vty.c:25:
In file included from ./lib/command.h:30:
./lib/hash.h:40:1: warning: hash.h: time to remove hash_backet #define [-W#pragma-messages]

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

FreeBSD 12 amd64 build: Failed (click for details)

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

 ^~~~~~~~~~
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:10: fatal error: linux/types.h: No such file or directory
 #include <linux/types.h>
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

NetBSD 8 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:25: fatal error: linux/types.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")
 ^

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

Ubuntu 14.04 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:209:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

Ubuntu 16.04 i386 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

Successful on other platforms
  • Debian 10 amd64 build
  • CentOS 7 amd64 build
  • Ubuntu 18.04 amd64 build
  • Ubuntu 18.04 ppc64le build
  • Debian 9 amd64 build
  • Ubuntu 12.04 amd64 build
  • Fedora 29 amd64 build

Warnings Generated during build:

Checkout code: Successful with additional warnings
Debian 8 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:209:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

 ^~~~~~~~~~
In file included from ./include/linux/seg6_iptunnel.h:18,
./include/linux/seg6.h:18:10: fatal error: linux/types.h: No such file or directory
 #include <linux/types.h>
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

NetBSD 6 amd64 build: Failed (click for details)

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

/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:25: fatal error: linux/types.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:7147: zebra/zebra_srv6.o] Error 1
doc/user/_build/texinfo/frr.texi:5: warning: unrecognized encoding name `UTF-8'.
gmake[1]: Target 'all-am' not remade because of errors.
gmake[1]: Leaving directory '/home/ci/cibuild.10909/frr-source'
gmake: *** [Makefile:4064: all] Error 2

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

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-10909/artifact/CI011BUILD/ErrorLog/log_make.txt)

In file included from zebra/zebra_srv6.c:37:
In file included from ./include/linux/seg6_iptunnel.h:18:
./include/linux/seg6.h:18:10: fatal error: 'linux/types.h' file not found
#include <linux/types.h>
1 warning and 1 error generated.
gmake[1]: *** [Makefile:7620: zebra/zebra_srv6.o] Error 1
In file included from zebra/zebra_srv6_vty.c:25:
In file included from ./lib/command.h:30:
./lib/hash.h:40:1: warning: hash.h: time to remove hash_backet #define [-W#pragma-messages]

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

FreeBSD 12 amd64 build: Failed (click for details)

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

 ^~~~~~~~~~
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:10: fatal error: linux/types.h: No such file or directory
 #include <linux/types.h>
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

NetBSD 8 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6_iptunnel.h:18:0,
./include/linux/seg6.h:18:25: fatal error: linux/types.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")
 ^

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

Ubuntu 14.04 amd64 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:209:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

Ubuntu 16.04 i386 build: Failed (click for details)

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

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

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

Report for command.c | 8 issues
===============================================
< WARNING: C99 // comments do not match recommendation
< #142: FILE: /tmp/f1-28872/command.c:142:
< WARNING: C99 // comments do not match recommendation
< #143: FILE: /tmp/f1-28872/command.c:143:
< WARNING: C99 // comments do not match recommendation
< #144: FILE: /tmp/f1-28872/command.c:144:
< WARNING: C99 // comments do not match recommendation
< #145: FILE: /tmp/f1-28872/command.c:145:
Report for zclient.h | 8 issues
===============================================
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #336: FILE: /tmp/f1-28872/zclient.h:336:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #337: FILE: /tmp/f1-28872/zclient.h:337:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #338: FILE: /tmp/f1-28872/zclient.h:338:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #339: FILE: /tmp/f1-28872/zclient.h:339:
Report for zebra_srv6.h | 8 issues
===============================================
WARNING: function definition argument 'ZAPI_HANDLER_ARGS' should also have an identifier name
#51: FILE: /tmp/f1-28872/zebra_srv6.h:51:
+extern void zrecv_zebra_srv6_function_add(ZAPI_HANDLER_ARGS);

WARNING: function definition argument 'ZAPI_HANDLER_ARGS' should also have an identifier name
#52: FILE: /tmp/f1-28872/zebra_srv6.h:52:
+extern void zrecv_zebra_srv6_function_delete(ZAPI_HANDLER_ARGS);
Report for zebra_srv6_vty.c | 16 issues
===============================================
WARNING: line over 80 characters
#81: FILE: /tmp/f1-28872/zebra_srv6_vty.c:81:
+		vty_out(vty, " Name       Context              Prefix                   Owner\n");

WARNING: line over 80 characters
#82: FILE: /tmp/f1-28872/zebra_srv6_vty.c:82:
+		vty_out(vty, "---------- -------------------- ------------------------ ------------\n");

WARNING: line over 80 characters
#179: FILE: /tmp/f1-28872/zebra_srv6_vty.c:179:
+		vty_out(vty, "Name                 ID      Prefix                   Status\n");

WARNING: line over 80 characters
#180: FILE: /tmp/f1-28872/zebra_srv6_vty.c:180:
+		vty_out(vty, "-------------------- ------- ------------------------ -------\n");

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

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

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

@slankdev
Copy link
Contributor Author

slankdev commented Mar 1, 2020

For-future-contributors-Notes:

About CI error with following compiler notes.

 ^
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:32:8: error: redefinition of struct in6_addr
 struct in6_addr {
In file included from ./lib/zebra.h:145:0,
/usr/include/netinet/in.h:209:8: note: originally defined here
 struct in6_addr
In file included from ./include/linux/seg6.h:19:0,
/usr/include/linux/in6.h:49:8: error: redefinition of struct sockaddr_in6

This is depending _LINUX_IN6_H definition on c-source-file.
There are already workaround on following

frr/zebra/if_netlink.c

Lines 26 to 31 in 8105c99

/* The following definition is to workaround an issue in the Linux kernel
* header files with redefinition of 'struct in6_addr' in both
* netinet/in.h and linux/in6.h.
* Reference - https://sourceware.org/ml/libc-alpha/2013-01/msg00599.html
*/
#define _LINUX_IN6_H

@slankdev slankdev force-pushed the slankdev-zebra-srv6-manager branch from 1af5b33 to 4cab585 Compare March 1, 2020 02:58
@slankdev
Copy link
Contributor Author

slankdev commented Mar 1, 2020

Above force-push may fix the compile error on ubuntu16.04 and more. (fix CI error)
Also that may fix BSD build error.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 1, 2020

Outdated results 🛑

Basic BGPD CI results: FAILURE

_ _
Result
Date
Start
Finish vncregress-2020-02-29-22:00:50.txt
Run-Time make-2020-02-29-22:00:50.out.bz2
Total
Pass SUCCESS git merge/4884 4f0e29a
Fail 08/26/2019
Valgrind-Errors 22:00:52
Valgrind-Loss 22:22:48
Details 21:56
Log 1815
Memory 1815
FAILURE git merge/5865 4cab585 frr.github Build 0
02/29/2020 0
22:00:50 0
22:01:19 vncregress-2019-08-26-22:00:52.txt
00:29 autoscript-2019-08-26-22:01:46.log.bz2
425 436 360

|

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 1, 2020

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

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-10910/artifact/CI009BUILD/ErrorLog/log_make.txt)

 ^~~~~~~~~~
zebra/zebra_srv6.c: In function 'locator_init':
zebra/zebra_srv6.c:109:10: error: 'struct in6_addr' has no member named 's6_addr16'
zebra/zebra_srv6.c:103:9: error: variable 'idx' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

NetBSD 6 amd64 build: Failed (click for details)

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

/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
zebra/zebra_srv6.c: In function 'locator_init':
zebra/zebra_srv6.c:109:10: error: 'struct in6_addr' has no member named 's6_addr16'
gmake[1]: *** [Makefile:7147: zebra/zebra_srv6.o] Error 1
doc/user/_build/texinfo/frr.texi:5: warning: unrecognized encoding name `UTF-8'.
gmake[1]: Target 'all-am' not remade because of errors.
gmake[1]: Leaving directory '/home/ci/cibuild.10910/frr-source'
gmake: *** [Makefile:4064: all] Error 2

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

FreeBSD 12 amd64 build: Failed (click for details)

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

 ^~~~~~~~~~
zebra/zebra_srv6.c: In function 'locator_init':
zebra/zebra_srv6.c:109:10: error: 'struct in6_addr' has no member named 's6_addr16'
zebra/zebra_srv6.c:103:9: error: variable 'idx' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

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-10910/artifact/CI011BUILD/ErrorLog/log_make.txt)

 message "hash.h: time to remove hash_backet #define"
 ^
zebra/zebra_srv6.c:109:11: error: no member named 's6_addr16' in 'struct in6_addr'
1 warning and 1 error generated.
gmake[1]: *** [Makefile:7620: zebra/zebra_srv6.o] Error 1
In file included from zebra/zebra_srv6_vty.c:25:
In file included from ./lib/command.h:30:
./lib/hash.h:40:1: warning: hash.h: time to remove hash_backet #define [-W#pragma-messages]
CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

NetBSD 8 amd64 build: Failed (click for details)

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

 ^
zebra/zebra_srv6.c: In function 'locator_init':
zebra/zebra_srv6.c:109:10: error: 'struct in6_addr' has no member named 's6_addr16'
zebra/zebra_srv6.c:103:9: error: variable 'idx' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

Successful on other platforms
  • Debian 8 amd64 build
  • CentOS 7 amd64 build
  • Debian 10 amd64 build
  • Ubuntu 16.04 amd64 build
  • Ubuntu 18.04 amd64 build
  • Ubuntu 18.04 ppc64le build
  • Debian 9 amd64 build
  • Ubuntu 12.04 amd64 build
  • Ubuntu 14.04 amd64 build
  • Ubuntu 16.04 i386 build
  • Fedora 29 amd64 build

Warnings Generated during build:

Checkout code: Successful with additional warnings
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-10910/artifact/CI009BUILD/ErrorLog/log_make.txt)

 ^~~~~~~~~~
zebra/zebra_srv6.c: In function 'locator_init':
zebra/zebra_srv6.c:109:10: error: 'struct in6_addr' has no member named 's6_addr16'
zebra/zebra_srv6.c:103:9: error: variable 'idx' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

NetBSD 6 amd64 build: Failed (click for details)

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

/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
zebra/zebra_srv6.c: In function 'locator_init':
zebra/zebra_srv6.c:109:10: error: 'struct in6_addr' has no member named 's6_addr16'
gmake[1]: *** [Makefile:7147: zebra/zebra_srv6.o] Error 1
doc/user/_build/texinfo/frr.texi:5: warning: unrecognized encoding name `UTF-8'.
gmake[1]: Target 'all-am' not remade because of errors.
gmake[1]: Leaving directory '/home/ci/cibuild.10910/frr-source'
gmake: *** [Makefile:4064: all] Error 2

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

FreeBSD 12 amd64 build: Failed (click for details)

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

 ^~~~~~~~~~
zebra/zebra_srv6.c: In function 'locator_init':
zebra/zebra_srv6.c:109:10: error: 'struct in6_addr' has no member named 's6_addr16'
zebra/zebra_srv6.c:103:9: error: variable 'idx' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

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-10910/artifact/CI011BUILD/ErrorLog/log_make.txt)

 message "hash.h: time to remove hash_backet #define"
 ^
zebra/zebra_srv6.c:109:11: error: no member named 's6_addr16' in 'struct in6_addr'
1 warning and 1 error generated.
gmake[1]: *** [Makefile:7620: zebra/zebra_srv6.o] Error 1
In file included from zebra/zebra_srv6_vty.c:25:
In file included from ./lib/command.h:30:
./lib/hash.h:40:1: warning: hash.h: time to remove hash_backet #define [-W#pragma-messages]
CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

NetBSD 8 amd64 build: Failed (click for details)

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

 ^
zebra/zebra_srv6.c: In function 'locator_init':
zebra/zebra_srv6.c:109:10: error: 'struct in6_addr' has no member named 's6_addr16'
zebra/zebra_srv6.c:103:9: error: variable 'idx' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30:0,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

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

Report for command.c | 8 issues
===============================================
< WARNING: C99 // comments do not match recommendation
< #142: FILE: /tmp/f1-17440/command.c:142:
< WARNING: C99 // comments do not match recommendation
< #143: FILE: /tmp/f1-17440/command.c:143:
< WARNING: C99 // comments do not match recommendation
< #144: FILE: /tmp/f1-17440/command.c:144:
< WARNING: C99 // comments do not match recommendation
< #145: FILE: /tmp/f1-17440/command.c:145:
Report for zclient.h | 8 issues
===============================================
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #336: FILE: /tmp/f1-17440/zclient.h:336:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #337: FILE: /tmp/f1-17440/zclient.h:337:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #338: FILE: /tmp/f1-17440/zclient.h:338:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #339: FILE: /tmp/f1-17440/zclient.h:339:
Report for zebra_srv6.h | 8 issues
===============================================
WARNING: function definition argument 'ZAPI_HANDLER_ARGS' should also have an identifier name
#51: FILE: /tmp/f1-17440/zebra_srv6.h:51:
+extern void zrecv_zebra_srv6_function_add(ZAPI_HANDLER_ARGS);

WARNING: function definition argument 'ZAPI_HANDLER_ARGS' should also have an identifier name
#52: FILE: /tmp/f1-17440/zebra_srv6.h:52:
+extern void zrecv_zebra_srv6_function_delete(ZAPI_HANDLER_ARGS);
Report for zebra_srv6_vty.c | 16 issues
===============================================
WARNING: line over 80 characters
#81: FILE: /tmp/f1-17440/zebra_srv6_vty.c:81:
+		vty_out(vty, " Name       Context              Prefix                   Owner\n");

WARNING: line over 80 characters
#82: FILE: /tmp/f1-17440/zebra_srv6_vty.c:82:
+		vty_out(vty, "---------- -------------------- ------------------------ ------------\n");

WARNING: line over 80 characters
#179: FILE: /tmp/f1-17440/zebra_srv6_vty.c:179:
+		vty_out(vty, "Name                 ID      Prefix                   Status\n");

WARNING: line over 80 characters
#180: FILE: /tmp/f1-17440/zebra_srv6_vty.c:180:
+		vty_out(vty, "-------------------- ------- ------------------------ -------\n");

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

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

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

@slankdev slankdev force-pushed the slankdev-zebra-srv6-manager branch from 4cab585 to 346f80d Compare March 1, 2020 03:49
@slankdev
Copy link
Contributor Author

slankdev commented Mar 1, 2020

Above force-push may fix BSD build failure.
I didn't know s6_addr16 isn't defined on BSD kernel-header. I'll fix that.

 ^~~~~~~~~~
zebra/zebra_srv6.c: In function 'locator_init':
zebra/zebra_srv6.c:109:10: error: 'struct in6_addr' has no member named 's6_addr16'
zebra/zebra_srv6.c:103:9: error: variable 'idx' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:7621: zebra/zebra_srv6.o] Error 1
In file included from ./lib/command.h:30,
./lib/hash.h:40:1: note: #pragma message: hash.h: time to remove hash_backet #define
 CPP_NOTICE("hash.h: time to remove hash_backet #define")

There are FreeBSD definition.
https://github.com/freebsd/freebsd/blob/4bc75f60bb86bafc55ceaa6ebf3ef7487f651431/sys/netinet6/in6.h#L94-L110

There are Linux defiinition.
https://github.com/torvalds/linux/blob/fb279f4e238617417b132a550f24c1e86d922558/include/uapi/linux/in6.h#L32-L47

@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 1, 2020

Outdated results 🛑

Basic BGPD CI results: FAILURE

_ _
Result FAILURE git merge/5865 346f80d frr.github Build
Date 02/29/2020
Start 22:50:51
Finish 22:51:22
Run-Time 00:31
Total
Pass
Fail
Valgrind-Errors
Valgrind-Loss
Details vncregress-2020-02-29-22:50:51.txt
Log make-2020-02-29-22:50:51.out.bz2
Memory

For details, please contact louberger

zebra/zebra_srv6_vty.c Outdated Show resolved Hide resolved
@slankdev slankdev force-pushed the slankdev-zebra-srv6-manager branch from 346f80d to 315a367 Compare March 1, 2020 05:13
@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 1, 2020

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

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

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 command.c | 8 issues
===============================================
< WARNING: C99 // comments do not match recommendation
< #142: FILE: /tmp/f1-30456/command.c:142:
< WARNING: C99 // comments do not match recommendation
< #143: FILE: /tmp/f1-30456/command.c:143:
< WARNING: C99 // comments do not match recommendation
< #144: FILE: /tmp/f1-30456/command.c:144:
< WARNING: C99 // comments do not match recommendation
< #145: FILE: /tmp/f1-30456/command.c:145:
Report for zclient.h | 8 issues
===============================================
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #336: FILE: /tmp/f1-30456/zclient.h:336:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #337: FILE: /tmp/f1-30456/zclient.h:337:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #338: FILE: /tmp/f1-30456/zclient.h:338:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #339: FILE: /tmp/f1-30456/zclient.h:339:
Report for zebra_srv6.h | 8 issues
===============================================
WARNING: function definition argument 'ZAPI_HANDLER_ARGS' should also have an identifier name
#51: FILE: /tmp/f1-30456/zebra_srv6.h:51:
+extern void zrecv_zebra_srv6_function_add(ZAPI_HANDLER_ARGS);

WARNING: function definition argument 'ZAPI_HANDLER_ARGS' should also have an identifier name
#52: FILE: /tmp/f1-30456/zebra_srv6.h:52:
+extern void zrecv_zebra_srv6_function_delete(ZAPI_HANDLER_ARGS);
Report for zebra_srv6_vty.c | 16 issues
===============================================
WARNING: line over 80 characters
#81: FILE: /tmp/f1-30456/zebra_srv6_vty.c:81:
+		vty_out(vty, " Name       Context              Prefix                   Owner\n");

WARNING: line over 80 characters
#82: FILE: /tmp/f1-30456/zebra_srv6_vty.c:82:
+		vty_out(vty, "---------- -------------------- ------------------------ ------------\n");

WARNING: line over 80 characters
#179: FILE: /tmp/f1-30456/zebra_srv6_vty.c:179:
+		vty_out(vty, "Name                 ID      Prefix                   Status\n");

WARNING: line over 80 characters
#180: FILE: /tmp/f1-30456/zebra_srv6_vty.c:180:
+		vty_out(vty, "-------------------- ------- ------------------------ -------\n");

Warnings Generated during build:

Debian 10 amd64 build: Successful with additional warnings

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

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

@LabN-CI
Copy link
Collaborator

LabN-CI commented Mar 1, 2020

Outdated results 💚

Basic BGPD CI results: SUCCESS, 0 tests failed

_ _
Result SUCCESS git merge/5865 315a367
Date 03/01/2020
Start 00:15:50
Finish 00:41:53
Run-Time 26:03
Total 1815
Pass 1815
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2020-03-01-00:15:50.txt
Log autoscript-2020-03-01-00:16:48.log.bz2
Memory 481 460 417

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Mar 1, 2020

Continuous Integration Result: SUCCESSFUL

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

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

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 command.c | 8 issues
===============================================
< WARNING: C99 // comments do not match recommendation
< #142: FILE: /tmp/f1-18402/command.c:142:
< WARNING: C99 // comments do not match recommendation
< #143: FILE: /tmp/f1-18402/command.c:143:
< WARNING: C99 // comments do not match recommendation
< #144: FILE: /tmp/f1-18402/command.c:144:
< WARNING: C99 // comments do not match recommendation
< #145: FILE: /tmp/f1-18402/command.c:145:
Report for zclient.h | 8 issues
===============================================
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #336: FILE: /tmp/f1-18402/zclient.h:336:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #337: FILE: /tmp/f1-18402/zclient.h:337:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #338: FILE: /tmp/f1-18402/zclient.h:338:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #339: FILE: /tmp/f1-18402/zclient.h:339:
Report for zebra_srv6.h | 8 issues
===============================================
WARNING: function definition argument 'ZAPI_HANDLER_ARGS' should also have an identifier name
#51: FILE: /tmp/f1-18402/zebra_srv6.h:51:
+extern void zrecv_zebra_srv6_function_add(ZAPI_HANDLER_ARGS);

WARNING: function definition argument 'ZAPI_HANDLER_ARGS' should also have an identifier name
#52: FILE: /tmp/f1-18402/zebra_srv6.h:52:
+extern void zrecv_zebra_srv6_function_delete(ZAPI_HANDLER_ARGS);
Report for zebra_srv6_vty.c | 16 issues
===============================================
WARNING: line over 80 characters
#81: FILE: /tmp/f1-18402/zebra_srv6_vty.c:81:
+		vty_out(vty, " Name       Context              Prefix                   Owner\n");

WARNING: line over 80 characters
#82: FILE: /tmp/f1-18402/zebra_srv6_vty.c:82:
+		vty_out(vty, "---------- -------------------- ------------------------ ------------\n");

WARNING: line over 80 characters
#179: FILE: /tmp/f1-18402/zebra_srv6_vty.c:179:
+		vty_out(vty, "Name                 ID      Prefix                   Status\n");

WARNING: line over 80 characters
#180: FILE: /tmp/f1-18402/zebra_srv6_vty.c:180:
+		vty_out(vty, "-------------------- ------- ------------------------ -------\n");

Copy link
Member

@odd22 odd22 left a comment

Choose a reason for hiding this comment

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

Documentation needs to be reviewed (Typo + some sentences are unclear). For the code, there is some nits, but overall looks good to me a part the new CLI SR-NODE which needs to be discuss for coherency with OSPF & ISIS Segment Routing CLI.

doc/user/zebra.rst Show resolved Hide resolved
doc/user/zebra.rst Outdated Show resolved Hide resolved
doc/user/zebra.rst Outdated Show resolved Hide resolved
doc/user/zebra.rst Outdated Show resolved Hide resolved
doc/user/zebra.rst Outdated Show resolved Hide resolved
tests/topotests/srv6_manager/test_srv6_manager.py Outdated Show resolved Hide resolved
tests/topotests/srv6_manager/test_srv6_manager.py Outdated Show resolved Hide resolved
vtysh/vtysh.c Outdated Show resolved Hide resolved
zebra/zapi_msg.c Outdated Show resolved Hide resolved
zebra/zebra_srv6.c Show resolved Hide resolved
@srimohans srimohans self-requested a review March 3, 2020 00:49
doc/user/zebra.rst Outdated Show resolved Hide resolved
doc/user/zebra.rst Outdated Show resolved Hide resolved
doc/user/zebra.rst Outdated Show resolved Hide resolved
doc/user/zebra.rst Outdated Show resolved Hide resolved
doc/user/zebra.rst Outdated Show resolved Hide resolved
vtysh/vtysh.c Outdated Show resolved Hide resolved
@qlyoung
Copy link
Member

qlyoung commented Mar 3, 2020

Yes, please run a spellchecking tool over your docs.

Copy link
Member

@qlyoung qlyoung left a comment

Choose a reason for hiding this comment

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

Please address all of my comments, all of them are bugs.

lib/nexthop.c Outdated Show resolved Hide resolved
lib/nexthop.c Outdated Show resolved Hide resolved
lib/nexthop.c Outdated Show resolved Hide resolved
lib/srv6.c Outdated Show resolved Hide resolved
lib/srv6.c Outdated Show resolved Hide resolved
lib/srv6.c Outdated Show resolved Hide resolved
lib/zclient.c Outdated Show resolved Hide resolved
lib/zclient.c Outdated Show resolved Hide resolved
lib/zclient.c Outdated Show resolved Hide resolved
lib/zclient.c Outdated Show resolved Hide resolved
@odd22
Copy link
Member

odd22 commented Mar 4, 2020

@qlyoung Catch now. But I hate goto and label D:<

slankdev added 14 commits June 2, 2021 10:24
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
The "show sharp segment-routing srv6" command was a
json output command, but it did not follow the common
practice of the other commands.

It follows the review and outputs the json format by
using the json keyword. Otherwise, it produces human
readable output.

Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
FRRouting#5865 (comment)

As this comment says. ZEBRA_FLAG_XXX should not have been used.
To communicate SRv6 Route Information. A simple Nexthop Flag would
have been sufficient for SRv6 information. And I fixed the whole
thing that way.

Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
@mjstapp mjstapp force-pushed the slankdev-zebra-srv6-manager branch from 20e58b3 to 2ba6be5 Compare June 2, 2021 14:35
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!


Pylint found errors in source files changed by this PR:

Pylint report for my_frr/tests/topotests/srv6_locator/test_srv6_locator.py:
************* Module srv6_locator.test_srv6_locator
my_frr/tests/topotests/srv6_locator/test_srv6_locator.py:65:25: E1101: Instance of 'dict' has no 'iteritems' member (no-member)

-----------------------------------
Your code has been rated at 9.38/10



Pylint report for my_frr/tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py:
************* Module test_zebra_seg6_route
my_frr/tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py:55:0: E0102: class already defined line 44 (function-redefined)

-----------------------------------
Your code has been rated at 9.14/10



Pylint report for my_frr/tests/topotests/zebra_seg6local_route/test_zebra_seg6local_route.py:
************* Module test_zebra_seg6local_route
my_frr/tests/topotests/zebra_seg6local_route/test_zebra_seg6local_route.py:55:0: E0102: class already defined line 44 (function-redefined)

-----------------------------------
Your code has been rated at 9.14/10




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
Copy link
Contributor

mjstapp commented Jun 2, 2021

I've pushed an updated version of the branch that a) builds at each commit, and b) squashes some of the commits together.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Jun 2, 2021

💚 Basic BGPD CI results: SUCCESS, 0 tests failed

Results table
_ _
Result SUCCESS git merge/5865 2ba6be5
Date 06/02/2021
Start 10:47:37
Finish 11:13:03
Run-Time 25:26
Total 1815
Pass 1815
Fail 0
Valgrind-Errors
Valgrind-Loss
Details vncregress-2021-06-02-10:47:37.txt
Log autoscript-2021-06-02-10:48:51.log.bz2
Memory 517 517 431

For details, please contact louberger

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: FAILED

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

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

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

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

Topology Tests failed for Topotests debian 10 amd64 part 4:

2021-06-02 15:50:54,053 ERROR: 'router_json_cmp' failed after 130.28 seconds
2021-06-02 15:50:54,057 ERROR: assert failed at "bgp_ipv6_rtadv.test_bgp_ipv6_rtadv/test_protocols_convergence": "r2" JSON output mismatches
assert Generated JSON diff error report:
  
  > $: d2 has key '10.254.254.1/32' which is not present in d1
2021-06-02 15:54:38,445 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:-1 



2021-06-02 15:54:38,780 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:65536 



2021-06-02 15:54:39,149 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:4294967296 



2021-06-02 15:54:39,454 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:-1:1 



2021-06-02 15:54:41,337 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 1:a:2 



2021-06-02 15:57:49,816 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 2: % Unknown command[4]: bgp large-community-list standard Test1 permit  

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

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

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

Topology Tests failed for Topotests debian 10 amd64 part 4:

2021-06-02 15:50:54,053 ERROR: 'router_json_cmp' failed after 130.28 seconds
2021-06-02 15:50:54,057 ERROR: assert failed at "bgp_ipv6_rtadv.test_bgp_ipv6_rtadv/test_protocols_convergence": "r2" JSON output mismatches
assert Generated JSON diff error report:
  
  > $: d2 has key '10.254.254.1/32' which is not present in d1
2021-06-02 15:54:38,445 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:-1 



2021-06-02 15:54:38,780 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:65536 



2021-06-02 15:54:39,149 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:4294967296 



2021-06-02 15:54:39,454 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:-1:1 



2021-06-02 15:54:41,337 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 1:a:2 



2021-06-02 15:57:49,816 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 2: % Unknown command[4]: bgp large-community-list standard Test1 permit  

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

IPv6 protocols on Ubuntu 18.04: Incomplete (check logs for details)
Topotests debian 10 amd64 part 4: Failed (click for details)

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

Topology Tests failed for Topotests debian 10 amd64 part 4:

2021-06-02 15:50:54,053 ERROR: 'router_json_cmp' failed after 130.28 seconds
2021-06-02 15:50:54,057 ERROR: assert failed at "bgp_ipv6_rtadv.test_bgp_ipv6_rtadv/test_protocols_convergence": "r2" JSON output mismatches
assert Generated JSON diff error report:
  
  > $: d2 has key '10.254.254.1/32' which is not present in d1
2021-06-02 15:54:38,445 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:-1 



2021-06-02 15:54:38,780 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:65536 



2021-06-02 15:54:39,149 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:4294967296 



2021-06-02 15:54:39,454 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:-1:1 



2021-06-02 15:54:41,337 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 1:a:2 



2021-06-02 15:57:49,816 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 2: % Unknown command[4]: bgp large-community-list standard Test1 permit  

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

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

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

Topology Tests failed for Topotests debian 10 amd64 part 4:

2021-06-02 15:50:54,053 ERROR: 'router_json_cmp' failed after 130.28 seconds
2021-06-02 15:50:54,057 ERROR: assert failed at "bgp_ipv6_rtadv.test_bgp_ipv6_rtadv/test_protocols_convergence": "r2" JSON output mismatches
assert Generated JSON diff error report:
  
  > $: d2 has key '10.254.254.1/32' which is not present in d1
2021-06-02 15:54:38,445 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:-1 



2021-06-02 15:54:38,780 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp community-list standard ANY permit 0:65536 



2021-06-02 15:54:39,149 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:4294967296 



2021-06-02 15:54:39,454 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 0:-1:1 



2021-06-02 15:54:41,337 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: % Malformed community-list value
line 2: Failure to communicate[13] to bgpd, line: bgp large-community-list standard ANY permit 1:a:2 



2021-06-02 15:57:49,816 ERROR: Traceback (most recent call last):
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 2512, in create_bgp_community_lists
    tgen, router, config_data, "bgp_community_list", build=build
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 344, in create_common_configuration
    load_config_to_router(tgen, router)
  File "/root/bamboo-agent-home/xml-data/build-dir/FRR-FRRPULLREQ-TOPO4DEB10AMD64/topotests/lib/common_config.py", line 605, in load_config_to_router
    raise InvalidCLIError("%s" % output)
InvalidCLIError: line 2: % Unknown command[4]: bgp large-community-list standard Test1 permit  

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

IPv6 protocols on Ubuntu 18.04: Incomplete (check logs for details)
IPv4 protocols on Ubuntu 18.04: Incomplete (check logs for details)
Successful on other platforms/tests
  • IPv4 ldp protocol on Ubuntu 18.04
  • Topotests Ubuntu 18.04 amd64 part 4
  • Topotests Ubuntu 18.04 i386 part 0
  • Addresssanitizer topotests part 3
  • Topotests Ubuntu 18.04 i386 part 5
  • Topotests debian 10 amd64 part 9
  • Addresssanitizer topotests part 0
  • Topotests Ubuntu 18.04 i386 part 4
  • Topotests Ubuntu 18.04 i386 part 9
  • Topotests Ubuntu 18.04 amd64 part 0
  • Addresssanitizer topotests part 1
  • Topotests Ubuntu 18.04 amd64 part 3
  • Topotests Ubuntu 18.04 arm8 part 4
  • Topotests debian 10 amd64 part 7
  • Topotests Ubuntu 18.04 arm8 part 9
  • Topotests Ubuntu 18.04 arm8 part 6
  • Addresssanitizer topotests part 8
  • Topotests Ubuntu 18.04 arm8 part 1
  • Debian 10 deb pkg check
  • Topotests Ubuntu 18.04 amd64 part 7
  • Topotests Ubuntu 18.04 amd64 part 9
  • Addresssanitizer topotests part 6
  • Fedora 29 rpm pkg check
  • Topotests Ubuntu 18.04 amd64 part 5
  • Topotests debian 10 amd64 part 8
  • Topotests debian 10 amd64 part 1
  • Topotests Ubuntu 18.04 i386 part 7
  • Topotests debian 10 amd64 part 6
  • 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
  • CentOS 7 rpm pkg check
  • Topotests Ubuntu 18.04 amd64 part 8
  • Topotests Ubuntu 18.04 i386 part 2
  • 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
  • Topotests Ubuntu 18.04 i386 part 8
  • Topotests debian 10 amd64 part 0
  • Topotests Ubuntu 18.04 i386 part 3
  • Topotests debian 10 amd64 part 5
  • Topotests Ubuntu 18.04 i386 part 1
  • Addresssanitizer topotests part 7
  • Topotests Ubuntu 18.04 arm8 part 8
  • Topotests Ubuntu 18.04 amd64 part 2
  • Addresssanitizer topotests part 5
  • Static analyzer (clang)
  • Topotests debian 10 amd64 part 3
  • Topotests Ubuntu 18.04 amd64 part 6
  • Ubuntu 16.04 deb pkg check
  • Topotests Ubuntu 18.04 arm8 part 0
  • Topotests debian 10 amd64 part 2
  • Topotests Ubuntu 18.04 i386 part 6
  • Topotests Ubuntu 18.04 arm8 part 5

@mjstapp
Copy link
Contributor

mjstapp commented Jun 2, 2021

CI:rerun

@mjstapp
Copy link
Contributor

mjstapp commented Jun 3, 2021

re-trying CI, hopefully fixed today

@mjstapp
Copy link
Contributor

mjstapp commented Jun 3, 2021

CI:rerun

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: FAILED

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

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

Get source / Pull Request: Successful

Building Stage: Failed

Ubuntu 18.04 arm7 build: Failed (click for details)

DejaGNU Unittests (make check) failed for Ubuntu 18.04 arm7 build
see PyTest log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19405/artifact/U18ARM7BUILD/ErrorLog/log_pytests.txt
Ubuntu 18.04 arm7 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19405/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-19405/artifact/U18ARM7BUILD/config.status/config.status
Ubuntu 18.04 arm7 build: Unknown Log <frr.xref.xz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19405/artifact/U18ARM7BUILD/frr.xref.xz/frr.xref.xz

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

Warnings Generated during build:

Checkout code: Successful with additional warnings
Ubuntu 18.04 arm7 build: Failed (click for details)

DejaGNU Unittests (make check) failed for Ubuntu 18.04 arm7 build
see PyTest log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19405/artifact/U18ARM7BUILD/ErrorLog/log_pytests.txt
Ubuntu 18.04 arm7 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19405/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-19405/artifact/U18ARM7BUILD/config.status/config.status
Ubuntu 18.04 arm7 build: Unknown Log <frr.xref.xz>
URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-19405/artifact/U18ARM7BUILD/frr.xref.xz/frr.xref.xz

<stdin>:5231: new blank line at EOF.
+
<stdin>:5275: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
Report for bgp_mplsvpn.c | 2 issues
===============================================
< WARNING: Missing a blank line after declarations
< #667: FILE: /tmp/f1-21160/bgp_mplsvpn.c:667:
Report for bgp_nb_config.c | 4 issues
===============================================
< WARNING: line over 80 characters
< #11480: FILE: /tmp/f1-21160/bgp_nb_config.c:11480:
< WARNING: line over 80 characters
< #11519: FILE: /tmp/f1-21160/bgp_nb_config.c:11519:
Report for rt_netlink.c | 18 issues
===============================================
< WARNING: Too many leading tabs - consider code refactoring
< #2514: FILE: /tmp/f1-21160/rt_netlink.c:2514:
< WARNING: Too many leading tabs - consider code refactoring
< #2521: FILE: /tmp/f1-21160/rt_netlink.c:2521:
< WARNING: Too many leading tabs - consider code refactoring
< #2526: FILE: /tmp/f1-21160/rt_netlink.c:2526:
< WARNING: Too many leading tabs - consider code refactoring
< #2533: FILE: /tmp/f1-21160/rt_netlink.c:2533:
< WARNING: Too many leading tabs - consider code refactoring
< #2538: FILE: /tmp/f1-21160/rt_netlink.c:2538:
< WARNING: Too many leading tabs - consider code refactoring
< #2545: FILE: /tmp/f1-21160/rt_netlink.c:2545:
< WARNING: Too many leading tabs - consider code refactoring
< #2550: FILE: /tmp/f1-21160/rt_netlink.c:2550:
< WARNING: Too many leading tabs - consider code refactoring
< #2557: FILE: /tmp/f1-21160/rt_netlink.c:2557:
< WARNING: Too many leading tabs - consider code refactoring
< #2562: FILE: /tmp/f1-21160/rt_netlink.c:2562:
Report for zapi_msg.c | 2 issues
===============================================
< WARNING: Missing a blank line after declarations
< #3107: FILE: /tmp/f1-21160/zapi_msg.c:3107:
Report for zclient.h | 10 issues
===============================================
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #396: FILE: /tmp/f1-21160/zclient.h:396:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #397: FILE: /tmp/f1-21160/zclient.h:397:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #398: FILE: /tmp/f1-21160/zclient.h:398:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #399: FILE: /tmp/f1-21160/zclient.h:399:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #401: FILE: /tmp/f1-21160/zclient.h:401:
Report for zebra_errors.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #791: FILE: /tmp/f1-21160/zebra_errors.c:791:
Report for zebra_srv6_vty.c | 8 issues
===============================================
WARNING: line over 80 characters
#116: FILE: /tmp/f1-21160/zebra_srv6_vty.c:116:
+		vty_out(vty, "Name                 ID      Prefix                   Status\n");

WARNING: line over 80 characters
#117: FILE: /tmp/f1-21160/zebra_srv6_vty.c:117:
+		vty_out(vty, "-------------------- ------- ------------------------ -------\n");

@mjstapp
Copy link
Contributor

mjstapp commented Jun 4, 2021

CI:rerun

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

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

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

Warnings Generated during build:

Checkout code: Successful with additional warnings
<stdin>:5231: new blank line at EOF.
+
<stdin>:5275: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
Report for bgp_mplsvpn.c | 2 issues
===============================================
< WARNING: Missing a blank line after declarations
< #667: FILE: /tmp/f1-13921/bgp_mplsvpn.c:667:
Report for bgp_nb_config.c | 4 issues
===============================================
< WARNING: line over 80 characters
< #11480: FILE: /tmp/f1-13921/bgp_nb_config.c:11480:
< WARNING: line over 80 characters
< #11519: FILE: /tmp/f1-13921/bgp_nb_config.c:11519:
Report for rt_netlink.c | 18 issues
===============================================
< WARNING: Too many leading tabs - consider code refactoring
< #2514: FILE: /tmp/f1-13921/rt_netlink.c:2514:
< WARNING: Too many leading tabs - consider code refactoring
< #2521: FILE: /tmp/f1-13921/rt_netlink.c:2521:
< WARNING: Too many leading tabs - consider code refactoring
< #2526: FILE: /tmp/f1-13921/rt_netlink.c:2526:
< WARNING: Too many leading tabs - consider code refactoring
< #2533: FILE: /tmp/f1-13921/rt_netlink.c:2533:
< WARNING: Too many leading tabs - consider code refactoring
< #2538: FILE: /tmp/f1-13921/rt_netlink.c:2538:
< WARNING: Too many leading tabs - consider code refactoring
< #2545: FILE: /tmp/f1-13921/rt_netlink.c:2545:
< WARNING: Too many leading tabs - consider code refactoring
< #2550: FILE: /tmp/f1-13921/rt_netlink.c:2550:
< WARNING: Too many leading tabs - consider code refactoring
< #2557: FILE: /tmp/f1-13921/rt_netlink.c:2557:
< WARNING: Too many leading tabs - consider code refactoring
< #2562: FILE: /tmp/f1-13921/rt_netlink.c:2562:
Report for zapi_msg.c | 2 issues
===============================================
< WARNING: Missing a blank line after declarations
< #3107: FILE: /tmp/f1-13921/zapi_msg.c:3107:
Report for zclient.h | 10 issues
===============================================
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #396: FILE: /tmp/f1-13921/zclient.h:396:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #397: FILE: /tmp/f1-13921/zclient.h:397:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #398: FILE: /tmp/f1-13921/zclient.h:398:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #399: FILE: /tmp/f1-13921/zclient.h:399:
< WARNING: function definition argument 'ZAPI_CALLBACK_ARGS' should also have an identifier name
< #401: FILE: /tmp/f1-13921/zclient.h:401:
Report for zebra_errors.c | 2 issues
===============================================
< WARNING: line over 80 characters
< #791: FILE: /tmp/f1-13921/zebra_errors.c:791:
Report for zebra_srv6_vty.c | 8 issues
===============================================
WARNING: line over 80 characters
#116: FILE: /tmp/f1-13921/zebra_srv6_vty.c:116:
+		vty_out(vty, "Name                 ID      Prefix                   Status\n");

WARNING: line over 80 characters
#117: FILE: /tmp/f1-13921/zebra_srv6_vty.c:117:
+		vty_out(vty, "-------------------- ------- ------------------------ -------\n");

@mjstapp
Copy link
Contributor

mjstapp commented Jun 4, 2021

Checked with Quentin about his comments, and we're going ahead and merging.

@mjstapp mjstapp merged commit e4768d3 into FRRouting:master Jun 4, 2021
@slankdev
Copy link
Contributor Author

slankdev commented Jun 4, 2021

@mjstapp
Thank you so much for many great review and comment for a long time.

I believe that this PR merge is just the start, and I would like to contribute to the development of additional features and improvements to the FRRouting architecture that may occur in the future.

In addition, the kernel already supports DT4, and we are planning to conduct more tests including interop with current Enterprise NOS (JUNOS, IOS-XR, etc.).

Again, many thanks.

@mjstapp
Copy link
Contributor

mjstapp commented Jun 4, 2021

Thank you for your contribution, and for your patience through the long review process. maybe next time we can work out ways to bring work in in smaller chunks that will be easier for the community to review and merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.