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:return empty dict in json when evpn is disabled #13214

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

chiragshah6
Copy link
Member

@chiragshah6 chiragshah6 commented Apr 4, 2023

"show evpn json" returns nothing when evpn is disabled.

Code has been fixed to return {} when evpn is disabled or no entry available.
Fix many of the places empty json when evpn is disabled.

Example:
Before Fix:-

cumulus@r2:mgmt:~$ sudo vtysh -c "show evpn json"
cumulus@r2:mgmt:~$

After Fix:-

cumulus@r1:mgmt:~$ sudo vtysh -c "show evpn json"
{
}
cumulus@r1:mgmt:~$

Signed-off-by: Chirag Shah chirag@nvidia.com
Signed-off-by: Sindhu Parvathi Gopinathan sgopinathan@nvidia.com

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 4, 2023

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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 22.04 amd64 build: Failed (click for details) Ubuntu 22.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U22AMD64BUILD/config.log/config.log.gz

Make failed for Ubuntu 22.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U22AMD64BUILD/ErrorLog/log_make.txt)

/home/ci/cibuild.10653/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:38: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2590 |                         vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:2590:25: error: format not a string literal and no format arguments [-Werror=format-security]
 2590 |                         vty_out(vty, json);
zebra/zebra_vxlan.c:2597:38: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Ubuntu 22.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U22AMD64BUILD/config.status/config.status

Ubuntu 20.04 amd64 build: Failed (click for details) Ubuntu 20.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U2004AMD64BUILD/config.log/config.log.gz

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

/home/ci/cibuild.10653/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2590 |    vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
 2590 |    vty_out(vty, json);
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Ubuntu 20.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U2004AMD64BUILD/config.status/config.status

Ubuntu 18.04 arm8 build: Failed (click for details)

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

make[1]: Entering directory '/home/ci/cibuild.10653/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,

Ubuntu 18.04 arm8 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U18ARM8BUILD/config.log/config.log.gz
Ubuntu 18.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U18ARM8BUILD/config.status/config.status

Debian 9 amd64 build: Failed (click for details) Debian 9 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/CI021BUILD/config.log/config.log.gz Debian 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/CI021BUILD/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10653/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
Ubuntu 18.04 ppc64le build: Failed (click for details) Ubuntu 18.04 ppc64le build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U1804PPC64LEBUILD/config.log/config.log.gz Ubuntu 18.04 ppc64le build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U1804PPC64LEBUILD/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10653/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
Debian 10 amd64 build: Failed (click for details) Debian 10 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/DEB10BUILD/config.status/config.status

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

/home/ci/cibuild.10653/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13,

Debian 10 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/DEB10BUILD/config.log/config.log.gz

FreeBSD 11 amd64 build: Failed (click for details) FreeBSD 11 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/CI009BUILD/config.log/config.log.gz FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/CI009BUILD/config.status/config.status

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

/usr/home/ci/cibuild.10653/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_specific_rmac_l3vni':
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
 2590 |    vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected 'const char *' but argument is of type 'json_object *'
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
 2590 |    vty_out(vty, json);
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
Ubuntu 18.04 arm7 build: Failed (click for details) Ubuntu 18.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U18ARM7BUILD/config.status/config.status Ubuntu 18.04 arm7 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U18ARM7BUILD/config.log/config.log.gz

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

make[1]: Entering directory '/home/ci/cibuild.10653/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
Ubuntu 16.04 arm7 build: Failed (click for details)

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

make[1]: Entering directory '/home/ci/cibuild.10653/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,

Ubuntu 16.04 arm7 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/CI101BUILD/config.log/config.log.gz
Ubuntu 16.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/CI101BUILD/config.status/config.status

Debian 11 amd64 build: Failed (click for details) Debian 11 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/DEB11AMD64/config.log/config.log.gz

Make failed for Debian 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/DEB11AMD64/ErrorLog/log_make.txt)

/home/ci/cibuild.10653/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2590 |    vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2597 |    vty_out(vty, json);
In file included from ./lib/vrf.h:13,

Debian 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/DEB11AMD64/config.status/config.status

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

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

make[1]: Entering directory '/home/ci/cibuild.10653/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
Redhat 9 amd64 build: Failed (click for details) Redhat 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/RH9BUILD/config.status/config.status

Make failed for Redhat 9 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/RH9BUILD/ErrorLog/log_make.txt)

