Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-1284

RF resource for logging in to microshift host fails occasionally

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.14
    • None
    • None
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 236, uShift Sprint 237

      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.

              dhellman@redhat.com Doug Hellmann
              dhellman@redhat.com Doug Hellmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: