mkumatag / openbmc-automation

Test OpenBMC Distribution, moved to - https://github.com/openbmc/openbmc-test-automation
Apache License 2.0
5 stars 11 forks source link

Added SSL tests #7

Closed mkumatag closed 8 years ago

mkumatag commented 8 years ago

Ran the tests with latest Palmetto build and below is result -

(tox_openbmc)[manjunath@oc1275007250 openbmc-automation]$ tox -e custom tests/security/test_ssl.robot custom installed: argparse==1.3.0,ecdsa==0.13,paramiko==1.15.4,pycrypto==2.6.1,requests==2.8.1,robotframework==2.9.2,robotframework-requests==0.3.8,robotframework-scplibrary==1.1.0,robotframework-sshlibrary==2.1.1,scp==0.10.2,wheel==0.24.0 custom runtests: PYTHONHASHSEED='725445173' custom runtests: commands[0] | bash /home/manjunath/workspace_openbmc/openbmc-automation/tools/generate_argumentfile.sh

custom runtests: commands[1] | python -m robot.run --argumentfile /tmp/argument_file.txt tests/security/test_ssl.robot

Test Ssl :: This testsuite is for testing SSL connection to OpenBMC

Test SSL Connection :: This testcase is for testing the SSL connec... ./home/manjunath/workspaceopenbmc/openbmc-automation/.tox/custom/lib/python2.6/site-packages/requests/packages/urllib3/util/ssl.py:100: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning /home/manjunath/workspace_openbmc/openbmc-automation/.tox/custom/lib/python2.6/site-packages/requests/packages/urllib3/connectionpool.py:789: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning)

Test SSL Connection :: This testcase is for testing the SSL connec... | PASS |

Test non-SSL Connection - Negative :: This testcase is for test to... | PASS |

Test Ssl :: This testsuite is for testing SSL connection to OpenBMC | PASS | 2 critical tests, 2 passed, 0 failed

2 tests total, 2 passed, 0 failed

Output: /home/manjunath/workspace_openbmc/openbmc-automation/output.xml Log: /home/manjunath/workspace_openbmc/openbmc-automation/log.html Report: /home/manjunath/workspace_openbmc/openbmc-automation/report.html __ summary __ custom: commands succeeded congratulations :) (tox_openbmc)[manjunath@oc1275007250 openbmc-automation]$