* CPV: dev-db/ctdb-1.0.114_p1 * REPO: gentoo * USE: elibc_glibc kernel_linux test userland_GNU x86 >>> Unpacking source... >>> Unpacking ctdb-1.0.114-1.src.rpm to /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work >>> Unpacking ./ctdb-1.0.114.tar.gz to /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work >>> Source unpacked in /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work >>> Preparing source in /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114 ... * Running autoheader -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/replace -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/talloc -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/tdb -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/popt -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/events ... [ ok ] * Running autoconf -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/replace -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/talloc -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/tdb -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/popt -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/events ... [ ok ] * Applying ctdb-50.samba_gentoo.patch ... [ ok ] * Applying ctdb-1.0.114_p1-functions.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114 ... * econf: updating ctdb-1.0.114/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ctdb-1.0.114/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ctdb-1.0.114/lib/talloc/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ctdb-1.0.114/lib/talloc/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ctdb-1.0.114/lib/replace/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ctdb-1.0.114/lib/replace/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ctdb-1.0.114/lib/tdb/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ctdb-1.0.114/lib/tdb/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu LIBREPLACE_LOCATION_CHECKS: START LIBREPLACE_LOCATION_CHECKS: END LIBREPLACE_CC_CHECKS: START checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for version of gcc... 4.5.1 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for C99 designated initializers... yes checking for a BSD-compatible install... /usr/bin/install -c checking for library containing strerror... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking standards.h usability... no checking standards.h presence... no checking for standards.h... no checking for long long... yes checking for uint_t... no checking for int8_t... yes checking for uint8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for int64_t... yes checking for uint64_t... yes checking for size_t... yes checking for ssize_t... yes checking size of int... 4 checking size of char... 1 checking size of short... 2 checking size of long... 4 checking size of long long... 8 checking size of off_t... 8 checking size of size_t... 4 checking size of ssize_t... 4 checking for intptr_t... yes checking for ptrdiff_t... yes checking for immediate structures... yes LIBREPLACE_CC_CHECKS: END LIBREPLACE_BROKEN_CHECKS: START checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for size_t... (cached) yes checking for pid_t... yes checking for struct stat.st_rdev... yes checking for ino_t... yes checking for loff_t... yes checking for offset_t... no checking for working memcmp... yes checking for pipe... yes checking for strftime... yes checking for srandom... yes checking for random... yes checking for srand... yes checking for rand... yes checking for usleep... yes checking for setbuffer... yes checking for lstat... yes checking for getpgrp... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for stdint.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for stdint.h... (cached) yes checking for stdbool.h... (cached) yes checking for bool... yes checking for _Bool... yes checking for working mmap... no checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking vararg.h usability... no checking vararg.h presence... no checking for vararg.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/in_ip.h usability... no checking netinet/in_ip.h presence... no checking for netinet/in_ip.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for usable net/if.h... yes checking for broken inet_ntoa... no checking for socklen_t... yes checking for sa_family_t... yes checking for struct addrinfo... yes checking for struct sockaddr... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct sockaddr_storage.ss_family... yes checking for seteuid... yes checking for setresuid... yes checking for setegid... yes checking for setresgid... yes checking for chroot... yes checking for bzero... yes checking for strerror... yes checking for vsyslog... yes checking for setlinebuf... yes checking for mktime... yes checking for ftruncate... yes checking for chsize... no checking for rename... yes checking for waitpid... yes checking for strlcpy... no checking for strlcat... no checking for initgroups... yes checking for memmove... yes checking for strdup... yes checking for pread... yes checking for pwrite... yes checking for strndup... yes checking for strcasestr... yes checking for strtok_r... yes checking for mkdtemp... yes checking for socketpair... yes checking for isatty... yes checking for setresuid declaration... yes checking for setresgid declaration... yes checking for errno declaration... yes checking for secure mkstemp... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for strings.h... (cached) yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether asprintf is declared... yes checking whether vasprintf is declared... yes checking for snprintf... yes checking for vsnprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for C99 vsnprintf... yes checking for va_copy... yes checking for __FUNCTION__ macro... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for comparison_fn_t... yes checking for setenv declaration... yes checking for setenv... yes checking for unsetenv... yes checking for strnlen... yes checking for strtoull... yes checking for __strtoull... no checking for strtouq... yes checking for strtoll... yes checking for __strtoll... no checking for strtoq... yes checking for sig_atomic_t type... yes checking for O_DIRECT flag to open(2)... no checking that the C compiler understands volatile... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mode.h usability... no checking sys/mode.h presence... no checking for sys/mode.h... no checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking sys/filsys.h usability... no checking sys/filsys.h presence... no checking for sys/filsys.h... no checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking acl/libacl.h usability... yes checking acl/libacl.h presence... yes checking for acl/libacl.h... yes checking for sys/select.h... (cached) yes checking for sys/time.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for broken RedHat 7.2 system header files... no checking for broken RHEL5 sys/capability.h... no checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sys/id.h usability... no checking sys/id.h presence... no checking for sys/id.h... no checking compat.h usability... no checking compat.h presence... no checking for compat.h... no checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking sys/priv.h usability... no checking sys/priv.h presence... no checking for sys/priv.h... no checking for pwd.h... (cached) yes checking sys/security.h usability... no checking sys/security.h presence... no checking for sys/security.h... no checking for getpwnam_r... yes checking for getpwuid_r... yes checking for getpwent_r... yes checking for getpwent_r declaration... yes checking for prototype struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)... ./configure: line 7470: ac_cv_c_prototype_struct_passwd_pgetpwent_r_struct_passwd_psrc__char_pbuf__int_buflen_=no: command not found checking for getgrnam_r... yes checking for getgrgid_r... yes checking for getgrent_r... yes checking for getgrent_r declaration... yes checking for prototype struct group *getgrent_r(struct group *src, char *buf, int buflen)... ./configure: line 7565: ac_cv_c_prototype_struct_group_pgetgrent_r_struct_group_psrc__char_pbuf__int_buflen_=no: command not found checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking for library containing dlopen... -ldl checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlopen... yes checking for dlsym... yes checking for dlerror... yes checking for dlclose... yes checking for library containing shl_load... no checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking for shl_load... no checking for shl_unload... no checking for shl_findsym... no checking for prototype void *dlopen(const char* filename, unsigned int flags)... ./configure: line 7841: ac_cv_c_prototype_void_pdlopen_const_charp_filename__unsigned_int_flags_=no: command not found checking whether getpass should be replaced... yes checking whether strptime is available and works... no checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking whether mkdir supports mode... yes checking for timegm... yes checking for inet_ntop... yes checking for inet_pton... yes checking for getaddrinfo... yes checking for broken readdir... yes checking for getdirentries... yes checking for prototype long telldir(const DIR *dir)... ./configure: line 8175: ac_cv_c_prototype_long_telldir_const_DIR_pdir_=no: command not found checking for prototype int seekdir(DIR *dir, long ofs)... ./configure: line 8219: ac_cv_c_prototype_int_seekdir_DIR_pdir__long_ofs_=no: command not found checking for replacing readdir using getdirentries()... no checking for getdents... no checking for replacing readdir using getdents()... no checking a usable readdir()... no configure: WARNING: the provided readdir() is broken checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking for struct sockaddr.sa_len... no checking for getifaddrs and freeifaddrs... yes checking for iface getifaddrs... eth0 lo lo IP=127.0.0.1 NETMASK=255.0.0.0 eth0 eth0 lo yes checking for syslog... yes checking for printf... yes checking for memset... yes checking for memcpy... yes LIBREPLACE_BROKEN_CHECKS: END checking popt.h usability... yes checking popt.h presence... yes checking for popt.h... yes checking for poptGetContext in -lpopt... yes checking whether to use included popt... no checking size of size_t... (cached) 4 checking size of void *... 4 checking for mmap... yes checking for pread... (cached) yes checking for pwrite... (cached) yes checking for getpagesize... yes checking for utime... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for sys/select.h... (cached) yes checking for sys/time.h... (cached) yes checking for pread declaration... yes checking for pwrite declaration... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking for epoll_create... yes checking for sigprocmask... yes checking for sigblock... yes checking for sigaction... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for library containing backtrace... none required checking for backtrace... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for sched_setscheduler... yes checking for mlockall... yes checking for sin_len in sock... no configure: creating ./config.status config.status: creating Makefile config.status: creating ctdb.pc config.status: creating config.h config.status: executing rm-stdint.h commands config.status: executing rm-stdbool.h commands >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114 ... make -j14 ctdb will be compiled with flags: CFLAGS = -g -I./include -Iinclude -Ilib -Ilib/util -I. -I./lib/talloc -Ilib/tdb/include -I./lib/replace -DVARDIR=\"/var/lib\" -DETCDIR=\"/etc\" -DLOGDIR=\"/var/lib/log\" -DUSE_MMAP=1 -O2 -pipe -I./lib/replace -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings Compiling server/ctdbd.c LIBS = Compiling server/ctdb_daemon.c Compiling server/ctdb_lockwait.c Compiling server/ctdb_recoverd.c Compiling server/ctdb_recover.c Compiling server/ctdb_freeze.c Compiling server/ctdb_tunables.c Compiling server/ctdb_monitor.c Compiling server/ctdb_server.c Compiling server/ctdb_control.c Compiling server/ctdb_call.c Compiling server/ctdb_ltdb_server.c server/ctdb_daemon.c: In function ‘ctdb_start_daemon’: server/ctdb_daemon.c:838:7: warning: zero-length gnu_printf format string server/ctdb_lockwait.c: In function ‘ctdb_lockwait’: server/ctdb_lockwait.c:140:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result server/ctdb_recover.c: In function ‘ctdb_control_set_recmode’: server/ctdb_recover.c:736:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result server/ctdb_recover.c:740:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result server/ctdb_recoverd.c: In function ‘check_recovery_lock’: server/ctdb_recoverd.c:2705:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result server/ctdb_recoverd.c:2709:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Compiling server/ctdb_traverse.c Compiling server/eventscript.c Compiling server/ctdb_takeover.c Compiling server/ctdb_serverids.c Compiling server/ctdb_persistent.c server/eventscript.c: In function ‘fork_child_for_script’: server/eventscript.c:416:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result server/eventscript.c: In function ‘sigterm’: server/eventscript.c:53:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result Compiling server/ctdb_keepalive.c Compiling server/ctdb_logging.c Compiling server/ctdb_uptime.c Compiling server/ctdb_vacuum.c server/ctdb_persistent.c: In function ‘ctdb_childwrite’: server/ctdb_persistent.c:552:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Compiling server/ctdb_banning.c server/ctdb_logging.c: In function ‘ctdb_logfile_log_add’: server/ctdb_logging.c:301:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result server/ctdb_logging.c:306:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result server/ctdb_logging.c: In function ‘ctdb_logfile_log’: server/ctdb_logging.c:269:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result server/ctdb_logging.c:283:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result server/ctdb_logging.c:287:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Compiling client/ctdb_client.c Compiling common/ctdb_io.c Compiling common/ctdb_util.c Compiling common/ctdb_ltdb.c server/ctdb_vacuum.c: In function ‘ctdb_vacuum_event’: server/ctdb_vacuum.c:854:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Compiling common/ctdb_message.c Compiling common/cmdline.c Compiling lib/util/debug.c Compiling common/rb_tree.c Compiling common/system_linux.c Compiling common/system_common.c Compiling lib/util/idtree.c Compiling lib/util/db_wrap.c Compiling lib/util/strlist.c Compiling lib/util/util.c Compiling lib/util/util_time.c Compiling lib/util/util_file.c Compiling lib/util/fault.c Compiling lib/util/substitute.c Compiling lib/util/signal.c Compiling talloc.c Compiling common/tdb.c Compiling common/dump.c Compiling common/transaction.c Compiling common/traverse.c Compiling common/error.c Compiling common/freelist.c Compiling common/freelistcheck.c Compiling common/io.c Compiling common/lock.c Compiling common/open.c Compiling common/check.c Compiling replace.c Compiling snprintf.c Compiling getpass.c Compiling strptime.c Compiling lib/events/events.c Compiling lib/events/events_select.c Compiling lib/events/events_signal.c Compiling lib/events/events_timed.c Compiling lib/events/events_standard.c ./lib/replace/getpass.c: In function ‘rep_getpass’: ./lib/replace/getpass.c:188:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result Compiling lib/events/events_epoll.c Compiling tcp/tcp_connect.c lib/events/events_signal.c: In function ‘common_event_add_signal’: lib/events/events_signal.c:219:8: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result lib/events/events_signal.c: In function ‘signal_pipe_handler’: lib/events/events_signal.c:137:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result lib/events/events_signal.c: In function ‘signal_handler’: lib/events/events_signal.c:81:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Compiling tcp/tcp_io.c Compiling tcp/tcp_init.c Compiling tools/ctdb.c Compiling tools/ctdb_vacuum.c Compiling utils/scsi_io/scsi_io.c Generating utils/smnotify/smnotify.h rpcgen -h utils/smnotify/smnotify.x > utils/smnotify/smnotify.h Compiling utils/ping_pong/ping_pong.c Compiling tests/src/ctdb_bench.c Compiling tests/src/ctdb_fetch.c Compiling tests/src/ctdb_fetch_one.c tools/ctdb.c: In function ‘control_dumpdbbackup’: tools/ctdb.c:3818:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result tools/ctdb.c:3833:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result tools/ctdb.c: In function ‘control_restoredb’: tools/ctdb.c:3631:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result tools/ctdb.c:3646:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result tools/ctdb.c: In function ‘mem_dump_handler’: tools/ctdb.c:4108:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result tools/ctdb.c: In function ‘control_dumpmemory’: tools/ctdb.c:4097:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Compiling tests/src/ctdb_store.c Compiling tests/src/ctdb_randrec.c Compiling tests/src/ctdb_persistent.c Compiling tests/src/ctdb_traverse.c Compiling tests/src/rb_test.c tools/ctdb.c: In function ‘control_setrecmasterrole’: tools/ctdb.c:3184:11: warning: ‘recmasterrole’ may be used uninitialized in this function Compiling tests/src/ctdb_transaction.c tools/ctdb.c: In function ‘control_setlmasterrole’: tools/ctdb.c:3155:11: warning: ‘lmasterrole’ may be used uninitialized in this function tools/ctdb.c: In function ‘control_setnatgwstate’: tools/ctdb.c:3126:11: warning: ‘natgwstate’ may be used uninitialized in this function tools/ctdb.c: In function ‘control_setreclock’: tools/ctdb.c:3102:14: warning: ‘reclock’ may be used uninitialized in this function Generating utils/smnotify/gen_xdr.c rpcgen -c utils/smnotify/smnotify.x > utils/smnotify/gen_xdr.c Generating utils/smnotify/gen_smnotify.c rpcgen -l utils/smnotify/smnotify.x > utils/smnotify/gen_smnotify.c Compiling utils/smnotify/smnotify.c Linking bin/ping_pong Compiling utils/smnotify/gen_xdr.c Compiling utils/smnotify/gen_smnotify.c Linking bin/ctdbd Linking tests/bin/ctdb_bench Linking tests/bin/ctdb_fetch Linking tests/bin/ctdb_fetch_one Linking tests/bin/ctdb_store tools/ctdb.c: In function ‘control_scriptstatus’: tools/ctdb.c:861:35: warning: ‘min’ may be used uninitialized in this function tools/ctdb.c:861:40: warning: ‘max’ may be used uninitialized in this function utils/smnotify/gen_xdr.c: In function ‘xdr_status’: utils/smnotify/gen_xdr.c:11:20: warning: unused variable ‘buf’ Linking tests/bin/ctdb_randrec Linking tests/bin/ctdb_persistent Linking tests/bin/ctdb_traverse Linking tests/bin/ctdb_transaction Linking bin/scsi_io Linking bin/smnotify Linking tests/bin/rb_test Linking bin/ctdb >>> Source compiled. make -j14 test ctdb will be compiled with flags: CFLAGS = -g -I./include -Iinclude -Ilib -Ilib/util -I. -I./lib/talloc -Ilib/tdb/include -I./lib/replace -DVARDIR=\"/var/lib\" -DETCDIR=\"/etc\" -DLOGDIR=\"/var/lib/log\" -DUSE_MMAP=1 -O2 -pipe -I./lib/replace -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings LIBS = tests/run_tests.sh --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/00_ctdb_init.sh (09:27:25) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Restarting CTDB... Attempting to politely shutdown daemons... 2010/09/03 09:27:25.396310 [22385]: client/ctdb_client.c:278 Failed to connect client socket to daemon. Errno:No such file or directory(2) common/cmdline.c:149 Failed to connect to daemon 2010/09/03 09:27:25.396418 [22385]: Failed to init ctdb Sleeping for a while... =1|.| Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|............................|28| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/00_ctdb_init.sh ========================================================================== TEST PASSED: tests/simple/00_ctdb_init.sh (duration: 44s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/00_ctdb_onnode.sh (09:28:09) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Checking connectivity between nodes... >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.0 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.0 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.1 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.2 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.1 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.0 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.1 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.2 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.2 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.0 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.1 << >> NODE: /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.2 << *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/00_ctdb_onnode.sh ========================================================================== TEST PASSED: tests/simple/00_ctdb_onnode.sh (duration: 3s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/01_ctdb_version.sh (09:28:12) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Failed to execute "rpm -q ctdb" on node(s) "0" error: cannot open Name index using db3 - No such file or directory (2) package ctdb is not installed No useful output from rpm, SKIPPING rest of test. *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/01_ctdb_version.sh ========================================================================== TEST PASSED: tests/simple/01_ctdb_version.sh (duration: 2s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/02_ctdb_listvars.sh (09:28:14) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb listvars": MaxRedirectCount = 3 SeqnumInterval = 1000 ControlTimeout = 60 TraverseTimeout = 20 KeepaliveInterval = 5 KeepaliveLimit = 5 MaxLACount = 7 RecoverTimeout = 20 RecoverInterval = 1 ElectionTimeout = 3 TakeoverTimeout = 5 MonitorInterval = 15 TickleUpdateInterval = 20 EventScriptTimeout = 30 EventScriptTimeoutCount = 1 EventScriptUnhealthyOnTimeout = 0 RecoveryGracePeriod = 120 RecoveryBanPeriod = 300 DatabaseHashSize = 10000 DatabaseMaxDead = 5 RerecoveryTimeout = 1 EnableBans = 1 DeterministicIPs = 1 ReclockPingPeriod = 60 NoIPFailback = 0 VerboseMemoryNames = 0 RecdPingTimeout = 60 RecdFailCount = 10 LogLatencyMs = 0 RecLockLatencyMs = 1000 RecoveryDropAllIPs = 60 VerifyRecoveryLock = 1 VacuumDefaultInterval = 300 VacuumMaxRunTime = 30 RepackLimit = 10000 VacuumLimit = 5000 VacuumMinInterval = 60 VacuumMaxInterval = 600 MaxQueueDropMsg = 1000000 UseStatusEvents = 0 AllowUnhealthyDBRead = 0 There are 41 lines of output Output lines look OK *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/02_ctdb_listvars.sh ========================================================================== TEST PASSED: tests/simple/02_ctdb_listvars.sh (duration: 2s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/03_ctdb_getvar.sh (09:28:16) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb listvars": MaxRedirectCount = 3 SeqnumInterval = 1000 ControlTimeout = 60 TraverseTimeout = 20 KeepaliveInterval = 5 KeepaliveLimit = 5 MaxLACount = 7 RecoverTimeout = 20 RecoverInterval = 1 ElectionTimeout = 3 TakeoverTimeout = 5 MonitorInterval = 15 TickleUpdateInterval = 20 EventScriptTimeout = 30 EventScriptTimeoutCount = 1 EventScriptUnhealthyOnTimeout = 0 RecoveryGracePeriod = 120 RecoveryBanPeriod = 300 DatabaseHashSize = 10000 DatabaseMaxDead = 5 RerecoveryTimeout = 1 EnableBans = 1 DeterministicIPs = 1 ReclockPingPeriod = 60 NoIPFailback = 0 VerboseMemoryNames = 0 RecdPingTimeout = 60 RecdFailCount = 10 LogLatencyMs = 0 RecLockLatencyMs = 1000 RecoveryDropAllIPs = 60 VerifyRecoveryLock = 1 VacuumDefaultInterval = 300 VacuumMaxRunTime = 30 RepackLimit = 10000 VacuumLimit = 5000 VacuumMinInterval = 60 VacuumMaxInterval = 600 MaxQueueDropMsg = 1000000 UseStatusEvents = 0 AllowUnhealthyDBRead = 0 Veryifying all variable values using "ctdb getvar"... *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/03_ctdb_getvar.sh ========================================================================== TEST PASSED: tests/simple/03_ctdb_getvar.sh (duration: 3s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/04_ctdb_setvar.sh (09:28:19) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb getvar RecoverTimeout": RecoverTimeout = 20 Going to try incrementing it... That seemed to work, let's check the value... Output of "ctdb getvar RecoverTimeout": RecoverTimeout = 21 Look's good! Now verifying with "ctdb listvars" Output of "ctdb listvars | grep '^RecoverTimeout'": RecoverTimeout = 21 Look's good! Putting the old value back... *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|.................................|33| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/04_ctdb_setvar.sh ========================================================================== TEST PASSED: tests/simple/04_ctdb_setvar.sh (duration: 42s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/05_ctdb_listnodes.sh (09:29:01) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb listnodes": 127.0.0.1 127.0.0.2 127.0.0.3 There are 3 lines of output Output lines look OK Checking other nodes... Node 1: OK Node 2: OK *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/05_ctdb_listnodes.sh ========================================================================== TEST PASSED: tests/simple/05_ctdb_listnodes.sh (duration: 2s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/06_ctdb_getpid.sh (09:29:03) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY There are 3 nodes... Output of "onnode -q all ctdb getpid": Pid:24109 Pid:24118 Pid:24130 Output of "ctdb getpid -n all": Pid:24109 Pid:24118 Pid:24130 Output of "( ctdb getpid -n 0; ctdb getpid -n 1; ctdb getpid -n 2 )": Pid:24109 Pid:24118 Pid:24130 They're the same... cool! Checking each PID for validity Node 0, PID 24109 looks to be running "ctdbd" - GOOD! Node 1, PID 24118 looks to be running "ctdbd" - GOOD! Node 2, PID 24130 looks to be running "ctdbd" - GOOD! *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/06_ctdb_getpid.sh ========================================================================== TEST PASSED: tests/simple/06_ctdb_getpid.sh (duration: 3s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/07_ctdb_process_exists.sh (09:29:06) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Checking for PID 24954 on node 1 1:24954 exists 24954 OK Checking for PID 24981 on node 1 Output of "! ctdb process-exists 1:24981": 1:24981 does not exist *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/07_ctdb_process_exists.sh ========================================================================== TEST PASSED: tests/simple/07_ctdb_process_exists.sh (duration: 2s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/08_ctdb_isnotrecmaster.sh (09:29:08) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb isnotrecmaster || true": this node is the recmaster this node is not the recmaster this node is not the recmaster OK, there is only 1 recmaster OK, all the other nodes claim not to be the recmaster *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/08_ctdb_isnotrecmaster.sh ========================================================================== TEST PASSED: tests/simple/08_ctdb_isnotrecmaster.sh (duration: 1s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/09_ctdb_ping.sh (09:29:09) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb ping -n 1": response from 1 time=0.000079 sec (1 clients) There are 1 lines of output Output lines look OK Output of "ctdb shutdown -n 1": Waiting until node 1 has status "disconnected"... <30||0| OK Output of "! ctdb ping -n 1": 2010/09/03 09:29:10.053913 [25345]: Node 1 is DISCONNECTED There are 1 lines of output Output lines look OK *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... 2010/09/03 09:29:10.088554 [25364]: client/ctdb_client.c:278 Failed to connect client socket to daemon. Errno:Connection refused(111) common/cmdline.c:149 Failed to connect to daemon 2010/09/03 09:29:10.088642 [25364]: Failed to init ctdb Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|............................|28| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/09_ctdb_ping.sh ========================================================================== TEST PASSED: tests/simple/09_ctdb_ping.sh (duration: 43s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/12_ctdb_getdebug.sh (09:29:52) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "onnode -q all ctdb getdebug": Node 0 is at debug level ERR (0) Node 1 is at debug level ERR (0) Node 2 is at debug level ERR (0) There are 3 lines of output Output lines look OK Output of "ctdb getdebug -n all": Node 0 is at debug level ERR (0) Node 1 is at debug level ERR (0) Node 2 is at debug level ERR (0) Output of "ctdb getdebug -n 0; ctdb getdebug -n 1; ctdb getdebug -n 2": Node 0 is at debug level ERR (0) Node 1 is at debug level ERR (0) Node 2 is at debug level ERR (0) They're the same... cool! Checking that "ctdb -Y getdebug -n all" produces expected output... Yep, looks good! *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/12_ctdb_getdebug.sh ========================================================================== TEST PASSED: tests/simple/12_ctdb_getdebug.sh (duration: 2s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/13_ctdb_setdebug.sh (09:29:54) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb getdebug": Node 1 is at debug level ERR (0) Setting debug level on node 1 to EMERG. Output of "ctdb getdebug": Node 1 is at debug level EMERG (-3) That seemed to work... cool! Returning the debug level to its initial value... Setting debug level on node 1 to ERR. Output of "ctdb getdebug": Node 1 is at debug level ERR (0) That seemed to work... cool! *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/13_ctdb_setdebug.sh ========================================================================== TEST PASSED: tests/simple/13_ctdb_setdebug.sh (duration: 3s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/14_ctdb_statistics.sh (09:29:57) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb statistics": CTDB version 1 num_clients 2 frozen 0 recovering 0 client_packets_sent 572 client_packets_recv 565 node_packets_sent 1334 node_packets_recv 313 keepalive_packets_sent 16 keepalive_packets_recv 16 node req_call 0 reply_call 0 req_dmaster 0 reply_dmaster 0 reply_error 0 req_message 10 req_control 751 reply_control 563 client req_call 0 req_message 1 req_control 564 timeouts call 0 control 0 traverse 0 total_calls 0 pending_calls 0 lockwait_calls 0 pending_lockwait_calls 0 childwrite_calls 0 pending_childwrite_calls 0 memory_used 18675 max_hop_count 0 max_reclock_ctdbd 0.000669 sec max_reclock_recd 0.000000 sec max_call_latency 0.000000 sec max_lockwait_latency 0.000000 sec max_childwrite_latency 0.000000 sec There are 40 lines of output Output lines look OK Output of "ctdb statistics -n all": Gathered statistics for 3 nodes CTDB version 1 num_clients 4 frozen 0 recovering 0 client_packets_sent 2073 client_packets_recv 2056 node_packets_sent 4174 node_packets_recv 1201 keepalive_packets_sent 48 keepalive_packets_recv 48 node req_call 0 reply_call 0 req_dmaster 0 reply_dmaster 0 reply_error 0 req_message 31 req_control 2054 reply_control 2043 client req_call 0 req_message 12 req_control 2044 timeouts call 0 control 0 traverse 0 total_calls 0 pending_calls 0 lockwait_calls 0 pending_lockwait_calls 0 childwrite_calls 0 pending_childwrite_calls 0 memory_used 51338 max_hop_count 0 max_reclock_ctdbd -0.000000 sec max_reclock_recd 0.000241 sec max_call_latency 0.000000 sec max_lockwait_latency 0.000000 sec max_childwrite_latency 0.000000 sec There are 41 lines of output Output lines look OK *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/14_ctdb_statistics.sh ========================================================================== TEST PASSED: tests/simple/14_ctdb_statistics.sh (duration: 2s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/15_ctdb_statisticsreset.sh (09:29:59) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Getting initial statistics for node 0... Output of "ctdb statistics": CTDB version 1 num_clients 2 frozen 0 recovering 0 client_packets_sent 1226 client_packets_recv 1227 node_packets_sent 2038 node_packets_recv 642 keepalive_packets_sent 16 keepalive_packets_recv 16 node req_call 0 reply_call 0 req_dmaster 0 reply_dmaster 0 reply_error 0 req_message 12 req_control 779 reply_control 1214 client req_call 0 req_message 12 req_control 1215 timeouts call 0 control 0 traverse 0 total_calls 0 pending_calls 0 lockwait_calls 0 pending_lockwait_calls 0 childwrite_calls 0 pending_childwrite_calls 0 memory_used 15372 max_hop_count 0 max_reclock_ctdbd 0.000686 sec max_reclock_recd 0.000241 sec max_call_latency 0.000000 sec max_lockwait_latency 0.000000 sec max_childwrite_latency 0.000000 sec Output of "ctdb statistics": CTDB version 1 num_clients 1 frozen 0 recovering 0 client_packets_sent 3 client_packets_recv 3 node_packets_sent 6 node_packets_recv 0 keepalive_packets_sent 0 keepalive_packets_recv 0 node req_call 0 reply_call 0 req_dmaster 0 reply_dmaster 0 reply_error 0 req_message 0 req_control 3 reply_control 3 client req_call 0 req_message 0 req_control 3 timeouts call 0 control 0 traverse 0 total_calls 0 pending_calls 0 lockwait_calls 0 pending_lockwait_calls 0 childwrite_calls 0 pending_childwrite_calls 0 memory_used 15372 max_hop_count 0 max_reclock_ctdbd 0.000000 sec max_reclock_recd 0.000000 sec max_call_latency 0.000000 sec max_lockwait_latency 0.000000 sec max_childwrite_latency 0.000000 sec GOOD: req_control reduced from 779 to 3 GOOD: reply_control reduced from 1214 to 3 GOOD: node_packets_recv reduced from 642 to 0 Getting initial statistics for node 1... Output of "ctdb statistics": CTDB version 1 num_clients 2 frozen 0 recovering 0 client_packets_sent 598 client_packets_recv 591 node_packets_sent 1413 node_packets_recv 349 keepalive_packets_sent 16 keepalive_packets_recv 16 node req_call 0 reply_call 0 req_dmaster 0 reply_dmaster 0 reply_error 0 req_message 11 req_control 804 reply_control 589 client req_call 0 req_message 1 req_control 590 timeouts call 0 control 0 traverse 0 total_calls 0 pending_calls 0 lockwait_calls 0 pending_lockwait_calls 0 childwrite_calls 0 pending_childwrite_calls 0 memory_used 18915 max_hop_count 0 max_reclock_ctdbd 0.000669 sec max_reclock_recd 0.000000 sec max_call_latency 0.000000 sec max_lockwait_latency 0.000000 sec max_childwrite_latency 0.000000 sec Output of "ctdb statistics": CTDB version 1 num_clients 1 frozen 0 recovering 0 client_packets_sent 3 client_packets_recv 3 node_packets_sent 6 node_packets_recv 0 keepalive_packets_sent 0 keepalive_packets_recv 0 node req_call 0 reply_call 0 req_dmaster 0 reply_dmaster 0 reply_error 0 req_message 0 req_control 3 reply_control 3 client req_call 0 req_message 0 req_control 3 timeouts call 0 control 0 traverse 0 total_calls 0 pending_calls 0 lockwait_calls 0 pending_lockwait_calls 0 childwrite_calls 0 pending_childwrite_calls 0 memory_used 18915 max_hop_count 0 max_reclock_ctdbd 0.000000 sec max_reclock_recd 0.000000 sec max_call_latency 0.000000 sec max_lockwait_latency 0.000000 sec max_childwrite_latency 0.000000 sec GOOD: req_control reduced from 804 to 3 GOOD: reply_control reduced from 589 to 3 GOOD: node_packets_recv reduced from 349 to 0 Getting initial statistics for node 2... Output of "ctdb statistics": CTDB version 1 num_clients 2 frozen 0 recovering 0 client_packets_sent 433 client_packets_recv 425 node_packets_sent 1097 node_packets_recv 345 keepalive_packets_sent 16 keepalive_packets_recv 16 node req_call 0 reply_call 0 req_dmaster 0 reply_dmaster 0 reply_error 0 req_message 11 req_control 656 reply_control 424 client req_call 0 req_message 0 req_control 425 timeouts call 0 control 0 traverse 0 total_calls 0 pending_calls 0 lockwait_calls 0 pending_lockwait_calls 0 childwrite_calls 0 pending_childwrite_calls 0 memory_used 18435 max_hop_count 0 max_reclock_ctdbd 0.000695 sec max_reclock_recd 0.000000 sec max_call_latency 0.000000 sec max_lockwait_latency 0.000000 sec max_childwrite_latency 0.000000 sec Output of "ctdb statistics": CTDB version 1 num_clients 1 frozen 0 recovering 0 client_packets_sent 3 client_packets_recv 3 node_packets_sent 6 node_packets_recv 0 keepalive_packets_sent 0 keepalive_packets_recv 0 node req_call 0 reply_call 0 req_dmaster 0 reply_dmaster 0 reply_error 0 req_message 0 req_control 3 reply_control 3 client req_call 0 req_message 0 req_control 3 timeouts call 0 control 0 traverse 0 total_calls 0 pending_calls 0 lockwait_calls 0 pending_lockwait_calls 0 childwrite_calls 0 pending_childwrite_calls 0 memory_used 18435 max_hop_count 0 max_reclock_ctdbd 0.000000 sec max_reclock_recd 0.000000 sec max_call_latency 0.000000 sec max_lockwait_latency 0.000000 sec max_childwrite_latency 0.000000 sec GOOD: req_control reduced from 656 to 3 GOOD: reply_control reduced from 424 to 3 GOOD: node_packets_recv reduced from 345 to 0 *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/15_ctdb_statisticsreset.sh ========================================================================== TEST PASSED: tests/simple/15_ctdb_statisticsreset.sh (duration: 1s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/17_ctdb_config_delete_ip.sh (09:30:00) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Getting list of public IPs... Output of "ctdb ip -Y -n all | cut -d ':' -f1-3 | sed -e '1d' -e 's@^:@@' -e 's@:@ @g'": 192.0.2.6 1 192.0.2.5 1 192.0.2.3 2 192.0.2.2 2 Attempting to remove 192.0.2.5 from node 1. Sleeping... =1|.| GOOD: That worked! *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|............................|28| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/17_ctdb_config_delete_ip.sh ========================================================================== TEST PASSED: tests/simple/17_ctdb_config_delete_ip.sh (duration: 44s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/18_ctdb_freeze.sh (09:30:44) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Freezing node 1 Waiting until node 1 has status "frozen"... <30||0| OK *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|............................|28| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/18_ctdb_freeze.sh ========================================================================== TEST PASSED: tests/simple/18_ctdb_freeze.sh (duration: 42s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/19_ctdb_thaw.sh (09:31:26) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Freezing node 1 Waiting until node 1 has status "frozen"... <30||0| OK That worked! Now thawing node 1 Waiting until node 1 has status "unfrozen"... <30||0| OK *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/19_ctdb_thaw.sh ========================================================================== TEST PASSED: tests/simple/19_ctdb_thaw.sh (duration: 3s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/20_ctdb_getmonmode.sh (09:31:29) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb getmonmode -n 1": Monitoring mode:ACTIVE (0) There are 1 lines of output Output lines look OK Output of "ctdb -Y getmonmode -n 1": :mode: :0: Looks OK Output of "ctdb disablemonitor -n 1": Monitoring mode:DISABLED Waiting until node 1 has status "monoff"... <30||0| OK *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|............................|28| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/20_ctdb_getmonmode.sh ========================================================================== TEST PASSED: tests/simple/20_ctdb_getmonmode.sh (duration: 43s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/23_ctdb_moveip.sh (09:32:12) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY There are 3 nodes... Getting list of public IPs... Output of "ctdb ip -Y -n all | cut -d ':' -f1-3 | sed -e '1d' -e 's@^:@@' -e 's@:@ @g'": 192.0.2.6 1 192.0.2.5 1 192.0.2.3 2 192.0.2.2 2 Sanity checking IPs... OK Turning off DeterministicIPs... Turning on NoIPFailback... Attempting to move 192.0.2.3 from node 2 to node 1. Waiting for IPs to fail over... <60||0| OK IP moved from 2. Waiting for IPs to fail over... <60||0| OK IP moved to 1. *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|............................|28| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/23_ctdb_moveip.sh ========================================================================== TEST PASSED: tests/simple/23_ctdb_moveip.sh (duration: 42s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/24_ctdb_getdbmap.sh (09:32:54) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb getdbmap": Number of databases:0 There are 1 lines of output Output lines look OK Creating test database: d45de9a4508d5a65f7bd852560372126.tdb There are 2 lines of output Output lines look OK OK: correct number of additional databases OK: getdbmap knows about "d45de9a4508d5a65f7bd852560372126.tdb" Creating test database: 625888b18d2807caf1b3ed707a9f8760.tdb There are 3 lines of output Output lines look OK OK: correct number of additional databases OK: getdbmap knows about "625888b18d2807caf1b3ed707a9f8760.tdb" Creating test database: 964246ed24889e6f811c8e94c8530380.tdb There are 4 lines of output Output lines look OK OK: correct number of additional databases OK: getdbmap knows about "964246ed24889e6f811c8e94c8530380.tdb" Creating test database: 25e5fddab5b0ff94d5438890651beeb4.tdb There are 5 lines of output Output lines look OK OK: correct number of additional databases OK: getdbmap knows about "25e5fddab5b0ff94d5438890651beeb4.tdb" Creating test database: cb21943c311727dd86680b46c2bb87ba.tdb There are 6 lines of output Output lines look OK OK: correct number of additional databases OK: getdbmap knows about "cb21943c311727dd86680b46c2bb87ba.tdb" *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|............................|28| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/24_ctdb_getdbmap.sh ========================================================================== TEST PASSED: tests/simple/24_ctdb_getdbmap.sh (duration: 43s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/25_dumpmemory.sh (09:33:37) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Output of "ctdb dumpmemory": full talloc report on 'null_context' (total 15372 bytes in 121 blocks) struct event_context contains 80 bytes in 3 blocks (ref 0) 0x8369038 struct fd_event contains 36 bytes in 1 blocks (ref 0) 0x836c478 struct std_event_context contains 24 bytes in 1 blocks (ref 0) 0x8369080 struct event_context contains 13145 bytes in 107 blocks (ref 0) 0x8368ab8 struct ctdb_context contains 13101 bytes in 105 blocks (ref 0) 0x8368b50 talloc_new: server/ctdb_server.c:326 contains 68 bytes in 3 blocks (ref 0) 0x836f090 server/ctdb_server.c:501 contains 68 bytes in 2 blocks (ref 0) 0x836e478 TDB_DATA contains 8 bytes in 1 blocks (ref 0) 0x8370568 struct queue_next contains 40 bytes in 2 blocks (ref 0) 0x836e528 struct timed_event contains 32 bytes in 1 blocks (ref 0) 0x836b9c0 struct ctdb_client contains 280 bytes in 8 blocks (ref 0) 0x836d7c0 struct daemon_control_state contains 140 bytes in 4 blocks (ref 0) 0x836c4d0 struct ctdb_control_state contains 52 bytes in 2 blocks (ref 0) 0x836c520 struct timed_event contains 32 bytes in 1 blocks (ref 0) 0x836ba18 common/ctdb_io.c:84 contains 64 bytes in 1 blocks (ref 0) 0x836e568 struct ctdb_queue contains 84 bytes in 2 blocks (ref 0) 0x836e690 struct fd_event contains 36 bytes in 1 blocks (ref 0) 0x836ea60 struct ctdb_client_pid_list contains 20 bytes in 1 blocks (ref 0) 0x8368f28 server/eventscript.c:249 contains 1132 bytes in 1 blocks (ref 0) 0x836fc78 struct ctdb_vnn_map contains 24 bytes in 2 blocks (ref 0) 0x836ab18 uint32_t contains 12 bytes in 1 blocks (ref 0) 0x836ab58 server/eventscript.c:249 contains 1132 bytes in 1 blocks (ref 0) 0x836d228 uint32_t contains 36 bytes in 2 blocks (ref 0) 0x836c298 struct timed_event contains 32 bytes in 1 blocks (ref 0) 0x836c2d0 struct timed_event contains 32 bytes in 1 blocks (ref 0) 0x836eac0 server/eventscript.c:249 contains 1132 bytes in 1 blocks (ref 0) 0x836f7d8 server/eventscript.c:249 contains 1132 bytes in 1 blocks (ref 0) 0x836f338 struct ctdb_client contains 364 bytes in 12 blocks (ref 0) 0x836c070 struct ctdb_message_list contains 28 bytes in 1 blocks (ref 0) 0x836e950 struct ctdb_message_list contains 28 bytes in 1 blocks (ref 0) 0x836e900 struct ctdb_message_list contains 28 bytes in 1 blocks (ref 0) 0x836e8b0 struct ctdb_message_list contains 28 bytes in 1 blocks (ref 0) 0x836e860 struct ctdb_message_list contains 28 bytes in 1 blocks (ref 0) 0x836e810 struct ctdb_message_list contains 28 bytes in 1 blocks (ref 0) 0x836e7c0 struct ctdb_message_list contains 28 bytes in 1 blocks (ref 0) 0x836e770 struct ctdb_message_list contains 28 bytes in 1 blocks (ref 0) 0x836e720 struct ctdb_queue contains 84 bytes in 2 blocks (ref 0) 0x836e2f8 struct fd_event contains 36 bytes in 1 blocks (ref 0) 0x836e360 struct ctdb_client_pid_list contains 20 bytes in 1 blocks (ref 0) 0x836e2b0 server/eventscript.c:249 contains 1132 bytes in 1 blocks (ref 0) 0x836cd88 struct signal_event contains 40 bytes in 2 blocks (ref 0) 0x836c328 reference to: struct sig_state talloc_new: server/ctdb_takeover.c:2627 contains 32 bytes in 2 blocks (ref 0) 0x836c208 struct timed_event contains 32 bytes in 1 blocks (ref 0) 0x836c120 struct ctdb_monitor_state contains 44 bytes in 3 blocks (ref 0) 0x836c570 talloc_new: server/ctdb_monitor.c:415 contains 32 bytes in 2 blocks (ref 0) 0x836c178 struct timed_event contains 32 bytes in 1 blocks (ref 0) 0x836c0c8 talloc_new: server/ctdb_keepalive.c:92 contains 32 bytes in 2 blocks (ref 0) 0x836bb20 struct timed_event contains 32 bytes in 1 blocks (ref 0) 0x836c240 struct fd_event contains 36 bytes in 1 blocks (ref 0) 0x836bb58 server/eventscript.c:249 contains 1132 bytes in 1 blocks (ref 0) 0x836bbd0 struct tdb_wrap contains 122 bytes in 2 blocks (ref 0) 0x836b730 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/test.db/state/persistent_health.tdb.0 contains 106 bytes in 1 blocks (ref 0) 0x836b778 127.0.0.1:4379 contains 15 bytes in 1 blocks (ref 0) 0x83691a8 127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x8369168 struct ctdb_tcp contains 236 bytes in 8 blocks (ref 0) 0x8369128 struct ctdb_incoming contains 96 bytes in 3 blocks (ref 0) 0x836e5f8 struct ctdb_queue contains 84 bytes in 2 blocks (ref 0) 0x836cd10 struct fd_event contains 36 bytes in 1 blocks (ref 0) 0x836e638 struct ctdb_incoming contains 96 bytes in 3 blocks (ref 0) 0x836d780 struct ctdb_queue contains 84 bytes in 2 blocks (ref 0) 0x836e3b8 struct fd_event contains 36 bytes in 1 blocks (ref 0) 0x836e420 struct fd_event contains 36 bytes in 1 blocks (ref 0) 0x83691f0 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/events.d contains 73 bytes in 1 blocks (ref 0) 0x836acf0 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/test.db/state contains 82 bytes in 1 blocks (ref 0) 0x836ac28 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/test.db/persistent contains 87 bytes in 1 blocks (ref 0) 0x836ab98 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/test.db contains 76 bytes in 1 blocks (ref 0) 0x8369a70 struct ctdb_node * contains 531 bytes in 18 blocks (ref 0) 0x836a4b0 struct ctdb_node contains 185 bytes in 6 blocks (ref 0) 0x836aa20 struct ctdb_queue contains 84 bytes in 2 blocks (ref 0) 0x836b628 struct fd_event contains 36 bytes in 1 blocks (ref 0) 0x836c1b0 struct ctdb_tcp_node contains 16 bytes in 1 blocks (ref 0) 0x83693a8 127.0.0.3:4379 contains 15 bytes in 1 blocks (ref 0) 0x836aad0 127.0.0.3 contains 10 bytes in 1 blocks (ref 0) 0x836aa90 struct ctdb_node contains 185 bytes in 6 blocks (ref 0) 0x836a4f0 struct ctdb_queue contains 84 bytes in 2 blocks (ref 0) 0x8369340 struct fd_event contains 36 bytes in 1 blocks (ref 0) 0x836d728 struct ctdb_tcp_node contains 16 bytes in 1 blocks (ref 0) 0x83692f8 127.0.0.2:4379 contains 15 bytes in 1 blocks (ref 0) 0x836a9d8 127.0.0.2 contains 10 bytes in 1 blocks (ref 0) 0x836a560 struct ctdb_node contains 149 bytes in 5 blocks (ref 0) 0x8369b48 struct ctdb_queue contains 48 bytes in 1 blocks (ref 0) 0x8369290 struct ctdb_tcp_node contains 16 bytes in 1 blocks (ref 0) 0x8369248 127.0.0.1:4379 contains 15 bytes in 1 blocks (ref 0) 0x836a468 127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x8369cc0 tcp contains 4 bytes in 1 blocks (ref 0) 0x8369a38 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/rec.lock contains 77 bytes in 1 blocks (ref 0) 0x83699b0 struct idr_context contains 2056 bytes in 16 blocks (ref 0) 0x8369968 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836e9a0 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836e1f0 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836e130 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836e070 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836dfb0 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836def0 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836de30 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836dd70 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836dcb0 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836dbf0 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836db30 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836da70 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836d9b0 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836d8f0 struct idr_layer contains 136 bytes in 1 blocks (ref 0) 0x836d830 struct ctdb_log_state contains 1084 bytes in 2 blocks (ref 0) 0x8369518 struct fd_event contains 36 bytes in 1 blocks (ref 0) 0x83690d0 trbt_tree_t contains 8 bytes in 1 blocks (ref 0) 0x83694d8 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.0 contains 75 bytes in 1 blocks (ref 0) 0x8369458 /tmp/ctdb.socket contains 17 bytes in 1 blocks (ref 0) 0x8368e98 struct idr_context contains 16 bytes in 1 blocks (ref 0) 0x8368e50 struct std_event_context contains 24 bytes in 1 blocks (ref 0) 0x8368b00 autofree_context contains 2147 bytes in 10 blocks (ref 0) 0x83689a8 struct sig_state contains 1976 bytes in 2 blocks (ref 1) 0x836c5b0 struct sigaction contains 140 bytes in 1 blocks (ref 0) 0x836c3b8 struct event_ops_list contains 16 bytes in 1 blocks (ref 0) 0x8368ff0 struct event_ops_list contains 16 bytes in 1 blocks (ref 0) 0x8368ee0 struct event_ops_list contains 16 bytes in 1 blocks (ref 0) 0x8369b00 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/var/sock.0 contains 75 bytes in 1 blocks (ref 0) 0x8368f70 struct event_ops_list contains 16 bytes in 1 blocks (ref 0) 0x8368a70 struct event_ops_list contains 16 bytes in 1 blocks (ref 0) 0x8368a28 struct event_ops_list contains 16 bytes in 1 blocks (ref 0) 0x83689e0 There are 121 lines of output Output lines look OK Checking output using '-n all'... There are 431 lines of output Output lines look OK OK: there looks to be output for all 3 nodes *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/25_dumpmemory.sh ========================================================================== TEST PASSED: tests/simple/25_dumpmemory.sh (duration: 3s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh (09:33:40) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY There are 3 nodes. Shutting down node 1... Waiting until node 1 has status "disconnected"... <30||0| OK Output of "! ctdb ip -n 1": 2010/09/03 09:33:40.238009 [29961]: Node 1 is DISCONNECTED OK: "ctdb ip" fails with "disconnected node" Output of "! ctdb disable -n 1": 2010/09/03 09:33:40.269459 [29977]: Node 1 is DISCONNECTED OK: "ctdb disable" fails with "disconnected node" Output of "! ctdb enable -n 1": 2010/09/03 09:33:40.300773 [29993]: Node 1 is DISCONNECTED OK: "ctdb enable" fails with "disconnected node" Output of "! ctdb ban 0 -n 1": 2010/09/03 09:33:40.331666 [30009]: Node 1 is DISCONNECTED OK: "ctdb ban 0" fails with "disconnected node" Output of "! ctdb unban -n 1": 2010/09/03 09:33:40.362484 [30025]: Node 1 is DISCONNECTED OK: "ctdb unban" fails with "disconnected node" Output of "! ctdb listvars -n 1": 2010/09/03 09:33:40.393180 [30041]: Node 1 is DISCONNECTED OK: "ctdb listvars" fails with "disconnected node" *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... 2010/09/03 09:33:40.424030 [30055]: client/ctdb_client.c:278 Failed to connect client socket to daemon. Errno:Connection refused(111) common/cmdline.c:149 Failed to connect to daemon 2010/09/03 09:33:40.424139 [30055]: Failed to init ctdb Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|............................|28| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh ========================================================================== TEST PASSED: tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh (duration: 42s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/31_ctdb_disable.sh (09:34:22) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Selected node 1 with IPs: 192.0.2.6 192.0.2.5. Disabling node 1 Waiting until node 1 has status "disabled"... <30||0| OK Waiting for IPs to fail over... <60||0| OK All IPs moved. *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|.................................|33| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/31_ctdb_disable.sh ========================================================================== TEST PASSED: tests/simple/31_ctdb_disable.sh (duration: 47s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/32_ctdb_enable.sh (09:35:09) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Selected node 1 with IPs: 192.0.2.6 192.0.2.5. Disabling node 1 Waiting until node 1 has status "disabled"... <30||0| OK Waiting for IPs to fail over... <60||0| OK All IPs moved. Reenabling node 1 Waiting until node 1 has status "enabled"... <30||0| OK Waiting for IPs to fail over... <60||0| OK All IPs moved. *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/32_ctdb_enable.sh ========================================================================== TEST PASSED: tests/simple/32_ctdb_enable.sh (duration: 9s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/41_ctdb_stop.sh (09:35:18) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Selected node 1 with IPs: 192.0.2.6 192.0.2.5. Stopping node 1... Waiting until node 1 has status "stopped"... <30||0| OK Waiting for IPs to fail over... <60||0| OK All IPs moved. *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|.................................|33| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/41_ctdb_stop.sh ========================================================================== TEST PASSED: tests/simple/41_ctdb_stop.sh (duration: 47s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/42_ctdb_continue.sh (09:36:05) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Selected node 1 with IPs: 192.0.2.6 192.0.2.5. Stopping node 1... Waiting until node 1 has status "stopped"... <30||0| OK Waiting for IPs to fail over... <60||0| OK All IPs moved. Continuing node 1 Waiting until node 1 has status "notstopped"... <30||0| OK Waiting for IPs to fail over... <60||0| OK All IPs moved. *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|............................|28| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/42_ctdb_continue.sh ========================================================================== TEST PASSED: tests/simple/42_ctdb_continue.sh (duration: 51s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/43_stop_recmaster_yield.sh (09:36:56) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Finding out which node is the recovery master... Output of "ctdb recmaster": 0 Stopping node 0 - it is the current recmaster... Waiting until node 0 has status "stopped"... <30||0| OK Checking which node is the recovery master now... Output of "ctdb recmaster": 1 OK: recmaster moved to node 1 *** TEST COMPLETE (RC=0), CLEANING UP... Restarting CTDB (scheduled)... Attempting to politely shutdown daemons... Sleeping for a while... =1|.| Killing remaining daemons... Starting 3 ctdb daemons... Node 0 will have no public IPs. Waiting for cluster to become healthy... <120|............................|28| OK Setting RerecoveryTimeout to 1 Forcing a recovery... =1|.| Forcing a recovery... ctdb is ready ALL OK: tests/simple/43_stop_recmaster_yield.sh ========================================================================== TEST PASSED: tests/simple/43_stop_recmaster_yield.sh (duration: 51s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/51_ctdb_bench.sh (09:37:47) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Running ctdb_bench on all 3 nodes. Output of "/var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/scripts/test_wrap ctdb_bench -n 3": Waiting for cluster Ring: 0.00 msgs/sec (+ve=0 -ve=0) Ring: 0.00 msgs/sec (+ve=0 -ve=0) Ring: 0.00 msgs/sec (+ve=0 -ve=0) Ring: 5554.75 msgs/sec (+ve=5004 -ve=4996) Ring: 7650.90 msgs/sec (+ve=9993 -ve=10007) Ring: 8702.63 msgs/sec (+ve=14994 -ve=15006) Ring: 9391.31 msgs/sec (+ve=19999 -ve=20001) Ring: 9848.53 msgs/sec (+ve=24995 -ve=25005) Ring: 10165.22 msgs/sec (+ve=29995 -ve=30005) Ring: 10421.59 msgs/sec (+ve=34992 -ve=35008) Ring: 10620.24 msgs/sec (+ve=39987 -ve=40013) Ring: 10794.06 msgs/sec (+ve=44969 -ve=45031) Ring: 10924.44 msgs/sec (+ve=49966 -ve=50034) Ring: 11036.10 msgs/sec (+ve=54969 -ve=55031) Ring: 11039.60 msgs/sec (+ve=55167 -ve=55230) Waiting for cluster Ring: 11039.05 msgs/sec (+ve=55168 -ve=55231) Waiting for cluster Ring: 11037.70 msgs/sec (+ve=55168 -ve=55231) There are 6 lines of output Output lines look OK OK: 11037.70 msgs/sec >= 10 msgs/sec OK: +ive (55168) > 0 OK: -ive (55231) > 0 OK: percentage difference between +ive and -ive (0%) <= 5% *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/51_ctdb_bench.sh ========================================================================== TEST PASSED: tests/simple/51_ctdb_bench.sh (duration: 11s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/53_ctdb_transaction.sh (09:37:58) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Running ctdb_transaction on all 3 nodes. Output of "/var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/scripts/test_wrap ctdb_transaction --timelimit=30 & /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/scripts/test_wrap ctdb_transaction --timelimit=30": SUCCESS (transaction test disabled while transactions are being rewritten) SUCCESS (transaction test disabled while transactions are being rewritten) SUCCESS (transaction test disabled while transactions are being rewritten) SUCCESS (transaction test disabled while transactions are being rewritten) SUCCESS (transaction test disabled while transactions are being rewritten) SUCCESS (transaction test disabled while transactions are being rewritten) *** TEST COMPLETE (RC=0), CLEANING UP... Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/53_ctdb_transaction.sh ========================================================================== TEST PASSED: tests/simple/53_ctdb_transaction.sh (duration: 2s) ========================================================================== --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Running test tests/simple/54_ctdb_transaction_recovery.sh (09:38:00) --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- Cluster is HEALTHY Starting recovery loop Running ctdb_transaction on all 3 nodes. Output of "/var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/scripts/test_wrap ctdb_transaction --timelimit=30 & /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/scripts/test_wrap ctdb_transaction --timelimit=30": SUCCESS (transaction test disabled while transactions are being rewritten) SUCCESS (transaction test disabled while transactions are being rewritten) SUCCESS (transaction test disabled while transactions are being rewritten) SUCCESS (transaction test disabled while transactions are being rewritten) SUCCESS (transaction test disabled while transactions are being rewritten) SUCCESS (transaction test disabled while transactions are being rewritten) *** TEST COMPLETE (RC=0), CLEANING UP... /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/tests/scripts/ctdb_test_functions.bash: line 353: 1298 Terminated recovery_loop > /var/tmp/portage/dev-db/ctdb-1.0.114_p1/temp/recloop.out Cluster is HEALTHY Forcing a recovery... ALL OK: tests/simple/54_ctdb_transaction_recovery.sh ========================================================================== TEST PASSED: tests/simple/54_ctdb_transaction_recovery.sh (duration: 4s) ========================================================================== tests/simple/00_ctdb_init.sh PASSED tests/simple/00_ctdb_onnode.sh PASSED tests/simple/01_ctdb_version.sh PASSED tests/simple/02_ctdb_listvars.sh PASSED tests/simple/03_ctdb_getvar.sh PASSED tests/simple/04_ctdb_setvar.sh PASSED tests/simple/05_ctdb_listnodes.sh PASSED tests/simple/06_ctdb_getpid.sh PASSED tests/simple/07_ctdb_process_exists.sh PASSED tests/simple/08_ctdb_isnotrecmaster.sh PASSED tests/simple/09_ctdb_ping.sh PASSED tests/simple/12_ctdb_getdebug.sh PASSED tests/simple/13_ctdb_setdebug.sh PASSED tests/simple/14_ctdb_statistics.sh PASSED tests/simple/15_ctdb_statisticsreset.sh PASSED tests/simple/17_ctdb_config_delete_ip.sh PASSED tests/simple/18_ctdb_freeze.sh PASSED tests/simple/19_ctdb_thaw.sh PASSED tests/simple/20_ctdb_getmonmode.sh PASSED tests/simple/23_ctdb_moveip.sh PASSED tests/simple/24_ctdb_getdbmap.sh PASSED tests/simple/25_dumpmemory.sh PASSED tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh PASSED tests/simple/31_ctdb_disable.sh PASSED tests/simple/32_ctdb_enable.sh PASSED tests/simple/41_ctdb_stop.sh PASSED tests/simple/42_ctdb_continue.sh PASSED tests/simple/43_stop_recmaster_yield.sh PASSED tests/simple/51_ctdb_bench.sh PASSED tests/simple/53_ctdb_transaction.sh PASSED tests/simple/54_ctdb_transaction_recovery.sh PASSED 31/31 tests passed All OK >>> Install ctdb-1.0.114_p1 into /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image/ category dev-db make -j14 DESTDIR=/var/tmp/portage/dev-db/ctdb-1.0.114_p1/image/ install ctdb will be compiled with flags: CFLAGS = -g -I./include -Iinclude -Ilib -Ilib/util -I. -I./lib/talloc -Ilib/tdb/include -I./lib/replace -DVARDIR=\"/var/lib\" -DETCDIR=\"/etc\" -DLOGDIR=\"/var/lib/log\" -DUSE_MMAP=1 -O2 -pipe -I./lib/replace -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings LIBS = mkdir -p /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/lib/pkgconfig mkdir -p /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/bin mkdir -p /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/sbin mkdir -p /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/include mkdir -p /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb mkdir -p /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d mkdir -p /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/share/doc/ctdb /usr/bin/install -c -m 644 ctdb.pc /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/lib/pkgconfig /usr/bin/install -c -m 755 bin/ctdb /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/bin /usr/bin/install -c -m 755 bin/ctdbd /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/sbin /usr/bin/install -c -m 755 bin/smnotify /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/bin /usr/bin/install -c -m 755 bin/ping_pong /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/bin /usr/bin/install -c -m 644 include/ctdb.h /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/include /usr/bin/install -c -m 644 include/ctdb_private.h /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/include # for samba3 /usr/bin/install -c -m 644 config/functions /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb /usr/bin/install -c -m 755 config/statd-callout /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb /usr/bin/install -c -m 755 config/interface_modify.sh /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb /usr/bin/install -c -m 644 config/events.d/README /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/share/doc/ctdb/README.eventscripts /usr/bin/install -c -m 644 doc/recovery-process.txt /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/share/doc/ctdb/recovery-process.txt /usr/bin/install -c -m 755 config/events.d/00.ctdb /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/01.reclock /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/10.interface /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/11.natgw /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/11.routing /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/13.per_ip_routing /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 644 config/events.d/20.multipathd /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 644 config/events.d/31.clamd /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/40.vsftpd /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/41.httpd /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/50.samba /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/60.nfs /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/61.nfstickle /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/70.iscsi /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 config/events.d/91.lvs /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/events.d /usr/bin/install -c -m 755 tools/ctdb_diagnostics /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/bin /usr/bin/install -c -m 755 tools/onnode /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/bin if [ -f doc/ctdb.1 ];then /usr/bin/install -c -d /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/share/man/man1; fi if [ -f doc/ctdb.1 ];then /usr/bin/install -c -m 644 doc/ctdb.1 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/share/man/man1; fi if [ -f doc/ctdbd.1 ];then /usr/bin/install -c -m 644 doc/ctdbd.1 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/share/man/man1; fi if [ -f doc/onnode.1 ];then /usr/bin/install -c -m 644 doc/onnode.1 /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//usr/share/man/man1; fi if [ ! -f /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb/notify.sh ];then /usr/bin/install -c -m 755 config/notify.sh /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image//etc/ctdb; fi >>> Completed installing ctdb-1.0.114_p1 into /var/tmp/portage/dev-db/ctdb-1.0.114_p1/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/sbin/ctdbd usr/bin/smnotify usr/bin/ping_pong usr/bin/ctdb  * QA Notice: Files built without respecting LDFLAGS have been detected * Please include the following list of files in your report: * /usr/bin/ping_pong  * Gentoo contact information ... herds: samba maintainers: