From bd2e6fd4bf9ada0c3c56541bace871d9d5d2692d Mon Sep 17 00:00:00 2001 From: omercier Date: Thu, 7 Aug 2025 18:01:37 +0200 Subject: [PATCH] make it transparent between calling with or without connector --- tests/apps/automation/ansible/tower/hosts.robot | 2 +- tests/apps/automation/ansible/tower/jobs.robot | 2 +- tests/apps/eclipse/mosquitto/mqtt/clients.robot | 4 ++-- tests/apps/eclipse/mosquitto/mqtt/messages.robot | 2 +- .../eclipse/mosquitto/mqtt/numeric-value.robot | 2 +- .../eclipse/mosquitto/mqtt/string-value.robot | 2 +- tests/apps/eclipse/mosquitto/mqtt/uptime.robot | 2 +- tests/apps/exense/step/restapi/list-plans.robot | 2 +- .../apps/exense/step/restapi/list-tenants.robot | 2 +- tests/apps/exense/step/restapi/plans.robot | 2 +- tests/apps/haproxy/web/backendusage.robot | 2 +- tests/apps/haproxy/web/frontendusage.robot | 2 +- tests/apps/jmeter/scenario.robot | 2 +- .../2012/local/node-integration-service.robot | 2 +- .../2012/local/node-integration-service2.robot | 2 +- tests/apps/podman/restapi/containerusage.robot | 4 ++-- tests/apps/podman/restapi/listcontainers.robot | 2 +- tests/apps/podman/restapi/listpods.robot | 2 +- tests/apps/podman/restapi/podstatus.robot | 4 ++-- tests/apps/podman/restapi/systemstatus.robot | 2 +- .../protocols/http/collection-centreon-web.robot | 2 +- .../apps/protocols/snmp/collection-sputnik.robot | 2 +- .../snmp/hashicorp-password-manager.robot | 2 +- tests/apps/vmware/vsphere8/esx/cpu-curl.robot | 2 +- tests/apps/vmware/vsphere8/esx/cpu-lwp.robot | 2 +- tests/apps/vmware/vsphere8/esx/diskio.robot | 2 +- tests/apps/vmware/vsphere8/esx/host-status.robot | 4 ++-- tests/apps/vmware/vsphere8/esx/memory.robot | 2 +- tests/apps/vmware/vsphere8/esx/network.robot | 2 +- tests/apps/vmware/vsphere8/esx/power.robot | 2 +- tests/apps/vmware/vsphere8/esx/swap.robot | 2 +- .../cloud/aws/cloudtrail/checktrailstatus.robot | 2 +- tests/cloud/aws/cloudtrail/countevents.robot | 2 +- .../azure/database/elasticpool/storage.robot | 2 +- .../network/vpngateway/vpngatewaystatus.robot | 2 +- ...cloud-azure-policyinsights-policystates.robot | 2 +- tests/database/database-mysql.robot | 2 +- .../database/informix/snmp/list-instances.robot | 2 +- tests/database/informix/snmp/logfile-usage.robot | 2 +- .../devices/camera/avigilon/snmp/memory.robot | 2 +- .../devices/camera/avigilon/snmp/storage.robot | 2 +- .../camera/avigilon/snmp/temperature.robot | 2 +- .../devices/video/appeartv/snmp/alarms.robot | 2 +- tests/hardware/pdu/cyberpower/snmp/load.robot | 2 +- tests/hardware/pdu/cyberpower/snmp/outlets.robot | 2 +- .../hardware/pdu/raritan/snmp/inletsensors.robot | 2 +- .../pdu/raritan/snmp/outletsensors.robot | 2 +- .../apc/snmp/hardware-sensors-apc-snmp.robot | 2 +- .../lenovo/xcc/snmp/xcc-hardware-snmp.robot | 2 +- tests/hardware/ups/apc/snmp/battery-status.robot | 4 ++-- .../sputnik/snmp/hardware-ups-sputnik-snmp.robot | 2 +- .../netvision/snmp/battery-netvision5.robot | 2 +- .../netvision/snmp/battery-netvision6.robot | 2 +- .../snmp/hardware-ups-standard-snmp.robot | 2 +- .../iplabel/ekara/restapi/incidents.robot | 2 +- .../iplabel/ekara/restapi/scenarios.robot | 2 +- tests/network/3com/snmp/hardware.robot | 2 +- tests/network/aruba/aoscx/snmp/hardware.robot | 2 +- tests/network/aruba/aoscx/snmp/interfaces.robot | 2 +- .../aruba/aoscx/snmp/list-interfaces.robot | 2 +- .../aruba/aoscx/snmp/list-spanning-trees.robot | 2 +- .../network/aruba/aoscx/snmp/spanning-tree.robot | 2 +- tests/network/aruba/aoscx/snmp/stack.robot | 2 +- tests/network/aruba/aoscx/snmp/uptime.robot | 2 +- .../instant/snmp/aruba-instant-ap-usage.robot | 2 +- tests/network/backbox/restapi/backup.robot | 2 +- tests/network/backbox/restapi/configstatus.robot | 2 +- tests/network/backbox/restapi/devicebackup.robot | 2 +- tests/network/backbox/restapi/intellicheck.robot | 2 +- tests/network/backbox/restapi/listdevices.robot | 2 +- .../chapsvision/crossing/snmp/antivirus.robot | 4 ++-- .../cloudcontroller/restapi/vpntunnels.robot | 2 +- .../network/cisco/smallbusiness/snmp/stack.robot | 2 +- tests/network/cisco/standard/snmp/arp.robot | 2 +- .../cisco/standard/snmp/configuration.robot | 2 +- tests/network/cisco/standard/snmp/cpu.robot | 2 +- .../cisco/standard/snmp/memory-flash.robot | 2 +- tests/network/cisco/standard/snmp/memory.robot | 2 +- tests/network/cisco/standard/snmp/stack.robot | 2 +- tests/network/cisco/standard/snmp/uptime.robot | 2 +- .../snmp/mode/components/netscaler-health.robot | 2 +- tests/network/cyberoam/snmp/license.robot | 2 +- tests/network/cyberoam/snmp/list-vpns.robot | 2 +- tests/network/cyberoam/snmp/memory.robot | 2 +- tests/network/cyberoam/snmp/requests.robot | 2 +- tests/network/cyberoam/snmp/services.robot | 2 +- tests/network/cyberoam/snmp/storage.robot | 2 +- tests/network/cyberoam/snmp/vpn-status.robot | 2 +- tests/network/f5/bigip/snmp/certificates.robot | 2 +- tests/network/f5/bigip/snmp/connections.robot | 2 +- tests/network/f5/bigip/snmp/cpuusage.robot | 2 +- tests/network/f5/bigip/snmp/failover.robot | 2 +- tests/network/f5/bigip/snmp/hardware.robot | 2 +- tests/network/f5/bigip/snmp/list-trunks.robot | 2 +- .../fortigate/restapi/certificates.robot | 2 +- .../fortinet/fortigate/snmp/link-monitor.robot | 2 +- .../fortigate/snmp/list-link-monitor.robot | 2 +- .../fortinet/fortigate/snmp/list-switches.robot | 2 +- .../network/fortinet/fortigate/snmp/sdawn.robot | 2 +- .../fortinet/fortigate/snmp/switch-usage.robot | 2 +- .../hp/procurve/snmp/list-spanning-trees.robot | 2 +- .../network/hp/procurve/snmp/spanning-tree.robot | 2 +- tests/network/hp/procurve/snmp/stack.robot | 2 +- tests/network/huawei/wlc/snmp/ap-health.robot | 2 +- tests/network/huawei/wlc/snmp/ap-radio.robot | 2 +- tests/network/huawei/wlc/snmp/ap-status.robot | 2 +- tests/network/huawei/wlc/snmp/cpu.robot | 2 +- tests/network/huawei/wlc/snmp/list-aps.robot | 2 +- tests/network/huawei/wlc/snmp/memory.robot | 2 +- tests/network/huawei/wlc/snmp/uptime.robot | 2 +- tests/network/huawei/wlc/snmp/wlan-global.robot | 2 +- tests/network/juniper/mseries/netconf/bgp.robot | 2 +- tests/network/juniper/mseries/netconf/cpu.robot | 2 +- .../network/juniper/mseries/netconf/disks.robot | 2 +- .../juniper/mseries/netconf/hardware.robot | 4 ++-- .../juniper/mseries/netconf/interfaces.robot | 6 +++--- tests/network/juniper/mseries/netconf/ldp.robot | 2 +- .../juniper/mseries/netconf/list-bgp.robot | 2 +- .../juniper/mseries/netconf/list-disks.robot | 2 +- .../mseries/netconf/list-interfaces.robot | 2 +- .../juniper/mseries/netconf/list-ldp.robot | 2 +- .../juniper/mseries/netconf/list-lsp.robot | 2 +- .../juniper/mseries/netconf/list-rsvp.robot | 2 +- .../mseries/netconf/list-services-rpm.robot | 2 +- tests/network/juniper/mseries/netconf/lsp.robot | 2 +- .../network/juniper/mseries/netconf/memory.robot | 2 +- tests/network/juniper/mseries/netconf/ospf.robot | 2 +- tests/network/juniper/mseries/netconf/rsvp.robot | 2 +- .../juniper/mseries/netconf/services-rpm.robot | 2 +- .../network/keysight/nvos/restapi/license.robot | 2 +- tests/network/keysight/nvos/restapi/ports.robot | 2 +- tests/network/mikrotik/snmp/lteinterfaces.robot | 2 +- tests/network/moxa/switch/snmp/interfaces.robot | 2 +- tests/network/nokia/timos/snmp/sas-alarm.robot | 2 +- .../network/sonus/sbc/snmp/call-statistics.robot | 2 +- tests/network/sonus/sbc/snmp/channels.robot | 2 +- tests/network/sonus/sbc/snmp/dsp-stats.robot | 2 +- tests/network/sonus/sbc/snmp/interfaces.robot | 2 +- .../network/sonus/sbc/snmp/list-interfaces.robot | 2 +- tests/network/stormshield/api/vpn-tunnels.robot | 2 +- tests/network/stormshield/snmp/hardware.robot | 2 +- tests/network/teldat/snmp/cellsradio.robot | 2 +- tests/network/teldat/snmp/cpu.robot | 2 +- tests/network/teldat/snmp/memory.robot | 2 +- tests/os/f5os/snmp/cpu-usage.robot | 2 +- tests/os/f5os/snmp/hardware.robot | 2 +- tests/os/f5os/snmp/memory.robot | 2 +- tests/os/freebsd/snmp/storage.robot | 2 +- .../linux/local/List-Systemdservices-v219.robot | 2 +- .../linux/local/List-Systemdservices-v252.robot | 2 +- tests/os/linux/local/process.robot | 2 +- .../os/linux/snmp-connector/arp-connector.robot | 2 +- .../os/linux/snmp-connector/cpu-connector.robot | 2 +- .../os/linux/snmp-connector/swap-connector.robot | 2 +- tests/os/linux/snmp/arp.robot | 2 +- tests/os/linux/snmp/cpu-d.robot | 2 +- tests/os/linux/snmp/cpu-detailed.robot | 2 +- tests/os/linux/snmp/cpu.robot | 2 +- tests/os/linux/snmp/disk-usage.robot | 2 +- tests/os/linux/snmp/diskio.robot | 2 +- tests/os/linux/snmp/inodes.robot | 2 +- tests/os/linux/snmp/list-diskspath.robot | 2 +- tests/os/linux/snmp/list-interfaces.robot | 2 +- tests/os/linux/snmp/list-processes.robot | 2 +- tests/os/linux/snmp/list-storages.robot | 2 +- tests/os/linux/snmp/load.robot | 2 +- tests/os/linux/snmp/memory-centreonvault.robot | 2 +- tests/os/linux/snmp/memory.robot | 2 +- tests/os/linux/snmp/network-interfaces.robot | 4 ++-- tests/os/linux/snmp/processcount.robot | 2 +- tests/os/linux/snmp/storage.robot | 2 +- tests/os/linux/snmp/swap.robot | 2 +- tests/os/linux/snmp/udpcon.robot | 2 +- tests/os/linux/snmp/uptime.robot | 2 +- tests/os/windows/snmp/cpu.robot | 2 +- tests/os/windows/snmp/interfaces.robot | 2 +- tests/os/windows/snmp/list-services.robot | 2 +- tests/os/windows/snmp/list-storages.robot | 2 +- tests/os/windows/snmp/memory.robot | 2 +- tests/os/windows/snmp/processcount.robot | 2 +- tests/os/windows/snmp/services-en.robot | 2 +- tests/os/windows/snmp/storage.robot | 2 +- tests/os/windows/snmp/swap.robot | 2 +- tests/os/windows/snmp/uptime.robot | 2 +- .../__pycache__/connector.cpython-310.pyc | Bin 0 -> 7009 bytes tests/resources/resources.resource | 4 ++-- tests/storage/datacore/restapi/alert-count.robot | 2 +- tests/storage/datacore/restapi/pool-usage.robot | 2 +- .../datacore/restapi/status-monitor.robot | 2 +- tests/storage/emc/datadomain/snmp/alerts.robot | 2 +- tests/storage/emc/datadomain/snmp/cleaning.robot | 2 +- .../emc/datadomain/snmp/filesystems.robot | 2 +- tests/storage/emc/datadomain/snmp/hardware.robot | 2 +- .../storage/emc/datadomain/snmp/interfaces.robot | 2 +- .../emc/datadomain/snmp/list-filesystems.robot | 2 +- .../emc/datadomain/snmp/list-mtrees.robot | 2 +- .../emc/datadomain/snmp/list-replications.robot | 2 +- tests/storage/emc/datadomain/snmp/mtrees.robot | 2 +- tests/storage/emc/datadomain/snmp/process.robot | 2 +- .../emc/datadomain/snmp/replications.robot | 2 +- .../netapp/ontap/restapi/aggregates.robot | 2 +- tests/storage/netapp/ontap/restapi/cluster.robot | 2 +- .../storage/netapp/ontap/restapi/hardware.robot | 2 +- tests/storage/netapp/ontap/restapi/luns.robot | 2 +- tests/storage/netapp/ontap/restapi/quotas.robot | 2 +- .../netapp/ontap/restapi/snapmirrors.robot | 2 +- tests/storage/netapp/ontap/restapi/volumes.robot | 2 +- .../flasharray/v2/restapi/array.robot | 2 +- tests/storage/qnap/snmp/hardware.robot | 2 +- tests/storage/qnap/snmp/pools.robot | 2 +- tests/storage/qnap/snmp/volumes.robot | 2 +- tests/storage/synology/snmp/Components.robot | 2 +- tests/storage/synology/snmp/Uptime.robot | 2 +- tests/storage/wd/nas/snmp/hardware.robot | 2 +- tests/storage/wd/nas/snmp/listvolumes.robot | 2 +- tests/storage/wd/nas/snmp/volumes.robot | 2 +- 216 files changed, 226 insertions(+), 226 deletions(-) create mode 100644 tests/resources/__pycache__/connector.cpython-310.pyc diff --git a/tests/apps/automation/ansible/tower/hosts.robot b/tests/apps/automation/ansible/tower/hosts.robot index 120893c89..c59a2125b 100644 --- a/tests/apps/automation/ansible/tower/hosts.robot +++ b/tests/apps/automation/ansible/tower/hosts.robot @@ -27,7 +27,7 @@ Hosts ${tc} ${command} Catenate ... ${CMD} ... --mode=hosts - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc snmpcommunity expected_result -- ... 1 os/linux/snmp/list-diskio OK: Hosts total: 10, failed: 0 - All hosts are ok | 'hosts.total.count'=10;;;0; 'hosts.failed.count'=0;;;0;10 diff --git a/tests/apps/automation/ansible/tower/jobs.robot b/tests/apps/automation/ansible/tower/jobs.robot index c7a0483bf..86dd2d8a4 100644 --- a/tests/apps/automation/ansible/tower/jobs.robot +++ b/tests/apps/automation/ansible/tower/jobs.robot @@ -29,7 +29,7 @@ jobs ${tc} ... --mode=jobs ... ${extraoptions} Log ${cmd} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 --filter-name='' OK: Jobs total: 4, successful: 0, failed: 0, running: 0 | 'jobs.total.count'=4;;;0; 'jobs.successful.count'=0;;;0;4 'jobs.failed.count'=0;;;0;4 'jobs.running.count'=0;;;0;4 'jobs.canceled.count'=0;;;0;4 'jobs.pending.count'=0;;;0;4 'jobs.default.count'=0;;;0;4 diff --git a/tests/apps/eclipse/mosquitto/mqtt/clients.robot b/tests/apps/eclipse/mosquitto/mqtt/clients.robot index d59a62fba..b3c6feac3 100644 --- a/tests/apps/eclipse/mosquitto/mqtt/clients.robot +++ b/tests/apps/eclipse/mosquitto/mqtt/clients.robot @@ -32,7 +32,7 @@ Mosquitto MQTT clients help ... ${CMD} ... --help - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ^Plugin Description: + Ctn Run Command And Check Result As Regexp ${command} ^Plugin Description: ${tc} Mosquitto MQTT clients ${tc} [Documentation] Check Mosquitto MQTT clients @@ -41,7 +41,7 @@ Mosquitto MQTT clients ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^OK: Connected clients: \\\\d+, Maximum clients: \\\\d+, Active clients: \\\\d+, Inactive clients: \\\\d+ \\\\| 'connected_clients'=\\\\d+;;;\\\\d+; 'maximum_clients'=\\\\d+;;;\\\\d+; 'active_clients'=\\\\d+;;;\\\\d+; 'inactive_clients'=\\\\d+;;;\\\\d+;$ diff --git a/tests/apps/eclipse/mosquitto/mqtt/messages.robot b/tests/apps/eclipse/mosquitto/mqtt/messages.robot index 2f8162506..7ecf08d23 100644 --- a/tests/apps/eclipse/mosquitto/mqtt/messages.robot +++ b/tests/apps/eclipse/mosquitto/mqtt/messages.robot @@ -41,7 +41,7 @@ Mosquitto MQTT messages ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^OK: Stored messages: \\\\d+, Received messages: \\\\d+, Sent messages: \\\\d+ \\\\| 'stored_messages'=\\\\d+;;;\\\\d+; 'received_messages'=\\\\d+;;;\\\\d+; 'sent_messages'=\\\\d+;;;\\\\d+;$ diff --git a/tests/apps/eclipse/mosquitto/mqtt/numeric-value.robot b/tests/apps/eclipse/mosquitto/mqtt/numeric-value.robot index 524e04434..bbc5a9c4c 100644 --- a/tests/apps/eclipse/mosquitto/mqtt/numeric-value.robot +++ b/tests/apps/eclipse/mosquitto/mqtt/numeric-value.robot @@ -50,7 +50,7 @@ Mosquitto MQTT numeric-value ${tc} ... --perfdata-min=${perfdata_min} ... --perfdata-max=${perfdata_max} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc topic warning critical extracted_pattern format format_custom perfdata_unit perfdata_name perfdata_min perfdata_max expected_result -- ... 1 $SYS/broker/messages/sent ${EMPTY} ${EMPTY} ${EMPTY} current value is %s ${EMPTY} ${EMPTY} value ${EMPTY} ${EMPTY} ^OK: current value is \\\\d* \\\\| 'value'=\\\\d*;;;;$ diff --git a/tests/apps/eclipse/mosquitto/mqtt/string-value.robot b/tests/apps/eclipse/mosquitto/mqtt/string-value.robot index 8ed0d68de..caa3dd22e 100644 --- a/tests/apps/eclipse/mosquitto/mqtt/string-value.robot +++ b/tests/apps/eclipse/mosquitto/mqtt/string-value.robot @@ -44,7 +44,7 @@ Mosquitto MQTT string-value ${tc} ... --critical-regexp='${critical}' ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc topic warning critical extraoptions expected_result -- ... 1 $SYS/broker/version ${EMPTY} ${EMPTY} ${EMPTY} ^OK: value: mosquitto version \\\\d*\.\\\\d*\.\\\\d*$ diff --git a/tests/apps/eclipse/mosquitto/mqtt/uptime.robot b/tests/apps/eclipse/mosquitto/mqtt/uptime.robot index 6feedcb2d..2374c0ba7 100644 --- a/tests/apps/eclipse/mosquitto/mqtt/uptime.robot +++ b/tests/apps/eclipse/mosquitto/mqtt/uptime.robot @@ -41,7 +41,7 @@ Mosquitto MQTT uptime ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^OK: uptime is:( \\\\d+d)?( \\\\d+h)?( \\\\d+m)?( \\\\d+s)? \\\\| 'uptime'=\\\\d+s;;;\\\\d+;$ diff --git a/tests/apps/exense/step/restapi/list-plans.robot b/tests/apps/exense/step/restapi/list-plans.robot index 4d6fe5578..50f638617 100644 --- a/tests/apps/exense/step/restapi/list-plans.robot +++ b/tests/apps/exense/step/restapi/list-plans.robot @@ -27,7 +27,7 @@ list-plans ${tc} ... ${cmd} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} List plans: [id: 66d1904664e24c6ef10f74d2][name: plop2-test] [id: 669fc855498c2a0322a6a9c5][name: test-plan] [id: 66d180a764e24c6ef10e0155][name: test-plan_Copy] diff --git a/tests/apps/exense/step/restapi/list-tenants.robot b/tests/apps/exense/step/restapi/list-tenants.robot index c939b4b1c..24fb020a4 100644 --- a/tests/apps/exense/step/restapi/list-tenants.robot +++ b/tests/apps/exense/step/restapi/list-tenants.robot @@ -27,7 +27,7 @@ list-tenants ${tc} ... ${cmd} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} List tenants: [name: [All]][projectId: ][global: 1] [name: Common][projectId: 669fc509498c2a0322a6a5ad][global: 0] [name: test-project][projectId: 66d18fc464e24c6ef10f6f02][global: 0] diff --git a/tests/apps/exense/step/restapi/plans.robot b/tests/apps/exense/step/restapi/plans.robot index 2224f8bc1..663db7900 100644 --- a/tests/apps/exense/step/restapi/plans.robot +++ b/tests/apps/exense/step/restapi/plans.robot @@ -28,7 +28,7 @@ plans ${tc} ... ${cmd} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: All plans are ok \\\| 'plans.detected.count'=3;;;0; 'test-plan#plan.executions.detected.count'=6;;;0; 'test-plan#plan.executions.failed.percentage'=0.00%;;;0;100 'test-plan#plan.execution.last.seconds'=17822466s;;;0; 'test-plan_Copy#plan.executions.detected.count'=0;;;0; 'test-plan_Copy#plan.executions.failed.percentage'=0.00%;;;0;100 'plop2-test#plan.executions.detected.count'=3;;;0; 'plop2-test#plan.executions.failed.percentage'=0.00%;;;0;100 'plop2-test#plan.execution.last.seconds'=17822867s;;;0; diff --git a/tests/apps/haproxy/web/backendusage.robot b/tests/apps/haproxy/web/backendusage.robot index 5c2e3b356..747749fd6 100644 --- a/tests/apps/haproxy/web/backendusage.robot +++ b/tests/apps/haproxy/web/backendusage.robot @@ -28,7 +28,7 @@ backend-usage ${tc} ... --filter-name='${filter_name}' ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filter_name extra_options expected_result -- ... 1 STATIC_BG_IMAGE ${EMPTY} OK: Backend 'STATIC_BG_IMAGE' backend status: UP, current queue: 0, current session rate: 0/s, max session rate: 1/s, current sessions: 0, backend-total-sessions : Buffer creation, backend-traffic-in : Buffer creation, backend-traffic-out : Buffer creation, denied requests: 0, denied responses: 0, connection errors: 0, responses errors: 0 | 'STATIC_BG_IMAGE#backend.queue.current.count'=0;;;0; 'STATIC_BG_IMAGE#backend.session.current.rate.countpersecond'=0;;;0; 'STATIC_BG_IMAGE#backend.session.max.rate.countpersecond'=1;;;0; 'STATIC_BG_IMAGE#backend.sessions.current.count'=0;;;0; 'STATIC_BG_IMAGE#backend.requests.denied.count'=0;;;0; 'STATIC_BG_IMAGE#backend.responses.denied.count'=0;;;0; 'STATIC_BG_IMAGE#backend.connections.error.count'=0;;;0; 'STATIC_BG_IMAGE#backend.responses.error.count'=0;;;0; diff --git a/tests/apps/haproxy/web/frontendusage.robot b/tests/apps/haproxy/web/frontendusage.robot index 05b40432f..776b2e3be 100644 --- a/tests/apps/haproxy/web/frontendusage.robot +++ b/tests/apps/haproxy/web/frontendusage.robot @@ -28,7 +28,7 @@ frontend-usage ${tc} ... --filter-name='${filter_name}' ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filter_name extra_options expected_result -- ... 1 ${EMPTY} ${EMPTY} OK: Frontend 'hafrontend' frontend status: OPEN, current session rate: 1/s, max session rate: 6/s, current sessions: 10, total sessions: 3980, max sessions: 16, frontend-traffic-in : Buffer creation, frontend-traffic-out : Buffer creation, denied requests: 0, denied responses: 0, error requests: 42 | 'hafrontend#frontend.session.current.rate.countpersecond'=1;;;0; 'hafrontend#frontend.session.max.rate.countpersecond'=6;;;0; 'hafrontend#frontend.sessions.current.count'=10;;;0; 'hafrontend#frontend.sessions.total.count'=3980;;;0; 'hafrontend#frontend.sessions.maximum.count'=16;;;0; 'hafrontend#frontend.requests.denied.count'=0;;;0; 'hafrontend#frontend.responses.denied.count'=0;;;0; 'hafrontend#frontend.requests.error.count'=42;;;0; diff --git a/tests/apps/jmeter/scenario.robot b/tests/apps/jmeter/scenario.robot index 2a5275b2b..c7f8e082e 100644 --- a/tests/apps/jmeter/scenario.robot +++ b/tests/apps/jmeter/scenario.robot @@ -22,7 +22,7 @@ Scenario ${tc} ... --command-path=${CURDIR} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: ... tc scenario extraoptions expected_result -- diff --git a/tests/apps/microsoft/hyperv/2012/local/node-integration-service.robot b/tests/apps/microsoft/hyperv/2012/local/node-integration-service.robot index 23f6d67cf..1d0df16a4 100644 --- a/tests/apps/microsoft/hyperv/2012/local/node-integration-service.robot +++ b/tests/apps/microsoft/hyperv/2012/local/node-integration-service.robot @@ -24,7 +24,7 @@ HyperV 2022-1 ${tc} ... --command-options=${CURDIR}/nodeintegrationservice-2022-1.json ... --filter-vm='${filter_vm}' - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filter_vm expected_result -- ... 1 ${EMPTY} CRITICAL: 1 problem(s) detected diff --git a/tests/apps/microsoft/hyperv/2012/local/node-integration-service2.robot b/tests/apps/microsoft/hyperv/2012/local/node-integration-service2.robot index 20dbca444..0c1eacbeb 100644 --- a/tests/apps/microsoft/hyperv/2012/local/node-integration-service2.robot +++ b/tests/apps/microsoft/hyperv/2012/local/node-integration-service2.robot @@ -24,7 +24,7 @@ HyperV 2022-2 ${tc} ... --command-options=${CURDIR}/nodeintegrationservice-2022-2.json ... --filter-vm='${filter_vm}' - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filter_vm expected_result -- ... 1 ${EMPTY} OK: All integration services are ok diff --git a/tests/apps/podman/restapi/containerusage.robot b/tests/apps/podman/restapi/containerusage.robot index 26c171a72..4109d6659 100644 --- a/tests/apps/podman/restapi/containerusage.robot +++ b/tests/apps/podman/restapi/containerusage.robot @@ -29,7 +29,7 @@ Container usage ${tc} ... --container-name=wordpress ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: CPU: 0.11%, Memory: 10.85MB, Read : 435.65MB, Write : 941.43MB, Network in: 1006.00B, Network out: 2.10KB, State: running | 'podman.container.cpu.usage.percent'=0.11%;;;0;100 'podman.container.memory.usage.bytes'=11374592B;;;0; 'podman.container.io.read'=456812354B;;;0; 'podman.container.io.write'=987156423B;;;0; 'podman.container.network.in'=1006B;;;0; 'podman.container.network.out'=2146B;;;0; @@ -51,7 +51,7 @@ Container usage ${tc} ... --container-name=wordpress ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 10 --warning-network-in=500 WARNING: Network in: 1006.00B | 'podman.container.cpu.usage.percent'=0.11%;;;0;100 'podman.container.memory.usage.bytes'=11374592B;;;0; 'podman.container.io.read'=456812354B;;;0; 'podman.container.io.write'=987156423B;;;0; 'podman.container.network.in'=1006B;0:500;;0; 'podman.container.network.out'=2146B;;;0; diff --git a/tests/apps/podman/restapi/listcontainers.robot b/tests/apps/podman/restapi/listcontainers.robot index b661a0a6d..b3e43c67c 100644 --- a/tests/apps/podman/restapi/listcontainers.robot +++ b/tests/apps/podman/restapi/listcontainers.robot @@ -28,7 +28,7 @@ List-Containers ${tc} ... ${cmd} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^Containers: (\\\\n\\\\[.*\\\\]){3}\\\\Z diff --git a/tests/apps/podman/restapi/listpods.robot b/tests/apps/podman/restapi/listpods.robot index eb38043b4..6a608292b 100644 --- a/tests/apps/podman/restapi/listpods.robot +++ b/tests/apps/podman/restapi/listpods.robot @@ -28,7 +28,7 @@ List-Pods ${tc} ... ${cmd} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^Pods: (\\\\n\\\\[.*\\\\]){2}\\\\Z diff --git a/tests/apps/podman/restapi/podstatus.robot b/tests/apps/podman/restapi/podstatus.robot index 34b5cc4b5..d061e68fa 100644 --- a/tests/apps/podman/restapi/podstatus.robot +++ b/tests/apps/podman/restapi/podstatus.robot @@ -29,7 +29,7 @@ Pod status ${tc} ... --pod-name=blog ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: CPU: 1.46%, Memory: 459.41MB, Running containers: 5, Stopped containers: 2, Paused containers: 1, State: Running | 'podman.pod.cpu.usage.percent'=1.46%;;;0;100 'podman.pod.memory.usage.bytes'=481727346.688B;;;0; 'podman.pod.containers.running.count'=5;;;0; 'podman.pod.containers.stopped.count'=2;;;0; 'podman.pod.containers.paused.count'=1;;;0; @@ -53,7 +53,7 @@ Pod status ${tc} ... --pod-name=degreded ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 12 --warning-state='\\\%{state} =~ /Degraded/' --critical-state='\\\%{state} =~ /Exited/' WARNING: State: Degraded | 'podman.pod.cpu.usage.percent'=1.46%;;;0;100 'podman.pod.memory.usage.bytes'=481727346.688B;;;0; 'podman.pod.containers.running.count'=5;;;0; 'podman.pod.containers.stopped.count'=2;;;0; 'podman.pod.containers.paused.count'=1;;;0; diff --git a/tests/apps/podman/restapi/systemstatus.robot b/tests/apps/podman/restapi/systemstatus.robot index 0b0c6fcca..9d941788b 100644 --- a/tests/apps/podman/restapi/systemstatus.robot +++ b/tests/apps/podman/restapi/systemstatus.robot @@ -28,7 +28,7 @@ System status ${tc} ... ${cmd} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: CPU: 1.19%, Memory: 1.84GB, Swap: 69.46MB, Running containers: 3, Stopped containers: 2, Uptime: 52440 s | 'podman.system.cpu.usage.percent'=1.19%;;;0;100 'podman.system.memory.usage.bytes'=1980252160B;;;0; 'podman.system.swap.usage.bytes'=72836626B;;;0; 'podman.system.containers.running.count'=3;;;0;6 'podman.system.containers.stopped.count'=2;;;0;6 'podman.system.uptime.seconds'=52440s;;;0; diff --git a/tests/apps/protocols/http/collection-centreon-web.robot b/tests/apps/protocols/http/collection-centreon-web.robot index d3f4b795f..dc13ec7ab 100644 --- a/tests/apps/protocols/http/collection-centreon-web.robot +++ b/tests/apps/protocols/http/collection-centreon-web.robot @@ -25,7 +25,7 @@ Check if ${test_desc} on Centreon [Tags] centreon collections http ${command} Catenate ... ${CMD} --config=${CURDIR}/${collection} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: test_desc collection expected_result -- ... authentication succeeds collection-centreon-web-check-auth.collection.json OK: Authentication resulted in 200 HTTP code diff --git a/tests/apps/protocols/snmp/collection-sputnik.robot b/tests/apps/protocols/snmp/collection-sputnik.robot index 118c70541..3a12295bf 100644 --- a/tests/apps/protocols/snmp/collection-sputnik.robot +++ b/tests/apps/protocols/snmp/collection-sputnik.robot @@ -22,7 +22,7 @@ SNMP Collection - Sputnik Environment ${tc}/3 ... --snmp-community=apps/protocols/snmp/collection-sputnik ... --config=${CURDIR}${/}..${/}..${/}..${/}..${/}src/contrib/collection/snmp/sputnik-environment.json - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc expected_result -- ... 1 OK: Sensor '1' temperature is '20.06'°C and humidity is '33'% | '1#environment.temperature.celsius'=20.06C;;;; '1#environment.humidity.percent'=33%;;;0;100 diff --git a/tests/apps/protocols/snmp/hashicorp-password-manager.robot b/tests/apps/protocols/snmp/hashicorp-password-manager.robot index 4e460bcfb..135ad81d1 100644 --- a/tests/apps/protocols/snmp/hashicorp-password-manager.robot +++ b/tests/apps/protocols/snmp/hashicorp-password-manager.robot @@ -35,7 +35,7 @@ check hashicorp vault manager${Name} ... --format-details-warning='current value is: \\%{details_warning}' ... --format-details-critical='current value is: \\%{details_critical}' - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: Name path-param expected_result -- ... default path --auth-path='' --auth-settings="password=secrethashicorpPassword" OK: current value is: Linux centreon-devbox 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 diff --git a/tests/apps/vmware/vsphere8/esx/cpu-curl.robot b/tests/apps/vmware/vsphere8/esx/cpu-curl.robot index 0f606edb8..401905628 100644 --- a/tests/apps/vmware/vsphere8/esx/cpu-curl.robot +++ b/tests/apps/vmware/vsphere8/esx/cpu-curl.robot @@ -25,7 +25,7 @@ Cpu with curl ${tc} [Tags] apps api vmware vsphere8 esx ${command} Catenate ${CMD} --http-backend=curl ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: usage-prct : skipped (no value(s)), usage-frequency : skipped (no value(s)) - no data for host host-22 counter cpu.capacity.provisioned.HOST at the moment. diff --git a/tests/apps/vmware/vsphere8/esx/cpu-lwp.robot b/tests/apps/vmware/vsphere8/esx/cpu-lwp.robot index 20489a1fd..61a4fad28 100644 --- a/tests/apps/vmware/vsphere8/esx/cpu-lwp.robot +++ b/tests/apps/vmware/vsphere8/esx/cpu-lwp.robot @@ -25,7 +25,7 @@ Cpu with lwp ${tc} [Tags] apps api vmware vsphere8 esx ${command} Catenate ${CMD} --http-backend=lwp ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: usage-prct : skipped (no value(s)), usage-frequency : skipped (no value(s)) - no data for host host-22 counter cpu.capacity.provisioned.HOST at the moment. diff --git a/tests/apps/vmware/vsphere8/esx/diskio.robot b/tests/apps/vmware/vsphere8/esx/diskio.robot index 9607802df..651a6d8be 100644 --- a/tests/apps/vmware/vsphere8/esx/diskio.robot +++ b/tests/apps/vmware/vsphere8/esx/diskio.robot @@ -25,7 +25,7 @@ Disk-Io ${tc} [Tags] apps api vmware vsphere8 esx ${command} Catenate ${CMD} ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: usage-bps : skipped (no value(s)), contention-ms : skipped (no value(s)) - no data for host host-22 counter disk.throughput.usage.HOST at the moment. - no data for host host-22 counter disk.throughput.contention.HOST at the moment. diff --git a/tests/apps/vmware/vsphere8/esx/host-status.robot b/tests/apps/vmware/vsphere8/esx/host-status.robot index d86928c09..d1f3a2b6d 100644 --- a/tests/apps/vmware/vsphere8/esx/host-status.robot +++ b/tests/apps/vmware/vsphere8/esx/host-status.robot @@ -25,8 +25,8 @@ Host-Status ${tc} ${command} Catenate ${CMD} ${filter_host} ${extraoptions} ${command_curl} Catenate ${command} --http-backend=curl ${command_lwp} Catenate ${command} --http-backend=lwp - Ctn Run Command Without Connector And Check Result As Strings ${command_curl} ${expected_result} - Ctn Run Command Without Connector And Check Result As Strings ${command_lwp} ${expected_result} + Ctn Run Command And Check Result As Strings ${command_curl} ${expected_result} + Ctn Run Command And Check Result As Strings ${command_lwp} ${expected_result} Examples: tc filter_host extraoptions expected_result -- diff --git a/tests/apps/vmware/vsphere8/esx/memory.robot b/tests/apps/vmware/vsphere8/esx/memory.robot index a56935f78..659ad3408 100644 --- a/tests/apps/vmware/vsphere8/esx/memory.robot +++ b/tests/apps/vmware/vsphere8/esx/memory.robot @@ -25,7 +25,7 @@ Memory ${tc} [Tags] apps api vmware vsphere8 esx ${command} Catenate ${CMD} --http-backend=curl ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: usage-prct : skipped (no value(s)) - usage-bytes : skipped (no value(s)) - no data for host host-22 counter mem.capacity.usable.HOST at the moment. diff --git a/tests/apps/vmware/vsphere8/esx/network.robot b/tests/apps/vmware/vsphere8/esx/network.robot index 097bb1b1c..ed05f0859 100644 --- a/tests/apps/vmware/vsphere8/esx/network.robot +++ b/tests/apps/vmware/vsphere8/esx/network.robot @@ -25,7 +25,7 @@ Network ${tc} [Tags] apps api vmware vsphere8 esx ${command} Catenate ${CMD} ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: usage-bps : skipped (no value(s)), usage-prct : skipped (no value(s)) - no data for host host-22 counter net.throughput.usable.HOST at the moment. diff --git a/tests/apps/vmware/vsphere8/esx/power.robot b/tests/apps/vmware/vsphere8/esx/power.robot index e38b43c04..7938842a9 100644 --- a/tests/apps/vmware/vsphere8/esx/power.robot +++ b/tests/apps/vmware/vsphere8/esx/power.robot @@ -25,7 +25,7 @@ Power ${tc} [Tags] apps api vmware vsphere8 esx ${command} Catenate ${CMD} --http-backend=curl ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: usage-watts : skipped (no value(s)) - no data for host host-22 counter power.capacity.usage.HOST at the moment. diff --git a/tests/apps/vmware/vsphere8/esx/swap.robot b/tests/apps/vmware/vsphere8/esx/swap.robot index cf4bb548b..062dc89df 100644 --- a/tests/apps/vmware/vsphere8/esx/swap.robot +++ b/tests/apps/vmware/vsphere8/esx/swap.robot @@ -25,7 +25,7 @@ Swap ${tc} [Tags] apps api vmware vsphere8 esx ${command} Catenate ${CMD} --http-backend=curl ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: usage-bytes : skipped (no value(s)), usage-prct : skipped (no value(s)) - no data for host host-22 counter mem.swap.current.HOST at the moment. diff --git a/tests/cloud/aws/cloudtrail/checktrailstatus.robot b/tests/cloud/aws/cloudtrail/checktrailstatus.robot index 7c99ffea1..f1f60a1dd 100644 --- a/tests/cloud/aws/cloudtrail/checktrailstatus.robot +++ b/tests/cloud/aws/cloudtrail/checktrailstatus.robot @@ -24,7 +24,7 @@ AWS CloudTrail check trail status ${tc} ... --mode=checktrailstatus ... --endpoint=http://${HOSTNAME}:${APIPORT}/cloudtrail/gettrailstatus/${trailstatus} ... --trail-name=trailname - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc trailstatus expected_result -- ... 1 true OK: Trail is logging: 1 | 'trail_is_logging'=1;;;0; diff --git a/tests/cloud/aws/cloudtrail/countevents.robot b/tests/cloud/aws/cloudtrail/countevents.robot index 4866ec6e8..fd1fb34a2 100644 --- a/tests/cloud/aws/cloudtrail/countevents.robot +++ b/tests/cloud/aws/cloudtrail/countevents.robot @@ -24,7 +24,7 @@ AWS CloudTrail count events ${tc} ... --mode=countevents ... --endpoint=http://localhost:3000/cloudtrail/events/AwsApiCall/${AwsApiCall}/AwsServiceEvent/${AwsServiceEvent}/AwsConsoleAction/${AwsConsoleAction}/AwsConsoleSignIn/${AwsConsoleSignIn}/NextToken/${NextToken} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc AwsApiCall AwsServiceEvent AwsConsoleAction AwsConsoleSignIn NextToken extraoptions expected_result -- ... 1 4 2 1 3 false ${EMPTY} OK: Number of events: 10.00 | 'events_count'=10.00;;;0; diff --git a/tests/cloud/azure/database/elasticpool/storage.robot b/tests/cloud/azure/database/elasticpool/storage.robot index a205c1e22..1cf3eaa8e 100644 --- a/tests/cloud/azure/database/elasticpool/storage.robot +++ b/tests/cloud/azure/database/elasticpool/storage.robot @@ -25,7 +25,7 @@ Storage ${tc} ... --resource-group=${resource_group} ... ${thresholds} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc resource resource_group thresholds expected_result -- ... 1 sql-bb-stsw-prod-do/elasticpools/sql-epool-bb-psme-prod-do emsp-tf-prod-va-rg ${EMPTY} OK: Elastic Pool 'sql-bb-stsw-prod-do/sql-epool-bb-psme-prod-do' Statistic 'average' Metrics Allocated data storage: 201.00 GB, Allocated data storage percentage: 67.00 %, Storage usage percentage: 38.00 %, Storage usage: 114.00 GB | 'sql-bb-stsw-prod-do/sql-epool-bb-psme-prod-do~average#elasticpool.storage.data.allocated.bytes'=215822106624.00B;;;; 'sql-bb-stsw-prod-do/sql-epool-bb-psme-prod-do~average#elasticpool.storage.data.allocated.percentage'=67.00%;;;; 'sql-bb-stsw-prod-do/sql-epool-bb-psme-prod-do~average#elasticpool.storage.usage.percentage'=38.00%;;;; 'sql-bb-stsw-prod-do/sql-epool-bb-psme-prod-do~average#elasticpool.storage.used.bytes'=122406567936.00B;;;; diff --git a/tests/cloud/azure/network/vpngateway/vpngatewaystatus.robot b/tests/cloud/azure/network/vpngateway/vpngatewaystatus.robot index 3ab6f9a9b..5b3a0fe71 100644 --- a/tests/cloud/azure/network/vpngateway/vpngatewaystatus.robot +++ b/tests/cloud/azure/network/vpngateway/vpngatewaystatus.robot @@ -25,7 +25,7 @@ VPN Gateway status ${tc} ... --management-endpoint=${BASE_URL} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All VPN gateways are ok diff --git a/tests/cloud/azure/policyinsights/policystates/cloud-azure-policyinsights-policystates.robot b/tests/cloud/azure/policyinsights/policystates/cloud-azure-policyinsights-policystates.robot index 1a08d41bf..3da20cd35 100644 --- a/tests/cloud/azure/policyinsights/policystates/cloud-azure-policyinsights-policystates.robot +++ b/tests/cloud/azure/policyinsights/policystates/cloud-azure-policyinsights-policystates.robot @@ -25,7 +25,7 @@ Azure PolicyInsights PolicyStates compliance ${tc} ... --mode=compliance ... --management-endpoint=${endpoint} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc endpoint policyname resourcelocation resourcetype expected_result -- ... 1 ${BASE_URL}/ok ${EMPTY} ${EMPTY} ${EMPTY} OK: Number of non compliant policies: 0 - All compliances states are ok | 'policies.non_compliant.count'=0;;;0; diff --git a/tests/database/database-mysql.robot b/tests/database/database-mysql.robot index 5adae4f16..a19df47cf 100644 --- a/tests/database/database-mysql.robot +++ b/tests/database/database-mysql.robot @@ -17,7 +17,7 @@ Database Mysql sql string mode ${tc} ... ${CMD} ... --mode=sql-string - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc expected_result -- ... 1 UNKNOWN: Need to specify data_source arguments. diff --git a/tests/database/informix/snmp/list-instances.robot b/tests/database/informix/snmp/list-instances.robot index 2024c011c..f70206010 100644 --- a/tests/database/informix/snmp/list-instances.robot +++ b/tests/database/informix/snmp/list-instances.robot @@ -21,7 +21,7 @@ list-instances ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose List instances: [instance = default] diff --git a/tests/database/informix/snmp/logfile-usage.robot b/tests/database/informix/snmp/logfile-usage.robot index d26545331..0d6baae3f 100644 --- a/tests/database/informix/snmp/logfile-usage.robot +++ b/tests/database/informix/snmp/logfile-usage.robot @@ -21,7 +21,7 @@ logfile-usage ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: All dbspace log files usage are ok | 'used_default.linies'=0.00%;;;0;100 'used_default.logical_log'=0.73%;;;0;100 'used_default.rootdbs'=0.00%;;;0;100 Dbspace 'default.linies' Log Files Used: 0.00% Dbspace 'default.logical_log' Log Files Used: 0.73% Dbspace 'default.rootdbs' Log Files Used: 0.00% diff --git a/tests/hardware/devices/camera/avigilon/snmp/memory.robot b/tests/hardware/devices/camera/avigilon/snmp/memory.robot index d83c56670..04dde075d 100644 --- a/tests/hardware/devices/camera/avigilon/snmp/memory.robot +++ b/tests/hardware/devices/camera/avigilon/snmp/memory.robot @@ -24,7 +24,7 @@ Avigilon camera Memory ${tc}/3 ... --warning-available='${warning_available}' ... --critical-available='${critical_available}' - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc warning_available critical_available expected_result -- ... 1 ${EMPTY} ${EMPTY} OK: total system memory available: 464.85 KB | 'memory.available'=476004B;;;0; diff --git a/tests/hardware/devices/camera/avigilon/snmp/storage.robot b/tests/hardware/devices/camera/avigilon/snmp/storage.robot index e6834e28b..04bfa681f 100644 --- a/tests/hardware/devices/camera/avigilon/snmp/storage.robot +++ b/tests/hardware/devices/camera/avigilon/snmp/storage.robot @@ -25,7 +25,7 @@ Avigilon camera Storage ${tc}/3 ... --critical-status='${critical_status}' ... --unknown-status='${unknown_status}' - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc warning_status critical_status unknown_status expected_result -- ... 1 ${EMPTY} ${EMPTY} ${EMPTY} OK: state of the SD card: mediaNotPresent diff --git a/tests/hardware/devices/camera/avigilon/snmp/temperature.robot b/tests/hardware/devices/camera/avigilon/snmp/temperature.robot index 7d9fc6a6d..ac6ba0e95 100644 --- a/tests/hardware/devices/camera/avigilon/snmp/temperature.robot +++ b/tests/hardware/devices/camera/avigilon/snmp/temperature.robot @@ -26,7 +26,7 @@ Avigilon camera Temperature ${tc}/5 ... --warning-status='${warning_status}' ... --critical-status='${critical_status}' - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc warning_temperature critical_temperature warning_status critical_status expected_result -- ... 1 ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} OK: temperature: 23.00 C, sensor 1 [type:mainSensor] status: ok | 'sensor.temperature.celsius'=23C;;;0; diff --git a/tests/hardware/devices/video/appeartv/snmp/alarms.robot b/tests/hardware/devices/video/appeartv/snmp/alarms.robot index 6d9daa4fe..8e9997854 100644 --- a/tests/hardware/devices/video/appeartv/snmp/alarms.robot +++ b/tests/hardware/devices/video/appeartv/snmp/alarms.robot @@ -23,7 +23,7 @@ AppearTV Alarms ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} WARNING: 1 problem(s) detected | 'alerts'=1;;;0; diff --git a/tests/hardware/pdu/cyberpower/snmp/load.robot b/tests/hardware/pdu/cyberpower/snmp/load.robot index aacddf8df..49aa2d412 100644 --- a/tests/hardware/pdu/cyberpower/snmp/load.robot +++ b/tests/hardware/pdu/cyberpower/snmp/load.robot @@ -22,7 +22,7 @@ load ${tc} ... --snmp-community=hardware/pdu/cyberpower/snmp/CyberPower ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 --warning-phase-status='\\\%{state} =~ /low|nearOverload/i' OK: Device 'ATS011' bank '1' current : 1 A - phase '1' state: normal, current : 1 A, power : 219 W, voltage : 217.8 V | 'ATS011~1#bank.current.ampere'=1A;;;0; 'ATS011~1#phase.current.ampere'=1A;;;0; 'ATS011~1#phase.power.watt'=219W;;;0; 'ATS011~1#phase.voltage.volt'=217.8V;;;0; diff --git a/tests/hardware/pdu/cyberpower/snmp/outlets.robot b/tests/hardware/pdu/cyberpower/snmp/outlets.robot index a4415193e..c6f2165bf 100644 --- a/tests/hardware/pdu/cyberpower/snmp/outlets.robot +++ b/tests/hardware/pdu/cyberpower/snmp/outlets.robot @@ -22,7 +22,7 @@ outlets ${tc} ... --snmp-community=hardware/pdu/cyberpower/snmp/CyberPower ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 --unknown-status='\\\%{state} =~ /on/' UNKNOWN: Device 'ATS011' outlet 'Outlet1 bank 1' state: 'on' [phase: -] - outlet 'Outlet10 bank 1' state: 'on' [phase: -] - outlet 'Outlet2 bank 1' state: 'on' [phase: -] - outlet 'Outlet3 bank 1' state: 'on' [phase: -] - outlet 'Outlet4 bank 1' state: 'on' [phase: -] - outlet 'Outlet5 bank 1' state: 'on' [phase: -] - outlet 'Outlet6 bank 1' state: 'on' [phase: -] - outlet 'Outlet7 bank 1' state: 'on' [phase: -] - outlet 'Outlet8 bank 1' state: 'on' [phase: -] - outlet 'Outlet9 bank 1' state: 'on' [phase: -] diff --git a/tests/hardware/pdu/raritan/snmp/inletsensors.robot b/tests/hardware/pdu/raritan/snmp/inletsensors.robot index 1f1d5a11c..0d86c17ba 100644 --- a/tests/hardware/pdu/raritan/snmp/inletsensors.robot +++ b/tests/hardware/pdu/raritan/snmp/inletsensors.robot @@ -24,7 +24,7 @@ inlet ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All 7 components are ok [1/1 activeEnergy, 1/1 activePower, 1/1 apparentPower, 1/1 frequency, 1/1 powerFactor, 1/1 rmsCurrent, 1/1 rmsVoltage]. | 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.activeenergy.watthour'=1444088wattHour;;;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.activepower.watt'=242W;;;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.apparentpower.voltamp'=379voltamp;;;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.powerfactor'=0.64;;;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.rmscurrent.ampere'=1.626A;~:10.4;~:12.8;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.rmsvoltage.volt'=233V;194:247;188:254;; 'hardware.activeEnergy.count'=1;;;; 'hardware.activePower.count'=1;;;; 'hardware.apparentPower.count'=1;;;; 'hardware.frequency.count'=1;;;; 'hardware.powerFactor.count'=1;;;; 'hardware.rmsCurrent.count'=1;;;; 'hardware.rmsVoltage.count'=1;;;; diff --git a/tests/hardware/pdu/raritan/snmp/outletsensors.robot b/tests/hardware/pdu/raritan/snmp/outletsensors.robot index 2d8ff7908..6ea0c60cf 100644 --- a/tests/hardware/pdu/raritan/snmp/outletsensors.robot +++ b/tests/hardware/pdu/raritan/snmp/outletsensors.robot @@ -24,7 +24,7 @@ outlet ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All 96 components are ok [12/12 activeEnergy, 12/12 activePower, 12/12 apparentPower, 12/12 frequency, 12/12 onOff, 12/12 powerFactor, 12/12 rmsCurrent, 12/12 rmsVoltage]. | 'Anonymized 102~1#hardware.sensor.outlet.activeenergy.watthour'=107881wattHour;;;; 'Anonymized 102~2#hardware.sensor.outlet.activeenergy.watthour'=330830wattHour;;;; 'Anonymized 102~3#hardware.sensor.outlet.activeenergy.watthour'=46648wattHour;;;; 'Anonymized 102~4#hardware.sensor.outlet.activeenergy.watthour'=4wattHour;;;; 'Anonymized 102~5#hardware.sensor.outlet.activeenergy.watthour'=281696wattHour;;;; 'Anonymized 102~6#hardware.sensor.outlet.activeenergy.watthour'=340154wattHour;;;; 'Anonymized 102~7#hardware.sensor.outlet.activeenergy.watthour'=293708wattHour;;;; 'Anonymized 102~8#hardware.sensor.outlet.activeenergy.watthour'=0wattHour;;;; 'Anonymized 102~9#hardware.sensor.outlet.activeenergy.watthour'=0wattHour;;;; 'Anonymized 102~10#hardware.sensor.outlet.activeenergy.watthour'=0wattHour;;;; 'Anonymized 102~11#hardware.sensor.outlet.activeenergy.watthour'=0wattHour;;;; 'Anonymized 102~12#hardware.sensor.outlet.activeenergy.watthour'=43137wattHour;;;; 'Anonymized 102~1#hardware.sensor.outlet.activepower.watt'=7W;;;; 'Anonymized 102~2#hardware.sensor.outlet.activepower.watt'=56W;;;; 'Anonymized 102~3#hardware.sensor.outlet.activepower.watt'=6W;;;; 'Anonymized 102~4#hardware.sensor.outlet.activepower.watt'=0W;;;; 'Anonymized 102~5#hardware.sensor.outlet.activepower.watt'=45W;;;; 'Anonymized 102~6#hardware.sensor.outlet.activepower.watt'=56W;;;; 'Anonymized 102~7#hardware.sensor.outlet.activepower.watt'=65W;;;; 'Anonymized 102~8#hardware.sensor.outlet.activepower.watt'=0W;;;; 'Anonymized 102~9#hardware.sensor.outlet.activepower.watt'=0W;;;; 'Anonymized 102~10#hardware.sensor.outlet.activepower.watt'=0W;;;; 'Anonymized 102~11#hardware.sensor.outlet.activepower.watt'=0W;;;; 'Anonymized 102~12#hardware.sensor.outlet.activepower.watt'=7W;;;; 'Anonymized 102~1#hardware.sensor.outlet.apparentpower.voltamp'=17voltamp;;;; 'Anonymized 102~2#hardware.sensor.outlet.apparentpower.voltamp'=71voltamp;;;; 'Anonymized 102~3#hardware.sensor.outlet.apparentpower.voltamp'=21voltamp;;;; 'Anonymized 102~4#hardware.sensor.outlet.apparentpower.voltamp'=0voltamp;;;; 'Anonymized 102~5#hardware.sensor.outlet.apparentpower.voltamp'=78voltamp;;;; 'Anonymized 102~6#hardware.sensor.outlet.apparentpower.voltamp'=86voltamp;;;; 'Anonymized 102~7#hardware.sensor.outlet.apparentpower.voltamp'=91voltamp;;;; 'Anonymized 102~8#hardware.sensor.outlet.apparentpower.voltamp'=0voltamp;;;; 'Anonymized 102~9#hardware.sensor.outlet.apparentpower.voltamp'=0voltamp;;;; 'Anonymized 102~10#hardware.sensor.outlet.apparentpower.voltamp'=0voltamp;;;; 'Anonymized 102~11#hardware.sensor.outlet.apparentpower.voltamp'=0voltamp;;;; 'Anonymized 102~12#hardware.sensor.outlet.apparentpower.voltamp'=19voltamp;;;; 'Anonymized 102~1#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~2#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~3#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~4#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~5#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~6#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~7#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~8#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~9#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~10#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~11#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~12#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~1#hardware.sensor.outlet.powerfactor'=0.41;;;; 'Anonymized 102~2#hardware.sensor.outlet.powerfactor'=0.79;;;; 'Anonymized 102~3#hardware.sensor.outlet.powerfactor'=0.3;;;; 'Anonymized 102~5#hardware.sensor.outlet.powerfactor'=0.58;;;; 'Anonymized 102~6#hardware.sensor.outlet.powerfactor'=0.65;;;; 'Anonymized 102~7#hardware.sensor.outlet.powerfactor'=0.72;;;; 'Anonymized 102~12#hardware.sensor.outlet.powerfactor'=0.38;;;; 'Anonymized 102~1#hardware.sensor.outlet.rmscurrent.ampere'=0.074A;~:6.5;~:8;; 'Anonymized 102~2#hardware.sensor.outlet.rmscurrent.ampere'=0.303A;~:6.5;~:8;; 'Anonymized 102~3#hardware.sensor.outlet.rmscurrent.ampere'=0.091A;~:6.5;~:8;; 'Anonymized 102~4#hardware.sensor.outlet.rmscurrent.ampere'=0A;~:6.5;~:8;; 'Anonymized 102~5#hardware.sensor.outlet.rmscurrent.ampere'=0.333A;~:6.5;~:8;; 'Anonymized 102~6#hardware.sensor.outlet.rmscurrent.ampere'=0.371A;~:6.5;~:8;; 'Anonymized 102~7#hardware.sensor.outlet.rmscurrent.ampere'=0.389A;~:6.5;~:8;; 'Anonymized 102~8#hardware.sensor.outlet.rmscurrent.ampere'=0A;~:6.5;~:8;; 'Anonymized 102~9#hardware.sensor.outlet.rmscurrent.ampere'=0A;~:6.5;~:8;; 'Anonymized 102~10#hardware.sensor.outlet.rmscurrent.ampere'=0A;~:6.5;~:8;; 'Anonymized 102~11#hardware.sensor.outlet.rmscurrent.ampere'=0A;~:6.5;~:8;; 'Anonymized 102~12#hardware.sensor.outlet.rmscurrent.ampere'=0.081A;~:6.5;~:8;; 'Anonymized 102~1#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~2#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~3#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~4#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~5#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~6#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~7#hardware.sensor.outlet.rmsvoltage.volt'=234V;;;; 'Anonymized 102~8#hardware.sensor.outlet.rmsvoltage.volt'=0V;;;; 'Anonymized 102~9#hardware.sensor.outlet.rmsvoltage.volt'=0V;;;; 'Anonymized 102~10#hardware.sensor.outlet.rmsvoltage.volt'=0V;;;; 'Anonymized 102~11#hardware.sensor.outlet.rmsvoltage.volt'=0V;;;; 'Anonymized 102~12#hardware.sensor.outlet.rmsvoltage.volt'=234V;;;; 'hardware.activeEnergy.count'=12;;;; 'hardware.activePower.count'=12;;;; 'hardware.apparentPower.count'=12;;;; 'hardware.frequency.count'=12;;;; 'hardware.onOff.count'=12;;;; 'hardware.powerFactor.count'=12;;;; 'hardware.rmsCurrent.count'=12;;;; 'hardware.rmsVoltage.count'=12;;;; diff --git a/tests/hardware/sensors/apc/snmp/hardware-sensors-apc-snmp.robot b/tests/hardware/sensors/apc/snmp/hardware-sensors-apc-snmp.robot index 3548f55b4..62f628ee7 100644 --- a/tests/hardware/sensors/apc/snmp/hardware-sensors-apc-snmp.robot +++ b/tests/hardware/sensors/apc/snmp/hardware-sensors-apc-snmp.robot @@ -22,7 +22,7 @@ APC Sensors ${tc}/9 ${command} Append Option To Command ${command} --critical ${critical} ${command} Append Option To Command ${command} --component ${component} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} # --component 'temperature' --warning='humidity,.,45:65' --critical='humidity,.,35:70' Examples: tc component warning critical expected_result -- ... 1 _empty_ _empty_ _empty_ OK: All 2 components are ok [2/2 temperatures]. | 'Main Module:Sonde de temperature#hardware.sensor.temperature.celsius'=23C;;;; 'Main Module:Sonde de temperature#hardware.sensor.humidity.percentage'=35%;;;0;100 'hardware.temperature.count'=2;;;; diff --git a/tests/hardware/server/lenovo/xcc/snmp/xcc-hardware-snmp.robot b/tests/hardware/server/lenovo/xcc/snmp/xcc-hardware-snmp.robot index 9f7d80f74..16a416693 100644 --- a/tests/hardware/server/lenovo/xcc/snmp/xcc-hardware-snmp.robot +++ b/tests/hardware/server/lenovo/xcc/snmp/xcc-hardware-snmp.robot @@ -23,7 +23,7 @@ lenovo xcc hardware Alarms ${tc} ... --snmp-community=hardware/server/lenovo/xcc/snmp/${arguments} ... --component=${component} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc arguments component expected_result -- ... 1 system-health-critical health CRITICAL: 'Error' health status for 'Anonymized 144' - 'Error' health status for 'Anonymized 149' - 'Error' health status for 'Anonymized 127' - 'Warning' health status for 'Anonymized 130' | 'count_health'=4;;;; diff --git a/tests/hardware/ups/apc/snmp/battery-status.robot b/tests/hardware/ups/apc/snmp/battery-status.robot index 218fffa8e..d3076c3ff 100644 --- a/tests/hardware/ups/apc/snmp/battery-status.robot +++ b/tests/hardware/ups/apc/snmp/battery-status.robot @@ -25,7 +25,7 @@ battery status ${tc} ... --snmp-community=hardware/ups/apc/snmp/ups-apc-battery-ok ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_regexp} + Ctn Run Command And Check Result As Regexp ${command} ${expected_regexp} ${tc} Examples: tc extra_options expected_regexp -- ... 1 ${EMPTY} ^OK: battery status is 'batteryNormal' \\\\[battery needs replace: no\\\\] \\\\[last replace date: 10-05-2022\\\\], remaining capacity: 100 %, remaining time: 665.00 minutes, time on battery: 205761.00 minutes, voltage: 110 V, temperature: 23 C - All battery packs are ok \\\\| 'battery.charge.remaining.percent'=100%;;;0;100 'battery.charge.remaining.minutes'=665.00m;;;0; 'battery.timeon.minutes'=205761.00m;;;0; 'battery.voltage.volt'=110V;;;; 'battery.temperature.celsius'=23C;;;; @@ -45,7 +45,7 @@ battery low status ${tc} ... --critical-cartridge-status='${critical_cartridge_status}' ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_regexp} + Ctn Run Command And Check Result As Regexp ${command} ${expected_regexp} ${tc} Examples: tc warning_status critical_status critical_battery_pack_status critical_cartridge_status extra_options expected_regexp -- ... 1 \\\%{status} =~ /batteryLow/i \\\%{replace} =~ /yes/i \\\%{status} ne "OK" \\\%{status} ne "OK" ${EMPTY} ^CRITICAL: battery status is 'batteryLow' \\\\[battery needs replace: yes\\\\] \\\\[last replace date: 10/05/2022\\\\] - battery pack '1' status is 'needsReplacement' - cartridge '1' status is 'needsReplacement' - cartridge '2' status is 'needsReplacement' - battery pack '2' status is 'needsReplacement' \\\\| 'battery.charge.remaining.percent'=75%;;;0;100 'battery.charge.remaining.minutes'=665.00m;;;0; 'battery.timeon.minutes'=390946.00m;;;0; 'battery.voltage.volt'=110V;;;; 'battery.temperature.celsius'=23C;;;; 'battery.replace.lasttime.seconds'=\\\\d*s;;;;$ diff --git a/tests/hardware/ups/inmatics/sputnik/snmp/hardware-ups-sputnik-snmp.robot b/tests/hardware/ups/inmatics/sputnik/snmp/hardware-ups-sputnik-snmp.robot index 0127fc9d3..d7b6010bb 100644 --- a/tests/hardware/ups/inmatics/sputnik/snmp/hardware-ups-sputnik-snmp.robot +++ b/tests/hardware/ups/inmatics/sputnik/snmp/hardware-ups-sputnik-snmp.robot @@ -33,7 +33,7 @@ Sputnik UPS - Environment ${tc}/9 ${opt} Append Option --filter-id ${filter_id} ${command} Catenate ${command} ${opt} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filter_id w_temperature c_temperature w_humidity c_humidity expected_result -- ... 1 1 30 50 50 70 OK: 'Sensor 1': temperature 20.06 C, humidity 33 % | 'Sensor 1#environment.temperature.celsius'=20.06C;0:30;0:50;; 'Sensor 1#environment.humidity.percentage'=33%;0:50;0:70;0;100 diff --git a/tests/hardware/ups/socomec/netvision/snmp/battery-netvision5.robot b/tests/hardware/ups/socomec/netvision/snmp/battery-netvision5.robot index 5ac7ae815..3ea7f40f2 100644 --- a/tests/hardware/ups/socomec/netvision/snmp/battery-netvision5.robot +++ b/tests/hardware/ups/socomec/netvision/snmp/battery-netvision5.robot @@ -23,7 +23,7 @@ Battery ${tc} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 {EMPTY} OK: battery status is normal - charge remaining: 100% (0 minutes remaining) | 'battery.charge.remaining.percent'=100%;;;0;100 'battery.charge.remaining.minutes'=0;;;0; 'battery.voltage.volt'=339.1V;;;; 'battery.temperature.celsius'=2C;;;; 'battery.temperatureambient.celsius'=2.2C;;;; diff --git a/tests/hardware/ups/socomec/netvision/snmp/battery-netvision6.robot b/tests/hardware/ups/socomec/netvision/snmp/battery-netvision6.robot index 3e00f3c3d..816624040 100644 --- a/tests/hardware/ups/socomec/netvision/snmp/battery-netvision6.robot +++ b/tests/hardware/ups/socomec/netvision/snmp/battery-netvision6.robot @@ -23,7 +23,7 @@ Battery ${tc} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 {EMPTY} OK: battery status is normal - charge remaining: 100% (10 minutes remaining) | 'battery.charge.remaining.percent'=100%;;;0;100 'battery.charge.remaining.minutes'=10;;;0; 'battery.current.ampere'=2.3A;;;0; 'battery.voltage.volt'=534V;;;; 'battery.temperature.celsius'=2.2C;;;; 'battery.temperatureambient.celsius'=19C;;;; diff --git a/tests/hardware/ups/standard/snmp/hardware-ups-standard-snmp.robot b/tests/hardware/ups/standard/snmp/hardware-ups-standard-snmp.robot index 21dcf72a4..c5e68443f 100644 --- a/tests/hardware/ups/standard/snmp/hardware-ups-standard-snmp.robot +++ b/tests/hardware/ups/standard/snmp/hardware-ups-standard-snmp.robot @@ -25,7 +25,7 @@ Hardware UPS Standard SNMP input lines ${tc} ... --warning-frequence=${warningfrequence} ... --exclude-id=${excludeid} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc snmpcommunity warningpower criticalcurrent warningvoltage warningfrequence excludeid expected_result -- ... 1 hardware/ups/standard/snmp/ups-standard ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} OK: All input lines are ok | '1#line.input.frequence.hertz'=49.9Hz;;;; '1#line.input.voltage.volt'=233V;;;; '1#line.input.current.ampere'=0A;;;; '1#line.input.power.watt'=0W;;;; '2#line.input.frequence.hertz'=49.9Hz;;;; '2#line.input.voltage.volt'=234V;;;; '2#line.input.current.ampere'=0A;;;; '2#line.input.power.watt'=0W;;;; '3#line.input.frequence.hertz'=49.9Hz;;;; '3#line.input.voltage.volt'=234V;;;; '3#line.input.current.ampere'=0A;;;; '3#line.input.power.watt'=0W;;;; diff --git a/tests/monitoring/iplabel/ekara/restapi/incidents.robot b/tests/monitoring/iplabel/ekara/restapi/incidents.robot index 2547674e1..4d46c4f43 100644 --- a/tests/monitoring/iplabel/ekara/restapi/incidents.robot +++ b/tests/monitoring/iplabel/ekara/restapi/incidents.robot @@ -60,7 +60,7 @@ incidents ${tc} ... --mode=incidents ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} UNKNOWN: Need to specify --api-key or --api-username/--api-password options. diff --git a/tests/monitoring/iplabel/ekara/restapi/scenarios.robot b/tests/monitoring/iplabel/ekara/restapi/scenarios.robot index 88187d9fc..8d39e69aa 100644 --- a/tests/monitoring/iplabel/ekara/restapi/scenarios.robot +++ b/tests/monitoring/iplabel/ekara/restapi/scenarios.robot @@ -28,7 +28,7 @@ scenario-username ${tc} ... --api-password='password' ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-name='Centreon Demo Navigation|Centreon Demo ping NA' --output-ignore-perfdata CRITICAL: Scenario 'Centreon Demo Navigation': status: Failure (2) WARNING: Scenario 'Centreon Demo ping NA': status: Degraded (8) diff --git a/tests/network/3com/snmp/hardware.robot b/tests/network/3com/snmp/hardware.robot index 4da33907e..ae2e4771c 100644 --- a/tests/network/3com/snmp/hardware.robot +++ b/tests/network/3com/snmp/hardware.robot @@ -21,7 +21,7 @@ hardware ${tc} ... --snmp-community=network/3com/snmp/3com-hardware-fake ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose CRITICAL: Fan '196611' status is deactive | 'count_fan'=2;;;; ${SPACE} Checking power supplies ${SPACE}Checking fans ${SPACE}Fan '65536' status is 'active' [instance: 65536] ${SPACE}Fan '196611' status is 'deactive' [instance: 196611] diff --git a/tests/network/aruba/aoscx/snmp/hardware.robot b/tests/network/aruba/aoscx/snmp/hardware.robot index 6e251ab09..d76e117d6 100644 --- a/tests/network/aruba/aoscx/snmp/hardware.robot +++ b/tests/network/aruba/aoscx/snmp/hardware.robot @@ -21,7 +21,7 @@ hardware ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All 7 components are ok [1/1 psu, 6/6 temperatures]. | 'Anonymized 145#hardware.temperature.celsius'=60.00C;;;; 'Anonymized 096#hardware.temperature.celsius'=58.00C;;;; 'Anonymized 138#hardware.temperature.celsius'=20.50C;;;; 'Anonymized 186#hardware.temperature.celsius'=63.50C;;;; 'Anonymized 159#hardware.temperature.celsius'=63.25C;;;; 'Anonymized 101#hardware.temperature.celsius'=63.75C;;;; 'hardware.psu.count'=1;;;; 'hardware.temperature.count'=6;;;; diff --git a/tests/network/aruba/aoscx/snmp/interfaces.robot b/tests/network/aruba/aoscx/snmp/interfaces.robot index 149a85d38..e50680fe9 100644 --- a/tests/network/aruba/aoscx/snmp/interfaces.robot +++ b/tests/network/aruba/aoscx/snmp/interfaces.robot @@ -21,7 +21,7 @@ interfaces ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} CRITICAL: Interface '1/1/10' Status : down (admin: up) - Interface '1/1/11' Status : down (admin: up) - Interface '1/1/12' Status : down (admin: up) - Interface '1/1/13' Status : down (admin: up) - Interface '1/1/14' Status : down (admin: up) - Interface '1/1/2' Status : down (admin: up) - Interface '1/1/4' Status : down (admin: up) - Interface '1/1/5' Status : down (admin: up) - Interface '1/1/6' Status : down (admin: up) - Interface '1/1/7' Status : down (admin: up) - Interface '1/1/8' Status : down (admin: up) - Interface '1/1/9' Status : down (admin: up) diff --git a/tests/network/aruba/aoscx/snmp/list-interfaces.robot b/tests/network/aruba/aoscx/snmp/list-interfaces.robot index 8b96fe6f6..709510385 100644 --- a/tests/network/aruba/aoscx/snmp/list-interfaces.robot +++ b/tests/network/aruba/aoscx/snmp/list-interfaces.robot @@ -22,7 +22,7 @@ list-interfaces ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --add-extra-oid='alias,.1.3.6.1.2.1.31.1.1.1.18' List interfaces: '1/1/1' [speed = 100][status = up][id = 1][alias = ][type = ethernetCsmacd] '1/1/10' [speed = ][status = down][id = 10][alias = ][type = ethernetCsmacd] '1/1/11' [speed = ][status = down][id = 11][alias = ][type = ethernetCsmacd] '1/1/12' [speed = ][status = down][id = 12][alias = ][type = ethernetCsmacd] '1/1/13' [speed = ][status = down][id = 13][alias = ][type = ethernetCsmacd] '1/1/14' [speed = ][status = down][id = 14][alias = ][type = ethernetCsmacd] '1/1/15' [speed = 1000][status = up][id = 15][alias = ][type = ethernetCsmacd] '1/1/16' [speed = 1000][status = up][id = 16][alias = ][type = ethernetCsmacd] 'Anonymized 124' [speed = ][status = up][id = 16777217][alias = ][type = propVirtual] '1/1/2' [speed = ][status = down][id = 2][alias = ][type = ethernetCsmacd] '1/1/3' [speed = 1000][status = up][id = 3][alias = ][type = ethernetCsmacd] '1/1/4' [speed = ][status = down][id = 4][alias = ][type = ethernetCsmacd] '1/1/5' [speed = ][status = down][id = 5][alias = ][type = ethernetCsmacd] '1/1/6' [speed = ][status = down][id = 6][alias = ][type = ethernetCsmacd] '1/1/7' [speed = ][status = down][id = 7][alias = ][type = ethernetCsmacd] 'Anonymized 066' [speed = 2000][status = up][id = 769][alias = ][type = ieee8023adLag] '1/1/8' [speed = ][status = down][id = 8][alias = ][type = ethernetCsmacd] '1/1/9' [speed = ][status = down][id = 9][alias = ][type = ethernetCsmacd] diff --git a/tests/network/aruba/aoscx/snmp/list-spanning-trees.robot b/tests/network/aruba/aoscx/snmp/list-spanning-trees.robot index 4826b81d8..73d66a941 100644 --- a/tests/network/aruba/aoscx/snmp/list-spanning-trees.robot +++ b/tests/network/aruba/aoscx/snmp/list-spanning-trees.robot @@ -22,7 +22,7 @@ list-spanning-trees ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} List ports with spanning tree protocol: [port = Anonymized 147] [state = forwarding] [op_status = up] [admin_status = up] [index = 1] [port = Anonymized 026] [state = blocking] [op_status = down] [admin_status = up] [index = 10] [port = Anonymized 232] [state = blocking] [op_status = down] [admin_status = up] [index = 11] [port = Anonymized 093] [state = blocking] [op_status = down] [admin_status = up] [index = 12] [port = Anonymized 058] [state = blocking] [op_status = down] [admin_status = up] [index = 13] [port = Anonymized 118] [state = blocking] [op_status = down] [admin_status = up] [index = 14] [port = Anonymized 029] [state = blocking] [op_status = down] [admin_status = up] [index = 2] [port = Anonymized 088] [state = forwarding] [op_status = up] [admin_status = up] [index = 3] [port = Anonymized 220] [state = blocking] [op_status = down] [admin_status = up] [index = 4] [port = Anonymized 003] [state = blocking] [op_status = down] [admin_status = up] [index = 5] [port = Anonymized 118] [state = blocking] [op_status = down] [admin_status = up] [index = 6] [port = Anonymized 192] [state = blocking] [op_status = down] [admin_status = up] [index = 7] [port = Anonymized 218] [state = forwarding] [op_status = up] [admin_status = up] [index = 769] [port = Anonymized 123] [state = blocking] [op_status = down] [admin_status = up] [index = 8] [port = Anonymized 203] [state = blocking] [op_status = down] [admin_status = up] [index = 9] diff --git a/tests/network/aruba/aoscx/snmp/spanning-tree.robot b/tests/network/aruba/aoscx/snmp/spanning-tree.robot index bb30cf0fa..b11c383a4 100644 --- a/tests/network/aruba/aoscx/snmp/spanning-tree.robot +++ b/tests/network/aruba/aoscx/snmp/spanning-tree.robot @@ -22,7 +22,7 @@ spanning-tree ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All spanning trees are ok diff --git a/tests/network/aruba/aoscx/snmp/stack.robot b/tests/network/aruba/aoscx/snmp/stack.robot index 13afebed9..922f48f94 100644 --- a/tests/network/aruba/aoscx/snmp/stack.robot +++ b/tests/network/aruba/aoscx/snmp/stack.robot @@ -25,7 +25,7 @@ stack ${tc} # first run to build cache Run ${command} # second run to control the output - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: All stack members are ok checking stack member 'Anonymized 018' role: active [state: standby] port '1' operational status: up [admin status: enabled] port '2' operational status: up [admin status: enabled] checking stack member 'Anonymized 042' role: active [state: member] checking stack member 'Anonymized 076' role: active [state: member] checking stack member 'Anonymized 160' role: notReady [state: commander] port '1' operational status: up [admin status: enabled] port '2' operational status: up [admin status: enabled] diff --git a/tests/network/aruba/aoscx/snmp/uptime.robot b/tests/network/aruba/aoscx/snmp/uptime.robot index 0e962bdce..54403a8f2 100644 --- a/tests/network/aruba/aoscx/snmp/uptime.robot +++ b/tests/network/aruba/aoscx/snmp/uptime.robot @@ -22,7 +22,7 @@ uptime ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: System uptime is: 273d 7h 15m 11s | 'uptime'=23613311.00s;;;0; diff --git a/tests/network/aruba/instant/snmp/aruba-instant-ap-usage.robot b/tests/network/aruba/instant/snmp/aruba-instant-ap-usage.robot index a864ee62b..8f561f17b 100644 --- a/tests/network/aruba/instant/snmp/aruba-instant-ap-usage.robot +++ b/tests/network/aruba/instant/snmp/aruba-instant-ap-usage.robot @@ -19,7 +19,7 @@ Test AP usage ${documentation} ${tc} ... --warning-clients='${warningclients}' ... --snmp-community=${snmpcommunity} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc documentation snmpcommunity filtercounters filtername warningclients expected_result -- ... 1 without filters network/aruba/instant/snmp/ap-usage ${EMPTY} ${EMPTY} ${EMPTY} OK: total access points: 5 - All access points are ok | 'accesspoints.total.count'=5;;;0; 'AP Piso 1#clients.current.count'=4;;;0; 'AP Piso 1#cpu.utilization.percentage'=3.00%;;;0;100 'AP Piso 1#memory.usage.bytes'=215711744B;;;0;527028224 'AP Piso 1#memory.free.bytes'=311316480B;;;0;527028224 'AP Piso 1#memory.usage.percentage'=40.93%;;;0;100 'AP Piso 2#clients.current.count'=17;;;0; 'AP Piso 2#cpu.utilization.percentage'=18.00%;;;0;100 'AP Piso 2#memory.usage.bytes'=219455488B;;;0;527028224 'AP Piso 2#memory.free.bytes'=307572736B;;;0;527028224 'AP Piso 2#memory.usage.percentage'=41.64%;;;0;100 'AP Piso 3#clients.current.count'=14;;;0; 'AP Piso 3#cpu.utilization.percentage'=18.00%;;;0;100 'AP Piso 3#memory.usage.bytes'=219185152B;;;0;527028224 'AP Piso 3#memory.free.bytes'=307843072B;;;0;527028224 'AP Piso 3#memory.usage.percentage'=41.59%;;;0;100 'AP Piso 4#clients.current.count'=11;;;0; 'AP Piso 4#cpu.utilization.percentage'=11.00%;;;0;100 'AP Piso 4#memory.usage.bytes'=221700096B;;;0;527028224 'AP Piso 4#memory.free.bytes'=305328128B;;;0;527028224 'AP Piso 4#memory.usage.percentage'=42.07%;;;0;100 'AP Sotano#clients.current.count'=4;;;0; 'AP Sotano#cpu.utilization.percentage'=4.00%;;;0;100 'AP Sotano#memory.usage.bytes'=217473024B;;;0;527028224 'AP Sotano#memory.free.bytes'=309555200B;;;0;527028224 'AP Sotano#memory.usage.percentage'=41.26%;;;0;100 diff --git a/tests/network/backbox/restapi/backup.robot b/tests/network/backbox/restapi/backup.robot index 65c82d73b..ffca826e8 100644 --- a/tests/network/backbox/restapi/backup.robot +++ b/tests/network/backbox/restapi/backup.robot @@ -29,7 +29,7 @@ backups ${tc} ... --mode=backup ... ${extraoptions} Log ${cmd} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: All backups are ok | 'All#backups.total.count'=5;;;0; 'All#backups.success.count'=0;;;0;5 'All#backups.suspect.count'=1;;;0;5 'All#backups.failure.count'=4;;;0;5 'Backup1#backups.total.count'=6;;;0; 'Backup1#backups.success.count'=1;;;0;6 'Backup1#backups.suspect.count'=2;;;0;6 'Backup1#backups.failure.count'=3;;;0;6 diff --git a/tests/network/backbox/restapi/configstatus.robot b/tests/network/backbox/restapi/configstatus.robot index b721357f0..d258df36e 100644 --- a/tests/network/backbox/restapi/configstatus.robot +++ b/tests/network/backbox/restapi/configstatus.robot @@ -29,7 +29,7 @@ configstatus ${tc} ... ${cmd} ... ${extraoptions} Log ${cmd} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: identical: 3, changed: 4, n/a: 5 | 'config.identical.count'=3;;;0; 'config.changed.count'=4;;;0; 'config.na.count'=5;;;0; diff --git a/tests/network/backbox/restapi/devicebackup.robot b/tests/network/backbox/restapi/devicebackup.robot index ab0f7c32e..659636be6 100644 --- a/tests/network/backbox/restapi/devicebackup.robot +++ b/tests/network/backbox/restapi/devicebackup.robot @@ -30,7 +30,7 @@ Device backup ${tc} ... ${cmd} ... ${extraoptions} Log ${cmd} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} UNKNOWN: Need to specify --device-id or --device-name option. diff --git a/tests/network/backbox/restapi/intellicheck.robot b/tests/network/backbox/restapi/intellicheck.robot index 2d8051fdb..835594bdd 100644 --- a/tests/network/backbox/restapi/intellicheck.robot +++ b/tests/network/backbox/restapi/intellicheck.robot @@ -29,7 +29,7 @@ intellichecks ${tc} ... ${cmd} ... ${extraoptions} Log ${cmd} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: All intellichecks are ok | 'All#intellicheck.total.count'=12;;;0; 'All#intellicheck.success.count'=3;;;0;12 'All#intellicheck.suspect.count'=4;;;0;12 'All#intellicheck.failure.count'=5;;;0;12 'IntelliCheck1#intellicheck.total.count'=12;;;0; 'IntelliCheck1#intellicheck.success.count'=5;;;0;12 'IntelliCheck1#intellicheck.suspect.count'=4;;;0;12 'IntelliCheck1#intellicheck.failure.count'=3;;;0;12 diff --git a/tests/network/backbox/restapi/listdevices.robot b/tests/network/backbox/restapi/listdevices.robot index fc04d5595..9e8d8e5f0 100644 --- a/tests/network/backbox/restapi/listdevices.robot +++ b/tests/network/backbox/restapi/listdevices.robot @@ -29,7 +29,7 @@ List-Devices ${tc} ${command} Catenate ... ${cmd} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^Devices: (\\\\n\\\\[.*\\\\]){5}\\\\Z diff --git a/tests/network/chapsvision/crossing/snmp/antivirus.robot b/tests/network/chapsvision/crossing/snmp/antivirus.robot index 635a36ea0..38b91ab88 100644 --- a/tests/network/chapsvision/crossing/snmp/antivirus.robot +++ b/tests/network/chapsvision/crossing/snmp/antivirus.robot @@ -25,7 +25,7 @@ Antivirus new ${tc} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${empty} OK: All antivirus are ok | 'antivirus.database.lastupdate.seconds'=\\\\d+s;;;0; 'Anonymized 008#antivirus.license.expires.seconds'=\\\\d+s;;;0; 'antivirus.database.lastupdate.seconds'=\\\\d+s;;;0; 'Anonymized 106#antivirus.license.expires.seconds'=\\\\d+s;;;0; @@ -46,7 +46,7 @@ Antivirus old ${tc} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${empty} OK: All antivirus are ok | 'antivirus.database.lastupdate.seconds'=\\\\d+s;;;0; 'Anonymized 008-old#antivirus.license.expires.seconds'=\\\\d+s;;;0; 'antivirus.database.lastupdate.seconds'=\\\\d+s;;;0; 'Anonymized 106-old#antivirus.license.expires.seconds'=\\\\d+s;;;0; diff --git a/tests/network/cisco/meraki/cloudcontroller/restapi/vpntunnels.robot b/tests/network/cisco/meraki/cloudcontroller/restapi/vpntunnels.robot index 814d69639..ae3446dd1 100644 --- a/tests/network/cisco/meraki/cloudcontroller/restapi/vpntunnels.robot +++ b/tests/network/cisco/meraki/cloudcontroller/restapi/vpntunnels.robot @@ -34,7 +34,7 @@ vpn-tunnels ${tc} ... ${CMD} ... --mode=vpn-tunnels --cache-use ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: device 'C3PO-R2P2-BB88' status: dormant [mode: spoke] - All VPNs are ok | 'vpn.tunnels.unreachable.count'=3;;;0;3 diff --git a/tests/network/cisco/smallbusiness/snmp/stack.robot b/tests/network/cisco/smallbusiness/snmp/stack.robot index 5f27b4b81..83fb8fcc0 100644 --- a/tests/network/cisco/smallbusiness/snmp/stack.robot +++ b/tests/network/cisco/smallbusiness/snmp/stack.robot @@ -21,7 +21,7 @@ stac ${tc} ... --snmp-community=network/cisco/smallbusiness/snmp/stack ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Number of members detected: 2 - All stack members are ok | 'stack.members.detected.count'=2;;;0; 'stack.member.connected.members.count'=1;;;0; 'stack.member.connected.members.count'=1;;;0; diff --git a/tests/network/cisco/standard/snmp/arp.robot b/tests/network/cisco/standard/snmp/arp.robot index 5e4d9d4f0..e5d9cbe4d 100644 --- a/tests/network/cisco/standard/snmp/arp.robot +++ b/tests/network/cisco/standard/snmp/arp.robot @@ -21,7 +21,7 @@ arp ${tc} ... --snmp-community=network/cisco/standard/snmp/cisco ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --warning-total-entries=2 --critical-total-entries=0 CRITICAL: total entries 3 | 'arp.total.entries.count'=3;0:2;0:0;0; 'arp.duplicate.macaddr.count'=0;;;0; 'arp.duplicate.ipaddr.count'=0;;;0; diff --git a/tests/network/cisco/standard/snmp/configuration.robot b/tests/network/cisco/standard/snmp/configuration.robot index 3b00af7fd..75732138d 100644 --- a/tests/network/cisco/standard/snmp/configuration.robot +++ b/tests/network/cisco/standard/snmp/configuration.robot @@ -20,7 +20,7 @@ configuration ${tc} ... --snmp-community=network/cisco/standard/snmp/cisco ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: running config is ahead of startup config since -1y 3M 1w 4d 18h 40m 35s. changes will be lost in case of a reboot | 'configuration.running.ahead.since.seconds'=-40463790.78s;;;0; diff --git a/tests/network/cisco/standard/snmp/cpu.robot b/tests/network/cisco/standard/snmp/cpu.robot index b85916d06..77b9f5194 100644 --- a/tests/network/cisco/standard/snmp/cpu.robot +++ b/tests/network/cisco/standard/snmp/cpu.robot @@ -20,7 +20,7 @@ cpu ${tc} ... --snmp-community=network/cisco/standard/snmp/cisco ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: 1 CPU(s) average usage is 60.00 % (5s) 57.00 % (1m) 48.00 % (5m) - CPU '1' usage 60.00 % (5s) 57.00 % (1m) 48.00 % (5m) | 'total_cpu_5s_avg'=60.00%;;;0;100 'total_cpu_1m_avg'=57.00%;;;0;100 'total_cpu_5m_avg'=48.00%;;;0;100 'cpu_5s'=60.00%;;;0;100 'cpu_1m'=57.00%;;;0;100 'cpu_5m'=48.00%;;;0;100 CPU '1' usage 60.00 % (5s) 57.00 % (1m) 48.00 % (5m) diff --git a/tests/network/cisco/standard/snmp/memory-flash.robot b/tests/network/cisco/standard/snmp/memory-flash.robot index 50fab983d..e560b6c71 100644 --- a/tests/network/cisco/standard/snmp/memory-flash.robot +++ b/tests/network/cisco/standard/snmp/memory-flash.robot @@ -21,7 +21,7 @@ memory-flash ${tc} ... --snmp-community=network/cisco/standard/snmp/cisco ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All memory flash partitions are ok | 'Anonymized 175#memory.flash.usage.bytes'=68809216B;;;0;122185728 'Anonymized 175#memory.flash.free.bytes'=53376512B;;;0;122185728 'Anonymized 175#memory.flash.usage.percentage'=56.32%;;;0;100 'Anonymized 163#memory.flash.usage.bytes'=68844544B;;;0;122185728 'Anonymized 163#memory.flash.free.bytes'=53341184B;;;0;122185728 'Anonymized 163#memory.flash.usage.percentage'=56.34%;;;0;100 'Anonymized 131#memory.flash.usage.bytes'=65309184B;;;0;122185728 'Anonymized 131#memory.flash.free.bytes'=56876544B;;;0;122185728 'Anonymized 131#memory.flash.usage.percentage'=53.45%;;;0;100 diff --git a/tests/network/cisco/standard/snmp/memory.robot b/tests/network/cisco/standard/snmp/memory.robot index 568b8d328..1edb9859c 100644 --- a/tests/network/cisco/standard/snmp/memory.robot +++ b/tests/network/cisco/standard/snmp/memory.robot @@ -20,7 +20,7 @@ memory ${tc} ... --snmp-community=network/cisco/standard/snmp/cisco ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --warning-usage=0 WARNING: Memory 'Anonymized 021' Usage Total: 349.21 MB Used: 77.82 MB (22.29%) Free: 271.39 MB (77.71%) - Memory 'Anonymized 062' Usage Total: 916.05 KB Used: 40.00 B (0.00%) Free: 916.02 KB (100.00%) - Memory 'Anonymized 021' Usage Total: 83.95 KB Used: 40.00 B (0.05%) Free: 83.91 KB (99.95%) - Memory 'Anonymized 246' Usage Total: 32.00 MB Used: 12.10 MB (37.82%) Free: 19.90 MB (62.18%) - Memory 'Anonymized 135' Usage Total: 1.00 MB Used: 40.00 B (0.00%) Free: 1023.96 KB (100.00%) | 'used_Anonymized 021'=81605080B;0:0;;0;366174644 'used_Anonymized 062'=40B;0:0;;0;938040 'used_Anonymized 021'=40B;0:0;;0;85960 'used_Anonymized 246'=12689640B;0:0;;0;33554432 'used_Anonymized 135'=40B;0:0;;0;1048576 diff --git a/tests/network/cisco/standard/snmp/stack.robot b/tests/network/cisco/standard/snmp/stack.robot index 9d1676992..e0e8fe21d 100644 --- a/tests/network/cisco/standard/snmp/stack.robot +++ b/tests/network/cisco/standard/snmp/stack.robot @@ -20,7 +20,7 @@ stack ${tc} ... --snmp-community=network/cisco/standard/snmp/cisco ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Stack status is 'redundant' - Number of members waiting: 0, progressing: 0, added: 0, ready: 3, SDM mismatch: 0, version mismatch: 0, feature mismatch: 0, new master init: 0, provisioned: 0, invalid: 0, removed: 0 - All stack members status are ok | 'waiting'=0;;;0; 'progressing'=0;;;0; 'added'=0;;;0; 'ready'=3;;;0; 'sdm_mismatch'=0;;;0; 'version_mismatch'=0;;;0; 'feature_mismatch'=0;;;0; 'new_master_init'=0;;;0; 'provisioned'=0;;;0; 'invalid'=0;;;0; 'removed'=0;;;0; diff --git a/tests/network/cisco/standard/snmp/uptime.robot b/tests/network/cisco/standard/snmp/uptime.robot index c5aa12fb0..a1992ea43 100644 --- a/tests/network/cisco/standard/snmp/uptime.robot +++ b/tests/network/cisco/standard/snmp/uptime.robot @@ -20,7 +20,7 @@ uptime ${tc} ... --snmp-community=network/cisco/standard/snmp/cisco ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: System uptime is: 19d 16h 25m 40s | 'uptime'=1700740.00s;;;0; diff --git a/tests/network/citrix/netscaler/snmp/mode/components/netscaler-health.robot b/tests/network/citrix/netscaler/snmp/mode/components/netscaler-health.robot index 8390df671..ecdaaf612 100644 --- a/tests/network/citrix/netscaler/snmp/mode/components/netscaler-health.robot +++ b/tests/network/citrix/netscaler/snmp/mode/components/netscaler-health.robot @@ -23,7 +23,7 @@ check psu components ${tc}/2 ... --component=psu ... --alternative-status-mapping='${alternative_status_mapping}' - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc alternative_status_mapping community expected_result -- ... 1 true psu-citrix-v13 OK: All 4 components are ok [4/4 psus]. | 'count_psu'=4;;;; diff --git a/tests/network/cyberoam/snmp/license.robot b/tests/network/cyberoam/snmp/license.robot index 2324404fa..4fc676d20 100644 --- a/tests/network/cyberoam/snmp/license.robot +++ b/tests/network/cyberoam/snmp/license.robot @@ -23,7 +23,7 @@ ha-status ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All licenses are ok \\\\| 'base_fw#license.expires.seconds'=\\\\d+s;;;0; 'net_protection#license.expires.seconds'=\\\\d+s;;;0; 'web_protection#license.expires.seconds'=\\\\d+s;;;0; diff --git a/tests/network/cyberoam/snmp/list-vpns.robot b/tests/network/cyberoam/snmp/list-vpns.robot index f696dcc3c..f5994c998 100644 --- a/tests/network/cyberoam/snmp/list-vpns.robot +++ b/tests/network/cyberoam/snmp/list-vpns.robot @@ -23,7 +23,7 @@ list-vpns ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} List vpn [oid_path: 1] [name: Anonymized 093] [policy: Anonymized 208] [description: Anonymized 022] [connection_mode: Anonymized 245] [connection_type: site-to-site] [connection_status: active] [activated: active] [oid_path: 2] [name: Anonymized 252] [policy: Anonymized 055] [description: Anonymized 070] [connection_mode: Anonymized 123] [connection_type: site-to-site] [connection_status: active] [activated: active] [oid_path: 3] [name: Anonymized 029] [policy: Anonymized 151] [description: Anonymized 157] [connection_mode: Anonymized 055] [connection_type: site-to-site] [connection_status: inactive] [activated: active] [oid_path: 4] [name: Anonymized 132] [policy: Anonymized 089] [description: ] [connection_mode: Anonymized 185] [connection_type: site-to-site] [connection_status: active] [activated: active] diff --git a/tests/network/cyberoam/snmp/memory.robot b/tests/network/cyberoam/snmp/memory.robot index a631cd06b..02948ea67 100644 --- a/tests/network/cyberoam/snmp/memory.robot +++ b/tests/network/cyberoam/snmp/memory.robot @@ -23,7 +23,7 @@ memory ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Physical memory Total: 7.61 GB Used: 4.41 GB (58.00%) Free: 3.20 GB (42.00%) - Swap memory Total: 7.73 GB Used: 791.10 MB (10.00%) Free: 6.95 GB (90.00%) | 'physical_used'=4738284257.28B;;;0;8169455616 'swap_used'=829528473.6B;;;0;8295284736 diff --git a/tests/network/cyberoam/snmp/requests.robot b/tests/network/cyberoam/snmp/requests.robot index 2e997edb8..e31347661 100644 --- a/tests/network/cyberoam/snmp/requests.robot +++ b/tests/network/cyberoam/snmp/requests.robot @@ -26,7 +26,7 @@ requests ${tc} # first run to build cache Run ${command} # second run to control the output - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-counters='' OK: Requests live users: 38, http hits: 0, ftp hits: 0, pop3 hits: 0, imap hits: 0, smtp hits: 0 | 'live_users'=38;;;0; 'http_hits'=0;;;0; 'ftp_hits'=0;;;0; 'pop3_hits'=0;;;0; 'imap_hits'=0;;;0; 'smtp_hits'=0;;;0; diff --git a/tests/network/cyberoam/snmp/services.robot b/tests/network/cyberoam/snmp/services.robot index 5e2f77f80..de626c222 100644 --- a/tests/network/cyberoam/snmp/services.robot +++ b/tests/network/cyberoam/snmp/services.robot @@ -23,7 +23,7 @@ services ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --component='service' OK: All 21 components are ok [21/21 services]. | 'hardware.service.count'=21;;;; diff --git a/tests/network/cyberoam/snmp/storage.robot b/tests/network/cyberoam/snmp/storage.robot index 23fb61ddc..06f44f7ab 100644 --- a/tests/network/cyberoam/snmp/storage.robot +++ b/tests/network/cyberoam/snmp/storage.robot @@ -23,7 +23,7 @@ storage ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --warning-usage=0 WARNING: Storage Usage Total: 86.97 GB Used: 20.87 GB (24.00%) Free: 66.10 GB (76.00%) | 'used'=22411676221.44B;0:0;;0;93381984256 diff --git a/tests/network/cyberoam/snmp/vpn-status.robot b/tests/network/cyberoam/snmp/vpn-status.robot index 3ece88d83..9bd8335cb 100644 --- a/tests/network/cyberoam/snmp/vpn-status.robot +++ b/tests/network/cyberoam/snmp/vpn-status.robot @@ -23,7 +23,7 @@ vpn-status ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-counters='^total$|^total-normal$' OK: VPN total: 4 - All VPNs are ok | 'total'=4;;;0; diff --git a/tests/network/f5/bigip/snmp/certificates.robot b/tests/network/f5/bigip/snmp/certificates.robot index c5f15afa3..0bfc43ba8 100644 --- a/tests/network/f5/bigip/snmp/certificates.robot +++ b/tests/network/f5/bigip/snmp/certificates.robot @@ -26,7 +26,7 @@ certificates ${tc} ... ${CMD} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} CRITICAL: Certificate 'Anonymized 165' has expired - Certificate 'Anonymized 186' has expired | 'certificates-count'=9;;;0; '_Anonymized 981'=212738332s;;@0:0;0; '_Anonymized 165'=0s;;@0:0;0; '_Anonymized 982'=384058793s;;@0:0;0; '_Anonymized 983'=145466616s;;@0:0;0; '_Anonymized 196'=122214889s;;@0:0;0; '_Anonymized 141'=67955030s;;@0:0;0; '_Anonymized 881'=68447205s;;@0:0;0; '_Anonymized 068'=145466616s;;@0:0;0; '_Anonymized 186'=0s;;@0:0;0; diff --git a/tests/network/f5/bigip/snmp/connections.robot b/tests/network/f5/bigip/snmp/connections.robot index fae42f65f..2708b74a8 100644 --- a/tests/network/f5/bigip/snmp/connections.robot +++ b/tests/network/f5/bigip/snmp/connections.robot @@ -21,7 +21,7 @@ connections ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Current client connections : 5395, Current client SSL connections : 0, client-ssl-tps : Buffer creation, Current server connections: 5242, Current server SSL connections : 4574 | 'connections.client.current.count'=5395;;;0; 'connections.client.ssl.current.count'=0;;;0; 'connections.server.current.count'=5242;;;0; 'connections.server.ssl.current.count'=4574;;;0; diff --git a/tests/network/f5/bigip/snmp/cpuusage.robot b/tests/network/f5/bigip/snmp/cpuusage.robot index 12eaf4245..aae5a51dd 100644 --- a/tests/network/f5/bigip/snmp/cpuusage.robot +++ b/tests/network/f5/bigip/snmp/cpuusage.robot @@ -21,7 +21,7 @@ cpu-usage ${tc} ... --snmp-community=network/f5/bigip/snmp/cpu ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} --filter-counters='^usage-5s' --filter-name='10' OK: CPU '10' CPU Usage 5sec : 35 % | 'usage_5s'=35%;;;0;100 diff --git a/tests/network/f5/bigip/snmp/failover.robot b/tests/network/f5/bigip/snmp/failover.robot index f0a798350..248454346 100644 --- a/tests/network/f5/bigip/snmp/failover.robot +++ b/tests/network/f5/bigip/snmp/failover.robot @@ -21,7 +21,7 @@ failover ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Sync status is 'inSync' - Failover status is 'active' diff --git a/tests/network/f5/bigip/snmp/hardware.robot b/tests/network/f5/bigip/snmp/hardware.robot index b54441bb4..b25809cfb 100644 --- a/tests/network/f5/bigip/snmp/hardware.robot +++ b/tests/network/f5/bigip/snmp/hardware.robot @@ -21,7 +21,7 @@ hardware ${tc} ... ${CMD} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All 7 components are ok [4/4 fans, 2/2 psus, 1/1 temperatures]. | '1#hardware.fan.speed.rpm'=0rpm;;;0; '2#hardware.fan.speed.rpm'=0rpm;;;0; '3#hardware.fan.speed.rpm'=0rpm;;;0; '4#hardware.fan.speed.rpm'=0rpm;;;0; '1#hardware.temperature.celsius'=18.00C;;;; 'hardware.fan.count'=4;;;; 'hardware.psu.count'=2;;;; 'hardware.temperature.count'=1;;;; diff --git a/tests/network/f5/bigip/snmp/list-trunks.robot b/tests/network/f5/bigip/snmp/list-trunks.robot index a90d91422..0164d4587 100644 --- a/tests/network/f5/bigip/snmp/list-trunks.robot +++ b/tests/network/f5/bigip/snmp/list-trunks.robot @@ -21,7 +21,7 @@ list-trunks ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} List trunks: 'Anonymized 234' [status: up] [speed: 20000] diff --git a/tests/network/fortinet/fortigate/restapi/certificates.robot b/tests/network/fortinet/fortigate/restapi/certificates.robot index 32de44271..0dfa5f564 100644 --- a/tests/network/fortinet/fortigate/restapi/certificates.robot +++ b/tests/network/fortinet/fortigate/restapi/certificates.robot @@ -25,7 +25,7 @@ certificates ${tc} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-name='Fortinet_CA_SSL' OK: All certificates are ok \\\| 'Fortinet_CA_SSL#certificate.expires.seconds=\\\d+;;;0; 'Fortinet_CA_SSL1#certificate.expires.seconds=\\\d+;;;0; 'Fortinet_CA_SSL2#certificate.expires.seconds=\\\d+;;;0; diff --git a/tests/network/fortinet/fortigate/snmp/link-monitor.robot b/tests/network/fortinet/fortigate/snmp/link-monitor.robot index 4675911e8..4fc564b30 100644 --- a/tests/network/fortinet/fortigate/snmp/link-monitor.robot +++ b/tests/network/fortinet/fortigate/snmp/link-monitor.robot @@ -34,7 +34,7 @@ Network Fortinet Fortigate SNMP link monitor ${tc} ... --warning-packet-loss=${warningpacketloss} ... --critical-packet-loss=${criticalpacketloss} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filterid filtername filtervdom customperfdatainstances unknownstatus warningstatus criticalstatus warninglatency criticallatency warningjitter criticaljitter warningpacketloss criticalpacketloss expected_result -- ... 1 ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} OK: All link monitors are ok | 'MonitorWAN1~root#linkmonitor.latency.milliseconds'=39.739;;;0; 'MonitorWAN1~root#linkmonitor.jitter.milliseconds'=0.096;;;0; 'MonitorWAN1~root#linkmonitor.packet.loss.percentage'=0;;;0; 'MonitorWAN2~root#linkmonitor.latency.milliseconds'=46.446;;;0; 'MonitorWAN2~root#linkmonitor.jitter.milliseconds'=1.868;;;0; 'MonitorWAN2~root#linkmonitor.packet.loss.percentage'=1;;;0; 'MonitorWAN3~root#linkmonitor.latency.milliseconds'=0.000;;;0; 'MonitorWAN3~root#linkmonitor.jitter.milliseconds'=0.000;;;0; 'MonitorWAN3~root#linkmonitor.packet.loss.percentage'=100;;;0; diff --git a/tests/network/fortinet/fortigate/snmp/list-link-monitor.robot b/tests/network/fortinet/fortigate/snmp/list-link-monitor.robot index b2a17c5e0..bbde8f940 100644 --- a/tests/network/fortinet/fortigate/snmp/list-link-monitor.robot +++ b/tests/network/fortinet/fortigate/snmp/list-link-monitor.robot @@ -24,7 +24,7 @@ Network Fortinet Fortigate SNMP list link monitor ${tc} ... --filter-name=${filtername} ... --filter-vdom=${filtervdom} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filterstate filtername filtervdom expected_result -- ... 1 ${EMPTY} ${EMPTY} ${EMPTY} List link monitors: \n[Name = MonitorWAN1] [Vdom = root] [State = alive]\n[Name = MonitorWAN2] [Vdom = root] [State = alive]\n[Name = MonitorWAN3] [Vdom = root] [State = dead] diff --git a/tests/network/fortinet/fortigate/snmp/list-switches.robot b/tests/network/fortinet/fortigate/snmp/list-switches.robot index a74e2d460..7c6a3979a 100644 --- a/tests/network/fortinet/fortigate/snmp/list-switches.robot +++ b/tests/network/fortinet/fortigate/snmp/list-switches.robot @@ -21,7 +21,7 @@ list-switches ${tc} ... --snmp-community=network/fortinet/fortigate/snmp/slim_fortigate-switches ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} List switches: [Name = Anonymized 188] [Serial = Anonymized 209] [IP = 10.255.1.2] [Version = Anonymized 103] [State = up] [Admin = authorized] [Name = Anonymized 152] [Serial = Anonymized 146] [IP = 10.255.1.3] [Version = Anonymized 056] [State = up] [Admin = authorized] diff --git a/tests/network/fortinet/fortigate/snmp/sdawn.robot b/tests/network/fortinet/fortigate/snmp/sdawn.robot index 47e9dcff0..021428aa6 100644 --- a/tests/network/fortinet/fortigate/snmp/sdawn.robot +++ b/tests/network/fortinet/fortigate/snmp/sdawn.robot @@ -24,7 +24,7 @@ sdwan ${tc} ... --snmp-retries=3 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-vdom='root' OK: sd-wan 'fgVWLHealthCheckLinkName' [vdom: root] [interface: wan1] state: up - traffic traffic-in : Buffer creation, traffic-out : Buffer creation, traffic-bi : Buffer creation - latency: 8.617ms - jitter: 0.065ms - packet loss: 0.000% | 'root~fgVWLHealthCheckLinkName~wan1#sdwan.latency.milliseconds'=8.62ms;;;0; 'root~fgVWLHealthCheckLinkName~wan1#sdwan.jitter.milliseconds'=0.07ms;;;0; 'root~fgVWLHealthCheckLinkName~wan1#sdwan.packetloss.percentage'=0.000%;;;0;100 diff --git a/tests/network/fortinet/fortigate/snmp/switch-usage.robot b/tests/network/fortinet/fortigate/snmp/switch-usage.robot index 7ab5dba1c..84b4742b4 100644 --- a/tests/network/fortinet/fortigate/snmp/switch-usage.robot +++ b/tests/network/fortinet/fortigate/snmp/switch-usage.robot @@ -21,7 +21,7 @@ switch-usage ${tc} ... --snmp-community=network/fortinet/fortigate/snmp/slim_fortigate-switches ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All switches are ok | 'cpu_Anonymized 188'=21.00%;;;0;100 'memory_Anonymized 188'=38.00%;;;0;100 'cpu_Anonymized 152'=7.00%;;;0;100 'memory_Anonymized 152'=65.00%;;;0;100 diff --git a/tests/network/hp/procurve/snmp/list-spanning-trees.robot b/tests/network/hp/procurve/snmp/list-spanning-trees.robot index 50400e1a0..d37212dac 100644 --- a/tests/network/hp/procurve/snmp/list-spanning-trees.robot +++ b/tests/network/hp/procurve/snmp/list-spanning-trees.robot @@ -22,7 +22,7 @@ list-spanning-trees ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-port='Anonymized 029' List ports with spanning tree protocol: [port = Anonymized 029] [state = forwarding] [op_status = up] [admin_status = up] [index = 2] \ No newline at end of file diff --git a/tests/network/hp/procurve/snmp/spanning-tree.robot b/tests/network/hp/procurve/snmp/spanning-tree.robot index fb0814743..4d329ac9e 100644 --- a/tests/network/hp/procurve/snmp/spanning-tree.robot +++ b/tests/network/hp/procurve/snmp/spanning-tree.robot @@ -22,7 +22,7 @@ spanning-tree ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All spanning trees are ok diff --git a/tests/network/hp/procurve/snmp/stack.robot b/tests/network/hp/procurve/snmp/stack.robot index bc3236f9a..914006fe6 100644 --- a/tests/network/hp/procurve/snmp/stack.robot +++ b/tests/network/hp/procurve/snmp/stack.robot @@ -25,7 +25,7 @@ stack ${tc} # first run to build cache Run ${command} # second run to control the output - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: All stack members are ok ${\n}checking stack member 'Anonymized 238'${\n}${SPACE}${SPACE}${SPACE}${SPACE}role: active [state: standby]${\n}${SPACE}${SPACE}${SPACE}${SPACE}port '1' operational status: up [admin status: enabled]${\n}${SPACE}${SPACE}${SPACE}${SPACE}port '2' operational status: up [admin status: enabled]${\n}checking stack member 'Anonymized 239'${\n}${SPACE}${SPACE}${SPACE}${SPACE}role: notReady [state: commander]${\n}${SPACE}${SPACE}${SPACE}${SPACE}port '1' operational status: up [admin status: enabled]${\n}${SPACE}${SPACE}${SPACE}${SPACE}port '2' operational status: up [admin status: enabled] diff --git a/tests/network/huawei/wlc/snmp/ap-health.robot b/tests/network/huawei/wlc/snmp/ap-health.robot index c1bb42b0c..d40344aba 100644 --- a/tests/network/huawei/wlc/snmp/ap-health.robot +++ b/tests/network/huawei/wlc/snmp/ap-health.robot @@ -23,7 +23,7 @@ ap-health ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose --filter-name='Anonymized 065' OK: access point 'Anonymized 065' data link state: run, power-supply: normal, access point temperature: 42.00 C, access point Anonymized 065 online time is: 1d 22h 48m 58s, access point bootcount total: 424, access point memory: 22.00 %, access point cpu: 1.00%, access point up-Port speed: 1000 b/s, access point up-Port packet errors: 0.00%, access online user nums: 2 | 'Anonymized 065#ap.temperature.celsius'=42.00C;;;; 'Anonymized 065#ap.online.time'=168538;;;; 'Anonymized 065#ap.boot.total.count'=424;;;; 'Anonymized 065#ap.memory.used.percentage'=22.00%;;;; 'Anonymized 065#ap.cpu.used.percentage'=1.00%;;;; 'Anonymized 065#ap.up.port.bitspersecond'=1000b/s;;;; 'Anonymized 065#ap.up.port.package.error.percentage'=0.00;;;; 'Anonymized 065#ap.online.user.count'=2;;;; checking access point 'Anonymized 065' data link state: run, power-supply: normal, access point temperature: 42.00 C, access point Anonymized 065 online time is: 1d 22h 48m 58s, access point bootcount total: 424, access point memory: 22.00 %, access point cpu: 1.00%, access point up-Port speed: 1000 b/s, access point up-Port packet errors: 0.00%, access online user nums: 2 diff --git a/tests/network/huawei/wlc/snmp/ap-radio.robot b/tests/network/huawei/wlc/snmp/ap-radio.robot index c0ced86a6..71fae6f7b 100644 --- a/tests/network/huawei/wlc/snmp/ap-radio.robot +++ b/tests/network/huawei/wlc/snmp/ap-radio.robot @@ -23,7 +23,7 @@ ap-radio ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-name='Anonymized 015' OK: access point 'Anonymized 015' run state: up, radio package error rate: 0.00%, radio noise: -95 dBm, radio channel utilization rate: 13.00%, radio channel interference rate: 6.00%, radio channel receive rate: 0 b/s, radio channel send rate: 523000 b/s | 'Anonymized 015#ap.radio.packageerror.percentage'=0.00%;;;; 'Anonymized 015#ap.radio.noise.dbm'=-95dBm;;;; 'Anonymized 015#ap.radio.channel.utilization.percentage'=13.00%;;;; 'Anonymized 015#ap.radio.channel.interference.percentage'=6.00%;;;; 'Anonymized 015#ap.radio.receive.bitspersecond'=0b/s;;;; 'Anonymized 015#ap.radio.send.bitspersecond'=523000b/s;;;; diff --git a/tests/network/huawei/wlc/snmp/ap-status.robot b/tests/network/huawei/wlc/snmp/ap-status.robot index 86038fdbf..4d6184d89 100644 --- a/tests/network/huawei/wlc/snmp/ap-status.robot +++ b/tests/network/huawei/wlc/snmp/ap-status.robot @@ -23,7 +23,7 @@ ap-status ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose --filter-name='Anonymized 015' OK: Access points total: 1, idle: 0, autofind: 0, fault: 0, config: 0, config failed: 0, download: 0, normal: 1, committing: 0, commit failed: 0, standby: 0, version mismatch: 0, name conflicted: 0, invalid: 0, country code mismatch: 0 - access point 'Anonymized 015' status: normal | 'total'=1;;;0; 'total_idle'=0;;;0; 'total_autofind'=0;;;0; 'total_type_not_match'=0;;;0; 'total_fault'=0;;;0; 'total_config'=0;;;0; 'total_config_failed'=0;;;0; 'total_download'=0;;;0; 'total_normal'=1;;;0; 'total_committing'=0;;;0; 'total_commit_failed'=0;;;0; 'total_standby'=0;;;0; 'total_version_mismatch'=0;;;0; 'total_name_conflicted'=0;;;0; 'total_invalid'=0;;;0; 'total_country_code_mismatch'=0;;;0; checking access point 'Anonymized 015' status: normal diff --git a/tests/network/huawei/wlc/snmp/cpu.robot b/tests/network/huawei/wlc/snmp/cpu.robot index c8d37ba60..c4e384fc0 100644 --- a/tests/network/huawei/wlc/snmp/cpu.robot +++ b/tests/network/huawei/wlc/snmp/cpu.robot @@ -23,7 +23,7 @@ cpu ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: All CPU usages are ok | 'cpu_1'=14.00%;;;0;100 'cpu_2'=16.00%;;;0;100 'cpu_3'=14.00%;;;0;100 'cpu_4'=12.00%;;;0;100 'cpu_5'=13.00%;;;0;100 'cpu_6'=13.00%;;;0;100 'cpu_7'=21.00%;;;0;100 'cpu_8'=10.00%;;;0;100${\n}CPU '1' Usage : 14.00 %${\n}CPU '2' Usage : 16.00 %${\n}CPU '3' Usage : 14.00 %${\n}CPU '4' Usage : 12.00 %${\n}CPU '5' Usage : 13.00 %${\n}CPU '6' Usage : 13.00 %${\n}CPU '7' Usage : 21.00 %${\n}CPU '8' Usage : 10.00 % diff --git a/tests/network/huawei/wlc/snmp/list-aps.robot b/tests/network/huawei/wlc/snmp/list-aps.robot index a700956b6..268e01343 100644 --- a/tests/network/huawei/wlc/snmp/list-aps.robot +++ b/tests/network/huawei/wlc/snmp/list-aps.robot @@ -23,7 +23,7 @@ list-aps ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose --filter-name='Anonymized 058' List aps [oid_path: 100.19.171.37.61.112] [name: Anonymized 058] [serial: Anonymized 021] [address: 192.168.42.33] [hardware: Anonymized 104] [software: Anonymized 014] [run_time: 1w 4d 3h 1m 45s] [ap_group: Anonymized 214] [oid_path: 128.105.51.109.163.32] [name: Anonymized 058] [serial: Anonymized 025] [address: 192.168.42.225] [hardware: Anonymized 167] [software: Anonymized 034] [run_time: 11M 1w 1d 6h 12m 17s] [ap_group: Anonymized 040] [oid_path: 52.30.107.186.232.64] [name: Anonymized 058] [serial: Anonymized 073] [address: 192.168.42.66] [hardware: Anonymized 033] [software: Anonymized 168] [run_time: 11M 1w 1d 6h 15m 30s] [ap_group: Anonymized 124] diff --git a/tests/network/huawei/wlc/snmp/memory.robot b/tests/network/huawei/wlc/snmp/memory.robot index 977723c55..1c84b3692 100644 --- a/tests/network/huawei/wlc/snmp/memory.robot +++ b/tests/network/huawei/wlc/snmp/memory.robot @@ -23,7 +23,7 @@ memory ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All memory usages are ok | 'used_1'=271388616B;;;0;1765801984 'used_2'=271382292B;;;0;1765801984 'used_3'=73684888B;;;0;1765801984 'used_4'=73684936B;;;0;1765801984 'used_5'=73708228B;;;0;1765801984 'used_6'=73690100B;;;0;1765801984 'used_7'=385327944B;;;0;1832910848 'used_8'=397826128B;;;0;1832910848 diff --git a/tests/network/huawei/wlc/snmp/uptime.robot b/tests/network/huawei/wlc/snmp/uptime.robot index 417db268b..93b40d18c 100644 --- a/tests/network/huawei/wlc/snmp/uptime.robot +++ b/tests/network/huawei/wlc/snmp/uptime.robot @@ -23,7 +23,7 @@ uptime ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: System uptime is: 288d 20h 33m 6s | 'uptime'=24957186.00s;;;0; diff --git a/tests/network/huawei/wlc/snmp/wlan-global.robot b/tests/network/huawei/wlc/snmp/wlan-global.robot index 67b5fb38a..c9872fd37 100644 --- a/tests/network/huawei/wlc/snmp/wlan-global.robot +++ b/tests/network/huawei/wlc/snmp/wlan-global.robot @@ -23,7 +23,7 @@ wlan-global ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: Access Points normal state 509 on 525 (96.95%), Access Points user authentications 92.06% (1113 on 1209) | 'total'=525;;;0; 'normal'=509;;;0; 'fault'=16;;;0; 'normal-prct'=96.95%;;;0;100 'fault-prct'=3.05%;;;0;100 'current-user'=1209;;;0; 'current-auth-user'=1113;;;0; 'current-auth-user-prct'=92.06%;;;0;100 diff --git a/tests/network/juniper/mseries/netconf/bgp.robot b/tests/network/juniper/mseries/netconf/bgp.robot index cd32bef52..4e79e17d3 100644 --- a/tests/network/juniper/mseries/netconf/bgp.robot +++ b/tests/network/juniper/mseries/netconf/bgp.robot @@ -22,7 +22,7 @@ Bgp ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 --filter-snmp-index=1 diff --git a/tests/network/juniper/mseries/netconf/cpu.robot b/tests/network/juniper/mseries/netconf/cpu.robot index cbdf62cdd..831edb471 100644 --- a/tests/network/juniper/mseries/netconf/cpu.robot +++ b/tests/network/juniper/mseries/netconf/cpu.robot @@ -22,7 +22,7 @@ Cpu ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} diff --git a/tests/network/juniper/mseries/netconf/disks.robot b/tests/network/juniper/mseries/netconf/disks.robot index 5bf5ddb8d..87d34d85e 100644 --- a/tests/network/juniper/mseries/netconf/disks.robot +++ b/tests/network/juniper/mseries/netconf/disks.robot @@ -22,7 +22,7 @@ Disk ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} diff --git a/tests/network/juniper/mseries/netconf/hardware.robot b/tests/network/juniper/mseries/netconf/hardware.robot index 5aa5da655..12f54b350 100644 --- a/tests/network/juniper/mseries/netconf/hardware.robot +++ b/tests/network/juniper/mseries/netconf/hardware.robot @@ -22,7 +22,7 @@ Hardware ${tc} ... --sshcli-option="-f=${CURDIR}${/}data${/}hardware.netconf" ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 --component=fan @@ -43,7 +43,7 @@ Hardware no fan ${tc} ... --sshcli-option="-f=${CURDIR}${/}data${/}hardware_no_fan.netconf" ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 --component=fan --no-component=unknown diff --git a/tests/network/juniper/mseries/netconf/interfaces.robot b/tests/network/juniper/mseries/netconf/interfaces.robot index 4c326a9b9..2ebb1ceb2 100644 --- a/tests/network/juniper/mseries/netconf/interfaces.robot +++ b/tests/network/juniper/mseries/netconf/interfaces.robot @@ -22,7 +22,7 @@ Interface ${tc} ... --sshcli-option="-f=${CURDIR}${/}data${/}interfaces.netconf" ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} @@ -49,7 +49,7 @@ Interface regex ${tc} ... --sshcli-option="-f=${CURDIR}${/}data${/}interfaces.netconf" ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} --verbose @@ -70,7 +70,7 @@ Optical Interface ${tc} ... --sshcli-option="-f=${CURDIR}${/}data${/}interfaces_optical.netconf" ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 --add-optical diff --git a/tests/network/juniper/mseries/netconf/ldp.robot b/tests/network/juniper/mseries/netconf/ldp.robot index 35f75fd81..9e0593663 100644 --- a/tests/network/juniper/mseries/netconf/ldp.robot +++ b/tests/network/juniper/mseries/netconf/ldp.robot @@ -22,7 +22,7 @@ Ldp ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} diff --git a/tests/network/juniper/mseries/netconf/list-bgp.robot b/tests/network/juniper/mseries/netconf/list-bgp.robot index a0fc7eeaa..7e18b9bdc 100644 --- a/tests/network/juniper/mseries/netconf/list-bgp.robot +++ b/tests/network/juniper/mseries/netconf/list-bgp.robot @@ -22,7 +22,7 @@ List Bgp ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^List BGP peers: (\\\\n\\\\[.*\\\\]){5}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-disks.robot b/tests/network/juniper/mseries/netconf/list-disks.robot index 5c16d2f36..e55fd2978 100644 --- a/tests/network/juniper/mseries/netconf/list-disks.robot +++ b/tests/network/juniper/mseries/netconf/list-disks.robot @@ -22,7 +22,7 @@ List-Disks ${tc} ${command} Catenate ... ${cmd} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^List disks: (\\\\n\\\\[.*\\\\]){5}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-interfaces.robot b/tests/network/juniper/mseries/netconf/list-interfaces.robot index e0544b9f4..9094f5f81 100644 --- a/tests/network/juniper/mseries/netconf/list-interfaces.robot +++ b/tests/network/juniper/mseries/netconf/list-interfaces.robot @@ -22,7 +22,7 @@ List Interface ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^List interfaces: (\\\\n\\\\[.*\\\\]){6}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-ldp.robot b/tests/network/juniper/mseries/netconf/list-ldp.robot index 77bcdd1a6..d3c3df472 100644 --- a/tests/network/juniper/mseries/netconf/list-ldp.robot +++ b/tests/network/juniper/mseries/netconf/list-ldp.robot @@ -22,7 +22,7 @@ List Ldp ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^List LDP sessions: (\\\\n\\\\[.*\\\\]){4}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-lsp.robot b/tests/network/juniper/mseries/netconf/list-lsp.robot index a97cec6b6..2ccb81376 100644 --- a/tests/network/juniper/mseries/netconf/list-lsp.robot +++ b/tests/network/juniper/mseries/netconf/list-lsp.robot @@ -22,7 +22,7 @@ List Lsp ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^List LSP sessions: (\\\\n\\\\[.*\\\\]){3}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-rsvp.robot b/tests/network/juniper/mseries/netconf/list-rsvp.robot index af3e3fcd3..138eb788a 100644 --- a/tests/network/juniper/mseries/netconf/list-rsvp.robot +++ b/tests/network/juniper/mseries/netconf/list-rsvp.robot @@ -22,7 +22,7 @@ List Rsvp ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^List RSVP sessions: (\\\\n\\\\[.*\\\\]){2}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-services-rpm.robot b/tests/network/juniper/mseries/netconf/list-services-rpm.robot index f7f847fad..ff7de58fd 100644 --- a/tests/network/juniper/mseries/netconf/list-services-rpm.robot +++ b/tests/network/juniper/mseries/netconf/list-services-rpm.robot @@ -22,7 +22,7 @@ List Service Rpm ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^List services RPM: (\\\\n\\\\[.*\\\\]){2}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/lsp.robot b/tests/network/juniper/mseries/netconf/lsp.robot index 47408c8f6..e1fd48ffb 100644 --- a/tests/network/juniper/mseries/netconf/lsp.robot +++ b/tests/network/juniper/mseries/netconf/lsp.robot @@ -22,7 +22,7 @@ Lsp ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} diff --git a/tests/network/juniper/mseries/netconf/memory.robot b/tests/network/juniper/mseries/netconf/memory.robot index 656ecbf7c..262c4312a 100644 --- a/tests/network/juniper/mseries/netconf/memory.robot +++ b/tests/network/juniper/mseries/netconf/memory.robot @@ -22,7 +22,7 @@ Memory ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} diff --git a/tests/network/juniper/mseries/netconf/ospf.robot b/tests/network/juniper/mseries/netconf/ospf.robot index 56193e30a..22c9b5826 100644 --- a/tests/network/juniper/mseries/netconf/ospf.robot +++ b/tests/network/juniper/mseries/netconf/ospf.robot @@ -22,7 +22,7 @@ Ospf ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} diff --git a/tests/network/juniper/mseries/netconf/rsvp.robot b/tests/network/juniper/mseries/netconf/rsvp.robot index 62c250125..9698651cd 100644 --- a/tests/network/juniper/mseries/netconf/rsvp.robot +++ b/tests/network/juniper/mseries/netconf/rsvp.robot @@ -22,7 +22,7 @@ Rsvp ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} diff --git a/tests/network/juniper/mseries/netconf/services-rpm.robot b/tests/network/juniper/mseries/netconf/services-rpm.robot index 30cec5e0d..d106bf78f 100644 --- a/tests/network/juniper/mseries/netconf/services-rpm.robot +++ b/tests/network/juniper/mseries/netconf/services-rpm.robot @@ -22,7 +22,7 @@ Service Rpm ${tc} ... ${CMD} ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} diff --git a/tests/network/keysight/nvos/restapi/license.robot b/tests/network/keysight/nvos/restapi/license.robot index 5bf7e08cc..8afa2cd3f 100644 --- a/tests/network/keysight/nvos/restapi/license.robot +++ b/tests/network/keysight/nvos/restapi/license.robot @@ -30,7 +30,7 @@ license ${tc} ... ${extraoptions} Log ${cmd} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 --verbose OK: status : skipped (no value(s)) diff --git a/tests/network/keysight/nvos/restapi/ports.robot b/tests/network/keysight/nvos/restapi/ports.robot index 775152911..b5317b5ad 100644 --- a/tests/network/keysight/nvos/restapi/ports.robot +++ b/tests/network/keysight/nvos/restapi/ports.robot @@ -29,7 +29,7 @@ ports ${tc} ... --mode=ports ... ${extraoptions} Log ${cmd} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 --verbose OK: All ports are ok | 'P14#port.traffic.out.percentage'=0.00%;;;0;100 'P17#port.traffic.out.percentage'=0.00%;;;0;100 checking port 'P01' license status: valid link operational status: up [admin: enabled] checking port 'P12' license status: valid link operational status: up [admin: enabled] checking port 'P14' license status: valid link operational status: up [admin: enabled] traffic out: 0.00%, traffic-out : Buffer creation packets packets-out : Buffer creation, packets-dropped : Buffer creation, packets-pass : Buffer creation, packets-insp : Buffer creation checking port 'P17' license status: valid link operational status: up [admin: enabled] traffic out: 0.00%, traffic-out : Buffer creation packets packets-out : Buffer creation, packets-dropped : Buffer creation, packets-pass : Buffer creation, packets-insp : Buffer creation diff --git a/tests/network/mikrotik/snmp/lteinterfaces.robot b/tests/network/mikrotik/snmp/lteinterfaces.robot index 28e8f92c9..a9038088f 100644 --- a/tests/network/mikrotik/snmp/lteinterfaces.robot +++ b/tests/network/mikrotik/snmp/lteinterfaces.robot @@ -25,7 +25,7 @@ lteinterfaces ${tc} # first run to build cache Run ${command} # second run to control the output - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Interface 'lte1' [imei: 863359044096580] Status : up (admin: up), rsrp: -94 dBm, rsrq: -13 dB, rssi: -65 dBm, sinr: 0 dB | 'lte1~863359044096580#interface.signal.rsrp.dbm'=-94;;;0; 'lte1~863359044096580#interface.signal.rsrq.db'=-13;;;0; 'lte1~863359044096580#interface.signal.rssi.dbm'=-65;;;0; 'lte1~863359044096580#interface.signal.sinr.dbm'=0;;;0; diff --git a/tests/network/moxa/switch/snmp/interfaces.robot b/tests/network/moxa/switch/snmp/interfaces.robot index 20c809c54..95dd63571 100644 --- a/tests/network/moxa/switch/snmp/interfaces.robot +++ b/tests/network/moxa/switch/snmp/interfaces.robot @@ -21,7 +21,7 @@ network interface ${tc} ... ${CMD} ... ${arguments} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc arguments expected_result -- ... 1 --verbose --add-duplex-status OK: All interfaces are ok Interface 'lo' Status : up (admin: up) (duplex: fullDuplex) Interface 'eth0' Status : up (admin: up) (duplex: halfDuplex) Interface 'eth1' Status : up (admin: up) (duplex: unknown) Interface 'eth2' Status : up (admin: up) (duplex: fullDuplex) Interface 'eth3' Status : up (admin: up) (duplex: fullDuplex) \ No newline at end of file diff --git a/tests/network/nokia/timos/snmp/sas-alarm.robot b/tests/network/nokia/timos/snmp/sas-alarm.robot index 2f9cda2b3..99ad10c5c 100644 --- a/tests/network/nokia/timos/snmp/sas-alarm.robot +++ b/tests/network/nokia/timos/snmp/sas-alarm.robot @@ -23,7 +23,7 @@ sas-alarm ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose CRITICAL: Alarm input 'PSU_1_Sammelalarm' Alarm input status : alarm (Alarm input admin state: up (Alarm output severity: major) Alarm input 'PSU_1_Sammelalarm' Alarm input status : alarm (Alarm input admin state: up (Alarm output severity: major) Alarm input 'PSU_1_230V_fehlt' Alarm input status : noAlarm (Alarm input admin state: up (Alarm output severity: major) Alarm input 'PSU_2_Sammelalarm' Alarm input status : noAlarm (Alarm input admin state: up (Alarm output severity: major) Alarm input 'PSU_2_230V_fehlt' Alarm input status : noAlarm (Alarm input admin state: up (Alarm output severity: major) diff --git a/tests/network/sonus/sbc/snmp/call-statistics.robot b/tests/network/sonus/sbc/snmp/call-statistics.robot index 112f46dd5..69c3dce78 100644 --- a/tests/network/sonus/sbc/snmp/call-statistics.robot +++ b/tests/network/sonus/sbc/snmp/call-statistics.robot @@ -22,7 +22,7 @@ call-statistics ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All ports call statistics are ok | '1#port.calls.current.count'=5;;;0; '2#port.calls.current.count'=7;;;0; '3#port.calls.current.count'=9;;;0; diff --git a/tests/network/sonus/sbc/snmp/channels.robot b/tests/network/sonus/sbc/snmp/channels.robot index 6341e3ed6..7552626b4 100644 --- a/tests/network/sonus/sbc/snmp/channels.robot +++ b/tests/network/sonus/sbc/snmp/channels.robot @@ -22,7 +22,7 @@ channels ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All channels are ok | 'channels.total.count'=4;;;0; 'channels.outofservice.count'=0;;;0; 'channels.idle.count'=4;;;0; 'channels.pending.count'=0;;;0; 'channels.waiting_for_route.count'=0;;;0; 'channels.action_list.count'=0;;;0; 'channels.waiting_for_digits.count'=0;;;0; 'channels.remote_setup.count'=0;;;0; 'channels.peer_setup.count'=0;;;0; 'channels.alerting.count'=0;;;0; 'channels.inband_info.count'=0;;;0; 'channels.connected.count'=0;;;0; 'channels.tone_generation.count'=0;;;0; 'channels.releasing.count'=0;;;0; 'channels.aborting.count'=0;;;0; 'channels.resetting.count'=0;;;0; 'channels.up.count'=0;;;0; 'channels.down.count'=0;;;0; 'shelf1~slot0~port1~channel1#channel.lifetime.seconds'=43316s;;;0; 'shelf1~slot0~port1~channel2#channel.lifetime.seconds'=42338s;;;0; 'shelf1~slot1~port1~channel1#channel.lifetime.seconds'=515930s;;;0; 'shelf1~slot1~port2~channel1#channel.lifetime.seconds'=138887s;;;0; diff --git a/tests/network/sonus/sbc/snmp/dsp-stats.robot b/tests/network/sonus/sbc/snmp/dsp-stats.robot index ecce83c9e..fd54358ed 100644 --- a/tests/network/sonus/sbc/snmp/dsp-stats.robot +++ b/tests/network/sonus/sbc/snmp/dsp-stats.robot @@ -22,7 +22,7 @@ dsp-stats ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: DSP '9' state is 'up', CPU usage: 1.00 %, active channels: 0 | '9#dsp.cpu.utilization.percentage'=1.00%;;;0;100 '9#dsp.channels.active.count'=0;;;0; diff --git a/tests/network/sonus/sbc/snmp/interfaces.robot b/tests/network/sonus/sbc/snmp/interfaces.robot index cb6adb719..37bbc6f49 100644 --- a/tests/network/sonus/sbc/snmp/interfaces.robot +++ b/tests/network/sonus/sbc/snmp/interfaces.robot @@ -22,7 +22,7 @@ interfaces ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} CRITICAL: Interface 'Anonymized 073' Status : down (admin: up) - Interface 'Anonymized 232' Status : down (admin: up) diff --git a/tests/network/sonus/sbc/snmp/list-interfaces.robot b/tests/network/sonus/sbc/snmp/list-interfaces.robot index 8564f11d8..908e3ae62 100644 --- a/tests/network/sonus/sbc/snmp/list-interfaces.robot +++ b/tests/network/sonus/sbc/snmp/list-interfaces.robot @@ -22,7 +22,7 @@ list-interfaces ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} --name --interface='Anonymized 049' List interfaces: 'Anonymized 049' [speed = ][status = up][id = 1078199296][type = voiceFXS] 'Anonymized 049' [speed = ][status = up][id = 1079510016][type = voiceFXS] diff --git a/tests/network/stormshield/api/vpn-tunnels.robot b/tests/network/stormshield/api/vpn-tunnels.robot index a9741c9e0..2c06a78f7 100644 --- a/tests/network/stormshield/api/vpn-tunnels.robot +++ b/tests/network/stormshield/api/vpn-tunnels.robot @@ -29,7 +29,7 @@ vpn-tunnels ${tc} ... --mode=vpn-tunnels ... ${extraoptions} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} OK: Total VPN tunnels: 22 - All VPN tunnels are ok | 'vpn.tunnels.total.count'=22;;;0; diff --git a/tests/network/stormshield/snmp/hardware.robot b/tests/network/stormshield/snmp/hardware.robot index eee75ef61..875e2f09d 100644 --- a/tests/network/stormshield/snmp/hardware.robot +++ b/tests/network/stormshield/snmp/hardware.robot @@ -23,7 +23,7 @@ hardware ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --critical='temperature,.*,50' CRITICAL: temperature 'cpu1' is 70 celsius | 'cpu1#hardware.temperature.celsius'=70C;;0:50;0; 'cpu2#hardware.temperature.celsius'=30C;;0:50;0; 'cpu3#hardware.temperature.celsius'=0C;;0:50;0; 'hardware.temperature.count'=3;;;; diff --git a/tests/network/teldat/snmp/cellsradio.robot b/tests/network/teldat/snmp/cellsradio.robot index 8c7848730..43163623e 100644 --- a/tests/network/teldat/snmp/cellsradio.robot +++ b/tests/network/teldat/snmp/cellsradio.robot @@ -33,7 +33,7 @@ Cells radio ${tc} ... --warning-module-cellradio-snr=${warningmodulecellradiosnr} ... --critical-module-cellradio-snr=${criticalmodulecellradiosnr} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc customperfdatainstances criticalstatus warningmodulescellradiodetected criticalmodulescellradiodetected warningmodulecellradiorsrp criticalmodulecellradiorsrp warningmodulecellradiorsrq criticalmodulecellradiorsrq warningmodulecellradiocsq criticalmodulecellradiocsq warningmodulecellradiosnr criticalmodulecellradiosnr expected_result -- diff --git a/tests/network/teldat/snmp/cpu.robot b/tests/network/teldat/snmp/cpu.robot index b4f2ff0c9..9fe6b856a 100644 --- a/tests/network/teldat/snmp/cpu.robot +++ b/tests/network/teldat/snmp/cpu.robot @@ -27,7 +27,7 @@ CPU ${tc} ... --warning-cpu-utilization-5m=${warningcpuutilization5m} ... --critical-cpu-utilization-5m=${criticalcpuutilization5m} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc warningcpuutilization5s criticalcpuutilization5s warningcpuutilization1m criticalcpuutilization1m warningcpuutilization5m criticalcpuutilization5m expected_result -- diff --git a/tests/network/teldat/snmp/memory.robot b/tests/network/teldat/snmp/memory.robot index 12d4c1bfa..0918a9d95 100644 --- a/tests/network/teldat/snmp/memory.robot +++ b/tests/network/teldat/snmp/memory.robot @@ -27,7 +27,7 @@ Memory ${tc} ... --warning-usage-prct=${warningusageprct} ... --critical-usage-prct=${criticalusageprct} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc warningusage criticalusage warningusagefree criticalusagefree warningusageprct criticalusageprct expected_result -- diff --git a/tests/os/f5os/snmp/cpu-usage.robot b/tests/os/f5os/snmp/cpu-usage.robot index dde60f905..824cca68d 100644 --- a/tests/os/f5os/snmp/cpu-usage.robot +++ b/tests/os/f5os/snmp/cpu-usage.robot @@ -21,7 +21,7 @@ cpu-usage ${tc} ... --snmp-community=os/f5os/snmp/f5os ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: CPU(s) average usage is: 8.00 % | 'cpu.usage.percent'=8.00%;;;0;100 '0#cpu.core.current.usage.percent'=0%;;;0;100 '0#cpu.core.usage.avg.5s.percent'=0%;;;0;100 '0#cpu.core.usage.avg.1m.percent'=1%;;;0;100 '0#cpu.core.usage.avg.5m.percent'=1%;;;0;100 '1#cpu.core.current.usage.percent'=16%;;;0;100 '1#cpu.core.usage.avg.5s.percent'=10%;;;0;100 '1#cpu.core.usage.avg.1m.percent'=15%;;;0;100 '1#cpu.core.usage.avg.5m.percent'=50%;;;0;100 diff --git a/tests/os/f5os/snmp/hardware.robot b/tests/os/f5os/snmp/hardware.robot index c57dbec36..75be85114 100644 --- a/tests/os/f5os/snmp/hardware.robot +++ b/tests/os/f5os/snmp/hardware.robot @@ -21,7 +21,7 @@ hardware ${tc} ... --snmp-community=os/f5os/snmp/f5os ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Current temperature: 31.6 C, average: 32.1 C, minimum: 31.2 C, maximum: 33.8 C - All fans are ok | 'temperature.current.celsius'=31.6C;;;; 'temperature.average.1h.celsius'=32.1C;;;; 'temperature.min.1h.celsius'=31.2C;;;; 'temperature#temperature.max.1h.celsius'=33.8C;;;; '1#fantray.fanspeed.rpm'=15482rpm;;;0; '2#fantray.fanspeed.rpm'=17323rpm;;;0; '3#fantray.fanspeed.rpm'=17121rpm;;;0; '4#fantray.fanspeed.rpm'=17512rpm;;;0; '5#fantray.fanspeed.rpm'=17695rpm;;;0; '6#fantray.fanspeed.rpm'=13543rpm;;;0; '7#fantray.fanspeed.rpm'=16678rpm;;;0; '8#fantray.fanspeed.rpm'=17843rpm;;;0; diff --git a/tests/os/f5os/snmp/memory.robot b/tests/os/f5os/snmp/memory.robot index 917e8d98b..d21716546 100644 --- a/tests/os/f5os/snmp/memory.robot +++ b/tests/os/f5os/snmp/memory.robot @@ -21,7 +21,7 @@ memory ${tc} ... --snmp-community=os/f5os/snmp/f5os ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Memory total: 15.00 GB used: 6.60 GB (43.99%) free: 8.40 GB (56.01%) | 'memory.usage.bytes'=7085105152B;;;0;16107667456 'memory.free.bytes'=9022562304B;;;0;16107667456 'memory.usage.percent'=43.99%;;;0;100 'memory.free.percent'=56.01%;;;0;100 diff --git a/tests/os/freebsd/snmp/storage.robot b/tests/os/freebsd/snmp/storage.robot index 4820c4d79..5c30e82e4 100644 --- a/tests/os/freebsd/snmp/storage.robot +++ b/tests/os/freebsd/snmp/storage.robot @@ -24,7 +24,7 @@ storage ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All storages are ok | 'count'=3;;;0; 'used_/'=4534042624B;;;0;10352734208 'used_/dev'=0B;;;0;1024 'used_/boot/efi'=662528B;;;0;33550336 diff --git a/tests/os/linux/local/List-Systemdservices-v219.robot b/tests/os/linux/local/List-Systemdservices-v219.robot index fcd25c1bf..038380a96 100644 --- a/tests/os/linux/local/List-Systemdservices-v219.robot +++ b/tests/os/linux/local/List-Systemdservices-v219.robot @@ -22,7 +22,7 @@ List-Systemdservices v219 ${tc} ... --filter-name='${filtername}' ... --filter-description='${filterdescription}' - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filtername filterdescription expected_result -- ... 1 toto ${EMPTY} List systemd services: diff --git a/tests/os/linux/local/List-Systemdservices-v252.robot b/tests/os/linux/local/List-Systemdservices-v252.robot index 4a86c47c0..3cf50408d 100644 --- a/tests/os/linux/local/List-Systemdservices-v252.robot +++ b/tests/os/linux/local/List-Systemdservices-v252.robot @@ -22,7 +22,7 @@ List-Systemdservices v252 ${tc} ... --filter-name='${filtername}' ... --filter-description='${filterdescription}' - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filtername filterdescription expected_result -- ... 1 toto ${EMPTY} List systemd services: diff --git a/tests/os/linux/local/process.robot b/tests/os/linux/local/process.robot index 23ab37e8e..039ea2b67 100644 --- a/tests/os/linux/local/process.robot +++ b/tests/os/linux/local/process.robot @@ -23,7 +23,7 @@ Process ${tc} ... --critical-total='${critical}' ... --filter-command='${filter_command}' - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc ps_output filter_command warning critical expected_result -- ... 1 ps-centreon.output cs.sapC4P_C00 ${EMPTY} ${EMPTY} OK: Number of current processes: 0 | 'processes.total.count'=0;;;0; diff --git a/tests/os/linux/snmp-connector/arp-connector.robot b/tests/os/linux/snmp-connector/arp-connector.robot index 3ccdcf691..cc6e2a255 100644 --- a/tests/os/linux/snmp-connector/arp-connector.robot +++ b/tests/os/linux/snmp-connector/arp-connector.robot @@ -25,7 +25,7 @@ arp-connectors ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command With Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-macaddr OK: total entries 3 - duplicate mac address 0 - duplicate ip address 0 | 'arp.total.entries.count'=3;;;0; 'arp.duplicate.macaddr.count'=0;;;0; 'arp.duplicate.ipaddr.count'=0;;;0; diff --git a/tests/os/linux/snmp-connector/cpu-connector.robot b/tests/os/linux/snmp-connector/cpu-connector.robot index c75c3d408..199e1427f 100644 --- a/tests/os/linux/snmp-connector/cpu-connector.robot +++ b/tests/os/linux/snmp-connector/cpu-connector.robot @@ -24,7 +24,7 @@ cpu-connector ${tc} ... --snmp-community=os/linux/snmp/network-interfaces ... ${extra_options} - Ctn Run Command With Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --use-ucd='0' OK: 1 CPU(s) average usage is 2.00 % - CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;;0;100 diff --git a/tests/os/linux/snmp-connector/swap-connector.robot b/tests/os/linux/snmp-connector/swap-connector.robot index c0a0f419a..6e58496ec 100644 --- a/tests/os/linux/snmp-connector/swap-connector.robot +++ b/tests/os/linux/snmp-connector/swap-connector.robot @@ -31,7 +31,7 @@ swap ${tc} ... --critical-usage-free=${critical-usage-free} ... --critical-usage-prct=${critical-usage-prct} - Ctn Run Command With Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc no-swap warning-usage warning-usage-free warning-usage-prct critical-usage critical-usage-free critical-usage-prct expected_result -- ... 1 ${EMPTY} ${EMPTY} ${EMPTY} '10' ${EMPTY} ${EMPTY} '30' OK: Swap Total: 976.00 MB Used: 0.00 B (0.00%) Free: 976.00 MB (100.00%) | 'used'=0B;;;0;1023406080 'free'=1023406080B;;;0;1023406080 'used_prct'=0.00%;0:10;0:30;0;100 diff --git a/tests/os/linux/snmp/arp.robot b/tests/os/linux/snmp/arp.robot index 805b9ac1b..c5358502d 100644 --- a/tests/os/linux/snmp/arp.robot +++ b/tests/os/linux/snmp/arp.robot @@ -24,7 +24,7 @@ arp ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-macaddr OK: total entries 3 - duplicate mac address 0 - duplicate ip address 0 | 'arp.total.entries.count'=3;;;0; 'arp.duplicate.macaddr.count'=0;;;0; 'arp.duplicate.ipaddr.count'=0;;;0; diff --git a/tests/os/linux/snmp/cpu-d.robot b/tests/os/linux/snmp/cpu-d.robot index 97ee7acd7..e6d61d645 100644 --- a/tests/os/linux/snmp/cpu-d.robot +++ b/tests/os/linux/snmp/cpu-d.robot @@ -23,7 +23,7 @@ cpu ${tc} ... --snmp-timeout=1 ... ${extra_options} - Run Command And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --use-ucd='0' OK: 1 CPU(s) average usage is 2.00 % - CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;;0;100 diff --git a/tests/os/linux/snmp/cpu-detailed.robot b/tests/os/linux/snmp/cpu-detailed.robot index d8ef66a80..50456d32e 100644 --- a/tests/os/linux/snmp/cpu-detailed.robot +++ b/tests/os/linux/snmp/cpu-detailed.robot @@ -24,7 +24,7 @@ cpu-detailed ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --critical-guest OK: CPU Usage: user : Buffer creation, nice : Buffer creation, system : Buffer creation, idle : Buffer creation, wait : Buffer creation, kernel : Buffer creation, interrupt : Buffer creation, softirq : Buffer creation, steal : Buffer creation, guest : Buffer creation, guestnice : Buffer creation diff --git a/tests/os/linux/snmp/cpu.robot b/tests/os/linux/snmp/cpu.robot index 9dee6cbb7..e6d61d645 100644 --- a/tests/os/linux/snmp/cpu.robot +++ b/tests/os/linux/snmp/cpu.robot @@ -23,7 +23,7 @@ cpu ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --use-ucd='0' OK: 1 CPU(s) average usage is 2.00 % - CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;;0;100 diff --git a/tests/os/linux/snmp/disk-usage.robot b/tests/os/linux/snmp/disk-usage.robot index 1b8080a3e..c222c4ec8 100644 --- a/tests/os/linux/snmp/disk-usage.robot +++ b/tests/os/linux/snmp/disk-usage.robot @@ -24,7 +24,7 @@ disk-usage ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-counters OK: All partitions are ok | 'count'=5;;;0; 'used_/'=7394013184B;;;0;105088212992 'free_/'=97694199808B;;;0;105088212992 'used_prct_/'=7.04%;;;0;100 'inodes_/'=6%;;;0;100 'used_/dev/shm'=0B;;;0;1031299072 'free_/dev/shm'=1031299072B;;;0;1031299072 'used_prct_/dev/shm'=0.00%;;;0;100 'inodes_/dev/shm'=0%;;;0;100 'used_/run'=532480B;;;0;206262272 'free_/run'=205729792B;;;0;206262272 'used_prct_/run'=0.26%;;;0;100 'inodes_/run'=0%;;;0;100 'used_/run/lock'=0B;;;0;5242880 'free_/run/lock'=5242880B;;;0;5242880 'used_prct_/run/lock'=0.00%;;;0;100 'inodes_/run/lock'=0%;;;0;100 'used_/run/user/0'=0B;;;0;206258176 'free_/run/user/0'=206258176B;;;0;206258176 'used_prct_/run/user/0'=0.00%;;;0;100 'inodes_/run/user/0'=0%;;;0;100 diff --git a/tests/os/linux/snmp/diskio.robot b/tests/os/linux/snmp/diskio.robot index 8a1559714..e8cbc93e3 100644 --- a/tests/os/linux/snmp/diskio.robot +++ b/tests/os/linux/snmp/diskio.robot @@ -24,7 +24,7 @@ diskio ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --device='1' OK: Device 'sda' Read I/O : Buffer creation, Write I/O : Buffer creation, Read IOPs : Buffer creation, Write IOPs : Buffer creation diff --git a/tests/os/linux/snmp/inodes.robot b/tests/os/linux/snmp/inodes.robot index ba3837cfe..703787a00 100644 --- a/tests/os/linux/snmp/inodes.robot +++ b/tests/os/linux/snmp/inodes.robot @@ -24,7 +24,7 @@ inodes ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-path='' OK: All inode partitions are ok | 'used_/'=6%;;;0;100 'used_/dev/shm'=0%;;;0;100 'used_/run'=0%;;;0;100 'used_/run/lock'=0%;;;0;100 'used_/run/user/0'=0%;;;0;100 diff --git a/tests/os/linux/snmp/list-diskspath.robot b/tests/os/linux/snmp/list-diskspath.robot index aec1b9fb7..4c34f2548 100644 --- a/tests/os/linux/snmp/list-diskspath.robot +++ b/tests/os/linux/snmp/list-diskspath.robot @@ -24,7 +24,7 @@ list-diskspath ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --skip-total-size-zero='' List disk path: ${SPACE}'/run/user/0' [id = 25] ${SPACE} '/run' [id = 5] ${SPACE} '/' [id = 6] ${SPACE} '/dev/shm' [id = 8] ${SPACE} '/run/lock' [id = 9] diff --git a/tests/os/linux/snmp/list-interfaces.robot b/tests/os/linux/snmp/list-interfaces.robot index a43f9c56c..e1b39e44f 100644 --- a/tests/os/linux/snmp/list-interfaces.robot +++ b/tests/os/linux/snmp/list-interfaces.robot @@ -24,7 +24,7 @@ list-interfaces ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --add-extra-oid='alias,.1.3.6.1.2.1.31.1.1.1.18' List interfaces: ${SPACE}'lo' [speed = 10][status = up][id = 1][alias = ][type = softwareLoopback] 'eth0' [speed = 1000][status = up][id = 2][alias = ][type = ethernetCsmacd] ${SPACE} 'eth1' [speed = 1000][status = up][id = 3][alias = ][type = ethernetCsmacd] diff --git a/tests/os/linux/snmp/list-processes.robot b/tests/os/linux/snmp/list-processes.robot index efee431f5..48f968069 100644 --- a/tests/os/linux/snmp/list-processes.robot +++ b/tests/os/linux/snmp/list-processes.robot @@ -24,7 +24,7 @@ list-processes ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 2 --filter-name='centreontrapd' List processes: [name = centreontrapd] [path = /usr/bin/perl] [parameters = /usr/share/centreon/bin/centreontrapd --logfile=/var/log/centreon/centreontrapd.log --severity=error --config=/etc/centreon/conf] [type = application] [pid = 317] [status = runnable] diff --git a/tests/os/linux/snmp/list-storages.robot b/tests/os/linux/snmp/list-storages.robot index f84203ed5..8ce179001 100644 --- a/tests/os/linux/snmp/list-storages.robot +++ b/tests/os/linux/snmp/list-storages.robot @@ -24,7 +24,7 @@ list-storages ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --display-transform-src='dev' List storage: ${SPACE}Skipping storage 'Physical memory': no type or no matching filter type ${SPACE}Skipping storage 'Swap space': no type or no matching filter type ${SPACE}Skipping storage 'Available memory': no type or no matching filter type ${SPACE}Skipping storage 'Virtual memory': no type or no matching filter type ${SPACE}'/run' [size = 206262272B] [id = 35] ${SPACE} '/' [size = 105088212992B] [id = 36] ${SPACE} '//shm' [size = 1031299072B] [id = 38] ${SPACE} '/run/lock' [size = 5242880B] [id = 39] ${SPACE}'/run/user/0' [size = 206258176B] [id = 55] ${SPACE} Skipping storage 'Memory buffers': no type or no matching filter type ${SPACE} Skipping storage 'Cached memory': no type or no matching filter type ${SPACE} Skipping storage 'Shared memory': no type or no matching filter type diff --git a/tests/os/linux/snmp/load.robot b/tests/os/linux/snmp/load.robot index 078a7819a..fd7ff331e 100644 --- a/tests/os/linux/snmp/load.robot +++ b/tests/os/linux/snmp/load.robot @@ -26,7 +26,7 @@ load ${tc} ... --average ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc critical warning extra_options expected_result -- ... 1 '6,5,4' '4,3,2' ${EMPTY} OK: Load average: 0.43 [0.87/2 CPUs], 0.32 [0.63/2 CPUs], 0.23 [0.47/2 CPUs] | 'avg_load1'=0.43;0:4;0:6;0; 'avg_load5'=0.32;0:3;0:5;0; 'avg_load15'=0.23;0:2;0:4;0; 'load1'=0.87;0:8;0:12;0; 'load5'=0.63;0:6;0:10;0; 'load15'=0.47;0:4;0:8;0; diff --git a/tests/os/linux/snmp/memory-centreonvault.robot b/tests/os/linux/snmp/memory-centreonvault.robot index ed5d8356c..46f901cf4 100644 --- a/tests/os/linux/snmp/memory-centreonvault.robot +++ b/tests/os/linux/snmp/memory-centreonvault.robot @@ -27,7 +27,7 @@ Linux Memory with vault ${tc} ... --vault-cache=${VAULT_CACHE} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_regexp} + Ctn Run Command And Check Result As Regexp ${command} ${expected_regexp} ${tc} Examples: tc secret vault_config extra_options expected_regexp -- ... 1 Linux ${EMPTY} ${EMPTY} UNKNOWN: Please provide a Centreon Vault configuration file path with --vault-config option diff --git a/tests/os/linux/snmp/memory.robot b/tests/os/linux/snmp/memory.robot index c452fe79d..88338afcd 100644 --- a/tests/os/linux/snmp/memory.robot +++ b/tests/os/linux/snmp/memory.robot @@ -26,7 +26,7 @@ memory ${tc} ... --force-64bits-counters ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc snmpver extra_options expected_result -- ... 1 1 --verbose OK: Ram Total: 1.92 GB Used (-buffers/cache): 702.20 MB (35.70%) Free: 1.24 GB (64.30%), Buffer: 35.86 MB, Cached: 498.80 MB, Shared: 28.91 MB | 'used'=736309248B;;;0;2062598144 'free'=1326288896B;;;0;2062598144 'used_prct'=35.70%;;;0;100 'buffer'=37601280B;;;0; 'cached'=523030528B;;;0; 'shared'=30310400B;;;0; diff --git a/tests/os/linux/snmp/network-interfaces.robot b/tests/os/linux/snmp/network-interfaces.robot index 8b33cd57c..e4d19c83f 100644 --- a/tests/os/linux/snmp/network-interfaces.robot +++ b/tests/os/linux/snmp/network-interfaces.robot @@ -26,7 +26,7 @@ Interfaces by id ${tc} ... --interface='${filter}' ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filter extra_options expected_result -- ... 1 1 ${EMPTY} OK: Interface 'lo' Status : up (admin: up) @@ -47,7 +47,7 @@ Interfaces by id regexp ${tc} ... --regex-id ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filter extra_options expected_result -- ... 1 ^1$ ${EMPTY} OK: Interface 'lo' Status : up (admin: up) diff --git a/tests/os/linux/snmp/processcount.robot b/tests/os/linux/snmp/processcount.robot index f63e99dd5..2684020e8 100644 --- a/tests/os/linux/snmp/processcount.robot +++ b/tests/os/linux/snmp/processcount.robot @@ -24,7 +24,7 @@ processcount ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --critical-cpu-total OK: Number of current processes running: 86 | 'nbproc'=86;;;0; diff --git a/tests/os/linux/snmp/storage.robot b/tests/os/linux/snmp/storage.robot index cb83e56bb..07466768e 100644 --- a/tests/os/linux/snmp/storage.robot +++ b/tests/os/linux/snmp/storage.robot @@ -24,7 +24,7 @@ storage ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-duplicate='' OK: All storages are ok | 'count'=5;;;0; 'used_/run'=532480B;;;0;206262272 'used_/'=7394013184B;;;0;105088212992 'used_/dev/shm'=0B;;;0;1031299072 'used_/run/lock'=0B;;;0;5242880 'used_/run/user/0'=0B;;;0;206258176 diff --git a/tests/os/linux/snmp/swap.robot b/tests/os/linux/snmp/swap.robot index 99500c3ef..87b7fe6dd 100644 --- a/tests/os/linux/snmp/swap.robot +++ b/tests/os/linux/snmp/swap.robot @@ -30,7 +30,7 @@ swap ${tc} ... --critical-usage-free=${critical-usage-free} ... --critical-usage-prct=${critical-usage-prct} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc no-swap warning-usage warning-usage-free warning-usage-prct critical-usage critical-usage-free critical-usage-prct expected_result -- ... 1 ${EMPTY} ${EMPTY} ${EMPTY} '10' ${EMPTY} ${EMPTY} '30' OK: Swap Total: 976.00 MB Used: 0.00 B (0.00%) Free: 976.00 MB (100.00%) | 'used'=0B;;;0;1023406080 'free'=1023406080B;;;0;1023406080 'used_prct'=0.00%;0:10;0:30;0;100 diff --git a/tests/os/linux/snmp/udpcon.robot b/tests/os/linux/snmp/udpcon.robot index 2ae62da71..0dda722da 100644 --- a/tests/os/linux/snmp/udpcon.robot +++ b/tests/os/linux/snmp/udpcon.robot @@ -23,7 +23,7 @@ udpcon ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: Total connections: 7 | 'service_total'=7;;;0; 'con_listen'=7;;;0; diff --git a/tests/os/linux/snmp/uptime.robot b/tests/os/linux/snmp/uptime.robot index aa1986589..5f6d1e257 100644 --- a/tests/os/linux/snmp/uptime.robot +++ b/tests/os/linux/snmp/uptime.robot @@ -24,7 +24,7 @@ uptime ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --warning-uptime='2' WARNING: System uptime is: 38m 39s | 'uptime'=2319.00s;0:2;;0; diff --git a/tests/os/windows/snmp/cpu.robot b/tests/os/windows/snmp/cpu.robot index f8a9f91f9..2086994ad 100644 --- a/tests/os/windows/snmp/cpu.robot +++ b/tests/os/windows/snmp/cpu.robot @@ -27,7 +27,7 @@ cpu ${tc} ... --warning-core=${warning-core} ... --critical-core=${critical-core} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc critical-average warning-average warning-core critical-core expected_result -- ... 2 '90' '80' ${EMPTY} ${EMPTY} OK: 2 CPU(s) average usage is 0.50 % | 'total_cpu_avg'=0.50%;0:80;0:90;0;100 'cpu_0'=1.00%;;;0;100 'cpu_1'=0.00%;;;0;100 diff --git a/tests/os/windows/snmp/interfaces.robot b/tests/os/windows/snmp/interfaces.robot index d0953cf52..72561bf7e 100644 --- a/tests/os/windows/snmp/interfaces.robot +++ b/tests/os/windows/snmp/interfaces.robot @@ -24,7 +24,7 @@ interfaces ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose CRITICAL: Interface 'Anonymized 232' Status : down (admin: up) - Interface 'Anonymized 184' Status : down (admin: up) - Interface 'Anonymized 101' Status : down (admin: up) - Interface 'Anonymized 012' Status : down (admin: up) - Interface 'Anonymized 232' Status : down (admin: up) - Interface 'Anonymized 072' Status : down (admin: up)${SPACE}Interface 'Anonymized 250' Status : up (admin: up)${SPACE}Interface 'Anonymized 012' Status : notPresent (admin: down)${SPACE}Interface 'Anonymized 118' Status : notPresent (admin: down)${SPACE}Interface 'Anonymized 073' Status : up (admin: up)${SPACE}Interface 'Anonymized 071' Status : up (admin: up)${SPACE}Interface 'Anonymized 073' Status : up (admin: up)${SPACE}Interface 'Anonymized 232' Status : down (admin: up)${SPACE}Interface 'Anonymized 191' Status : up (admin: up)${SPACE}Interface 'Anonymized 242' Status : up (admin: up)${SPACE}Interface 'Anonymized 175' Status : up (admin: up)${SPACE}Interface 'Anonymized 128' Status : up (admin: up)${SPACE}Interface 'Anonymized 037' Status : notPresent (admin: down)${SPACE}Interface 'Anonymized 080' Status : up (admin: up)${SPACE}Interface 'Anonymized 229' Status : up (admin: up)${SPACE}Interface 'Anonymized 248' Status : up (admin: up)${SPACE}Interface 'Anonymized 092' Status : up (admin: up)${SPACE}Interface 'Anonymized 187' Status : up (admin: up)${SPACE}Interface 'Anonymized 184' Status : down (admin: up)${SPACE}Interface 'Anonymized 101' Status : down (admin: up)${SPACE}Interface 'Anonymized 252' Status : notPresent (admin: down)${SPACE}Interface 'Anonymized 012' Status : down (admin: up)${SPACE}Interface 'Anonymized 232' Status : down (admin: up)${SPACE}Interface 'Anonymized 072' Status : down (admin: up)${SPACE}Interface 'Anonymized 037' Status : up (admin: up) diff --git a/tests/os/windows/snmp/list-services.robot b/tests/os/windows/snmp/list-services.robot index e32d31f8b..1aa7a6d6c 100644 --- a/tests/os/windows/snmp/list-services.robot +++ b/tests/os/windows/snmp/list-services.robot @@ -23,7 +23,7 @@ list-services ${tc} ... --snmp-community=os/windows/snmp/services-en ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-name='Windows Security Service' List services: [name = Windows Security Service] [operating = active] [installed = installed] diff --git a/tests/os/windows/snmp/list-storages.robot b/tests/os/windows/snmp/list-storages.robot index 19bb7daac..a74a714f7 100644 --- a/tests/os/windows/snmp/list-storages.robot +++ b/tests/os/windows/snmp/list-storages.robot @@ -24,7 +24,7 @@ list-storages ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --display-transform-src='dev' List storage: 'Serial Number 5a987053' [size = 63720910848B] [id = 1] Skipping storage 'D:\\\\ Label:SSS_X64FRE_FR-FR_DV9 Serial Number cf70e675': no type or no matching filter type Skipping storage 'Virtual Memory': no type or no matching filter type Skipping storage 'Physical Memory': no type or no matching filter type diff --git a/tests/os/windows/snmp/memory.robot b/tests/os/windows/snmp/memory.robot index 161fa1a95..4ca7851d5 100644 --- a/tests/os/windows/snmp/memory.robot +++ b/tests/os/windows/snmp/memory.robot @@ -24,7 +24,7 @@ memory ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: Ram Total: 4.00GB Used: 557.94MB (13.62%) Free: 3.45GB (86.38%) | 'used'=585039872B;;;0;4294377472 diff --git a/tests/os/windows/snmp/processcount.robot b/tests/os/windows/snmp/processcount.robot index 9901203b5..1571fa744 100644 --- a/tests/os/windows/snmp/processcount.robot +++ b/tests/os/windows/snmp/processcount.robot @@ -24,7 +24,7 @@ processcount ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --critical-cpu-total OK: Number of current processes running: 317 | 'nbproc'=317;;;0; diff --git a/tests/os/windows/snmp/services-en.robot b/tests/os/windows/snmp/services-en.robot index e8dee42a7..f3adf0e87 100644 --- a/tests/os/windows/snmp/services-en.robot +++ b/tests/os/windows/snmp/services-en.robot @@ -25,7 +25,7 @@ Windows Services EN ${tc} ... --filter-name='${filter}' ... ${extra_option} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc filter extra_option expected_result -- ... 1 ${EMPTY} ${EMPTY} OK: All services are ok | 'services.total.count'=168;;;0; 'services.active.count'=168;;;0; 'services.continue.pending.count'=0;;;0; 'services.pause.pending.count'=0;;;0; 'services.paused.count'=0;;;0; diff --git a/tests/os/windows/snmp/storage.robot b/tests/os/windows/snmp/storage.robot index 793d78f40..85bca4591 100644 --- a/tests/os/windows/snmp/storage.robot +++ b/tests/os/windows/snmp/storage.robot @@ -24,7 +24,7 @@ storage ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-storage-type OK: All storages are ok | 'count'=4;;;0; 'used_Serial Number 5a987053'=31299354624B;;;0;63720910848 'used_D:\\\\ Label:SSS_X64FRE_FR-FR_DV9 Serial Number cf70e675'=5566558208B;;;0;5566558208 'used_Virtual Memory'=493027328B;;;0;5099683840 'used_Physical Memory'=585039872B;;;0;4294377472 diff --git a/tests/os/windows/snmp/swap.robot b/tests/os/windows/snmp/swap.robot index 5ba53a58d..55f110683 100644 --- a/tests/os/windows/snmp/swap.robot +++ b/tests/os/windows/snmp/swap.robot @@ -23,7 +23,7 @@ swap ${tc} ... --snmp-community=os/windows/snmp/windows_anon ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --real-swap=0 OK: Swap Total: 4.75 GB Used: 470.19 MB (9.67%) Free: 4.29 GB (90.33%) | 'used'=493027328B;;;0;5099683840 diff --git a/tests/os/windows/snmp/uptime.robot b/tests/os/windows/snmp/uptime.robot index 4a30725f6..b9882a3bb 100644 --- a/tests/os/windows/snmp/uptime.robot +++ b/tests/os/windows/snmp/uptime.robot @@ -25,7 +25,7 @@ uptime ${tc} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- diff --git a/tests/resources/__pycache__/connector.cpython-310.pyc b/tests/resources/__pycache__/connector.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d028f02e6efea33314d7882cebc5d02a413a1c2c GIT binary patch literal 7009 zcmZ`-TXP%7m7eaoU;qvwkfN@ZoblR}48;W3@#e-vNgPYEU2$kf(pno@HVmN$A~pYjV*wSQq=w^AuR<@S=WlGT3a3;+T&1=RG+ z^z`-gcfRv=NAvR~1HV^3|M^zyIm7s0dYS$e@bW!e@o$hQLy5Mrk>ACJ;CHzpahGj# z$J($&{>|R7m1sDx8_HDHCx){2WpzPaMC%KIh39AK zc`tvvq`stlep^)HmQlU@7;`b!t0F7h4<77BS~V$S`Zt;OI&uSpriy6_CDE0+iD~^x zw1l#hjSelfs0x9t+`v)Az{YS(Y7RpysFOS~ns7d`qFO-rOIhW$sM86WNu=Kj@9Bnq z&=gah)3e0&8m^dDM;WP6M|#WnOz^0?I%)=S{F%tCIB2&%Gqj6h2iI1&qMcwBmu`lE zUPZC(Ac8f&GB$*-3OUluZNv5sn@CNmzu8odl}tXd9hoRyS(5vr^o< zH(H9!ekbY%oy>aY&3CS6c2|d;q$)MRC@VChot;KU@gn6(k@8PAlTMu*KD5j{KE#Vi z&I(INT$H+h^Bn81{TC*~8KI_jOalkc95Lmn^SB0^W@e~b`Xmo333mcawMp|C|7ciq zxY)Wkfy2Z|1le>?4D3WIk&0i!)l(CxnaW=pj~udP|I3M)TIA%PUKlv3vu~l6t?VI{ zcDPP~>$p@$6(6}n)Vc%vTlnvp!sxg!8}T=GkxTy{>ZtqyJJ` zK%bKOyn|8-U;eGovGe<`*fo;Eo-uG!ci&ZW)CWCr|K20HUsUr$G0CMld@a4{B3`Jh`A8flCnCnC;nYjE9-s#y~#?x@81eKK;EW5 zS||U-P+jepUh+rlbG2_)*ZfR0`U}fHURmB*Syuk?8*9ryTwA`?w|pvGJSqMk-+U(uBdxQ32&-cB|csw=(Z$uS4xz*E-VGBD$Q$L;3@VW^j=S*Ll>l$;wwlzao&`sC$5MKPppS!d0w~=R`OHV9W`9Diq zqF+09sh--{(LZ3oi+-h_yQNZssc7l36E7j{e zk?OVS*{jz->NVQ=7fo6~lTGynB$)}X)+_Y-3MF5qgg`r$P%P0V5_*Vf*Gjj z=p|Bk_%?Ec!&0$_&@WR1R1TLxYCW=v$>(NR!@6d?e`a8(_P#lUi4!}8GJw&)KFV>FROS%ZIS5#R zsP~aiu@4$66Z$~-k4f5A3;9^d^|Rub3CMnl4!aOlB(>t*Fxk@Iq#}0QZHEc$&SX!P z%)DJP%qT+YuW%`%idd8HA2sDUG9~p>CpMe5%~%6JyV42uK~6j?8(>(1cj{wTW9+oKR-&IEM?&PwXG$Q3ULm*2$4BmXixV zy<;B*6GN8(>=ENMa(ywyIaTn@sdb9)qg@7ZGqFGoW1|gC?y$@@$Bl~Ic>`BWA1#c^ z6`tfek4Y^ueH=#J83jp#_lV2tOElJ$ahF;{3#!cQR-h%}ijO2aG8E+y3Ntm8yl?6k zl&OrinJY=k8v?DV4Y#(TF-b$&>j$TgjifcE6iqPG&maM6c)k;=g2LbGB_SNI8Fe3! zKk3Uy@!htg!m%LvIH>zV__Lx$^1CujAXnc#(5f_ zkz)<4)Y40-#e9ZfPl0`g&&=G2U^U`1bHr!X`oS42K6ZD#cH-wO1`dH#BpM^X3OhbT z;ARt-~Z>= z{hP1eS@Zkm+do))`~<&#;e+=+xV!uQmCWcDx!m<@Ykt+uN@0whb<*fG1Ewwg21Y;9 z!#e2d%xZ;@xl%)lV%rEuBwW#k>|<;Y+d-ofd|`ulo`{RT9fti8ef=vcv&I49@LvRb zxuPt}<|3@CKg8FA#Uma9B|L*hio0~Nt^a@r3JokJLkb9>`u7I3k(0oeHIzjAx=BP2 ziWhvhhGO3u8d46NK>@)4o54IJ+?OaRyDMaCc5;cfrE(xsPw@84NeilQ2JxD=f$mtU z@;31LOvsU{h?V>o9I3eN!l0NIv7tjAQ$m4)%pHUpHE97M$4!cAj^n&Xe({JY0|NM? z>2{TiwVpp1uu8pwm0^*~l9xQhzl=4Dbiy06t)O{-ua=5SB~$>fBwb0>dV#Il~GeK)~;0b4ODncK}f%Y zBon*(9PaB=tal6V2d)nnr(IpOlq>AJRN9HL=W1?c_NI<{-5j74VOf7`X1JU5`WzC- zLYXu(7md_e<&1SXy>P_M@hf&Rmno(mVh@)OH8XL~+nZ&~>=^1m4+X0xY)Wlo1wXq%GzlyDQI%kt>i zrl%cBI+R3|92Ze(Rfo9ZOGsRYq6NiLMgpE@knm?9p}h2`CP}XGk7O}Hjw$USRKN%X zL}O4(sfmq)y=e@b(YuY!!{-UYC(Z=rr{18D7D(9+TA!5IxPEc!y_KO#j1yy0XU0@lq$R~X# zAHi*))Ry`iOtIH~!HiFTq;^oU2_yq2FgfDK;qNkqhcuS?qX!;#ega3Wf` z(J74II0Ew9eJ7xUqP2eU1JI~{_r2PcV}buIz(r5c-!F_de3^)=i#d#09Pv5D>nNMq z6p*!M*I{f447sZhFH6-(<-0W%2l`T(`FE0bNca(;IjfUgzAaQMSJr4xT8zYk>Eghzu z7fZ;O56|PRA}m=(-Xd?E$XQFGB)#8WxTqhX35c8;ZhDOpGBi%aCmHzoHnP_9!wAVQ z<3bJkfC7By>eZ9_1hvA8@ohY1WgXp%l3Jr1*65&6b5vyBS*L;~CBy@KV3CVk+HK`q zA6_`#6p#dEy~H7fhdrffiA*$!{mlJ#elqeMu*!&^aGXI?hN6{F{%aN2ExOKGcd6nQ NOJ#Z16Y_LL{69PiYMTH6 literal 0 HcmV?d00001 diff --git a/tests/resources/resources.resource b/tests/resources/resources.resource index 117e2bf97..70116fef2 100644 --- a/tests/resources/resources.resource +++ b/tests/resources/resources.resource @@ -152,7 +152,7 @@ Ctn Run Command And Check Result As Strings [Arguments] ${command} ${expected_result} ${tc}=0 ${timeout}=${TIMEOUT} Remove File /tmp/connector.output Remove File /tmp/connector.command.log - IF "centreon_plugins.pl" in $command + IF $tc == 0 or "centreon_plugins.pl" in $command Ctn Run Command Without Connector And Check Result As Strings ${command} ${expected_result} ELSE Ctn Run Command With Connector And Check Result As Strings ${command} ${expected_result} ${tc} ${timeout} @@ -162,7 +162,7 @@ Ctn Run Command And Check Result As Regexp [Arguments] ${command} ${expected_result} ${tc}=0 ${timeout}=${TIMEOUT} Remove File /tmp/connector.output Remove File /tmp/connector.command.log - IF ${tc}==0 OR "centreon_plugins.pl" in ${command} + IF $tc == 0 or "centreon_plugins.pl" in $command Ctn Run Command Without Connector And Check Result As Regexp ${command} ${expected_result} ELSE Ctn Run Command With Connector And Check Result As Regexp ${command} ${expected_result} ${tc} ${timeout} diff --git a/tests/storage/datacore/restapi/alert-count.robot b/tests/storage/datacore/restapi/alert-count.robot index e02b6f7ab..a5ecedf3e 100644 --- a/tests/storage/datacore/restapi/alert-count.robot +++ b/tests/storage/datacore/restapi/alert-count.robot @@ -26,7 +26,7 @@ Datacore check alert count ${tc} ... --warning-warning=${warning-warning} ... --critical-warning=${critical-warning} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc warning-error critical-error warning-warning critical-warning expected_result -- ... 1 0 1 5 5 WARNING: number of error alerts : 1 | 'datacore.event.error.count'=1;0:0;0:1;0; 'datacore.alerts.warning.count'=1;0:5;0:5;0; 'datacore.alerts.info.count'=0;;;0; 'datacore.alerts.trace.count'=0;;;0; diff --git a/tests/storage/datacore/restapi/pool-usage.robot b/tests/storage/datacore/restapi/pool-usage.robot index 5e7da0696..df701a86a 100644 --- a/tests/storage/datacore/restapi/pool-usage.robot +++ b/tests/storage/datacore/restapi/pool-usage.robot @@ -27,7 +27,7 @@ Datacore check pool usage ${tc} ... --critical-bytesallocatedpercentage=${critical-bytesallocatedpercentage} ... --pool-id=B5C140F5-6B13-4CAD-AF9D-F7C4172B3A1D:{4dec1b5a-2577-11e5-80c3-00155d651622} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc warning-bytesallocatedpercentage critical-bytesallocatedpercentage warning-oversubscribed critical-oversubscribed expected_result -- ... 1 2 5 -1 3 CRITICAL: Bytes Allocated : 12 % WARNING: Over subscribed bytes : 0 | 'datacore.pool.bytesallocated.percentage'=12%;0:2;0:5;0;100 'datacore.pool.oversubscribed.bytes'=0bytes;0:-1;0:3;0; diff --git a/tests/storage/datacore/restapi/status-monitor.robot b/tests/storage/datacore/restapi/status-monitor.robot index 55ca94879..acbca29ca 100644 --- a/tests/storage/datacore/restapi/status-monitor.robot +++ b/tests/storage/datacore/restapi/status-monitor.robot @@ -23,7 +23,7 @@ Datacore check status monitor ${tc} ... --mode=status-monitor ... --statefile-dir=/dev/shm/ - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc expected_result -- ... 1 CRITICAL: 'State of HostVM2' status : 'Critical', message is 'Connected' diff --git a/tests/storage/emc/datadomain/snmp/alerts.robot b/tests/storage/emc/datadomain/snmp/alerts.robot index 555828d3c..6e9cac0ee 100644 --- a/tests/storage/emc/datadomain/snmp/alerts.robot +++ b/tests/storage/emc/datadomain/snmp/alerts.robot @@ -24,7 +24,7 @@ alerts ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --truly-alert='\\\%{severity} =~ /emergency|alert|warning|critical/i' OK: current alerts: 0 | 'alerts.current.count'=0;;;0; diff --git a/tests/storage/emc/datadomain/snmp/cleaning.robot b/tests/storage/emc/datadomain/snmp/cleaning.robot index 2625c3476..3d6c08a29 100644 --- a/tests/storage/emc/datadomain/snmp/cleaning.robot +++ b/tests/storage/emc/datadomain/snmp/cleaning.robot @@ -27,7 +27,7 @@ cleaning ${tc} # first run to build cache Run ${command} # second run to control the output - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extra_options snmp_community expected_result -- diff --git a/tests/storage/emc/datadomain/snmp/filesystems.robot b/tests/storage/emc/datadomain/snmp/filesystems.robot index b3e47315a..0d65af97d 100644 --- a/tests/storage/emc/datadomain/snmp/filesystems.robot +++ b/tests/storage/emc/datadomain/snmp/filesystems.robot @@ -24,7 +24,7 @@ filesystems ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: All filesystems are ok | 'filesystems.detected.count'=5;;;0; '/ddvar#filesystem.space.usage.bytes'=11274289152B;;;0;50036368998 '/ddvar#filesystem.space.free.bytes'=38762079846B;;;0;50036368998 '/ddvar#filesystem.space.usage.percentage'=22.53%;;;0;100 '/ddvar#filesystem.space.cleanable.bytes'=0B;;;0; '/ddvar/core#filesystem.space.usage.bytes'=107374182B;;;0;584867171532 '/ddvar/core#filesystem.space.free.bytes'=584759797350B;;;0;584867171532 '/ddvar/core#filesystem.space.usage.percentage'=0.02%;;;0;100 '/ddvar/core#filesystem.space.cleanable.bytes'=0B;;;0; 'Anonymized 056#filesystem.space.usage.bytes'=53328461430784B;;;0;90263462189465 'Anonymized 056#filesystem.space.free.bytes'=36935000758681B;;;0;90263462189465 'Anonymized 056#filesystem.space.usage.percentage'=59.08%;;;0;100 'Anonymized 056#filesystem.space.cleanable.bytes'=145169894604B;;;0; 'Anonymized 157#filesystem.space.usage.bytes'=533971809075B;;;0;755377373183 'Anonymized 157#filesystem.space.free.bytes'=221405564108B;;;0;755377373183 'Anonymized 157#filesystem.space.usage.percentage'=70.69%;;;0;100 'Anonymized 157#filesystem.space.cleanable.bytes'=0B;;;0; 'Anonymized 246#filesystem.space.usage.bytes'=988878746314342B;;;0;988878746314342 'Anonymized 246#filesystem.space.free.bytes'=0B;;;0;988878746314342 'Anonymized 246#filesystem.space.usage.percentage'=100.00%;;;0;100 'Anonymized 246#filesystem.space.cleanable.bytes'=0B;;;0; checking filesystem '/ddvar' space usage total: 46.60 GB used: 10.50 GB (22.53%) free: 36.10 GB (77.47%) space cleanable: 0.00B checking filesystem '/ddvar/core' space usage total: 544.70 GB used: 102.40 MB (0.02%) free: 544.60 GB (99.98%) space cleanable: 0.00B checking filesystem 'Anonymized 056' space usage total: 82.09 TB used: 48.50 TB (59.08%) free: 33.59 TB (40.92%) space cleanable: 135.20GB checking filesystem 'Anonymized 157' space usage total: 703.50 GB used: 497.30 GB (70.69%) free: 206.20 GB (29.31%) space cleanable: 0.00B checking filesystem 'Anonymized 246' space usage total: 899.38 TB used: 899.38 TB (100.00%) free: 0.00 B (0.00%) space cleanable: 0.00B diff --git a/tests/storage/emc/datadomain/snmp/hardware.robot b/tests/storage/emc/datadomain/snmp/hardware.robot index 4bc294304..a622155dc 100644 --- a/tests/storage/emc/datadomain/snmp/hardware.robot +++ b/tests/storage/emc/datadomain/snmp/hardware.robot @@ -24,7 +24,7 @@ Hardware ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose UNKNOWN: Disk '4.1' status is 'unknown' - Disk '4.2' status is 'unknown' - Disk '4.3' status is 'unknown' - Disk '4.4' status is 'unknown' - Disk '4.5' status is 'unknown' - Disk '4.6' status is 'unknown' - Disk '4.7' status is 'unknown' - Disk '4.8' status is 'unknown' - Disk '4.9' status is 'unknown' - Disk '4.10' status is 'unknown' - Disk '4.11' status is 'unknown' - Disk '4.12' status is 'unknown' - Disk '4.13' status is 'unknown' - Disk '4.14' status is 'unknown' - Disk '4.15' status is 'unknown' diff --git a/tests/storage/emc/datadomain/snmp/interfaces.robot b/tests/storage/emc/datadomain/snmp/interfaces.robot index d557ab5cd..1a6b6faea 100644 --- a/tests/storage/emc/datadomain/snmp/interfaces.robot +++ b/tests/storage/emc/datadomain/snmp/interfaces.robot @@ -24,7 +24,7 @@ interfaces ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: All interfaces are ok Interface 'lo' Status : up (admin: up) Interface 'Anonymized 012' Status : up (admin: up) Interface 'Anonymized 118' Status : down (admin: down) Interface 'Anonymized 073' Status : down (admin: down) Interface 'Anonymized 071' Status : up (admin: up) Interface 'Anonymized 073' Status : up (admin: up) Interface 'Anonymized 232' Status : up (admin: up) Interface 'Anonymized 191' Status : up (admin: up) Interface 'Anonymized 242' Status : up (admin: up) Interface 'Anonymized 175' Status : up (admin: up) Interface 'Anonymized 128' Status : up (admin: up) Interface 'Anonymized 037' Status : down (admin: down) Interface 'Anonymized 184' Status : down (admin: down) Interface 'Anonymized 252' Status : down (admin: down) Interface 'Anonymized 012' Status : down (admin: down) Interface 'Anonymized 232' Status : up (admin: up) Interface 'Anonymized 072' Status : up (admin: up) Interface 'Anonymized 037' Status : up (admin: up) diff --git a/tests/storage/emc/datadomain/snmp/list-filesystems.robot b/tests/storage/emc/datadomain/snmp/list-filesystems.robot index 7e552099e..3720b9e39 100644 --- a/tests/storage/emc/datadomain/snmp/list-filesystems.robot +++ b/tests/storage/emc/datadomain/snmp/list-filesystems.robot @@ -24,7 +24,7 @@ list-filesystems ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose List filesystems: [name = /ddvar][total = 50036368998][used = 11274289152] [name = /ddvar/core][total = 584867171532][used = 107374182] [name = Anonymized 056][total = 90263462189465][used = 53328461430784] [name = Anonymized 157][total = 755377373183][used = 533971809075] [name = Anonymized 246][total = 988878746314342][used = 988878746314342] diff --git a/tests/storage/emc/datadomain/snmp/list-mtrees.robot b/tests/storage/emc/datadomain/snmp/list-mtrees.robot index 9ef9030f5..646ac1917 100644 --- a/tests/storage/emc/datadomain/snmp/list-mtrees.robot +++ b/tests/storage/emc/datadomain/snmp/list-mtrees.robot @@ -24,7 +24,7 @@ list-mtrees ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose List MTrees: [name = /data/col1/SQL_prod_DTX][status = readOnly] [name = /data/col1/Veeam_StorageUnit_DTX][status = readOnly] [name = /data/col1/Veeam_StorageUnit_PA6][status = retentionLockEnabled] [name = /data/col1/backup][status = readWrite] [name = /data/col1/cofpr3ubkp01p][status = readWrite] diff --git a/tests/storage/emc/datadomain/snmp/list-replications.robot b/tests/storage/emc/datadomain/snmp/list-replications.robot index 31e760cb6..d1943f2d3 100644 --- a/tests/storage/emc/datadomain/snmp/list-replications.robot +++ b/tests/storage/emc/datadomain/snmp/list-replications.robot @@ -24,7 +24,7 @@ list-replications ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose List replications: [index = 1][type = 1][source = Anonymized 127][destination = Anonymized 057][state = normal][status = idle][initiator = 0] [index = 2][type = 2][source = Anonymized 224][destination = Anonymized 079][state = normal][status = idle][initiator = 0] [index = 3][type = 3][source = Anonymized 016][destination = Anonymized 146][state = normal][status = idle][initiator = 0] diff --git a/tests/storage/emc/datadomain/snmp/mtrees.robot b/tests/storage/emc/datadomain/snmp/mtrees.robot index 76a900db7..519d280ce 100644 --- a/tests/storage/emc/datadomain/snmp/mtrees.robot +++ b/tests/storage/emc/datadomain/snmp/mtrees.robot @@ -24,7 +24,7 @@ mtrees ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: All MTrees are ok | 'mtrees.detected.count'=5;;;0; '/data/col1/SQL_prod_DTX#mtree.precompression.space.usage.bytes'=71739590364364.8B;;;0; '/data/col1/SQL_prod_DTX#mtree.daily.precompression.data.written.bytes'=411672615321B;;;0; '/data/col1/SQL_prod_DTX#mtree.daily.postcompression.data.written.bytes'=4617089843B;;;0; '/data/col1/Veeam_StorageUnit_DTX#mtree.precompression.space.usage.bytes'=633367338103603B;;;0; '/data/col1/Veeam_StorageUnit_DTX#mtree.daily.precompression.data.written.bytes'=1781445060198B;;;0; '/data/col1/Veeam_StorageUnit_DTX#mtree.daily.postcompression.data.written.bytes'=261778256691B;;;0; '/data/col1/Veeam_StorageUnit_PA6#mtree.precompression.space.usage.bytes'=283773213710746B;;;0; '/data/col1/Veeam_StorageUnit_PA6#mtree.daily.precompression.data.written.bytes'=2615957205811B;;;0; '/data/col1/Veeam_StorageUnit_PA6#mtree.daily.postcompression.data.written.bytes'=252651451187B;;;0; '/data/col1/backup#mtree.precompression.space.usage.bytes'=0B;;;0; '/data/col1/backup#mtree.daily.precompression.data.written.bytes'=0B;;;0; '/data/col1/backup#mtree.daily.postcompression.data.written.bytes'=0B;;;0; '/data/col1/cofpr3ubkp01p#mtree.precompression.space.usage.bytes'=0B;;;0; '/data/col1/cofpr3ubkp01p#mtree.daily.precompression.data.written.bytes'=0B;;;0; '/data/col1/cofpr3ubkp01p#mtree.daily.postcompression.data.written.bytes'=0B;;;0; checking MTree '/data/col1/SQL_prod_DTX' status: readOnly space precompression used: 65.25 TB daily data written precompression: 383.40 GB, postcompression: 4.30 GB checking MTree '/data/col1/Veeam_StorageUnit_DTX' status: readOnly space precompression used: 576.04 TB daily data written precompression: 1.62 TB, postcompression: 243.80 GB checking MTree '/data/col1/Veeam_StorageUnit_PA6' status: retentionLockEnabled space precompression used: 258.09 TB daily data written precompression: 2.38 TB, postcompression: 235.30 GB checking MTree '/data/col1/backup' status: readWrite space precompression used: 0.00 B daily data written precompression: 0.00 B, postcompression: 0.00 B checking MTree '/data/col1/cofpr3ubkp01p' status: readWrite space precompression used: 0.00 B daily data written precompression: 0.00 B, postcompression: 0.00 B diff --git a/tests/storage/emc/datadomain/snmp/process.robot b/tests/storage/emc/datadomain/snmp/process.robot index b8010f506..af746fb32 100644 --- a/tests/storage/emc/datadomain/snmp/process.robot +++ b/tests/storage/emc/datadomain/snmp/process.robot @@ -24,7 +24,7 @@ process ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --verbose OK: NFS status: enabled - CIFS status: enabledRunning - DDBoost status: enabled - VTL process state: stopped [admin state: disabled] diff --git a/tests/storage/emc/datadomain/snmp/replications.robot b/tests/storage/emc/datadomain/snmp/replications.robot index e2506e157..2911ed3f8 100644 --- a/tests/storage/emc/datadomain/snmp/replications.robot +++ b/tests/storage/emc/datadomain/snmp/replications.robot @@ -24,7 +24,7 @@ replications ${tc} ... --snmp-timeout=1 ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --filter-counters='^status$' OK: All replications are ok diff --git a/tests/storage/netapp/ontap/restapi/aggregates.robot b/tests/storage/netapp/ontap/restapi/aggregates.robot index 396e5ef0a..79da63e86 100644 --- a/tests/storage/netapp/ontap/restapi/aggregates.robot +++ b/tests/storage/netapp/ontap/restapi/aggregates.robot @@ -28,7 +28,7 @@ Aggregates ${tc} ... ${CMD} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Aggregates 'aggregate1' state: online, space usage total: 9.46 GB used: 1.99 MB (0.02%) free: 9.46 GB (100.00%), read iops: 500, write iops: 200, other iops: 100, total iops: 1000, read latency: 500 µs, write latency: 200 µs, other latency: 100 µs, total latency: 1000 µs | 'aggregate1#aggregate.space.usage.bytes'=2088960B;;;0;10156769280 'aggregate1#aggregate.space.free.bytes'=10156560384B;;;0;10156769280 'aggregate1#aggregate.space.usage.percentage'=0.02%;;;0;100 'aggregate1#aggregate.io.read.usage.bytespersecond'=500B/s;;;; 'aggregate1#aggregate.io.write.usage.bytespersecond'=200B/s;;;0; 'aggregate1#aggregate.io.other.usage.bytespersecond'=100B/s;;;0; 'aggregate1#aggregate.io.total.usage.bytespersecond'=1000B/s;;;0; 'aggregate1#aggregate.io.read.usage.iops'=500iops;;;0; 'aggregate1#aggregate.io.write.usage.iops'=200iops;;;0; 'aggregate1#aggregate.io.other.usage.iops'=100iops;;;0; 'aggregate1#aggregate.io.total.usage.iops'=1000iops;;;0; 'aggregate1#aggregate.io.read.latency.microseconds'=500µs;;;0; 'aggregate1#aggregate.io.write.latency.microseconds'=200µs;;;0; 'aggregate1#aggregate.io.other.latency.microseconds'=100µs;;;0; 'aggregate1#aggregate.io.total.latency.microseconds'=1000µs;;;0; diff --git a/tests/storage/netapp/ontap/restapi/cluster.robot b/tests/storage/netapp/ontap/restapi/cluster.robot index 9a6bfe3be..095b609be 100644 --- a/tests/storage/netapp/ontap/restapi/cluster.robot +++ b/tests/storage/netapp/ontap/restapi/cluster.robot @@ -28,7 +28,7 @@ Cluster ${tc} ... ${CMD} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: cluster 'cluster1' read : Buffer creation, write : Buffer creation, other : Buffer creation, total : Buffer creation, read iops: 200, write iops: 100, other iops: 100, total iops: 1000, read latency: 200 ms, write latency: 100 ms, other latency: 100 ms, total latency: 1000 ms - node 'node-01' state: online [link status: string] | 'cluster1#cluster.io.read.usage.iops'=200iops;;;0; 'cluster1#cluster.io.write.usage.iops'=100iops;;;0; 'cluster1#cluster.io.other.usage.iops'=100iops;;;0; 'cluster1#cluster.io.total.usage.iops'=1000iops;;;0; 'cluster.io.read.latency.milliseconds'=200ms;;;0; 'cluster1#cluster.io.write.latency.milliseconds'=100ms;;;0; 'cluster.io.other.latency.milliseconds'=100ms;;;0; 'cluster1#cluster.io.total.latency.milliseconds'=1000ms;;;0; diff --git a/tests/storage/netapp/ontap/restapi/hardware.robot b/tests/storage/netapp/ontap/restapi/hardware.robot index 8efac3b10..bbd9c96af 100644 --- a/tests/storage/netapp/ontap/restapi/hardware.robot +++ b/tests/storage/netapp/ontap/restapi/hardware.robot @@ -28,7 +28,7 @@ Hardware ${tc} ... ${CMD} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All 4 components are ok [1/1 bays, 1/1 disks, 1/1 frus, 1/1 shelfs]. | 'hardware.bay.count'=1;;;; 'hardware.disk.count'=1;;;; 'hardware.fru.count'=1;;;; 'hardware.shelf.count'=1;;;; diff --git a/tests/storage/netapp/ontap/restapi/luns.robot b/tests/storage/netapp/ontap/restapi/luns.robot index dda539c27..c7b743155 100644 --- a/tests/storage/netapp/ontap/restapi/luns.robot +++ b/tests/storage/netapp/ontap/restapi/luns.robot @@ -28,7 +28,7 @@ Luns ${tc} ... ${CMD} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Lun '/vol/volume1/qtree1/lun1' state: online [container state: string] diff --git a/tests/storage/netapp/ontap/restapi/quotas.robot b/tests/storage/netapp/ontap/restapi/quotas.robot index 3d8bfe2a7..08338f65e 100644 --- a/tests/storage/netapp/ontap/restapi/quotas.robot +++ b/tests/storage/netapp/ontap/restapi/quotas.robot @@ -28,7 +28,7 @@ Quotas ${tc} ... ${CMD} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Quota 'vserver:svm1,volume:volume1,qtree:qt1' total: 100.00 B used: 50.00 B (50.00%) free: 50.00 B (50.00%) | 'vserver:svm1~volume:volume1~qtree:qt1#quota.space.usage.bytes'=50B;0:90;;0;100 'vserver:svm1~volume:volume1~qtree:qt1#quota.space.free.bytes'=50B;;;0;100 'vserver:svm1~volume:volume1~qtree:qt1#quota.space.usage.percentage'=50.00%;;;0;100 diff --git a/tests/storage/netapp/ontap/restapi/snapmirrors.robot b/tests/storage/netapp/ontap/restapi/snapmirrors.robot index a5a745327..80dab3cfe 100644 --- a/tests/storage/netapp/ontap/restapi/snapmirrors.robot +++ b/tests/storage/netapp/ontap/restapi/snapmirrors.robot @@ -28,7 +28,7 @@ Snapmirrors ${tc} ... ${CMD} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 --critical-status='' OK: Snapmirror 'svm1:volume1-svm1:volume1' healthy: false [state: snapmirrored] [transfer state: string] diff --git a/tests/storage/netapp/ontap/restapi/volumes.robot b/tests/storage/netapp/ontap/restapi/volumes.robot index 1a231af61..c7d2722d5 100644 --- a/tests/storage/netapp/ontap/restapi/volumes.robot +++ b/tests/storage/netapp/ontap/restapi/volumes.robot @@ -28,7 +28,7 @@ Volumes ${tc} ... ${CMD} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Volume 'svm1:volume1' state: online, space usage total: 4.00 TB used: 2.82 TB (90.42%) free: 392.42 GB (9.58%), logical-usage : skipped (no value(s)), logical-usage-free : skipped (no value(s)), logical-usage-prct : skipped (no value(s)), read iops: 200, write iops: 100, other iops: 100, total iops: 1000, read latency: 0.2 ms, write latency: 0.1 ms, other latency: 0.1 ms, total latency: 1 ms | 'svm1:volume1#volume.space.usage.bytes'=3097083330560B;;;0;4398046511104 'svm1:volume1#volume.space.free.bytes'=421353881600B;;;0;4398046511104 'svm1:volume1#volume.space.usage.percentage'=90.42%;;;0;100 'svm1:volume1#volume.io.read.usage.bytespersecond'=200B/s;;;; 'svm1:volume1#volume.io.write.usage.bytespersecond'=100B/s;;;0; 'svm1:volume1#volume.io.other.usage.bytespersecond'=100B/s;;;0; 'svm1:volume1#volume.io.total.usage.bytespersecond'=1000B/s;;;0; 'svm1:volume1#volume.io.read.usage.iops'=200iops;;;0; 'svm1:volume1#volume.io.write.usage.iops'=100iops;;;0; 'svm1:volume1#volume.io.other.usage.iops'=100iops;;;0; 'svm1:volume1#volume.io.total.usage.iops'=1000iops;;;0; 'svm1:volume1#volume.io.read.latency.milliseconds'=0.2ms;;;0; 'svm1:volume1#volume.io.write.latency.milliseconds'=0.1ms;;;0; 'svm1:volume1#volume.io.other.latency.milliseconds'=0.1ms;;;0; 'svm1:volume1#volume.io.total.latency.milliseconds'=1ms;;;0; diff --git a/tests/storage/purestorage/flasharray/v2/restapi/array.robot b/tests/storage/purestorage/flasharray/v2/restapi/array.robot index 9907bfa1d..ae36be65e 100644 --- a/tests/storage/purestorage/flasharray/v2/restapi/array.robot +++ b/tests/storage/purestorage/flasharray/v2/restapi/array.robot @@ -25,7 +25,7 @@ arrays ${tc} ${command} Catenate ... ${CMD} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: Array 'array-1' space usage total: 10.00 TB used: 0.00 B (0.00%) free: 10.00 TB (100.00%) - data reduction: 0.000 - read bytes: 94.48 KB/s, bytes read: 0.00 B, read: 6/s, service usec read operation: 169 µs, usec per read operation: 171 µs, queue usec per read operation: 2 µs, write bytes: 44.68 KB/s, bytes write: 0.00 B, write: 2/s, service usec read operation: 188 µs, usec per write operation: 190 µs, queue usec per write operation: 2 µs | 'array-1#array.space.usage.bytes'=0B;;;0;10995116277760 'array-1#array.space.free.bytes'=10995116277760B;;;0;10995116277760 'array-1#array.space.usage.percentage'=0.00%;;;0;100 'array-1#array.data.reduction.count'=0.000;;;0; 'array-1~5m#array.io.read.usage.bytespersecond'=96748B/s;;;0; 'array-1~5m#array.io.read.usage.bytesperread'=0B;;;0; 'array-1~5m#array.io.read.usage.readspersec'=6/s;;;0; 'array-1~5m#array.io.read.usage.serviceusecperreadop'=169B;;;0; 'array-1~5m#array.io.read.usage.usecperreadop'=171B;;;0; 'array-1~5m#array.io.read.usage.queueusecperreadop'=2B;;;0; 'array-1~5m#array.io.write.usage.bytespersecond'=45754B/s;;;0; 'array-1~5m#array.io.write.usage.bytesperwrite'=0B;;;0; 'array-1~5m#array.io.write.usage.writespersec'=2/s;;;0; 'array-1~5m#array.io.write.usage.serviceusecwriteop'=188B;;;0; 'array-1~5m#array.io.write.usage.usecperwriteop'=190B;;;0; 'array-1~5m#array.io.write.usage.queueusecperwriteop'=2B;;;0; diff --git a/tests/storage/qnap/snmp/hardware.robot b/tests/storage/qnap/snmp/hardware.robot index 35d94b93d..16348a77c 100644 --- a/tests/storage/qnap/snmp/hardware.robot +++ b/tests/storage/qnap/snmp/hardware.robot @@ -22,7 +22,7 @@ Hardware ${tc} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} CRITICAL: Raid 'Anonymized 241' status is Anonymized 197. UNKNOWN: Disk '7' - 'Anonymized 109' [Anonymized 058] status is Anonymized 095. - Disk '8' - 'Anonymized 206' [Anonymized 133] status is Anonymized 113. - Disk '9' - 'Anonymized 217' [Anonymized 072] status is Anonymized 004. - Disk '10' - 'Anonymized 174' [Anonymized 195] status is Anonymized 169. - Disk '11' - 'Anonymized 201' [Anonymized 184] status is Anonymized 133. - Disk '12' - 'Anonymized 181' [Anonymized 221] status is Anonymized 161. | '1#hardware.disk.temperature.celsius'=24C;;;; '2#hardware.disk.temperature.celsius'=24C;;;; '3#hardware.disk.temperature.celsius'=24C;;;; '4#hardware.disk.temperature.celsius'=24C;;;; '5#hardware.disk.temperature.celsius'=24C;;;; '6#hardware.disk.temperature.celsius'=24C;;;; '1#hardware.fan.speed.rpm'=6286rpm;;;0; '2#hardware.fan.speed.rpm'=6143rpm;;;0; '3#hardware.fan.speed.rpm'=6196rpm;;;0; '1#hardware.powersupply.fan.speed.rpm'=2040rpm;;;0; '1#hardware.powersupply.temperature.celsius'=27C;;;; '2#hardware.powersupply.fan.speed.rpm'=1980rpm;;;0; '2#hardware.powersupply.temperature.celsius'=28C;;;; '3#hardware.powersupply.fan.speed.rpm'=0rpm;;;0; '3#hardware.powersupply.temperature.celsius'=0C;;;; '4#hardware.powersupply.fan.speed.rpm'=0rpm;;;0; '4#hardware.powersupply.temperature.celsius'=0C;;;; 'hardware.disk.count'=6;;;; 'hardware.fan.count'=3;;;; 'hardware.psu.count'=4;;;; 'hardware.raid.count'=1;;;; diff --git a/tests/storage/qnap/snmp/pools.robot b/tests/storage/qnap/snmp/pools.robot index 4935e9265..c31cda517 100644 --- a/tests/storage/qnap/snmp/pools.robot +++ b/tests/storage/qnap/snmp/pools.robot @@ -22,7 +22,7 @@ Pools ${tc} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: pool '1' status: ready diff --git a/tests/storage/qnap/snmp/volumes.robot b/tests/storage/qnap/snmp/volumes.robot index 3bc87301e..16dc4d795 100644 --- a/tests/storage/qnap/snmp/volumes.robot +++ b/tests/storage/qnap/snmp/volumes.robot @@ -22,7 +22,7 @@ volumes ${tc} ... ${extra_options} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} OK: All volumes are ok diff --git a/tests/storage/synology/snmp/Components.robot b/tests/storage/synology/snmp/Components.robot index 70125d143..b9e514680 100644 --- a/tests/storage/synology/snmp/Components.robot +++ b/tests/storage/synology/snmp/Components.robot @@ -20,7 +20,7 @@ Components ${tc} ... --snmp-port=${SNMPPORT} ... --snmp-community=${snmpcommunity} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc snmpcommunity expected_result -- ... 1 storage/synology/snmp/synology-disk-ok OK: All 8 components are ok [2/2 disk, 2/2 fan, 1/1 psu, 2/2 raid, 1/1 system]. | 'Disk 1#hardware.disk.bad_sectors.count'=0;;;0; 'Disk 2#hardware.disk.bad_sectors.count'=0;;;0; 'hardware.disk.count'=2;;;; 'hardware.fan.count'=2;;;; 'hardware.psu.count'=1;;;; 'hardware.raid.count'=2;;;; 'hardware.system.count'=1;;;; diff --git a/tests/storage/synology/snmp/Uptime.robot b/tests/storage/synology/snmp/Uptime.robot index f6857a033..5c7b8d363 100644 --- a/tests/storage/synology/snmp/Uptime.robot +++ b/tests/storage/synology/snmp/Uptime.robot @@ -22,7 +22,7 @@ Uptime ${tc} ... --warning-uptime=${warning} ... --critical-uptime=${critical} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc warning critical expected_result -- ... 1 ${Empty} ${Empty} OK: System uptime is: 46m 5s | 'uptime'=2765.00s;;;0; diff --git a/tests/storage/wd/nas/snmp/hardware.robot b/tests/storage/wd/nas/snmp/hardware.robot index cd9e5f2bd..985f5d683 100644 --- a/tests/storage/wd/nas/snmp/hardware.robot +++ b/tests/storage/wd/nas/snmp/hardware.robot @@ -21,7 +21,7 @@ Hardware${tc} ... --snmp-community=storage/wd/nas/snmp/nas-wd ... ${extra_option} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_option expected_result -- ... 1 --warning-fan-status='\\\%{status} =~ "running"' WARNING: fan '0' status: running | 'system#hardware.temperature.celsius'=34C;;;; 'drive:WD-WCC130163701#hardware.temperature.celsius'=40C;;;; 'drive:WD-WCC4E0HRX2TN#hardware.temperature.celsius'=36C;;;; 'drive:WD-WCC4E6KA8V1T#hardware.temperature.celsius'=37C;;;; 'drive:WD-WCC4E7ZHA6A7#hardware.temperature.celsius'=36C;;;; diff --git a/tests/storage/wd/nas/snmp/listvolumes.robot b/tests/storage/wd/nas/snmp/listvolumes.robot index d51dbdb4e..70807d769 100644 --- a/tests/storage/wd/nas/snmp/listvolumes.robot +++ b/tests/storage/wd/nas/snmp/listvolumes.robot @@ -21,7 +21,7 @@ listvolumes${tc} ... --snmp-community=storage/wd/nas/snmp/nas-wd ... ${extra_option} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_option expected_result -- ... 1 --snmp-tls-their-identity List volumes: [name: Volume_1] [type: ext4] diff --git a/tests/storage/wd/nas/snmp/volumes.robot b/tests/storage/wd/nas/snmp/volumes.robot index 890b0b90f..1a4c7050f 100644 --- a/tests/storage/wd/nas/snmp/volumes.robot +++ b/tests/storage/wd/nas/snmp/volumes.robot @@ -21,7 +21,7 @@ Volumes${tc} ... --snmp-community=storage/wd/nas/snmp/nas-wd ... ${extra_option} - Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc} Examples: tc extra_option expected_result -- ... 1 --filter-name OK: volume 'Volume_1' space usage total: 7.20 TB used: 5.30 TB (73.61%) free: 1.90 TB (26.39%) | 'Volume_1#volume.space.usage.bytes'=5827411627212B;;;0;7916483719987.2 'Volume_1#volume.space.free.bytes'=2089072092774B;;;0;7916483719987.2 'Volume_1#volume.space.usage.percentage'=73.61%;;;0;100