/home/ci/cibuild.10653/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:38: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2590 |                         vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:2590:25: error: format not a string literal and no format arguments [-Werror=format-security]
 2590 |                         vty_out(vty, json);
zebra/zebra_vxlan.c:2597:38: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Redhat 9 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/RH9BUILD/config.log/config.log.gz

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

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

make[1]: Entering directory '/home/ci/cibuild.10653/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
Ubuntu 16.04 amd64 build: Failed (click for details) Ubuntu 16.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/CI014BUILD/config.log/config.log.gz Ubuntu 16.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/CI014BUILD/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10653/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
FreeBSD 12 amd64 build: Failed (click for details) FreeBSD 12 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/FBSD12AMD64/config.log/config.log.gz FreeBSD 12 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/FBSD12AMD64/config.status/config.status

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

/usr/home/ci/cibuild.10653/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_specific_rmac_l3vni':
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected 'const char *' but argument is of type 'json_object * {aka struct json_object *}'
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
Ubuntu 16.04 arm8 build: Failed (click for details) Ubuntu 16.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U16ARM8BUILD/config.status/config.status Ubuntu 16.04 arm8 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U16ARM8BUILD/config.log/config.log.gz

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

make[1]: Entering directory '/home/ci/cibuild.10653/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
Ubuntu 18.04 i386 build: Failed (click for details)

Make failed for Ubuntu 18.04 i386 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U18I386BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.10653/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,

Ubuntu 18.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U18I386BUILD/config.status/config.status
Ubuntu 18.04 i386 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/U18I386BUILD/config.log/config.log.gz

Redhat 8 amd64 build: Failed (click for details) Redhat 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/REDHAT8/config.status/config.status

Make failed for Redhat 8 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/REDHAT8/ErrorLog/log_make.txt)

/home/ci/cibuild.10653/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2590:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c:2597:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13,

Redhat 8 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/REDHAT8/config.log/config.log.gz

OpenBSD 7 amd64 build: Failed (click for details) OpenBSD 7 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/CI011BUILD/config.log/config.log.gz OpenBSD 7 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10653/artifact/CI011BUILD/config.status/config.status

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

/home/ci/cibuild.10653/frr-source/doc/user/zebra.rst:825: WARNING: duplicate clicmd description of locator NAME, other instance in bgp
/home/ci/cibuild.10653/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c:2590:17: error: incompatible pointer types passing 'json_object *' (aka 'struct json_object *') to parameter of type 'const char *' [-Werror,-Wincompatible-pointer-types]
./lib/vty.h:352:46: note: passing argument to parameter here
extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2590:17: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
zebra/zebra_vxlan.c:2590:17: note: treat the string as an argument to avoid this
zebra/zebra_vxlan.c:2597:17: error: incompatible pointer types passing 'json_object *' (aka 'struct json_object *') to parameter of type 'const char *' [-Werror,-Wincompatible-pointer-types]
./lib/vty.h:352:46: note: passing argument to parameter here
Successful on other platforms/tests
  • CentOS 7 amd64 build

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 5, 2023

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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 20.04 amd64 build: Failed (click for details) Ubuntu 20.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U2004AMD64BUILD/config.log/config.log.gz

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

/home/ci/cibuild.10654/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2605 |    vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
 2605 |    vty_out(vty, json);
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:

Ubuntu 20.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U2004AMD64BUILD/config.status/config.status

Ubuntu 22.04 amd64 build: Failed (click for details) Ubuntu 22.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U22AMD64BUILD/config.log/config.log.gz

Make failed for Ubuntu 22.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U22AMD64BUILD/ErrorLog/log_make.txt)

/home/ci/cibuild.10654/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:38: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2605 |                         vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:2605:25: error: format not a string literal and no format arguments [-Werror=format-security]
 2605 |                         vty_out(vty, json);
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:

Ubuntu 22.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U22AMD64BUILD/config.status/config.status

Ubuntu 18.04 arm8 build: Failed (click for details)

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

make[1]: Entering directory '/home/ci/cibuild.10654/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Ubuntu 18.04 arm8 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U18ARM8BUILD/config.log/config.log.gz
Ubuntu 18.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U18ARM8BUILD/config.status/config.status

