acceptance.tests.lms.test_lms.LoginFromCombinedPageTest.test_login_failure fails intermittently

Description

This test fails intermittently and has been removed from the codebase.

For triaging this bug: note that the test has been removed from the codebase, and thus the functionality is no longer covered by bok-choy test. Evaluate whether or not it is or can be covered by a lower level (e.g. python or JS unit test) and thus the test was unnecessary, or if there is now risk that a bug in the code could escape and thus the test should be fixed and re-enabled.

acceptance.tests.lms.test_lms.LoginFromCombinedPageTest.test_login_failure failed in this build on jenkins and passed in this build on jenkins

The test was deleted in this PR.

Error Message

1 MaxRetryError: HTTPConnectionPool(host='localhost', port=48334): Max retries exceeded with url: /session (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a8ffd7190>: Failed to establish a new connection: [Errno 111] Connection refused',))

Stacktrace

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 self = <common.test.acceptance.tests.lms.test_lms.LoginFromCombinedPageTest testMethod=test_login_failure> def setUp(self): """Initialize the page objects and create a test course. """ > super(LoginFromCombinedPageTest, self).setUp() common/test/acceptance/tests/lms/test_lms.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ common/test/acceptance/tests/helpers.py:798: in setUp super(UniqueCourseTest, self).setUp() ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/web_app_test.py:136: in setUp self.browser = browser(tags, self.proxy) ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/browser.py:283: in browser browser_check_func, "Browser is instantiated successfully.", try_limit=3, timeout=95).fulfill() ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/promise.py:101: in fulfill is_fulfilled, result = self._check_fulfilled() ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/promise.py:127: in _check_fulfilled is_fulfilled, result = self._check_func() ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/browser.py:272: in browser_check_func return True, browser_class(*browser_args, **browser_kwargs) ../../edx-venv/local/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py:167: in __init__ keep_alive=True) ../../edx-venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py:156: in __init__ self.start_session(capabilities, browser_profile) ../../edx-venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py:251: in start_session response = self.execute(Command.NEW_SESSION, parameters) ../../edx-venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py:318: in execute response = self.command_executor.execute(driver_command, params) ../../edx-venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py:375: in execute return self._request(command_info[0], url, body=data) ../../edx-venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py:397: in _request resp = self._conn.request(method, url, body=body, headers=headers) ../../edx-venv/local/lib/python2.7/site-packages/urllib3/request.py:72: in request **urlopen_kw) ../../edx-venv/local/lib/python2.7/site-packages/urllib3/request.py:150: in request_encode_body return self.urlopen(method, url, **extra_kw) ../../edx-venv/local/lib/python2.7/site-packages/urllib3/poolmanager.py:322: in urlopen response = conn.urlopen(method, u.request_uri, **kw) ../../edx-venv/local/lib/python2.7/site-packages/urllib3/connectionpool.py:667: in urlopen **response_kw) ../../edx-venv/local/lib/python2.7/site-packages/urllib3/connectionpool.py:667: in urlopen **response_kw) ../../edx-venv/local/lib/python2.7/site-packages/urllib3/connectionpool.py:667: in urlopen **response_kw) ../../edx-venv/local/lib/python2.7/site-packages/urllib3/connectionpool.py:638: in urlopen _stacktrace=sys.exc_info()[2]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=None, redirect=None, status=None) method = 'POST', url = '/session', response = None error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a8ffd7190>: Failed to establish a new connection: [Errno 111] Connection refused',) _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f8a90051150> _stacktrace = <traceback object at 0x7f8a9004efc8> def increment(self, method=None, url=None, response=None, error=None, _pool=None, _stacktrace=None): """ Return a new Retry object with incremented retry counters. :param response: A response object, or None, if the server did not return a response. :type response: :class:`~urllib3.response.HTTPResponse` :param Exception error: An error encountered during the request, or None if the response was received successfully. :return: A new ``Retry`` object. """ if self.total is False and error: # Disabled, indicate to re-raise the error. raise six.reraise(type(error), error, _stacktrace) total = self.total if total is not None: total -= 1 connect = self.connect read = self.read redirect = self.redirect status_count = self.status cause = 'unknown' status = None redirect_location = None if error and self._is_connection_error(error): # Connect retry? if connect is False: raise six.reraise(type(error), error, _stacktrace) elif connect is not None: connect -= 1 elif error and self._is_read_error(error): # Read retry? if read is False or not self._is_method_retryable(method): raise six.reraise(type(error), error, _stacktrace) elif read is not None: read -= 1 elif response and response.get_redirect_location(): # Redirect retry? if redirect is not None: redirect -= 1 cause = 'too many redirects' redirect_location = response.get_redirect_location() status = response.status else: # Incrementing because of a server error like a 500 in # status_forcelist and a the given method is in the whitelist cause = ResponseError.GENERIC_ERROR if response and response.status: if status_count is not None: status_count -= 1 cause = ResponseError.SPECIFIC_ERROR.format( status_code=response.status) status = response.status history = self.history + (RequestHistory(method, url, error, status, redirect_location),) new_retry = self.new( total=total, connect=connect, read=read, redirect=redirect, status=status_count, history=history) if new_retry.is_exhausted(): > raise MaxRetryError(_pool, url, error or ResponseError(cause)) E MaxRetryError: HTTPConnectionPool(host='localhost', port=48334): Max retries exceeded with url: /session (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a8ffd7190>: Failed to establish a new connection: [Errno 111] Connection refused',)) ../../edx-venv/local/lib/python2.7/site-packages/urllib3/util/retry.py:398: MaxRetryError

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

Unassigned

Reporter

Mike Youngstrom

Labels

Reach

None

Impact

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Stakeholders

None

Priority

Unset
Configure