See <https://build.gluster.org/job/netbsd-periodic/214/display/redirect?page=changes>
Changes: [Jeff Darcy] statedump: add support for dumping basic mem-pool info [Jeff Darcy] mem-pool: add tracking of mem_pool that requested the allocation [Jeff Darcy] cluster/ec: coverity, fix for BAD_SHIFT ------------------------------------------ [...truncated 17.60 KB...] --- mount3udp.c --- if [ ! -e ../../../rpc/xdr/src/mount3udp.c -o mount3udp.x -nt ../../../rpc/xdr/src/mount3udp.c ]; then rpcgen -c -o ../../../rpc/xdr/src/mount3udp.c mount3udp.x ; fi --- glusterfs-fops.c --- if [ ! -e ../../../rpc/xdr/src/glusterfs-fops.c -o glusterfs-fops.x -nt ../../../rpc/xdr/src/glusterfs-fops.c ]; then rpcgen -c -o ../../../rpc/xdr/src/glusterfs-fops.c glusterfs-fops.x ; fi --- changelog-xdr.c --- if [ ! -e ../../../rpc/xdr/src/changelog-xdr.c -o changelog-xdr.x -nt ../../../rpc/xdr/src/changelog-xdr.c ]; then rpcgen -c -o ../../../rpc/xdr/src/changelog-xdr.c changelog-xdr.x ; fi --- glusterfs3-xdr.h --- if [ ! -e ../../../rpc/xdr/src/glusterfs3-xdr.h -o glusterfs3-xdr.x -nt ../../../rpc/xdr/src/glusterfs3-xdr.h ]; then rpcgen -h -o glusterfs3-xdr.tmp glusterfs3-xdr.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' glusterfs3-xdr.tmp > ../../../rpc/xdr/src/glusterfs3-xdr.h && rm -f glusterfs3-xdr.tmp ; fi --- cli1-xdr.h --- if [ ! -e ../../../rpc/xdr/src/cli1-xdr.h -o cli1-xdr.x -nt ../../../rpc/xdr/src/cli1-xdr.h ]; then rpcgen -h -o cli1-xdr.tmp cli1-xdr.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' cli1-xdr.tmp > ../../../rpc/xdr/src/cli1-xdr.h && rm -f cli1-xdr.tmp ; fi --- nlm4-xdr.h --- --- nsm-xdr.h --- --- nlm4-xdr.h --- if [ ! -e ../../../rpc/xdr/src/nlm4-xdr.h -o nlm4-xdr.x -nt ../../../rpc/xdr/src/nlm4-xdr.h ]; then rpcgen -h -o nlm4-xdr.tmp nlm4-xdr.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' nlm4-xdr.tmp > ../../../rpc/xdr/src/nlm4-xdr.h && rm -f nlm4-xdr.tmp ; fi --- nsm-xdr.h --- if [ ! -e ../../../rpc/xdr/src/nsm-xdr.h -o nsm-xdr.x -nt ../../../rpc/xdr/src/nsm-xdr.h ]; then rpcgen -h -o nsm-xdr.tmp nsm-xdr.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' nsm-xdr.tmp > ../../../rpc/xdr/src/nsm-xdr.h && rm -f nsm-xdr.tmp ; fi --- rpc-common-xdr.h --- if [ ! -e ../../../rpc/xdr/src/rpc-common-xdr.h -o rpc-common-xdr.x -nt ../../../rpc/xdr/src/rpc-common-xdr.h ]; then rpcgen -h -o rpc-common-xdr.tmp rpc-common-xdr.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' rpc-common-xdr.tmp > ../../../rpc/xdr/src/rpc-common-xdr.h && rm -f rpc-common-xdr.tmp ; fi --- glusterd1-xdr.h --- if [ ! -e ../../../rpc/xdr/src/glusterd1-xdr.h -o glusterd1-xdr.x -nt ../../../rpc/xdr/src/glusterd1-xdr.h ]; then rpcgen -h -o glusterd1-xdr.tmp glusterd1-xdr.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' glusterd1-xdr.tmp > ../../../rpc/xdr/src/glusterd1-xdr.h && rm -f glusterd1-xdr.tmp ; fi --- acl3-xdr.h --- if [ ! -e ../../../rpc/xdr/src/acl3-xdr.h -o acl3-xdr.x -nt ../../../rpc/xdr/src/acl3-xdr.h ]; then rpcgen -h -o acl3-xdr.tmp acl3-xdr.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' acl3-xdr.tmp > ../../../rpc/xdr/src/acl3-xdr.h && rm -f acl3-xdr.tmp ; fi --- portmap-xdr.h --- --- mount3udp.h --- --- portmap-xdr.h --- if [ ! -e ../../../rpc/xdr/src/portmap-xdr.h -o portmap-xdr.x -nt ../../../rpc/xdr/src/portmap-xdr.h ]; then rpcgen -h -o portmap-xdr.tmp portmap-xdr.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' portmap-xdr.tmp > ../../../rpc/xdr/src/portmap-xdr.h && rm -f portmap-xdr.tmp ; fi --- changelog-xdr.h --- --- mount3udp.h --- if [ ! -e ../../../rpc/xdr/src/mount3udp.h -o mount3udp.x -nt ../../../rpc/xdr/src/mount3udp.h ]; then rpcgen -h -o mount3udp.tmp mount3udp.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' mount3udp.tmp > ../../../rpc/xdr/src/mount3udp.h && rm -f mount3udp.tmp ; fi --- changelog-xdr.h --- if [ ! -e ../../../rpc/xdr/src/changelog-xdr.h -o changelog-xdr.x -nt ../../../rpc/xdr/src/changelog-xdr.h ]; then rpcgen -h -o changelog-xdr.tmp changelog-xdr.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' changelog-xdr.tmp > ../../../rpc/xdr/src/changelog-xdr.h && rm -f changelog-xdr.tmp ; fi --- glusterfs-fops.h --- if [ ! -e ../../../rpc/xdr/src/glusterfs-fops.h -o glusterfs-fops.x -nt ../../../rpc/xdr/src/glusterfs-fops.h ]; then rpcgen -h -o glusterfs-fops.tmp glusterfs-fops.x && sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' -e 's/TMP_/H_/g' glusterfs-fops.tmp > ../../../rpc/xdr/src/glusterfs-fops.h && rm -f glusterfs-fops.tmp ; fi --- all --- make all-am Making all in libglusterfs --- all-recursive --- Making all in src --- y.tab.h --- --- defaults.c --- --- eventtypes.h --- --- protocol-common.h --- --- y.tab.h --- bison -y -p graphyy -d <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/graph.y> --- defaults.c --- /usr/pkg/bin/python2.7 <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/gen-defaults.py> <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/defaults-tmpl.c> > defaults.c --- eventtypes.h --- /usr/pkg/bin/python2.7 <https://build.gluster.org/job/netbsd-periodic/ws/events/eventskeygen.py> C_HEADER --- protocol-common.h --- cp <https://build.gluster.org/job/netbsd-periodic/ws/rpc/rpc-lib/src/protocol-common.h> . --- graph.lex.c --- flex -Pgraphyy -t <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/graph.l> > graph.lex.c --- all --- make all-am --- libglusterfs_la-dict.lo --- --- libglusterfs_la-xlator.lo --- --- libglusterfs_la-logging.lo --- --- libglusterfs_la-hashfn.lo --- --- libglusterfs_la-dict.lo --- CC libglusterfs_la-dict.lo --- libglusterfs_la-hashfn.lo --- CC libglusterfs_la-hashfn.lo --- libglusterfs_la-xlator.lo --- CC libglusterfs_la-xlator.lo --- libglusterfs_la-logging.lo --- CC libglusterfs_la-logging.lo --- libglusterfs_la-common-utils.lo --- CC libglusterfs_la-common-utils.lo --- libglusterfs_la-logging.lo --- <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>: In function '_gf_log_callingfn': --- libglusterfs_la-common-utils.lo --- <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/common-utils.c>: In function 'generate_glusterfs_ctx_id': --- libglusterfs_la-logging.lo --- <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:908:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, tv.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:908:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] --- libglusterfs_la-common-utils.lo --- <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/common-utils.c>:3114:19: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'suseconds_t' [-Wformat=] hostname, getpid(), now_str, tv.tv_usec); ^ --- libglusterfs_la-timer.lo --- --- libglusterfs_la-logging.lo --- <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>: In function '_gf_msg_nomem': <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1222:25: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, tv.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1222:25: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] --- libglusterfs_la-timer.lo --- CC libglusterfs_la-timer.lo --- libglusterfs_la-common-utils.lo --- <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/common-utils.c>:3114:19: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'suseconds_t' [-Wformat=] --- libglusterfs_la-logging.lo --- <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>: In function 'gf_log_glusterlog': <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1387:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, tv.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1387:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>: In function 'gf_syslog_log_repetitions': <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1501:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, latest.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1501:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1507:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, oldest.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1507:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>: In function 'gf_glusterlog_log_repetitions': <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1552:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, latest.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1552:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1558:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, oldest.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:1558:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>: In function '_gf_log': <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:2236:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, tv.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:2236:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>: In function 'gf_cmd_log': <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:2432:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, tv.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/logging.c>:2432:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] --- libglusterfs_la-inode.lo --- CC libglusterfs_la-inode.lo --- libglusterfs_la-call-stub.lo --- CC libglusterfs_la-call-stub.lo --- libglusterfs_la-compat.lo --- CC libglusterfs_la-compat.lo --- libglusterfs_la-fd.lo --- CC libglusterfs_la-fd.lo --- libglusterfs_la-compat-errno.lo --- CC libglusterfs_la-compat-errno.lo --- libglusterfs_la-event.lo --- CC libglusterfs_la-event.lo --- libglusterfs_la-mem-pool.lo --- CC libglusterfs_la-mem-pool.lo --- libglusterfs_la-gf-dirent.lo --- CC libglusterfs_la-gf-dirent.lo --- libglusterfs_la-syscall.lo --- CC libglusterfs_la-syscall.lo --- libglusterfs_la-iobuf.lo --- CC libglusterfs_la-iobuf.lo --- libglusterfs_la-globals.lo --- CC libglusterfs_la-globals.lo --- libglusterfs_la-statedump.lo --- CC libglusterfs_la-statedump.lo In file included from <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/glusterfs.h>:35:0, from <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:12: <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>: In function 'gf_proc_dump_mempool_info': <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:401:48: error: 'glusterfs_ctx_t' has no member named 'mempool_list' list_for_each_entry (pool, &ctx->mempool_list, owner) { ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/list.h>:232:21: note: in definition of macro 'list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:401:17: note: in expansion of macro 'list_for_each_entry' list_for_each_entry (pool, &ctx->mempool_list, owner) { ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/list.h>:232:54: error: 'struct mem_pool' has no member named 'owner' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/list.h>:250:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:401:17: note: in expansion of macro 'list_for_each_entry' list_for_each_entry (pool, &ctx->mempool_list, owner) { ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/list.h>:251:11: error: 'struct mem_pool' has no member named 'owner' &pos->member != (head); \ ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:401:17: note: in expansion of macro 'list_for_each_entry' list_for_each_entry (pool, &ctx->mempool_list, owner) { ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:401:48: error: 'glusterfs_ctx_t' has no member named 'mempool_list' list_for_each_entry (pool, &ctx->mempool_list, owner) { ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/list.h>:251:24: note: in definition of macro 'list_for_each_entry' &pos->member != (head); \ ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/list.h>:252:27: error: 'struct mem_pool' has no member named 'owner' pos = list_entry(pos->member.next, typeof(*pos), member)) ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/list.h>:232:21: note: in definition of macro 'list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:401:17: note: in expansion of macro 'list_for_each_entry' list_for_each_entry (pool, &ctx->mempool_list, owner) { ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/list.h>:232:54: error: 'struct mem_pool' has no member named 'owner' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/list.h>:252:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:401:17: note: in expansion of macro 'list_for_each_entry' list_for_each_entry (pool, &ctx->mempool_list, owner) { ^ In file included from <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/glusterfs.h>:41:0, from <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:12: <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:402:61: error: 'struct mem_pool' has no member named 'active' int64_t active = GF_ATOMIC_GET (pool->active); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/atomic.h>:101:51: note: in definition of macro 'GF_ATOMIC_GET' #define GF_ATOMIC_GET(op) gf_atomic_get (&op) ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>: In function 'gf_proc_dump_info': <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:842:27: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, tv.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:842:27: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:895:27: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] ".%"GF_PRI_SUSECONDS, tv.tv_usec); ^ <https://build.gluster.org/job/netbsd-periodic/ws/libglusterfs/src/statedump.c>:895:27: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' [-Wformat=] *** [libglusterfs_la-statedump.lo] Error code 1 make[4]: stopped in /data/build/scratch/libglusterfs/src 1 error make[4]: stopped in /data/build/scratch/libglusterfs/src *** [all] Error code 2 make[3]: stopped in /data/build/scratch/libglusterfs/src 1 error make[3]: stopped in /data/build/scratch/libglusterfs/src *** [all-recursive] Error code 1 make[2]: stopped in /data/build/scratch/libglusterfs 1 error make[2]: stopped in /data/build/scratch/libglusterfs *** [all-recursive] Error code 1 make[1]: stopped in /data/build/scratch 1 error make[1]: stopped in /data/build/scratch *** [all] Error code 2 make: stopped in /data/build/scratch 1 error make: stopped in /data/build/scratch Build step 'Execute shell' marked build as failure _______________________________________________ maintainers mailing list [email protected] http://lists.gluster.org/mailman/listinfo/maintainers