Debian 9 amd64 build: Failed (click for details) Debian 9 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/CI021BUILD/config.log/config.log.gz Debian 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/CI021BUILD/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10654/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Ubuntu 18.04 ppc64le build: Failed (click for details) Ubuntu 18.04 ppc64le build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U1804PPC64LEBUILD/config.log/config.log.gz Ubuntu 18.04 ppc64le build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U1804PPC64LEBUILD/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10654/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Debian 10 amd64 build: Failed (click for details) Debian 10 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/DEB10BUILD/config.status/config.status

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

/home/ci/cibuild.10654/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Debian 10 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/DEB10BUILD/config.log/config.log.gz

Ubuntu 16.04 arm7 build: Failed (click for details)

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

make[1]: Entering directory '/home/ci/cibuild.10654/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Ubuntu 16.04 arm7 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/CI101BUILD/config.log/config.log.gz
Ubuntu 16.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/CI101BUILD/config.status/config.status

FreeBSD 11 amd64 build: Failed (click for details) FreeBSD 11 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/CI009BUILD/config.log/config.log.gz FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/CI009BUILD/config.status/config.status

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

/usr/home/ci/cibuild.10654/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_specific_rmac_l3vni':
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
 2605 |    vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected 'const char *' but argument is of type 'json_object *'
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
 2605 |    vty_out(vty, json);
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_rmacs_l3vni':
Ubuntu 18.04 arm7 build: Failed (click for details) Ubuntu 18.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U18ARM7BUILD/config.status/config.status Ubuntu 18.04 arm7 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U18ARM7BUILD/config.log/config.log.gz

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

make[1]: Entering directory '/home/ci/cibuild.10654/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Ubuntu 16.04 i386 build: Failed (click for details) Ubuntu 16.04 i386 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U1604I386/config.log/config.log.gz Ubuntu 16.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U1604I386/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10654/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Ubuntu 18.04 amd64 build: Failed (click for details) Ubuntu 18.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U1804AMD64/config.log/config.log.gz Ubuntu 18.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U1804AMD64/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10654/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Redhat 9 amd64 build: Failed (click for details) Redhat 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/RH9BUILD/config.status/config.status

Make failed for Redhat 9 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/RH9BUILD/ErrorLog/log_make.txt)

/home/ci/cibuild.10654/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:38: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2605 |                         vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:2605:25: error: format not a string literal and no format arguments [-Werror=format-security]
 2605 |                         vty_out(vty, json);
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:

Redhat 9 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/RH9BUILD/config.log/config.log.gz

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

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

make[1]: Entering directory '/home/ci/cibuild.10654/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Debian 11 amd64 build: Failed (click for details) Debian 11 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/DEB11AMD64/config.log/config.log.gz

Make failed for Debian 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/DEB11AMD64/ErrorLog/log_make.txt)

/home/ci/cibuild.10654/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2605 |    vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:2617:1: error: format not a string literal and no format arguments [-Werror=format-security]
 2617 | }
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:

Debian 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/DEB11AMD64/config.status/config.status

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

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

make[1]: Entering directory '/home/ci/cibuild.10654/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
OpenBSD 7 amd64 build: Failed (click for details) OpenBSD 7 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/CI011BUILD/config.log/config.log.gz OpenBSD 7 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/CI011BUILD/config.status/config.status

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

/home/ci/cibuild.10654/frr-source/doc/user/zebra.rst:825: WARNING: duplicate clicmd description of locator NAME, other instance in bgp
/home/ci/cibuild.10654/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c:2605:17: error: incompatible pointer types passing 'json_object *' (aka 'struct json_object *') to parameter of type 'const char *' [-Werror,-Wincompatible-pointer-types]
./lib/vty.h:352:46: note: passing argument to parameter here
extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:17: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
zebra/zebra_vxlan.c:2605:17: note: treat the string as an argument to avoid this
zebra/zebra_vxlan.c:2637:17: error: incompatible pointer types passing 'json_object *' (aka 'struct json_object *') to parameter of type 'const char *' [-Werror,-Wincompatible-pointer-types]
./lib/vty.h:352:46: note: passing argument to parameter here
FreeBSD 12 amd64 build: Failed (click for details) FreeBSD 12 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/FBSD12AMD64/config.log/config.log.gz FreeBSD 12 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/FBSD12AMD64/config.status/config.status

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

/usr/home/ci/cibuild.10654/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_specific_rmac_l3vni':
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected 'const char *' but argument is of type 'json_object * {aka struct json_object *}'
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_rmacs_l3vni':
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
Redhat 8 amd64 build: Failed (click for details) Redhat 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/REDHAT8/config.status/config.status

