Skip to content

Cancel pending jobs on new push, and maybe fix test route

Sign in for the full log view
GitHub Actions / Test Results failed May 23, 2024 in 0s

5 284 errors, 10 fail, 49 skipped, 101 pass in 5s

5 444 tests  +5 444     101 ✅ +  101   5s ⏱️ +5s
    1 suites +    1      49 💤 +   49 
    1 files   +    1      10 ❌ +   10   5 284 🔥 +5 284 

Results for commit f7095f7. ± Comparison against earlier commit b62fe0f.

Annotations

Check failure on line 14 in src/olympia/abuse/tests/test_admin.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_list (src.olympia.abuse.tests.test_admin.TestAbuse) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 26 in src/olympia/abuse/tests/test_models.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_addon (src.olympia.abuse.tests.test_models.TestAbuse) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 37 in src/olympia/abuse/tests/test_models.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_addon_fr (src.olympia.abuse.tests.test_models.TestAbuse) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 48 in src/olympia/abuse/tests/test_models.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_guid (src.olympia.abuse.tests.test_models.TestAbuse) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 13 in src/olympia/abuse/tests/test_models.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_user (src.olympia.abuse.tests.test_models.TestAbuse) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 12 in src/olympia/abuse/tests/test_serializers.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_addon_report (src.olympia.abuse.tests.test_serializers.TestAddonAbuseReportSerializer) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 22 in src/olympia/abuse/tests/test_serializers.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_guid_report (src.olympia.abuse.tests.test_serializers.TestAddonAbuseReportSerializer) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 37 in src/olympia/abuse/tests/test_serializers.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_user_report (src.olympia.abuse.tests.test_serializers.TestUserAbuseReportSerializer) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 85 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_addon_not_public (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedOut) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 106 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_message_required_empty (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedOut) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 116 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_message_required_missing (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedOut) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 98 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_no_addon_fails (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedOut) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 53 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_report_addon_by_guid (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedOut) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 27 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_report_addon_by_id (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedOut) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 40 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_report_addon_by_slug (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedOut) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 66 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_report_addon_guid_not_on_amo (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedOut) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 79 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_report_addon_invalid_identifier (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedOut) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 125 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_throttle (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedOut) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 85 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_addon_not_public (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedIn) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 106 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_message_required_empty (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedIn) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 116 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_message_required_missing (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedIn) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 98 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_no_addon_fails (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedIn) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 53 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_report_addon_by_guid (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedIn) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 27 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_report_addon_by_id (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedIn) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

Check failure on line 40 in src/olympia/abuse/tests/test_views.py

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_report_addon_by_slug (src.olympia.abuse.tests.test_views.TestAddonAbuseViewSetLoggedIn) with error

src/test_report3.xml [took 0s]
Raw output
test setup failure
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   _mysql_exceptions.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")

The above exception was the direct cause of the following exception:
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/plugin.py:420: in _django_setup_unittest
    request.getfixturevalue('django_db_setup')
venv3/lib/python3.7/site-packages/six.py:692: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/pytest_django/fixtures.py:98: in django_db_setup
    **setup_databases_args
venv3/lib/python3.7/site-packages/django/test/utils.py:187: in setup_databases
    serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:55: in create_test_db
    self._create_test_db(verbosity, autoclobber, keepdb)
venv3/lib/python3.7/site-packages/django/db/backends/base/creation.py:164: in _create_test_db
    with self._nodb_connection.cursor() as cursor:
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:254: in cursor
    return self._cursor()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:229: in _cursor
    self.ensure_connection()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:213: in ensure_connection
    self.connect()
venv3/lib/python3.7/site-packages/django/db/backends/base/base.py:191: in connect
    self.init_connection_state()
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:293: in init_connection_state
    cursor.execute('SET ' + ', '.join(assignments))
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:64: in execute
    return self.cursor.execute(sql, params)
venv3/lib/python3.7/site-packages/django/db/utils.py:94: in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
venv3/lib/python3.7/site-packages/django/utils/six.py:685: in reraise
    raise value.with_traceback(tb)
venv3/lib/python3.7/site-packages/django/db/backends/utils.py:62: in execute
    return self.cursor.execute(sql)
venv3/lib/python3.7/site-packages/django/db/backends/mysql/base.py:101: in execute
    return self.cursor.execute(query, args)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:250: in execute
    self.errorhandler(self, exc, value)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:50: in defaulterrorhandler
    raise errorvalue
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:247: in execute
    res = self._query(query)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:412: in _query
    rowcount = self._do_query(q)
venv3/lib/python3.7/site-packages/MySQLdb/cursors.py:375: in _do_query
    db.query(q)
venv3/lib/python3.7/site-packages/MySQLdb/connections.py:276: in query
    _mysql.connection.query(self, query)
E   django.db.utils.OperationalError: (1193, "Unknown system variable 'TX_ISOLATION'")