New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 839162 link

Starred by 2 users

Issue metadata

Status: Duplicate
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

cautotest UI failing to connect to TKO

Project Member Reported by dgarr...@chromium.org, May 2 2018

Issue description

https://ubercautotest.corp.google.com/afe/#tab_id=view_job&object_id=196249567


OperationalError: (2013, "Lost connection to MySQL server at 'reading initial communication packet', system error: 0")
Traceback (most recent call last):
  File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 109, in dispatchRequest
    results['result'] = self.invokeServiceEndpoint(meth, args)
  File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 147, in invokeServiceEndpoint
    return meth(*args)
  File "/usr/local/autotest/frontend/afe/rpc_handler.py", line 270, in new_fn
    return f(*args, **keyword_args)
  File "/usr/local/autotest/frontend/tko/rpc_interface.py", line 482, in get_static_data
    result['test_labels'] = get_test_labels(sort_by=['name'])
  File "/usr/local/autotest/frontend/tko/rpc_interface.py", line 347, in get_test_labels
    models.TestLabel.list_objects(filter_data))
  File "/usr/local/autotest/frontend/afe/model_logic.py", line 819, in list_objects
    for model_object in query]
  File "/usr/local/autotest/site-packages/django/db/models/query.py", line 123, in _result_iter
    self._fill_cache()
  File "/usr/local/autotest/site-packages/django/db/models/query.py", line 927, in _fill_cache
    self._result_cache.append(next(self._iter))
  File "/usr/local/autotest/site-packages/django/db/models/query.py", line 301, in iterator
    for row in compiler.results_iter():
  File "/usr/local/autotest/site-packages/django/db/models/sql/compiler.py", line 775, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/usr/local/autotest/site-packages/django/db/models/sql/compiler.py", line 839, in execute_sql
    cursor = self.connection.cursor()
  File "/usr/local/autotest/site-packages/django/db/backends/__init__.py", line 326, in cursor
    cursor = util.CursorWrapper(self._cursor(), self)
  File "/usr/local/autotest/site-packages/django/db/backends/mysql/base.py", line 405, in _cursor
    self.connection = Database.connect(**kwargs)
  File "/usr/local/autotest/site-packages/MySQLdb/__init__.py", line 81, in Connect
    return Connection(*args, **kwargs)
  File "/usr/local/autotest/site-packages/MySQLdb/connections.py", line 187, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (2013, "Lost connection to MySQL server at 'reading initial communication packet', system error: 0")
 
I sorta kinda still see this but when I get directed to cautoest-prod vs normal cautotest

http://cautotest-prod/afe/#tab_id=view_job&object_id=196734130

OperationalError: (2013, "Lost connection to MySQL server at 'reading initial communication packet', system error: 0")

Comment 2 Deleted

Mergedinto: 839028
Status: Duplicate (was: Started)
This isn't happening any more.

Because of this behavior being transient, I believe this was the same root cause as https://crbug.com/839028.


Sign in to add a comment