Make failed for Redhat 8 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/REDHAT8/ErrorLog/log_make.txt)

/home/ci/cibuild.10654/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Redhat 8 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/REDHAT8/config.log/config.log.gz

Ubuntu 18.04 i386 build: Failed (click for details)

Make failed for Ubuntu 18.04 i386 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U18I386BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.10654/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_specific_rmac_l3vni:
zebra/zebra_vxlan.c:2605:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2605:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Ubuntu 18.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U18I386BUILD/config.status/config.status
Ubuntu 18.04 i386 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10654/artifact/U18I386BUILD/config.log/config.log.gz

Successful on other platforms/tests
  • CentOS 7 amd64 build

@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 5, 2023

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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 22.04 amd64 build: Failed (click for details) Ubuntu 22.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U22AMD64BUILD/config.log/config.log.gz

Make failed for Ubuntu 22.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U22AMD64BUILD/ErrorLog/log_make.txt)

/home/ci/cibuild.10655/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:38: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2637 |                         vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:2637:25: error: format not a string literal and no format arguments [-Werror=format-security]
 2637 |                         vty_out(vty, json);
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:

Ubuntu 22.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U22AMD64BUILD/config.status/config.status

Ubuntu 18.04 arm8 build: Failed (click for details)

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

make[1]: Entering directory '/home/ci/cibuild.10655/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Ubuntu 18.04 arm8 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U18ARM8BUILD/config.log/config.log.gz
Ubuntu 18.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U18ARM8BUILD/config.status/config.status

Debian 9 amd64 build: Failed (click for details) Debian 9 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/CI021BUILD/config.log/config.log.gz Debian 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/CI021BUILD/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10655/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Ubuntu 20.04 amd64 build: Failed (click for details) Ubuntu 20.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U2004AMD64BUILD/config.log/config.log.gz

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

/home/ci/cibuild.10655/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2637 |    vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
 2637 |    vty_out(vty, json);
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:

Ubuntu 20.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U2004AMD64BUILD/config.status/config.status

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

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

make[1]: Entering directory '/home/ci/cibuild.10655/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Debian 10 amd64 build: Failed (click for details) Debian 10 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/DEB10BUILD/config.status/config.status

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

/home/ci/cibuild.10655/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Debian 10 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/DEB10BUILD/config.log/config.log.gz

Ubuntu 16.04 arm7 build: Failed (click for details)

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

make[1]: Entering directory '/home/ci/cibuild.10655/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Ubuntu 16.04 arm7 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/CI101BUILD/config.log/config.log.gz
Ubuntu 16.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/CI101BUILD/config.status/config.status

Debian 11 amd64 build: Failed (click for details) Debian 11 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/DEB11AMD64/config.log/config.log.gz

Make failed for Debian 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/DEB11AMD64/ErrorLog/log_make.txt)

/home/ci/cibuild.10655/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2637 |    vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:2660:1: error: format not a string literal and no format arguments [-Werror=format-security]
 2660 | }
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:

Debian 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/DEB11AMD64/config.status/config.status

FreeBSD 11 amd64 build: Failed (click for details) FreeBSD 11 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/CI009BUILD/config.log/config.log.gz FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/CI009BUILD/config.status/config.status

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

/usr/home/ci/cibuild.10655/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_rmacs_l3vni':
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
 2637 |    vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected 'const char *' but argument is of type 'json_object *'
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
 2637 |    vty_out(vty, json);
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_neigh_vni_vtep':
Ubuntu 18.04 arm7 build: Failed (click for details) Ubuntu 18.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U18ARM7BUILD/config.status/config.status Ubuntu 18.04 arm7 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U18ARM7BUILD/config.log/config.log.gz

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

make[1]: Entering directory '/home/ci/cibuild.10655/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Ubuntu 16.04 i386 build: Failed (click for details) Ubuntu 16.04 i386 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U1604I386/config.log/config.log.gz Ubuntu 16.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U1604I386/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10655/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Ubuntu 16.04 arm8 build: Failed (click for details) Ubuntu 16.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U16ARM8BUILD/config.status/config.status Ubuntu 16.04 arm8 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U16ARM8BUILD/config.log/config.log.gz

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

