0% found this document useful (0 votes)
10 views22 pages

15 1 10 2

Uploaded by

ravada deepikia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views22 pages

15 1 10 2

Uploaded by

ravada deepikia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 22

[root@f5ite ~/testcaseRoot/default/management/tmsh/ltm/scf/sshd]$

./scf_sshd_logging_functionality_10106.py
08:38:28|
#@Author: prasath
#@Owner: Alamelu
#@Email: a.ravichandran@f5.com
#@Description: Verify that user is able to modify log-level in sshd
#@ID: 10106

08:38:28|
08:38:28| Harness INFO:
08:38:28| Harness Type: OneArmed
08:38:28| DUT INFO:
08:38:28| DUT #1: 10.144.128.210
08:38:28| Version: 15.1.10.2
08:38:28| Build: 0.0.2
08:38:29| Project:
08:38:29| Platform: Z100
08:38:29|
08:38:29|
08:38:29| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:38:29| Reading driver file:
08:38:29|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
scf_save_config.yaml.parsed
08:38:29| TEST: Create back up of existing configuration
08:38:29|
------------------------------------------------------------------
08:38:29| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:38:33| Attempting to acquire TMSH prompt...
08:38:34| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:38:35| ______________________ Starting subtest: 1
______________________
08:38:35| (NOTES): 'Saving config file to pretest.scf'
08:38:35| Running post-TMSH command:
08:38:35| 'tmsh save sys config file pretest.scf no-passphrase'
08:38:41| PASS:
08:38:41| Actual RC (0) equals expected RC (0) for cmd:
08:38:41| 'tmsh save sys config file pretest.scf no-passphrase'
08:38:41| -- End subtest: 1 --
08:38:41|
08:38:41| Running 'quit' from TMSH.
08:38:42| Logging out of the shell.
08:38:42|
------------------------------------------------------------------
08:38:42| Final Results
08:38:42| For these drivers:
08:38:42| /root/support/yaml/tmshrunner/ltm/scf_save_config.yaml
08:38:42|
------------------------------------------------------------------
08:38:42| PASSED: scf_save_config.yaml drivers.
08:38:42|
==================================================================
08:38:42|
08:38:42|
08:38:42| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:38:42| Reading driver file:
08:38:42|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
test_scf_sshd_log_level.yaml.parsed
08:38:42| TEST: Verify sshd log-level with debug
08:38:42|
------------------------------------------------------------------
08:38:42| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:38:47| Attempting to acquire TMSH prompt...
08:38:48| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:38:48| ______________________ Starting subtest: 1
______________________
08:38:48| (NOTES): 'Modify log-level in sshd property'
08:38:48| -- End subtest: 1 --
08:38:48|
08:38:48| ______________________ Starting subtest: 2
______________________
08:38:48| (NOTES): 'Modify log-level in sshd property'
08:38:49| (TMSH_CMD) Sending command:
| '/sys sshd'
08:38:49| PASS
08:38:49| -- End subtest: 2 --
08:38:49|
08:38:49| ______________________ Starting subtest: 3
______________________
08:38:49| (NOTES): 'Modify log-level to debug'
08:38:49| -- End subtest: 3 --
08:38:49|
08:38:49| ______________________ Starting subtest: 4
______________________
08:38:49| (NOTES): 'Modify log-level to debug'
08:38:49| (TMSH_CMD) Sending command:
| 'modify log-level debug'
08:38:50| PASS
08:38:50| -- End subtest: 4 --
08:38:50|
08:38:50| ______________________ Starting subtest: 5
______________________
08:38:50| (NOTES): 'Modify log-level to debug'
08:38:50| (TMSH_CMD) Sending command:
| 'list log-level'
08:38:50| (EXP_AND) FOUND desired text:
| log-level\s+debug
08:38:50| PASS
08:38:50| -- End subtest: 5 --
08:38:50|
08:38:50| ______________________ Starting subtest: 6
______________________
08:38:50| (NOTES): 'Save config after modifications'
08:38:50| -- End subtest: 6 --
08:38:50|
08:38:50| ______________________ Starting subtest: 7
______________________
08:38:50| (NOTES): 'Save config after modifications'
08:38:50| (TMSH_CMD) Sending command:
| 'save /sys config'
08:38:55| (EXP_NOT) Successfully did NOT find:
| [D|d]ata [I|i]nput [E|e]rror
| [C|c]onfiguration [E|e]rror
| [U|u]nexpected [E|e]rror
| [S|s]yntax [E|e]rror
08:38:55| (EXP_AND) FOUND desired text:
| [s|S]aving\s+running\s+configuration
08:38:55| PASS
08:38:55| -- End subtest: 7 --
08:38:55|
08:38:55| ______________________ Starting subtest: 8
______________________
08:38:55| (NOTES): 'Verify bigip_base.conf is updated'
08:38:55| -- End subtest: 8 --
08:38:55|
08:38:55| ______________________ Starting subtest: 9
______________________
08:38:55| (NOTES): 'Verify bigip_base.conf is updated'
08:38:55| Running post-TMSH command:
08:38:55| 'if [ debug != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level debug"; fi'
08:38:55| PASS:
08:38:55| Actual RC (0) equals expected RC (0) for cmd:
08:38:55| 'if [ debug != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level debug"; fi'
08:38:55| -- End subtest: 9 --
08:38:55|
08:38:55| ______________________ Starting subtest: 10
______________________
08:38:55| (NOTES): 'Verify bigip_base.conf is updated'
08:38:55| Running post-TMSH command:
08:38:55| 'if [ debug == 'info' ]; then grep -vi "log-level debug"
/config/bigip_base.conf; fi'
08:38:55| PASS:
08:38:55| Actual RC (0) equals expected RC (0) for cmd:
08:38:55| 'if [ debug == 'info' ]; then grep -vi "log-level debug"
/config/bigip_base.conf; fi'
08:38:55| -- End subtest: 10 --
08:38:55|
08:38:55| ______________________ Starting subtest: 11
______________________
08:38:55| (NOTES): 'Verify sshd_config file is updated'
08:38:55| -- End subtest: 11 --
08:38:55|
08:38:55| ______________________ Starting subtest: 12
______________________
08:38:55| (NOTES): 'Verify sshd_config file is updated'
08:38:55| Running post-TMSH command:
08:38:55| 'grep -ic "loglevel debug" /var/run/config/sshd_config | grep 1'
08:38:55| PASS:
08:38:55| Actual RC (0) equals expected RC (0) for cmd:
08:38:55| 'grep -ic "loglevel debug" /var/run/config/sshd_config | grep 1'
08:38:55| -- End subtest: 12 --
08:38:55|
08:38:56| Running 'quit' from TMSH.
08:38:56| Logging out of the shell.
08:38:57|
------------------------------------------------------------------
08:38:57| Final Results
08:38:57| For these drivers:
08:38:57| test_scf_sshd_log_level.yaml
08:38:57|
------------------------------------------------------------------
08:38:57| PASSED: test_scf_sshd_log_level.yaml drivers.
08:38:57|
==================================================================
08:38:57|
08:38:57|
08:38:57| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:38:57| Reading driver file:
08:38:57|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
test_scf_sshd_log_level.yaml.parsed
08:38:57| TEST: Verify sshd log-level with debug1
08:38:57|
------------------------------------------------------------------
08:38:57| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:39:01| Attempting to acquire TMSH prompt...
08:39:02| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:39:03| ______________________ Starting subtest: 1
______________________
08:39:03| (NOTES): 'Modify log-level in sshd property'
08:39:03| -- End subtest: 1 --
08:39:03|
08:39:03| ______________________ Starting subtest: 2
______________________
08:39:03| (NOTES): 'Modify log-level in sshd property'
08:39:03| (TMSH_CMD) Sending command:
| '/sys sshd'
08:39:03| PASS
08:39:03| -- End subtest: 2 --
08:39:03|
08:39:03| ______________________ Starting subtest: 3
______________________
08:39:03| (NOTES): 'Modify log-level to debug1'
08:39:03| -- End subtest: 3 --
08:39:03|
08:39:03| ______________________ Starting subtest: 4
______________________
08:39:03| (NOTES): 'Modify log-level to debug1'
08:39:04| (TMSH_CMD) Sending command:
| 'modify log-level debug1'
08:39:04| PASS
08:39:04| -- End subtest: 4 --
08:39:04|
08:39:04| ______________________ Starting subtest: 5
______________________
08:39:04| (NOTES): 'Modify log-level to debug1'
08:39:04| (TMSH_CMD) Sending command:
| 'list log-level'
08:39:05| (EXP_AND) FOUND desired text:
| log-level\s+debug1
08:39:05| PASS
08:39:05| -- End subtest: 5 --
08:39:05|
08:39:05| ______________________ Starting subtest: 6
______________________
08:39:05| (NOTES): 'Save config after modifications'
08:39:05| -- End subtest: 6 --
08:39:05|
08:39:05| ______________________ Starting subtest: 7
______________________
08:39:05| (NOTES): 'Save config after modifications'
08:39:05| (TMSH_CMD) Sending command:
| 'save /sys config'
08:39:10| (EXP_NOT) Successfully did NOT find:
| [D|d]ata [I|i]nput [E|e]rror
| [C|c]onfiguration [E|e]rror
| [U|u]nexpected [E|e]rror
| [S|s]yntax [E|e]rror
08:39:10| (EXP_AND) FOUND desired text:
| [s|S]aving\s+running\s+configuration
08:39:10| PASS
08:39:10| -- End subtest: 7 --
08:39:10|
08:39:10| ______________________ Starting subtest: 8
______________________
08:39:10| (NOTES): 'Verify bigip_base.conf is updated'
08:39:10| -- End subtest: 8 --
08:39:10|
08:39:10| ______________________ Starting subtest: 9
______________________
08:39:10| (NOTES): 'Verify bigip_base.conf is updated'
08:39:10| Running post-TMSH command:
08:39:10| 'if [ debug1 != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level debug1"; fi'
08:39:10| PASS:
08:39:10| Actual RC (0) equals expected RC (0) for cmd:
08:39:10| 'if [ debug1 != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level debug1"; fi'
08:39:10| -- End subtest: 9 --
08:39:10|
08:39:10| ______________________ Starting subtest: 10
______________________
08:39:10| (NOTES): 'Verify bigip_base.conf is updated'
08:39:10| Running post-TMSH command:
08:39:10| 'if [ debug1 == 'info' ]; then grep -vi "log-level debug1"
/config/bigip_base.conf; fi'
08:39:10| PASS:
08:39:10| Actual RC (0) equals expected RC (0) for cmd:
08:39:10| 'if [ debug1 == 'info' ]; then grep -vi "log-level debug1"
/config/bigip_base.conf; fi'
08:39:10| -- End subtest: 10 --
08:39:10|
08:39:10| ______________________ Starting subtest: 11
______________________
08:39:10| (NOTES): 'Verify sshd_config file is updated'
08:39:10| -- End subtest: 11 --
08:39:10|
08:39:10| ______________________ Starting subtest: 12
______________________
08:39:10| (NOTES): 'Verify sshd_config file is updated'
08:39:10| Running post-TMSH command:
08:39:10| 'grep -ic "loglevel debug1" /var/run/config/sshd_config | grep
1'
08:39:10| PASS:
08:39:10| Actual RC (0) equals expected RC (0) for cmd:
08:39:10| 'grep -ic "loglevel debug1" /var/run/config/sshd_config | grep
1'
08:39:10| -- End subtest: 12 --
08:39:10|
08:39:10| Running 'quit' from TMSH.
08:39:11| Logging out of the shell.
08:39:11|
------------------------------------------------------------------
08:39:11| Final Results
08:39:11| For these drivers:
08:39:11| test_scf_sshd_log_level.yaml
08:39:11|
------------------------------------------------------------------
08:39:11| PASSED: test_scf_sshd_log_level.yaml drivers.
08:39:11|
==================================================================
08:39:11|
08:39:11|
08:39:11| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:39:11| Reading driver file:
08:39:11|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
test_scf_sshd_log_level.yaml.parsed
08:39:11| TEST: Verify sshd log-level with debug2
08:39:11|
------------------------------------------------------------------
08:39:11| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:39:16| Attempting to acquire TMSH prompt...
08:39:17| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:39:18| ______________________ Starting subtest: 1
______________________
08:39:18| (NOTES): 'Modify log-level in sshd property'
08:39:18| -- End subtest: 1 --
08:39:18|
08:39:18| ______________________ Starting subtest: 2
______________________
08:39:18| (NOTES): 'Modify log-level in sshd property'
08:39:18| (TMSH_CMD) Sending command:
| '/sys sshd'
08:39:18| PASS
08:39:18| -- End subtest: 2 --
08:39:18|
08:39:18| ______________________ Starting subtest: 3
______________________
08:39:18| (NOTES): 'Modify log-level to debug2'
08:39:18| -- End subtest: 3 --
08:39:18|
08:39:18| ______________________ Starting subtest: 4
______________________
08:39:18| (NOTES): 'Modify log-level to debug2'
08:39:18| (TMSH_CMD) Sending command:
| 'modify log-level debug2'
08:39:19| PASS
08:39:19| -- End subtest: 4 --
08:39:19|
08:39:19| ______________________ Starting subtest: 5
______________________
08:39:19| (NOTES): 'Modify log-level to debug2'
08:39:19| (TMSH_CMD) Sending command:
| 'list log-level'
08:39:19| (EXP_AND) FOUND desired text:
| log-level\s+debug2
08:39:19| PASS
08:39:19| -- End subtest: 5 --
08:39:19|
08:39:19| ______________________ Starting subtest: 6
______________________
08:39:19| (NOTES): 'Save config after modifications'
08:39:19| -- End subtest: 6 --
08:39:19|
08:39:19| ______________________ Starting subtest: 7
______________________
08:39:19| (NOTES): 'Save config after modifications'
08:39:20| (TMSH_CMD) Sending command:
| 'save /sys config'
08:39:24| (EXP_NOT) Successfully did NOT find:
| [D|d]ata [I|i]nput [E|e]rror
| [C|c]onfiguration [E|e]rror
| [U|u]nexpected [E|e]rror
| [S|s]yntax [E|e]rror
08:39:24| (EXP_AND) FOUND desired text:
| [s|S]aving\s+running\s+configuration
08:39:24| PASS
08:39:24| -- End subtest: 7 --
08:39:24|
08:39:24| ______________________ Starting subtest: 8
______________________
08:39:24| (NOTES): 'Verify bigip_base.conf is updated'
08:39:24| -- End subtest: 8 --
08:39:24|
08:39:24| ______________________ Starting subtest: 9
______________________
08:39:24| (NOTES): 'Verify bigip_base.conf is updated'
08:39:24| Running post-TMSH command:
08:39:24| 'if [ debug2 != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level debug2"; fi'
08:39:24| PASS:
08:39:24| Actual RC (0) equals expected RC (0) for cmd:
08:39:24| 'if [ debug2 != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level debug2"; fi'
08:39:24| -- End subtest: 9 --
08:39:24|
08:39:24| ______________________ Starting subtest: 10
______________________
08:39:24| (NOTES): 'Verify bigip_base.conf is updated'
08:39:24| Running post-TMSH command:
08:39:24| 'if [ debug2 == 'info' ]; then grep -vi "log-level debug2"
/config/bigip_base.conf; fi'
08:39:24| PASS:
08:39:24| Actual RC (0) equals expected RC (0) for cmd:
08:39:24| 'if [ debug2 == 'info' ]; then grep -vi "log-level debug2"
/config/bigip_base.conf; fi'
08:39:24| -- End subtest: 10 --
08:39:24|
08:39:24| ______________________ Starting subtest: 11
______________________
08:39:24| (NOTES): 'Verify sshd_config file is updated'
08:39:24| -- End subtest: 11 --
08:39:24|
08:39:24| ______________________ Starting subtest: 12
______________________
08:39:24| (NOTES): 'Verify sshd_config file is updated'
08:39:24| Running post-TMSH command:
08:39:24| 'grep -ic "loglevel debug2" /var/run/config/sshd_config | grep
1'
08:39:24| PASS:
08:39:24| Actual RC (0) equals expected RC (0) for cmd:
08:39:24| 'grep -ic "loglevel debug2" /var/run/config/sshd_config | grep
1'
08:39:24| -- End subtest: 12 --
08:39:24|
08:39:25| Running 'quit' from TMSH.
08:39:25| Logging out of the shell.
08:39:26|
------------------------------------------------------------------
08:39:26| Final Results
08:39:26| For these drivers:
08:39:26| test_scf_sshd_log_level.yaml
08:39:26|
------------------------------------------------------------------
08:39:26| PASSED: test_scf_sshd_log_level.yaml drivers.
08:39:26|
==================================================================
08:39:26|
08:39:26|
08:39:26| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:39:26| Reading driver file:
08:39:26|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
test_scf_sshd_log_level.yaml.parsed
08:39:26| TEST: Verify sshd log-level with debug3
08:39:26|
------------------------------------------------------------------
08:39:26| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:39:30| Attempting to acquire TMSH prompt...
08:39:32| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:39:32| ______________________ Starting subtest: 1
______________________
08:39:32| (NOTES): 'Modify log-level in sshd property'
08:39:32| -- End subtest: 1 --
08:39:32|
08:39:32| ______________________ Starting subtest: 2
______________________
08:39:32| (NOTES): 'Modify log-level in sshd property'
08:39:32| (TMSH_CMD) Sending command:
| '/sys sshd'
08:39:33| PASS
08:39:33| -- End subtest: 2 --
08:39:33|
08:39:33| ______________________ Starting subtest: 3
______________________
08:39:33| (NOTES): 'Modify log-level to debug3'
08:39:33| -- End subtest: 3 --
08:39:33|
08:39:33| ______________________ Starting subtest: 4
______________________
08:39:33| (NOTES): 'Modify log-level to debug3'
08:39:33| (TMSH_CMD) Sending command:
| 'modify log-level debug3'
08:39:33| PASS
08:39:33| -- End subtest: 4 --
08:39:33|
08:39:33| ______________________ Starting subtest: 5
______________________
08:39:33| (NOTES): 'Modify log-level to debug3'
08:39:34| (TMSH_CMD) Sending command:
| 'list log-level'
08:39:34| (EXP_AND) FOUND desired text:
| log-level\s+debug3
08:39:34| PASS
08:39:34| -- End subtest: 5 --
08:39:34|
08:39:34| ______________________ Starting subtest: 6
______________________
08:39:34| (NOTES): 'Save config after modifications'
08:39:34| -- End subtest: 6 --
08:39:34|
08:39:34| ______________________ Starting subtest: 7
______________________
08:39:34| (NOTES): 'Save config after modifications'
08:39:34| (TMSH_CMD) Sending command:
| 'save /sys config'
08:39:39| (EXP_NOT) Successfully did NOT find:
| [D|d]ata [I|i]nput [E|e]rror
| [C|c]onfiguration [E|e]rror
| [U|u]nexpected [E|e]rror
| [S|s]yntax [E|e]rror
08:39:39| (EXP_AND) FOUND desired text:
| [s|S]aving\s+running\s+configuration
08:39:39| PASS
08:39:39| -- End subtest: 7 --
08:39:39|
08:39:39| ______________________ Starting subtest: 8
______________________
08:39:39| (NOTES): 'Verify bigip_base.conf is updated'
08:39:39| -- End subtest: 8 --
08:39:39|
08:39:39| ______________________ Starting subtest: 9
______________________
08:39:39| (NOTES): 'Verify bigip_base.conf is updated'
08:39:39| Running post-TMSH command:
08:39:39| 'if [ debug3 != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level debug3"; fi'
08:39:39| PASS:
08:39:39| Actual RC (0) equals expected RC (0) for cmd:
08:39:39| 'if [ debug3 != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level debug3"; fi'
08:39:39| -- End subtest: 9 --
08:39:39|
08:39:39| ______________________ Starting subtest: 10
______________________
08:39:39| (NOTES): 'Verify bigip_base.conf is updated'
08:39:39| Running post-TMSH command:
08:39:39| 'if [ debug3 == 'info' ]; then grep -vi "log-level debug3"
/config/bigip_base.conf; fi'
08:39:39| PASS:
08:39:39| Actual RC (0) equals expected RC (0) for cmd:
08:39:39| 'if [ debug3 == 'info' ]; then grep -vi "log-level debug3"
/config/bigip_base.conf; fi'
08:39:39| -- End subtest: 10 --
08:39:39|
08:39:39| ______________________ Starting subtest: 11
______________________
08:39:39| (NOTES): 'Verify sshd_config file is updated'
08:39:39| -- End subtest: 11 --
08:39:39|
08:39:39| ______________________ Starting subtest: 12
______________________
08:39:39| (NOTES): 'Verify sshd_config file is updated'
08:39:39| Running post-TMSH command:
08:39:39| 'grep -ic "loglevel debug3" /var/run/config/sshd_config | grep
1'
08:39:39| PASS:
08:39:39| Actual RC (0) equals expected RC (0) for cmd:
08:39:39| 'grep -ic "loglevel debug3" /var/run/config/sshd_config | grep
1'
08:39:39| -- End subtest: 12 --
08:39:39|
08:39:39| Running 'quit' from TMSH.
08:39:40| Logging out of the shell.
08:39:41|
------------------------------------------------------------------
08:39:41| Final Results
08:39:41| For these drivers:
08:39:41| test_scf_sshd_log_level.yaml
08:39:41|
------------------------------------------------------------------
08:39:41| PASSED: test_scf_sshd_log_level.yaml drivers.
08:39:41|
==================================================================
08:39:41|
08:39:41|
08:39:41| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:39:41| Reading driver file:
08:39:41|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
test_scf_sshd_log_level.yaml.parsed
08:39:41| TEST: Verify sshd log-level with error
08:39:41|
------------------------------------------------------------------
08:39:41| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:39:45| Attempting to acquire TMSH prompt...
08:39:46| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:39:47| ______________________ Starting subtest: 1
______________________
08:39:47| (NOTES): 'Modify log-level in sshd property'
08:39:47| -- End subtest: 1 --
08:39:47|
08:39:47| ______________________ Starting subtest: 2
______________________
08:39:47| (NOTES): 'Modify log-level in sshd property'
08:39:47| (TMSH_CMD) Sending command:
| '/sys sshd'
08:39:47| PASS
08:39:47| -- End subtest: 2 --
08:39:47|
08:39:47| ______________________ Starting subtest: 3
______________________
08:39:47| (NOTES): 'Modify log-level to error'
08:39:47| -- End subtest: 3 --
08:39:47|
08:39:47| ______________________ Starting subtest: 4
______________________
08:39:47| (NOTES): 'Modify log-level to error'
08:39:47| (TMSH_CMD) Sending command:
| 'modify log-level error'
08:39:48| PASS
08:39:48| -- End subtest: 4 --
08:39:48|
08:39:48| ______________________ Starting subtest: 5
______________________
08:39:48| (NOTES): 'Modify log-level to error'
08:39:48| (TMSH_CMD) Sending command:
| 'list log-level'
08:39:48| (EXP_AND) FOUND desired text:
| log-level\s+error
08:39:48| PASS
08:39:48| -- End subtest: 5 --
08:39:48|
08:39:48| ______________________ Starting subtest: 6
______________________
08:39:48| (NOTES): 'Save config after modifications'
08:39:48| -- End subtest: 6 --
08:39:48|
08:39:48| ______________________ Starting subtest: 7
______________________
08:39:48| (NOTES): 'Save config after modifications'
08:39:49| (TMSH_CMD) Sending command:
| 'save /sys config'
08:39:53| (EXP_NOT) Successfully did NOT find:
| [D|d]ata [I|i]nput [E|e]rror
| [C|c]onfiguration [E|e]rror
| [U|u]nexpected [E|e]rror
| [S|s]yntax [E|e]rror
08:39:53| (EXP_AND) FOUND desired text:
| [s|S]aving\s+running\s+configuration
08:39:53| PASS
08:39:53| -- End subtest: 7 --
08:39:53|
08:39:53| ______________________ Starting subtest: 8
______________________
08:39:53| (NOTES): 'Verify bigip_base.conf is updated'
08:39:53| -- End subtest: 8 --
08:39:53|
08:39:53| ______________________ Starting subtest: 9
______________________
08:39:53| (NOTES): 'Verify bigip_base.conf is updated'
08:39:53| Running post-TMSH command:
08:39:53| 'if [ error != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level error"; fi'
08:39:54| PASS:
08:39:54| Actual RC (0) equals expected RC (0) for cmd:
08:39:54| 'if [ error != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level error"; fi'
08:39:54| -- End subtest: 9 --
08:39:54|
08:39:54| ______________________ Starting subtest: 10
______________________
08:39:54| (NOTES): 'Verify bigip_base.conf is updated'
08:39:54| Running post-TMSH command:
08:39:54| 'if [ error == 'info' ]; then grep -vi "log-level error"
/config/bigip_base.conf; fi'
08:39:54| PASS:
08:39:54| Actual RC (0) equals expected RC (0) for cmd:
08:39:54| 'if [ error == 'info' ]; then grep -vi "log-level error"
/config/bigip_base.conf; fi'
08:39:54| -- End subtest: 10 --
08:39:54|
08:39:54| ______________________ Starting subtest: 11
______________________
08:39:54| (NOTES): 'Verify sshd_config file is updated'
08:39:54| -- End subtest: 11 --
08:39:54|
08:39:54| ______________________ Starting subtest: 12
______________________
08:39:54| (NOTES): 'Verify sshd_config file is updated'
08:39:54| Running post-TMSH command:
08:39:54| 'grep -ic "loglevel error" /var/run/config/sshd_config | grep 1'
08:39:54| PASS:
08:39:54| Actual RC (0) equals expected RC (0) for cmd:
08:39:54| 'grep -ic "loglevel error" /var/run/config/sshd_config | grep 1'
08:39:54| -- End subtest: 12 --
08:39:54|
08:39:54| Running 'quit' from TMSH.
08:39:55| Logging out of the shell.
08:39:55|
------------------------------------------------------------------
08:39:55| Final Results
08:39:55| For these drivers:
08:39:55| test_scf_sshd_log_level.yaml
08:39:55|
------------------------------------------------------------------
08:39:55| PASSED: test_scf_sshd_log_level.yaml drivers.
08:39:55|
==================================================================
08:39:55|
08:39:55|
08:39:55| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:39:55| Reading driver file:
08:39:55|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
test_scf_sshd_log_level.yaml.parsed
08:39:55| TEST: Verify sshd log-level with fatal
08:39:55|
------------------------------------------------------------------
08:39:55| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:40:00| Attempting to acquire TMSH prompt...
08:40:01| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:40:02| ______________________ Starting subtest: 1
______________________
08:40:02| (NOTES): 'Modify log-level in sshd property'
08:40:02| -- End subtest: 1 --
08:40:02|
08:40:02| ______________________ Starting subtest: 2
______________________
08:40:02| (NOTES): 'Modify log-level in sshd property'
08:40:02| (TMSH_CMD) Sending command:
| '/sys sshd'
08:40:02| PASS
08:40:02| -- End subtest: 2 --
08:40:02|
08:40:02| ______________________ Starting subtest: 3
______________________
08:40:02| (NOTES): 'Modify log-level to fatal'
08:40:02| -- End subtest: 3 --
08:40:02|
08:40:02| ______________________ Starting subtest: 4
______________________
08:40:02| (NOTES): 'Modify log-level to fatal'
08:40:02| (TMSH_CMD) Sending command:
| 'modify log-level fatal'
08:40:03| PASS
08:40:03| -- End subtest: 4 --
08:40:03|
08:40:03| ______________________ Starting subtest: 5
______________________
08:40:03| (NOTES): 'Modify log-level to fatal'
08:40:03| (TMSH_CMD) Sending command:
| 'list log-level'
08:40:03| (EXP_AND) FOUND desired text:
| log-level\s+fatal
08:40:03| PASS
08:40:03| -- End subtest: 5 --
08:40:03|
08:40:03| ______________________ Starting subtest: 6
______________________
08:40:03| (NOTES): 'Save config after modifications'
08:40:03| -- End subtest: 6 --
08:40:03|
08:40:03| ______________________ Starting subtest: 7
______________________
08:40:03| (NOTES): 'Save config after modifications'
08:40:04| (TMSH_CMD) Sending command:
| 'save /sys config'
08:40:08| (EXP_NOT) Successfully did NOT find:
| [D|d]ata [I|i]nput [E|e]rror
| [C|c]onfiguration [E|e]rror
| [U|u]nexpected [E|e]rror
| [S|s]yntax [E|e]rror
08:40:08| (EXP_AND) FOUND desired text:
| [s|S]aving\s+running\s+configuration
08:40:08| PASS
08:40:08| -- End subtest: 7 --
08:40:08|
08:40:08| ______________________ Starting subtest: 8
______________________
08:40:08| (NOTES): 'Verify bigip_base.conf is updated'
08:40:08| -- End subtest: 8 --
08:40:08|
08:40:08| ______________________ Starting subtest: 9
______________________
08:40:08| (NOTES): 'Verify bigip_base.conf is updated'
08:40:08| Running post-TMSH command:
08:40:08| 'if [ fatal != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level fatal"; fi'
08:40:09| PASS:
08:40:09| Actual RC (0) equals expected RC (0) for cmd:
08:40:09| 'if [ fatal != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level fatal"; fi'
08:40:09| -- End subtest: 9 --
08:40:09|
08:40:09| ______________________ Starting subtest: 10
______________________
08:40:09| (NOTES): 'Verify bigip_base.conf is updated'
08:40:09| Running post-TMSH command:
08:40:09| 'if [ fatal == 'info' ]; then grep -vi "log-level fatal"
/config/bigip_base.conf; fi'
08:40:09| PASS:
08:40:09| Actual RC (0) equals expected RC (0) for cmd:
08:40:09| 'if [ fatal == 'info' ]; then grep -vi "log-level fatal"
/config/bigip_base.conf; fi'
08:40:09| -- End subtest: 10 --
08:40:09|
08:40:09| ______________________ Starting subtest: 11
______________________
08:40:09| (NOTES): 'Verify sshd_config file is updated'
08:40:09| -- End subtest: 11 --
08:40:09|
08:40:09| ______________________ Starting subtest: 12
______________________
08:40:09| (NOTES): 'Verify sshd_config file is updated'
08:40:09| Running post-TMSH command:
08:40:09| 'grep -ic "loglevel fatal" /var/run/config/sshd_config | grep 1'
08:40:09| PASS:
08:40:09| Actual RC (0) equals expected RC (0) for cmd:
08:40:09| 'grep -ic "loglevel fatal" /var/run/config/sshd_config | grep 1'
08:40:09| -- End subtest: 12 --
08:40:09|
08:40:09| Running 'quit' from TMSH.
08:40:10| Logging out of the shell.
08:40:10|
------------------------------------------------------------------
08:40:10| Final Results
08:40:10| For these drivers:
08:40:10| test_scf_sshd_log_level.yaml
08:40:10|
------------------------------------------------------------------
08:40:10| PASSED: test_scf_sshd_log_level.yaml drivers.
08:40:10|
==================================================================
08:40:10|
08:40:10|
08:40:10| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:40:10| Reading driver file:
08:40:10|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
test_scf_sshd_log_level.yaml.parsed
08:40:10| TEST: Verify sshd log-level with info
08:40:10|
------------------------------------------------------------------
08:40:10| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:40:15| Attempting to acquire TMSH prompt...
08:40:16| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:40:16| ______________________ Starting subtest: 1
______________________
08:40:16| (NOTES): 'Modify log-level in sshd property'
08:40:16| -- End subtest: 1 --
08:40:16|
08:40:16| ______________________ Starting subtest: 2
______________________
08:40:16| (NOTES): 'Modify log-level in sshd property'
08:40:17| (TMSH_CMD) Sending command:
| '/sys sshd'
08:40:17| PASS
08:40:17| -- End subtest: 2 --
08:40:17|
08:40:17| ______________________ Starting subtest: 3
______________________
08:40:17| (NOTES): 'Modify log-level to info'
08:40:17| -- End subtest: 3 --
08:40:17|
08:40:17| ______________________ Starting subtest: 4
______________________
08:40:17| (NOTES): 'Modify log-level to info'
08:40:17| (TMSH_CMD) Sending command:
| 'modify log-level info'
08:40:18| PASS
08:40:18| -- End subtest: 4 --
08:40:18|
08:40:18| ______________________ Starting subtest: 5
______________________
08:40:18| (NOTES): 'Modify log-level to info'
08:40:18| (TMSH_CMD) Sending command:
| 'list log-level'
08:40:18| (EXP_AND) FOUND desired text:
| log-level\s+info
08:40:18| PASS
08:40:18| -- End subtest: 5 --
08:40:18|
08:40:18| ______________________ Starting subtest: 6
______________________
08:40:18| (NOTES): 'Save config after modifications'
08:40:18| -- End subtest: 6 --
08:40:18|
08:40:18| ______________________ Starting subtest: 7
______________________
08:40:18| (NOTES): 'Save config after modifications'
08:40:18| (TMSH_CMD) Sending command:
| 'save /sys config'
08:40:23| (EXP_NOT) Successfully did NOT find:
| [D|d]ata [I|i]nput [E|e]rror
| [C|c]onfiguration [E|e]rror
| [U|u]nexpected [E|e]rror
| [S|s]yntax [E|e]rror
08:40:23| (EXP_AND) FOUND desired text:
| [s|S]aving\s+running\s+configuration
08:40:23| PASS
08:40:23| -- End subtest: 7 --
08:40:23|
08:40:23| ______________________ Starting subtest: 8
______________________
08:40:23| (NOTES): 'Verify bigip_base.conf is updated'
08:40:23| -- End subtest: 8 --
08:40:23|
08:40:23| ______________________ Starting subtest: 9
______________________
08:40:23| (NOTES): 'Verify bigip_base.conf is updated'
08:40:23| Running post-TMSH command:
08:40:23| 'if [ info != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level info"; fi'
08:40:23| PASS:
08:40:23| Actual RC (0) equals expected RC (0) for cmd:
08:40:23| 'if [ info != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level info"; fi'
08:40:23| -- End subtest: 9 --
08:40:23|
08:40:23| ______________________ Starting subtest: 10
______________________
08:40:23| (NOTES): 'Verify bigip_base.conf is updated'
08:40:23| Running post-TMSH command:
08:40:23| 'if [ info == 'info' ]; then grep -vi "log-level info"
/config/bigip_base.conf; fi'
08:40:23| PASS:
08:40:23| Actual RC (0) equals expected RC (0) for cmd:
08:40:23| 'if [ info == 'info' ]; then grep -vi "log-level info"
/config/bigip_base.conf; fi'
08:40:23| -- End subtest: 10 --
08:40:23|
08:40:23| ______________________ Starting subtest: 11
______________________
08:40:23| (NOTES): 'Verify sshd_config file is updated'
08:40:23| -- End subtest: 11 --
08:40:23|
08:40:23| ______________________ Starting subtest: 12
______________________
08:40:23| (NOTES): 'Verify sshd_config file is updated'
08:40:23| Running post-TMSH command:
08:40:23| 'grep -ic "loglevel info" /var/run/config/sshd_config | grep 1'
08:40:24| PASS:
08:40:24| Actual RC (0) equals expected RC (0) for cmd:
08:40:24| 'grep -ic "loglevel info" /var/run/config/sshd_config | grep 1'
08:40:24| -- End subtest: 12 --
08:40:24|
08:40:24| Running 'quit' from TMSH.
08:40:25| Logging out of the shell.
08:40:25|
------------------------------------------------------------------
08:40:25| Final Results
08:40:25| For these drivers:
08:40:25| test_scf_sshd_log_level.yaml
08:40:25|
------------------------------------------------------------------
08:40:25| PASSED: test_scf_sshd_log_level.yaml drivers.
08:40:25|
==================================================================
08:40:25|
08:40:25|
08:40:25| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:40:25| Reading driver file:
08:40:25|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
test_scf_sshd_log_level.yaml.parsed
08:40:25| TEST: Verify sshd log-level with quiet
08:40:25|
------------------------------------------------------------------
08:40:25| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:40:29| Attempting to acquire TMSH prompt...
08:40:31| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:40:31| ______________________ Starting subtest: 1
______________________
08:40:31| (NOTES): 'Modify log-level in sshd property'
08:40:31| -- End subtest: 1 --
08:40:31|
08:40:31| ______________________ Starting subtest: 2
______________________
08:40:31| (NOTES): 'Modify log-level in sshd property'
08:40:31| (TMSH_CMD) Sending command:
| '/sys sshd'
08:40:32| PASS
08:40:32| -- End subtest: 2 --
08:40:32|
08:40:32| ______________________ Starting subtest: 3
______________________
08:40:32| (NOTES): 'Modify log-level to quiet'
08:40:32| -- End subtest: 3 --
08:40:32|
08:40:32| ______________________ Starting subtest: 4
______________________
08:40:32| (NOTES): 'Modify log-level to quiet'
08:40:32| (TMSH_CMD) Sending command:
| 'modify log-level quiet'
08:40:32| PASS
08:40:32| -- End subtest: 4 --
08:40:32|
08:40:32| ______________________ Starting subtest: 5
______________________
08:40:32| (NOTES): 'Modify log-level to quiet'
08:40:33| (TMSH_CMD) Sending command:
| 'list log-level'
08:40:33| (EXP_AND) FOUND desired text:
| log-level\s+quiet
08:40:33| PASS
08:40:33| -- End subtest: 5 --
08:40:33|
08:40:33| ______________________ Starting subtest: 6
______________________
08:40:33| (NOTES): 'Save config after modifications'
08:40:33| -- End subtest: 6 --
08:40:33|
08:40:33| ______________________ Starting subtest: 7
______________________
08:40:33| (NOTES): 'Save config after modifications'
08:40:33| (TMSH_CMD) Sending command:
| 'save /sys config'
08:40:38| (EXP_NOT) Successfully did NOT find:
| [D|d]ata [I|i]nput [E|e]rror
| [C|c]onfiguration [E|e]rror
| [U|u]nexpected [E|e]rror
| [S|s]yntax [E|e]rror
08:40:38| (EXP_AND) FOUND desired text:
| [s|S]aving\s+running\s+configuration
08:40:38| PASS
08:40:38| -- End subtest: 7 --
08:40:38|
08:40:38| ______________________ Starting subtest: 8
______________________
08:40:38| (NOTES): 'Verify bigip_base.conf is updated'
08:40:38| -- End subtest: 8 --
08:40:38|
08:40:38| ______________________ Starting subtest: 9
______________________
08:40:38| (NOTES): 'Verify bigip_base.conf is updated'
08:40:38| Running post-TMSH command:
08:40:38| 'if [ quiet != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level quiet"; fi'
08:40:38| PASS:
08:40:38| Actual RC (0) equals expected RC (0) for cmd:
08:40:38| 'if [ quiet != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level quiet"; fi'
08:40:38| -- End subtest: 9 --
08:40:38|
08:40:38| ______________________ Starting subtest: 10
______________________
08:40:38| (NOTES): 'Verify bigip_base.conf is updated'
08:40:38| Running post-TMSH command:
08:40:38| 'if [ quiet == 'info' ]; then grep -vi "log-level quiet"
/config/bigip_base.conf; fi'
08:40:38| PASS:
08:40:38| Actual RC (0) equals expected RC (0) for cmd:
08:40:38| 'if [ quiet == 'info' ]; then grep -vi "log-level quiet"
/config/bigip_base.conf; fi'
08:40:38| -- End subtest: 10 --
08:40:38|
08:40:38| ______________________ Starting subtest: 11
______________________
08:40:38| (NOTES): 'Verify sshd_config file is updated'
08:40:38| -- End subtest: 11 --
08:40:38|
08:40:38| ______________________ Starting subtest: 12
______________________
08:40:38| (NOTES): 'Verify sshd_config file is updated'
08:40:38| Running post-TMSH command:
08:40:38| 'grep -ic "loglevel quiet" /var/run/config/sshd_config | grep 1'
08:40:38| PASS:
08:40:38| Actual RC (0) equals expected RC (0) for cmd:
08:40:38| 'grep -ic "loglevel quiet" /var/run/config/sshd_config | grep 1'
08:40:38| -- End subtest: 12 --
08:40:38|
08:40:38| Running 'quit' from TMSH.
08:40:39| Logging out of the shell.
08:40:39|
------------------------------------------------------------------
08:40:39| Final Results
08:40:39| For these drivers:
08:40:39| test_scf_sshd_log_level.yaml
08:40:39|
------------------------------------------------------------------
08:40:39| PASSED: test_scf_sshd_log_level.yaml drivers.
08:40:39|
==================================================================
08:40:39|
08:40:39|
08:40:39| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:40:39| Reading driver file:
08:40:39|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
test_scf_sshd_log_level.yaml.parsed
08:40:39| TEST: Verify sshd log-level with verbose
08:40:39|
------------------------------------------------------------------
08:40:39| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:40:44| Attempting to acquire TMSH prompt...
08:40:45| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:40:46| ______________________ Starting subtest: 1
______________________
08:40:46| (NOTES): 'Modify log-level in sshd property'
08:40:46| -- End subtest: 1 --
08:40:46|
08:40:46| ______________________ Starting subtest: 2
______________________
08:40:46| (NOTES): 'Modify log-level in sshd property'
08:40:46| (TMSH_CMD) Sending command:
| '/sys sshd'
08:40:46| PASS
08:40:46| -- End subtest: 2 --
08:40:46|
08:40:46| ______________________ Starting subtest: 3
______________________
08:40:46| (NOTES): 'Modify log-level to verbose'
08:40:46| -- End subtest: 3 --
08:40:46|
08:40:46| ______________________ Starting subtest: 4
______________________
08:40:46| (NOTES): 'Modify log-level to verbose'
08:40:46| (TMSH_CMD) Sending command:
| 'modify log-level verbose'
08:40:47| PASS
08:40:47| -- End subtest: 4 --
08:40:47|
08:40:47| ______________________ Starting subtest: 5
______________________
08:40:47| (NOTES): 'Modify log-level to verbose'
08:40:47| (TMSH_CMD) Sending command:
| 'list log-level'
08:40:47| (EXP_AND) FOUND desired text:
| log-level\s+verbose
08:40:47| PASS
08:40:47| -- End subtest: 5 --
08:40:47|
08:40:47| ______________________ Starting subtest: 6
______________________
08:40:47| (NOTES): 'Save config after modifications'
08:40:47| -- End subtest: 6 --
08:40:47|
08:40:47| ______________________ Starting subtest: 7
______________________
08:40:47| (NOTES): 'Save config after modifications'
08:40:47| (TMSH_CMD) Sending command:
| 'save /sys config'
08:40:52| (EXP_NOT) Successfully did NOT find:
| [D|d]ata [I|i]nput [E|e]rror
| [C|c]onfiguration [E|e]rror
| [U|u]nexpected [E|e]rror
| [S|s]yntax [E|e]rror
08:40:52| (EXP_AND) FOUND desired text:
| [s|S]aving\s+running\s+configuration
08:40:52| PASS
08:40:52| -- End subtest: 7 --
08:40:52|
08:40:52| ______________________ Starting subtest: 8
______________________
08:40:52| (NOTES): 'Verify bigip_base.conf is updated'
08:40:52| -- End subtest: 8 --
08:40:52|
08:40:52| ______________________ Starting subtest: 9
______________________
08:40:52| (NOTES): 'Verify bigip_base.conf is updated'
08:40:52| Running post-TMSH command:
08:40:52| 'if [ verbose != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level verbose"; fi'
08:40:52| PASS:
08:40:52| Actual RC (0) equals expected RC (0) for cmd:
08:40:52| 'if [ verbose != 'info' ]; then awk '/^sys sshd {$/,/^}$/'
/config/bigip_base.conf | grep -i "log-level verbose"; fi'
08:40:52| -- End subtest: 9 --
08:40:52|
08:40:52| ______________________ Starting subtest: 10
______________________
08:40:52| (NOTES): 'Verify bigip_base.conf is updated'
08:40:52| Running post-TMSH command:
08:40:52| 'if [ verbose == 'info' ]; then grep -vi "log-level verbose"
/config/bigip_base.conf; fi'
08:40:52| PASS:
08:40:52| Actual RC (0) equals expected RC (0) for cmd:
08:40:52| 'if [ verbose == 'info' ]; then grep -vi "log-level verbose"
/config/bigip_base.conf; fi'
08:40:52| -- End subtest: 10 --
08:40:52|
08:40:52| ______________________ Starting subtest: 11
______________________
08:40:52| (NOTES): 'Verify sshd_config file is updated'
08:40:52| -- End subtest: 11 --
08:40:52|
08:40:52| ______________________ Starting subtest: 12
______________________
08:40:52| (NOTES): 'Verify sshd_config file is updated'
08:40:52| Running post-TMSH command:
08:40:52| 'grep -ic "loglevel verbose" /var/run/config/sshd_config | grep
1'
08:40:53| PASS:
08:40:53| Actual RC (0) equals expected RC (0) for cmd:
08:40:53| 'grep -ic "loglevel verbose" /var/run/config/sshd_config | grep
1'
08:40:53| -- End subtest: 12 --
08:40:53|
08:40:53| Running 'quit' from TMSH.
08:40:54| Logging out of the shell.
08:40:54|
------------------------------------------------------------------
08:40:54| Final Results
08:40:54| For these drivers:
08:40:54| test_scf_sshd_log_level.yaml
08:40:54|
------------------------------------------------------------------
08:40:54| PASSED: test_scf_sshd_log_level.yaml drivers.
08:40:54|
==================================================================
08:40:54|
08:40:54|
08:40:54| Reading settings file:
/root/static/support/lib/python/tmshutils/init_params.conf
08:40:54| Reading driver file:
08:40:54|
/HostShare/p4/ite/tcr/europa/testcaseRoot/default/management/tmsh/ltm/scf/sshd/
scf_load_config.yaml.parsed
08:40:54| TEST: Post clean up of DUT by loading Initial SCF
08:40:54|
------------------------------------------------------------------
08:40:54| Logging-in to: root@10.144.128.210 p/w: ess-pwe-f5root02...
08:40:58| Attempting to acquire TMSH prompt...
08:41:00| Initializing SSH command-channel to root@10.144.128.210 pw: ess-
pwe-f5root02
08:41:00| ______________________ Starting subtest: 1
______________________
08:41:00| (NOTES): 'Loading saved, pre-test config file.'
08:41:00| (TMSH_CMD) Sending command:
| 'load sys config file pretest.scf'
08:41:00| (TMSH_EXP_PROMPT) Searching for: 'Replace the running
configuration'
08:41:01| PASS
08:41:01| -- End subtest: 1 --
08:41:01|
08:41:01| ______________________ Starting subtest: 2
______________________
08:41:01| (NOTES): 'Loading saved, pre-test config file.'
08:41:01| -- End subtest: 2 --
08:41:01|
08:41:01| ______________________ Starting subtest: 3
______________________
08:41:01| (NOTES): 'Saving config as a generic save overwriting any .conf
files.'
08:42:02| (TMSH_CMD) Sending command:
| 'save sys config partitions all wait'
08:42:07| (EXP_NOT) Successfully did NOT find:
| [D|d]ata [I|i]nput [E|e]rror
| [C|c]onfiguration [E|e]rror
| [U|u]nexpected [E|e]rror
| [S|s]yntax [E|e]rror
08:42:07| (EXP_AND) FOUND desired text:
| [S|s]aving\s+running\s+configuration
08:42:07| PASS
08:42:07| -- End subtest: 3 --
08:42:07|
08:42:07| ______________________ Starting subtest: 4
______________________
08:42:07| (NOTES): 'Removing the scf file.'
08:42:07| Running post-TMSH command:
08:42:07| 'rm -f /var/local/scf/pretest.scf'
08:42:07| PASS:
08:42:07| Actual RC (0) equals expected RC (0) for cmd:
08:42:07| 'rm -f /var/local/scf/pretest.scf'
08:42:07| -- End subtest: 4 --
08:42:07|
08:42:07| Running 'quit' from TMSH.
08:42:08| Logging out of the shell.
08:42:08|
------------------------------------------------------------------
08:42:08| Final Results
08:42:08| For these drivers:
08:42:08| /root/support/yaml/tmshrunner/ltm/scf_load_config.yaml
08:42:08|
------------------------------------------------------------------
08:42:08| PASSED: scf_load_config.yaml drivers.
08:42:08|
==================================================================
08:42:09|
08:42:09| TC 10106 result: PASS

You might also like