diff --git a/tools/Makefile.am b/tools/Makefile.am index 0ca30fb989..b936e53bd6 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,158 +1,158 @@ # # Copyright (C) 2004-2009 Andrew Beekhof # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # MAINTAINERCLEANFILES = Makefile.in INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \ -I$(top_builddir)/libltdl -I$(top_srcdir)/libltdl COMMONLIBS = \ $(top_builddir)/lib/common/libcrmcommon.la \ $(top_builddir)/lib/cib/libcib.la \ $(CURSESLIBS) $(CLUSTERLIBS) headerdir = $(pkgincludedir)/crm header_HEADERS = pcmkdir = $(datadir)/$(PACKAGE) pcmk_DATA = report.common report.collector sbin_SCRIPTS = crm_report crm_standby crm_master crm_failcount if BUILD_CIBSECRETS sbin_SCRIPTS += cibsecret endif EXTRA_DIST = $(sbin_SCRIPTS) sbin_PROGRAMS = crm_simulate crmadmin cibadmin crm_node crm_attribute crm_resource crm_verify \ crm_shadow attrd_updater crm_diff crm_mon iso8601 crm_ticket crm_error testdir = $(datadir)/$(PACKAGE)/tests/cli test_SCRIPTS = regression.sh -test_DATA = regression.exp +test_DATA = regression.dates.exp regression.tools.exp regression.acls.exp if BUILD_HEARTBEAT_SUPPORT sbin_PROGRAMS += crm_uuid endif if BUILD_SERVICELOG sbin_PROGRAMS += notifyServicelogEvent endif if BUILD_OPENIPMI_SERVICELOG sbin_PROGRAMS += ipmiservicelogd endif if BUILD_HELP man8_MANS = $(sbin_PROGRAMS:%=%.8) $(sbin_SCRIPTS:%=%.8) endif ## SOURCES noinst_HEADERS = crmadmin_SOURCES = crmadmin.c crmadmin_LDADD = $(top_builddir)/lib/pengine/libpe_status.la \ $(COMMONLIBS) $(CLUSTERLIBS) crm_error_SOURCES = crm_error.c crm_error_LDADD = $(COMMONLIBS) crm_uuid_SOURCES = crm_uuid.c crm_uuid_LDADD = $(COMMONLIBS) $(top_builddir)/lib/cluster/libcrmcluster.la cibadmin_SOURCES = cibadmin.c cibadmin_LDADD = $(COMMONLIBS) crm_shadow_SOURCES = cib_shadow.c crm_shadow_LDADD = $(COMMONLIBS) crm_node_SOURCES = crm_node.c crm_node_LDADD = $(top_builddir)/lib/cluster/libcrmcluster.la \ $(COMMONLIBS) $(CLUSTERLIBS) crm_simulate_SOURCES = crm_simulate.c crm_simulate_CFLAGS = -I$(top_srcdir)/pengine crm_simulate_LDADD = $(top_builddir)/lib/pengine/libpe_status.la \ $(top_builddir)/pengine/libpengine.la \ $(top_builddir)/lib/cib/libcib.la \ $(top_builddir)/lib/lrmd/liblrmd.la \ $(top_builddir)/lib/transition/libtransitioner.la \ $(COMMONLIBS) crm_diff_SOURCES = xml_diff.c crm_diff_LDADD = $(COMMONLIBS) crm_mon_SOURCES = crm_mon.c crm_mon_LDADD = $(top_builddir)/lib/pengine/libpe_status.la \ $(top_builddir)/lib/fencing/libstonithd.la \ $(top_builddir)/pengine/libpengine.la \ $(COMMONLIBS) $(SNMPLIBS) $(ESMTPLIBS) # Arguments could be made that this should live in crm/pengine crm_verify_SOURCES = crm_verify.c crm_verify_LDADD = $(top_builddir)/lib/pengine/libpe_status.la \ $(top_builddir)/pengine/libpengine.la \ $(COMMONLIBS) crm_attribute_SOURCES = crm_attribute.c crm_attribute_LDADD = $(top_builddir)/lib/cluster/libcrmcluster.la $(COMMONLIBS) crm_resource_SOURCES = crm_resource.c crm_resource_LDADD = $(top_builddir)/lib/pengine/libpe_rules.la \ $(top_builddir)/lib/lrmd/liblrmd.la \ $(top_builddir)/lib/services/libcrmservice.la \ $(top_builddir)/lib/pengine/libpe_status.la \ $(top_builddir)/pengine/libpengine.la \ $(COMMONLIBS) iso8601_SOURCES = test.iso8601.c iso8601_LDADD = $(COMMONLIBS) attrd_updater_SOURCES = attrd_updater.c attrd_updater_LDADD = $(COMMONLIBS) crm_ticket_SOURCES = crm_ticket.c crm_ticket_LDADD = $(top_builddir)/lib/pengine/libpe_rules.la \ $(top_builddir)/lib/pengine/libpe_status.la \ $(top_builddir)/pengine/libpengine.la \ $(COMMONLIBS) if BUILD_SERVICELOG notifyServicelogEvent_SOURCES = notifyServicelogEvent.c notifyServicelogEvent_CFLAGS = $(SERVICELOG_CFLAGS) notifyServicelogEvent_LDADD = $(top_builddir)/lib/common/libcrmcommon.la $(SERVICELOG_LIBS) endif if BUILD_OPENIPMI_SERVICELOG ipmiservicelogd_SOURCES = ipmiservicelogd.c ipmiservicelogd_CFLAGS = $(OPENIPMI_SERVICELOG_CFLAGS) $(SERVICELOG_CFLAGS) ipmiservicelogd_LDFLAGS = $(top_builddir)/lib/common/libcrmcommon.la $(OPENIPMI_SERVICELOG_LIBS) $(SERVICELOG_LIBS) endif %.8: % crm_attribute echo Creating $@ chmod a+x $(top_builddir)/tools/$< $(top_builddir)/tools/$< --help PATH=$(top_builddir)/tools:$$PATH $(HELP2MAN) --output $@ --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" $(top_builddir)/tools/$< clean-generic: rm -f *.log *.debug *.xml *~ install-exec-local: uninstall-local: .PHONY: install-exec-hook diff --git a/tools/regression.exp b/tools/regression.exp deleted file mode 100755 index 3f040795d6..0000000000 --- a/tools/regression.exp +++ /dev/null @@ -1,2455 +0,0 @@ -=#=#=#= Begin test: 2006-W01-7 =#=#=#= -Date: 2006-01-08 00:00:00Z -=#=#=#= End test: 2006-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2006-W01-7 -=#=#=#= Begin test: 2006-W01-7 - round-trip =#=#=#= -Date: 2006-W01-7 00:00:00Z -=#=#=#= End test: 2006-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2006-W01-7 - round-trip -=#=#=#= Begin test: 2006-W01-1 =#=#=#= -Date: 2006-01-02 00:00:00Z -=#=#=#= End test: 2006-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2006-W01-1 -=#=#=#= Begin test: 2006-W01-1 - round-trip =#=#=#= -Date: 2006-W01-1 00:00:00Z -=#=#=#= End test: 2006-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2006-W01-1 - round-trip -=#=#=#= Begin test: 2007-W01-7 =#=#=#= -Date: 2007-01-07 00:00:00Z -=#=#=#= End test: 2007-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2007-W01-7 -=#=#=#= Begin test: 2007-W01-7 - round-trip =#=#=#= -Date: 2007-W01-7 00:00:00Z -=#=#=#= End test: 2007-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2007-W01-7 - round-trip -=#=#=#= Begin test: 2007-W01-1 =#=#=#= -Date: 2007-01-01 00:00:00Z -=#=#=#= End test: 2007-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2007-W01-1 -=#=#=#= Begin test: 2007-W01-1 - round-trip =#=#=#= -Date: 2007-W01-1 00:00:00Z -=#=#=#= End test: 2007-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2007-W01-1 - round-trip -=#=#=#= Begin test: 2008-W01-7 =#=#=#= -Date: 2008-01-06 00:00:00Z -=#=#=#= End test: 2008-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2008-W01-7 -=#=#=#= Begin test: 2008-W01-7 - round-trip =#=#=#= -Date: 2008-W01-7 00:00:00Z -=#=#=#= End test: 2008-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2008-W01-7 - round-trip -=#=#=#= Begin test: 2008-W01-1 =#=#=#= -Date: 2007-12-31 00:00:00Z -=#=#=#= End test: 2008-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2008-W01-1 -=#=#=#= Begin test: 2008-W01-1 - round-trip =#=#=#= -Date: 2008-W01-1 00:00:00Z -=#=#=#= End test: 2008-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2008-W01-1 - round-trip -=#=#=#= Begin test: 2009-W01-7 =#=#=#= -Date: 2009-01-04 00:00:00Z -=#=#=#= End test: 2009-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2009-W01-7 -=#=#=#= Begin test: 2009-W01-7 - round-trip =#=#=#= -Date: 2009-W01-7 00:00:00Z -=#=#=#= End test: 2009-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2009-W01-7 - round-trip -=#=#=#= Begin test: 2009-W01-1 =#=#=#= -Date: 2008-12-29 00:00:00Z -=#=#=#= End test: 2009-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2009-W01-1 -=#=#=#= Begin test: 2009-W01-1 - round-trip =#=#=#= -Date: 2009-W01-1 00:00:00Z -=#=#=#= End test: 2009-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2009-W01-1 - round-trip -=#=#=#= Begin test: 2010-W01-7 =#=#=#= -Date: 2010-01-10 00:00:00Z -=#=#=#= End test: 2010-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2010-W01-7 -=#=#=#= Begin test: 2010-W01-7 - round-trip =#=#=#= -Date: 2010-W01-7 00:00:00Z -=#=#=#= End test: 2010-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2010-W01-7 - round-trip -=#=#=#= Begin test: 2010-W01-1 =#=#=#= -Date: 2010-01-04 00:00:00Z -=#=#=#= End test: 2010-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2010-W01-1 -=#=#=#= Begin test: 2010-W01-1 - round-trip =#=#=#= -Date: 2010-W01-1 00:00:00Z -=#=#=#= End test: 2010-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2010-W01-1 - round-trip -=#=#=#= Begin test: 2011-W01-7 =#=#=#= -Date: 2011-01-09 00:00:00Z -=#=#=#= End test: 2011-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2011-W01-7 -=#=#=#= Begin test: 2011-W01-7 - round-trip =#=#=#= -Date: 2011-W01-7 00:00:00Z -=#=#=#= End test: 2011-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2011-W01-7 - round-trip -=#=#=#= Begin test: 2011-W01-1 =#=#=#= -Date: 2011-01-03 00:00:00Z -=#=#=#= End test: 2011-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2011-W01-1 -=#=#=#= Begin test: 2011-W01-1 - round-trip =#=#=#= -Date: 2011-W01-1 00:00:00Z -=#=#=#= End test: 2011-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2011-W01-1 - round-trip -=#=#=#= Begin test: 2012-W01-7 =#=#=#= -Date: 2012-01-08 00:00:00Z -=#=#=#= End test: 2012-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2012-W01-7 -=#=#=#= Begin test: 2012-W01-7 - round-trip =#=#=#= -Date: 2012-W01-7 00:00:00Z -=#=#=#= End test: 2012-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2012-W01-7 - round-trip -=#=#=#= Begin test: 2012-W01-1 =#=#=#= -Date: 2012-01-02 00:00:00Z -=#=#=#= End test: 2012-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2012-W01-1 -=#=#=#= Begin test: 2012-W01-1 - round-trip =#=#=#= -Date: 2012-W01-1 00:00:00Z -=#=#=#= End test: 2012-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2012-W01-1 - round-trip -=#=#=#= Begin test: 2013-W01-7 =#=#=#= -Date: 2013-01-06 00:00:00Z -=#=#=#= End test: 2013-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2013-W01-7 -=#=#=#= Begin test: 2013-W01-7 - round-trip =#=#=#= -Date: 2013-W01-7 00:00:00Z -=#=#=#= End test: 2013-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2013-W01-7 - round-trip -=#=#=#= Begin test: 2013-W01-1 =#=#=#= -Date: 2012-12-31 00:00:00Z -=#=#=#= End test: 2013-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2013-W01-1 -=#=#=#= Begin test: 2013-W01-1 - round-trip =#=#=#= -Date: 2013-W01-1 00:00:00Z -=#=#=#= End test: 2013-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2013-W01-1 - round-trip -=#=#=#= Begin test: 2014-W01-7 =#=#=#= -Date: 2014-01-05 00:00:00Z -=#=#=#= End test: 2014-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2014-W01-7 -=#=#=#= Begin test: 2014-W01-7 - round-trip =#=#=#= -Date: 2014-W01-7 00:00:00Z -=#=#=#= End test: 2014-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2014-W01-7 - round-trip -=#=#=#= Begin test: 2014-W01-1 =#=#=#= -Date: 2013-12-30 00:00:00Z -=#=#=#= End test: 2014-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2014-W01-1 -=#=#=#= Begin test: 2014-W01-1 - round-trip =#=#=#= -Date: 2014-W01-1 00:00:00Z -=#=#=#= End test: 2014-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2014-W01-1 - round-trip -=#=#=#= Begin test: 2015-W01-7 =#=#=#= -Date: 2015-01-04 00:00:00Z -=#=#=#= End test: 2015-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2015-W01-7 -=#=#=#= Begin test: 2015-W01-7 - round-trip =#=#=#= -Date: 2015-W01-7 00:00:00Z -=#=#=#= End test: 2015-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2015-W01-7 - round-trip -=#=#=#= Begin test: 2015-W01-1 =#=#=#= -Date: 2014-12-29 00:00:00Z -=#=#=#= End test: 2015-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2015-W01-1 -=#=#=#= Begin test: 2015-W01-1 - round-trip =#=#=#= -Date: 2015-W01-1 00:00:00Z -=#=#=#= End test: 2015-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2015-W01-1 - round-trip -=#=#=#= Begin test: 2016-W01-7 =#=#=#= -Date: 2016-01-10 00:00:00Z -=#=#=#= End test: 2016-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2016-W01-7 -=#=#=#= Begin test: 2016-W01-7 - round-trip =#=#=#= -Date: 2016-W01-7 00:00:00Z -=#=#=#= End test: 2016-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2016-W01-7 - round-trip -=#=#=#= Begin test: 2016-W01-1 =#=#=#= -Date: 2016-01-04 00:00:00Z -=#=#=#= End test: 2016-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2016-W01-1 -=#=#=#= Begin test: 2016-W01-1 - round-trip =#=#=#= -Date: 2016-W01-1 00:00:00Z -=#=#=#= End test: 2016-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2016-W01-1 - round-trip -=#=#=#= Begin test: 2017-W01-7 =#=#=#= -Date: 2017-01-08 00:00:00Z -=#=#=#= End test: 2017-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2017-W01-7 -=#=#=#= Begin test: 2017-W01-7 - round-trip =#=#=#= -Date: 2017-W01-7 00:00:00Z -=#=#=#= End test: 2017-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2017-W01-7 - round-trip -=#=#=#= Begin test: 2017-W01-1 =#=#=#= -Date: 2017-01-02 00:00:00Z -=#=#=#= End test: 2017-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2017-W01-1 -=#=#=#= Begin test: 2017-W01-1 - round-trip =#=#=#= -Date: 2017-W01-1 00:00:00Z -=#=#=#= End test: 2017-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2017-W01-1 - round-trip -=#=#=#= Begin test: 2018-W01-7 =#=#=#= -Date: 2018-01-07 00:00:00Z -=#=#=#= End test: 2018-W01-7 - OK (0) =#=#=#= -* Passed: iso8601 - 2018-W01-7 -=#=#=#= Begin test: 2018-W01-7 - round-trip =#=#=#= -Date: 2018-W01-7 00:00:00Z -=#=#=#= End test: 2018-W01-7 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2018-W01-7 - round-trip -=#=#=#= Begin test: 2018-W01-1 =#=#=#= -Date: 2018-01-01 00:00:00Z -=#=#=#= End test: 2018-W01-1 - OK (0) =#=#=#= -* Passed: iso8601 - 2018-W01-1 -=#=#=#= Begin test: 2018-W01-1 - round-trip =#=#=#= -Date: 2018-W01-1 00:00:00Z -=#=#=#= End test: 2018-W01-1 - round-trip - OK (0) =#=#=#= -* Passed: iso8601 - 2018-W01-1 - round-trip -=#=#=#= Begin test: 2009-W53-07 =#=#=#= -Date: 2009-W53-7 00:00:00Z -=#=#=#= End test: 2009-W53-07 - OK (0) =#=#=#= -* Passed: iso8601 - 2009-W53-07 -=#=#=#= Begin test: 2009-01-31 + 1 Month =#=#=#= -Date: 2009-01-31 00:00:00Z -Duration: 0000-01-00 00:00:00Z -Duration ends at: 2009-02-28 00:00:00Z -=#=#=#= End test: 2009-01-31 + 1 Month - OK (0) =#=#=#= -* Passed: iso8601 - 2009-01-31 + 1 Month -=#=#=#= Begin test: 2009-01-31 + 2 Months =#=#=#= -Date: 2009-01-31 00:00:00Z -Duration: 0000-02-00 00:00:00Z -Duration ends at: 2009-03-31 00:00:00Z -=#=#=#= End test: 2009-01-31 + 2 Months - OK (0) =#=#=#= -* Passed: iso8601 - 2009-01-31 + 2 Months -=#=#=#= Begin test: 2009-01-31 + 3 Months =#=#=#= -Date: 2009-01-31 00:00:00Z -Duration: 0000-03-00 00:00:00Z -Duration ends at: 2009-04-30 00:00:00Z -=#=#=#= End test: 2009-01-31 + 3 Months - OK (0) =#=#=#= -* Passed: iso8601 - 2009-01-31 + 3 Months -=#=#=#= Begin test: 2009-03-31 - 1 Month =#=#=#= -Date: 2009-03-31 00:00:00Z -Duration: 0000--01-00 00:00:00Z -Duration ends at: 2009-02-28 00:00:00Z -=#=#=#= End test: 2009-03-31 - 1 Month - OK (0) =#=#=#= -* Passed: iso8601 - 2009-03-31 - 1 Month -Setting up shadow instance -A new shadow instance was created. To begin using it paste the following into your shell: - CIB_shadow=tools-regression ; export CIB_shadow -=#=#=#= Begin test: Validate CIB =#=#=#= - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Validate CIB - OK (0) =#=#=#= -* Passed: cibadmin - Validate CIB -=#=#=#= Begin test: Configure something before erasing =#=#=#= - - - - - - - - - - - - - -=#=#=#= End test: Configure something before erasing - OK (0) =#=#=#= -* Passed: crm_attribute - Configure something before erasing -=#=#=#= Begin test: Require --force for CIB erasure =#=#=#= -The supplied command is considered dangerous. To prevent accidental destruction of the cluster, the --force flag is required in order to proceed. - - - - - - - - - - - - - -=#=#=#= End test: Require --force for CIB erasure - Invalid argument (22) =#=#=#= -* Passed: cibadmin - Require --force for CIB erasure -=#=#=#= Begin test: Allow CIB erasure with --force =#=#=#= - - - - - - - - - -=#=#=#= End test: Allow CIB erasure with --force - OK (0) =#=#=#= -* Passed: cibadmin - Allow CIB erasure with --force -=#=#=#= Begin test: Query CIB =#=#=#= - - - - - - - - - -=#=#=#= End test: Query CIB - OK (0) =#=#=#= -* Passed: cibadmin - Query CIB -=#=#=#= Begin test: Set cluster option =#=#=#= - - - - - - - - - - - - - -=#=#=#= End test: Set cluster option - OK (0) =#=#=#= -* Passed: crm_attribute - Set cluster option -=#=#=#= Begin test: Query new cluster option =#=#=#= - - - - - - - - - - - - - - -=#=#=#= End test: Query new cluster option - OK (0) =#=#=#= -* Passed: cibadmin - Query new cluster option -=#=#=#= Begin test: Query cluster options =#=#=#= - - - - - - - - - - - - - -=#=#=#= End test: Query cluster options - OK (0) =#=#=#= -* Passed: cibadmin - Query cluster options -=#=#=#= Begin test: Set no-quorum policy =#=#=#= - - - - - - - - - - - - - - -=#=#=#= End test: Set no-quorum policy - OK (0) =#=#=#= -* Passed: crm_attribute - Set no-quorum policy -=#=#=#= Begin test: Delete nvpair =#=#=#= - - - - - - - - - - - - - -=#=#=#= End test: Delete nvpair - OK (0) =#=#=#= -* Passed: cibadmin - Delete nvpair -=#=#=#= Begin test: Create operaton should fail =#=#=#= -Call failed: Name not unique on network - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Create operaton should fail - Name not unique on network (76) =#=#=#= -* Passed: cibadmin - Create operaton should fail -=#=#=#= Begin test: Modify cluster options section =#=#=#= - - - - - - - - - - - - - - -=#=#=#= End test: Modify cluster options section - OK (0) =#=#=#= -* Passed: cibadmin - Modify cluster options section -=#=#=#= Begin test: Query updated cluster option =#=#=#= - - - - - - - - - - - - - - - -=#=#=#= End test: Query updated cluster option - OK (0) =#=#=#= -* Passed: cibadmin - Query updated cluster option -=#=#=#= Begin test: Set duplicate cluster option =#=#=#= - - - - - - - - - - - - - - - - - -=#=#=#= End test: Set duplicate cluster option - OK (0) =#=#=#= -* Passed: crm_attribute - Set duplicate cluster option -=#=#=#= Begin test: Setting multiply defined cluster option should fail =#=#=#= -Error performing operation: Name not unique on network -Multiple attributes match name=cluster-delay - Value: 60s (id=cib-bootstrap-options-cluster-delay) - Value: 40s (id=duplicate-cluster-delay) - - - - - - - - - - - - - - - - - -=#=#=#= End test: Setting multiply defined cluster option should fail - Name not unique on network (76) =#=#=#= -* Passed: crm_attribute - Setting multiply defined cluster option should fail -=#=#=#= Begin test: Set cluster option with -s =#=#=#= - - - - - - - - - - - - - - - - - -=#=#=#= End test: Set cluster option with -s - OK (0) =#=#=#= -* Passed: crm_attribute - Set cluster option with -s -=#=#=#= Begin test: Delete cluster option with -i =#=#=#= -Deleted crm_config option: id=(null) name=cluster-delay - - - - - - - - - - - - - - - - - -=#=#=#= End test: Delete cluster option with -i - OK (0) =#=#=#= -* Passed: crm_attribute - Delete cluster option with -i -=#=#=#= Begin test: Create node1 and bring it online =#=#=#= - -Current cluster status: - - -Performing requested modifications - + Bringing node node1 online - -Transition Summary: - -Executing cluster transition: - -Revised cluster status: -Online: [ node1 ] - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Create node1 and bring it online - OK (0) =#=#=#= -* Passed: crm_simulate - Create node1 and bring it online -=#=#=#= Begin test: Create node attribute =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Create node attribute - OK (0) =#=#=#= -* Passed: crm_attribute - Create node attribute -=#=#=#= Begin test: Query new node attribute =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Query new node attribute - OK (0) =#=#=#= -* Passed: cibadmin - Query new node attribute -=#=#=#= Begin test: Digest calculation =#=#=#= -Digest: - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Digest calculation - OK (0) =#=#=#= -* Passed: cibadmin - Digest calculation -=#=#=#= Begin test: Replace operation should fail =#=#=#= -Call failed: Update was older than existing configuration - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Replace operation should fail - Update was older than existing configuration (205) =#=#=#= -* Passed: cibadmin - Replace operation should fail -=#=#=#= Begin test: Default standby value =#=#=#= -Error performing operation: No such device or address -scope=status name=standby value=off - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Default standby value - OK (0) =#=#=#= -* Passed: crm_standby - Default standby value -=#=#=#= Begin test: Set standby status =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Set standby status - OK (0) =#=#=#= -* Passed: crm_standby - Set standby status -=#=#=#= Begin test: Query standby value =#=#=#= -scope=nodes name=standby value=true - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Query standby value - OK (0) =#=#=#= -* Passed: crm_standby - Query standby value -=#=#=#= Begin test: Delete standby value =#=#=#= -Deleted nodes attribute: id=nodes-node1-standby name=standby - -Could not establish attrd connection: Connection refused (111) -Could not establish attrd connection: Connection refused (111) -Could not establish attrd connection: Connection refused (111) -Could not establish attrd connection: Connection refused (111) -Could not establish attrd connection: Connection refused (111) - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Delete standby value - OK (0) =#=#=#= -* Passed: crm_standby - Delete standby value -=#=#=#= Begin test: Create a resource =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Create a resource - OK (0) =#=#=#= -* Passed: cibadmin - Create a resource -=#=#=#= Begin test: Create a resource meta attribute =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Create a resource meta attribute - OK (0) =#=#=#= -* Passed: crm_resource - Create a resource meta attribute -=#=#=#= Begin test: Query a resource meta attribute =#=#=#= -false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Query a resource meta attribute - OK (0) =#=#=#= -* Passed: crm_resource - Query a resource meta attribute -=#=#=#= Begin test: Remove a resource meta attribute =#=#=#= -Deleted dummy option: id=dummy-meta_attributes-is-managed name=is-managed - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Remove a resource meta attribute - OK (0) =#=#=#= -* Passed: crm_resource - Remove a resource meta attribute -=#=#=#= Begin test: Create a resource attribute =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Create a resource attribute - OK (0) =#=#=#= -* Passed: crm_resource - Create a resource attribute -=#=#=#= Begin test: List the configured resources =#=#=#= - dummy (ocf::pacemaker:Dummy): Stopped - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: List the configured resources - OK (0) =#=#=#= -* Passed: crm_resource - List the configured resources -=#=#=#= Begin test: Set a resource's fail-count =#=#=#= -Could not establish attrd connection: Connection refused (111) -Could not establish attrd connection: Connection refused (111) -Could not establish attrd connection: Connection refused (111) -Could not establish attrd connection: Connection refused (111) -Could not establish attrd connection: Connection refused (111) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Set a resource's fail-count - OK (0) =#=#=#= -* Passed: crm_failcount - Set a resource's fail-count -=#=#=#= Begin test: Require a destination when migrating a resource that is stopped =#=#=#= -Resource 'dummy' not moved: active in 0 locations. -You can prevent 'dummy' from running on a specific location with: --ban --host -Error performing operation: Invalid argument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Require a destination when migrating a resource that is stopped - Invalid argument (22) =#=#=#= -* Passed: crm_resource - Require a destination when migrating a resource that is stopped -=#=#=#= Begin test: Don't support migration to non-existant locations =#=#=#= -Error performing operation: node 'i.dont.exist' is unknown -Error performing operation: No such device or address - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Don't support migration to non-existant locations - No such device or address (6) =#=#=#= -* Passed: crm_resource - Don't support migration to non-existant locations -=#=#=#= Begin test: Create a fencing resource =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Create a fencing resource - OK (0) =#=#=#= -* Passed: cibadmin - Create a fencing resource -=#=#=#= Begin test: Bring resources online =#=#=#= - -Current cluster status: -Online: [ node1 ] - - dummy (ocf::pacemaker:Dummy): Stopped - Fence (stonith:fence_true): Stopped - -Transition Summary: - * Start dummy (node1) - * Start Fence (node1) - -Executing cluster transition: - * Resource action: dummy monitor on node1 - * Resource action: Fence monitor on node1 - * Pseudo action: probe_complete - * Resource action: dummy start on node1 - * Resource action: Fence start on node1 - -Revised cluster status: -Online: [ node1 ] - - dummy (ocf::pacemaker:Dummy): Started node1 - Fence (stonith:fence_true): Started node1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Bring resources online - OK (0) =#=#=#= -* Passed: crm_simulate - Bring resources online -=#=#=#= Begin test: Try to move a resource to its existing location =#=#=#= -Error performing operation: dummy is already active on node1 -Error performing operation: Invalid argument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Try to move a resource to its existing location - Invalid argument (22) =#=#=#= -* Passed: crm_resource - Try to move a resource to its existing location -=#=#=#= Begin test: Move a resource from its existing location =#=#=#= -WARNING: Creating rsc_location constraint 'cli-ban-dummy-on-node1' with a score of -INFINITY for resource dummy on node1. - This will prevent dummy from running on node1 until the constraint is removed using the 'crm_resource --clear' command or manually with cibadmin - This will be the case even if node1 is the last node in the cluster - This message can be disabled with --quiet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Move a resource from its existing location - OK (0) =#=#=#= -* Passed: crm_resource - Move a resource from its existing location -=#=#=#= Begin test: Clear out constraints generated by --move =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Clear out constraints generated by --move - OK (0) =#=#=#= -* Passed: crm_resource - Clear out constraints generated by --move -=#=#=#= Begin test: Default ticket granted state =#=#=#= -false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Default ticket granted state - OK (0) =#=#=#= -* Passed: crm_ticket - Default ticket granted state -=#=#=#= Begin test: Set ticket granted state =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Set ticket granted state - OK (0) =#=#=#= -* Passed: crm_ticket - Set ticket granted state -=#=#=#= Begin test: Query ticket granted state =#=#=#= -false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Query ticket granted state - OK (0) =#=#=#= -* Passed: crm_ticket - Query ticket granted state -=#=#=#= Begin test: Delete ticket granted state =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Delete ticket granted state - OK (0) =#=#=#= -* Passed: crm_ticket - Delete ticket granted state -=#=#=#= Begin test: Make a ticket standby =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Make a ticket standby - OK (0) =#=#=#= -* Passed: crm_ticket - Make a ticket standby -=#=#=#= Begin test: Query ticket standby state =#=#=#= -true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Query ticket standby state - OK (0) =#=#=#= -* Passed: crm_ticket - Query ticket standby state -=#=#=#= Begin test: Activate a ticket =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Activate a ticket - OK (0) =#=#=#= -* Passed: crm_ticket - Activate a ticket -=#=#=#= Begin test: Delete ticket standby state =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Delete ticket standby state - OK (0) =#=#=#= -* Passed: crm_ticket - Delete ticket standby state -=#=#=#= Begin test: Ban a resource on unknown node =#=#=#= -Error performing operation: node 'host1' is unknown -Error performing operation: No such device or address - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Ban a resource on unknown node - No such device or address (6) =#=#=#= -* Passed: crm_resource - Ban a resource on unknown node -=#=#=#= Begin test: Create two more nodes and bring them online =#=#=#= - -Current cluster status: -Online: [ node1 ] - - dummy (ocf::pacemaker:Dummy): Started node1 - Fence (stonith:fence_true): Started node1 - -Performing requested modifications - + Bringing node node2 online - + Bringing node node3 online - -Transition Summary: - * Move Fence (Started node1 -> node2) - -Executing cluster transition: - * Resource action: dummy monitor on node3 - * Resource action: dummy monitor on node2 - * Resource action: Fence monitor on node3 - * Resource action: Fence monitor on node2 - * Pseudo action: probe_complete - * Resource action: Fence stop on node1 - * Pseudo action: all_stopped - * Resource action: Fence start on node2 - -Revised cluster status: -Online: [ node1 node2 node3 ] - - dummy (ocf::pacemaker:Dummy): Started node1 - Fence (stonith:fence_true): Started node2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Create two more nodes and bring them online - OK (0) =#=#=#= -* Passed: crm_simulate - Create two more nodes and bring them online -=#=#=#= Begin test: Ban dummy from node1 =#=#=#= -WARNING: Creating rsc_location constraint 'cli-ban-dummy-on-node1' with a score of -INFINITY for resource dummy on node1. - This will prevent dummy from running on node1 until the constraint is removed using the 'crm_resource --clear' command or manually with cibadmin - This will be the case even if node1 is the last node in the cluster - This message can be disabled with --quiet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Ban dummy from node1 - OK (0) =#=#=#= -* Passed: crm_resource - Ban dummy from node1 -=#=#=#= Begin test: Ban dummy from node2 =#=#=#= -WARNING: Creating rsc_location constraint 'cli-ban-dummy-on-node2' with a score of -INFINITY for resource dummy on node2. - This will prevent dummy from running on node2 until the constraint is removed using the 'crm_resource --clear' command or manually with cibadmin - This will be the case even if node2 is the last node in the cluster - This message can be disabled with --quiet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Ban dummy from node2 - OK (0) =#=#=#= -* Passed: crm_resource - Ban dummy from node2 -=#=#=#= Begin test: Relocate resources due to ban =#=#=#= - -Current cluster status: -Online: [ node1 node2 node3 ] - - dummy (ocf::pacemaker:Dummy): Started node1 - Fence (stonith:fence_true): Started node2 - -Transition Summary: - * Move dummy (Started node1 -> node3) - -Executing cluster transition: - * Resource action: dummy stop on node1 - * Pseudo action: all_stopped - * Resource action: dummy start on node3 - -Revised cluster status: -Online: [ node1 node2 node3 ] - - dummy (ocf::pacemaker:Dummy): Started node3 - Fence (stonith:fence_true): Started node2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Relocate resources due to ban - OK (0) =#=#=#= -* Passed: crm_simulate - Relocate resources due to ban -=#=#=#= Begin test: Move dummy to node1 =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Move dummy to node1 - OK (0) =#=#=#= -* Passed: crm_resource - Move dummy to node1 -=#=#=#= Begin test: Clear implicit constraints for dummy on node2 =#=#=#= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=#=#=#= End test: Clear implicit constraints for dummy on node2 - OK (0) =#=#=#= -* Passed: crm_resource - Clear implicit constraints for dummy on node2