make[1]: Entering directory '/home/ci/cibuild.10655/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Ubuntu 18.04 amd64 build: Failed (click for details) Ubuntu 18.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U1804AMD64/config.log/config.log.gz Ubuntu 18.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U1804AMD64/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10655/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Ubuntu 16.04 amd64 build: Failed (click for details) Ubuntu 16.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/CI014BUILD/config.log/config.log.gz Ubuntu 16.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/CI014BUILD/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10655/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
Redhat 9 amd64 build: Failed (click for details) Redhat 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/RH9BUILD/config.status/config.status

Make failed for Redhat 9 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/RH9BUILD/ErrorLog/log_make.txt)

/home/ci/cibuild.10655/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:38: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 2637 |                         vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:2637:25: error: format not a string literal and no format arguments [-Werror=format-security]
 2637 |                         vty_out(vty, json);
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:

Redhat 9 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/RH9BUILD/config.log/config.log.gz

OpenBSD 7 amd64 build: Failed (click for details) OpenBSD 7 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/CI011BUILD/config.log/config.log.gz OpenBSD 7 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/CI011BUILD/config.status/config.status

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

/home/ci/cibuild.10655/frr-source/doc/user/zebra.rst:825: WARNING: duplicate clicmd description of locator NAME, other instance in bgp
/home/ci/cibuild.10655/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c:2637:17: error: incompatible pointer types passing 'json_object *' (aka 'struct json_object *') to parameter of type 'const char *' [-Werror,-Wincompatible-pointer-types]
./lib/vty.h:352:46: note: passing argument to parameter here
extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:17: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
zebra/zebra_vxlan.c:2637:17: note: treat the string as an argument to avoid this
zebra/zebra_vxlan.c:3070:17: error: incompatible pointer types passing 'json_object *' (aka 'struct json_object *') to parameter of type 'const char *' [-Werror,-Wincompatible-pointer-types]
./lib/vty.h:352:46: note: passing argument to parameter here
Redhat 8 amd64 build: Failed (click for details) Redhat 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/REDHAT8/config.status/config.status

Make failed for Redhat 8 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/REDHAT8/ErrorLog/log_make.txt)

/home/ci/cibuild.10655/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Redhat 8 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/REDHAT8/config.log/config.log.gz

FreeBSD 12 amd64 build: Failed (click for details) FreeBSD 12 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/FBSD12AMD64/config.log/config.log.gz FreeBSD 12 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/FBSD12AMD64/config.status/config.status

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

/usr/home/ci/cibuild.10655/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_rmacs_l3vni':
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected 'const char *' but argument is of type 'json_object * {aka struct json_object *}'
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_neigh_vni_vtep':
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
Ubuntu 18.04 i386 build: Failed (click for details)

Make failed for Ubuntu 18.04 i386 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U18I386BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.10655/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_rmacs_l3vni:
zebra/zebra_vxlan.c:2637:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:2637:4: error: format not a string literal and no format arguments [-Werror=format-security]
zebra/zebra_vxlan.c: In function zebra_vxlan_print_neigh_vni_vtep:
zebra/zebra_vxlan.c:3070:17: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]

Ubuntu 18.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U18I386BUILD/config.status/config.status
Ubuntu 18.04 i386 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10655/artifact/U18I386BUILD/config.log/config.log.gz

Successful on other platforms/tests
  • CentOS 7 amd64 build

@chiragshah6 chiragshah6 changed the title zebra:return empty dict when evpn is disabled zebra:return empty dict in json when evpn is disabled Apr 5, 2023
@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 5, 2023

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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 22.04 amd64 build: Failed (click for details) Ubuntu 22.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U22AMD64BUILD/config.log/config.log.gz

Make failed for Ubuntu 22.04 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U22AMD64BUILD/ErrorLog/log_make.txt)

/home/ci/cibuild.10656/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:30: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 3245 |                 vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:3245:17: error: format not a string literal and no format arguments [-Werror=format-security]
 3245 |                 vty_out(vty, json);
cc1: all warnings being treated as errors

Ubuntu 22.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U22AMD64BUILD/config.status/config.status

Ubuntu 18.04 arm8 build: Failed (click for details)

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

make[1]: Entering directory '/home/ci/cibuild.10656/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
Makefile:9784: recipe for target 'zebra/zebra_vxlan.o' failed

Ubuntu 18.04 arm8 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U18ARM8BUILD/config.log/config.log.gz
Ubuntu 18.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U18ARM8BUILD/config.status/config.status

