-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
Sometimes the 'Login to MicroShift host' keyword fails with this error:
Evaluating IF condition failed: Evaluating expression '"${SSH_PRIV_KEY}" in "{'${/}': '/', '${:}': ':', '${\n}': '\n', '${DEBUG_FILE}': 'NONE', '${EXECDIR}': '/home/microshift/devel/microshift/microshift/test', '${False}': False, '${LOG_FILE}': '/home/microshift/devel/microshift/microshift/_output/e2e/log.html', '${LOG_LEVEL}': 'TRACE', '${None}': None, '${null}': None, '${OUTPUT_DIR}': '/home/microshift/devel/microshift/microshift/_output/e2e', '${OUTPUT_FILE}': '/home/microshift/devel/microshift/microshift/_output/e2e/output.xml', '${PREV_TEST_MESSAGE}': "Keyword 'Access Hello Microshift Via LB' failed after retrying 3 times. The last error was: 7 != 0", '${PREV_TEST_NAME}': 'Load Balancer Smoke Test', '${PREV_TEST_STATUS}': 'FAIL', '${REPORT_FILE}': '/home/microshift/devel/microshift/microshift/_output/e2e/report.html', '${SPACE}': ' ', '${SUITE_DOCUMENTATION}': 'Tests related to the version of MicroShift', '${SUITE_NAME}': 'Suites.Version', '${SUITE_SOURCE}': '/home/microshift/devel/microshift/microshift/test/suites/version.robot', '${TEMPDIR}': '/tmp', '${True}': True, '${USHIFT_HOST}': 'localhost', '${USHIFT_USER}': 'microshift', '&
{OPTIONS}':
{'include': \[\], 'exclude': \[\], 'skip': \[\], 'skip\_on\_failure': \[\]}, '&
{SUITE\_METADATA}': }"' failed: SyntaxError: invalid syntax (, line 1)
The issue is in the way we try to detect if the SSH key is configured.