Debian 9 amd64 build: Failed (click for details) Debian 9 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/CI021BUILD/config.log/config.log.gz Debian 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/CI021BUILD/config.status/config.status

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

make[1]: Entering directory '/home/ci/cibuild.10656/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
Makefile:9784: recipe for target 'zebra/zebra_vxlan.o' failed
Ubuntu 20.04 amd64 build: Failed (click for details) Ubuntu 20.04 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U2004AMD64BUILD/config.log/config.log.gz

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

/home/ci/cibuild.10656/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 3245 |   vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
 3245 |   vty_out(vty, json);
cc1: all warnings being treated as errors

Ubuntu 20.04 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U2004AMD64BUILD/config.status/config.status

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

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

make[1]: Entering directory '/home/ci/cibuild.10656/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
Makefile:9784: recipe for target 'zebra/zebra_vxlan.o' failed
Debian 10 amd64 build: Failed (click for details) Debian 10 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/DEB10BUILD/config.status/config.status

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

/home/ci/cibuild.10656/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
make[1]: *** [Makefile:10466: zebra/zebra_vxlan.o] Error 1

Debian 10 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/DEB10BUILD/config.log/config.log.gz

Ubuntu 16.04 arm7 build: Failed (click for details)

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

make[1]: Entering directory '/home/ci/cibuild.10656/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
Makefile:9784: recipe for target 'zebra/zebra_vxlan.o' failed

Ubuntu 16.04 arm7 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/CI101BUILD/config.log/config.log.gz
Ubuntu 16.04 arm7 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/CI101BUILD/config.status/config.status

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

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

make[1]: Entering directory '/home/ci/cibuild.10656/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
Makefile:9784: recipe for target 'zebra/zebra_vxlan.o' failed
Ubuntu 18.04 i386 build: Failed (click for details)

Make failed for Ubuntu 18.04 i386 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U18I386BUILD/ErrorLog/log_make.txt)

make[1]: Entering directory '/home/ci/cibuild.10656/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
Makefile:9784: recipe for target 'zebra/zebra_vxlan.o' failed

Ubuntu 18.04 i386 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U18I386BUILD/config.status/config.status
Ubuntu 18.04 i386 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U18I386BUILD/config.log/config.log.gz

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

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

make[1]: Entering directory '/home/ci/cibuild.10656/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
Makefile:9784: recipe for target 'zebra/zebra_vxlan.o' failed
FreeBSD 11 amd64 build: Failed (click for details) FreeBSD 11 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/CI009BUILD/config.log/config.log.gz FreeBSD 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/CI009BUILD/config.status/config.status

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

/usr/home/ci/cibuild.10656/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_macs_all_vni':
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
 3245 |   vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected 'const char *' but argument is of type 'json_object *'
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
 3245 |   vty_out(vty, json);
cc1: all warnings being treated as errors
Debian 11 amd64 build: Failed (click for details) Debian 11 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/DEB11AMD64/config.log/config.log.gz

Make failed for Debian 11 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/DEB11AMD64/ErrorLog/log_make.txt)

/home/ci/cibuild.10656/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 3245 |   vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:3257:1: error: format not a string literal and no format arguments [-Werror=format-security]
 3257 | }
cc1: all warnings being treated as errors

Debian 11 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/DEB11AMD64/config.status/config.status

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

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

make[1]: Entering directory '/home/ci/cibuild.10656/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
Makefile:9784: recipe for target 'zebra/zebra_vxlan.o' failed
Ubuntu 16.04 arm8 build: Failed (click for details) Ubuntu 16.04 arm8 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U16ARM8BUILD/config.status/config.status Ubuntu 16.04 arm8 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/U16ARM8BUILD/config.log/config.log.gz

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

make[1]: Entering directory '/home/ci/cibuild.10656/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
Makefile:9784: recipe for target 'zebra/zebra_vxlan.o' failed
Redhat 9 amd64 build: Failed (click for details) Redhat 9 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/RH9BUILD/config.status/config.status

Make failed for Redhat 9 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/RH9BUILD/ErrorLog/log_make.txt)

/home/ci/cibuild.10656/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:30: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
 3245 |                 vty_out(vty, json);
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object *
zebra/zebra_vxlan.c:3245:17: error: format not a string literal and no format arguments [-Werror=format-security]
 3245 |                 vty_out(vty, json);
cc1: all warnings being treated as errors

Redhat 9 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/RH9BUILD/config.log/config.log.gz

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

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

make[1]: Entering directory '/home/ci/cibuild.10656/frr-source'
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
Makefile:9784: recipe for target 'zebra/zebra_vxlan.o' failed
Redhat 8 amd64 build: Failed (click for details) Redhat 8 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/REDHAT8/config.status/config.status

Make failed for Redhat 8 amd64 build:
(see full Make log at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/REDHAT8/ErrorLog/log_make.txt)

/home/ci/cibuild.10656/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function zebra_vxlan_print_macs_all_vni:
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of vty_out from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13,
./lib/vty.h:352:34: note: expected const char * but argument is of type json_object * {aka struct json_object *}
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
make[1]: *** [Makefile:10465: zebra/zebra_vxlan.o] Error 1

Redhat 8 amd64 build: Unknown Log <config.log.gz>
URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/REDHAT8/config.log/config.log.gz

OpenBSD 7 amd64 build: Failed (click for details) OpenBSD 7 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/CI011BUILD/config.log/config.log.gz OpenBSD 7 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/CI011BUILD/config.status/config.status

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

/home/ci/cibuild.10656/frr-source/doc/user/zebra.rst:825: WARNING: duplicate clicmd description of locator NAME, other instance in bgp
/home/ci/cibuild.10656/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c:3245:16: error: incompatible pointer types passing 'json_object *' (aka 'struct json_object *') to parameter of type 'const char *' [-Werror,-Wincompatible-pointer-types]
./lib/vty.h:352:46: note: passing argument to parameter here
extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:16: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
zebra/zebra_vxlan.c:3245:16: note: treat the string as an argument to avoid this
2 errors generated.
gmake[1]: *** [Makefile:10468: zebra/zebra_vxlan.o] Error 1
FreeBSD 12 amd64 build: Failed (click for details) FreeBSD 12 amd64 build: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/FBSD12AMD64/config.log/config.log.gz FreeBSD 12 amd64 build: config.status output from configure script can be found at https://ci1.netdef.org/browse/FRR-PULLREQ2-10656/artifact/FBSD12AMD64/config.status/config.status

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

/usr/home/ci/cibuild.10656/frr-source/doc/user/affinitymap.rst: WARNING: document isn't included in any toctree
zebra/zebra_vxlan.c: In function 'zebra_vxlan_print_macs_all_vni':
zebra/zebra_vxlan.c:3245:16: error: passing argument 2 of 'vty_out' from incompatible pointer type [-Werror=incompatible-pointer-types]
In file included from ./lib/vrf.h:13:0,
./lib/vty.h:352:12: note: expected 'const char *' but argument is of type 'json_object * {aka struct json_object *}'
 extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
zebra/zebra_vxlan.c:3245:3: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: all warnings being treated as errors
gmake[1]: *** [Makefile:10465: zebra/zebra_vxlan.o] Error 1
Successful on other platforms/tests
  • CentOS 7 amd64 build

"show evpn json" returns nothing when evpn is disabled.

Code has been fixed to return {} when evpn is disabled or no entry
available.

Before Fix:-
```
cumulus@r2:mgmt:~$ sudo vtysh -c "show evpn json"
cumulus@r2:mgmt:~$
```

After Fix:-
```
cumulus@r1:mgmt:~$ sudo vtysh -c "show evpn json"
{
}
cumulus@r1:mgmt:~$
```

Ticket:#3417955

Issue:3417955

Testing: UT done

Signed-off-by: Chirag Shah <chirag@nvidia.com>
Signed-off-by: Sindhu Parvathi Gopinathan <sgopinathan@nvidia.com>
@NetDEF-CI
Copy link
Collaborator

NetDEF-CI commented Apr 5, 2023

Continuous Integration Result: FAILED

Continuous Integration Result: FAILED

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

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

Get source / Pull Request: Successful

Building Stage: Failed

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

if (!is_evpn_enabled()) {
if (use_json)
vty_out(vty, "{}\n");
vty_json(vty, json);
Copy link
Member

Choose a reason for hiding this comment

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

Recently we added vty_json_empty() for such cases, can we use it here as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

I have seen vty_json_empty() which explicitly creates json object but in many of the case json object was allocated few lines below, I have moved to beginning of the function and use vty_json() display empty {}.

@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-PULLREQ2-10657/

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.

@ton31337 ton31337 merged commit cf35e49 into FRRouting:master Apr 6, 2023
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.

3 participants