Skip to content

Instantly share code, notes, and snippets.

@hardyoyo
Last active June 23, 2022 20:29
Show Gist options
  • Save hardyoyo/e8f5eb9664368b5b98829b7d42b263b0 to your computer and use it in GitHub Desktop.
Save hardyoyo/e8f5eb9664368b5b98829b7d42b263b0 to your computer and use it in GitHub Desktop.
Janeway test error on current master branch, with head at 354b7e8fd, using MySQL db, in Lando dev environment
E......EE................DEBUG 2022-06-23 17:37:44,378 middleware P:1252 T:139987040339776 [TST] Current Language not in the available languages. Activating en
INFO 2022-06-23 17:38:26,716 middleware P:1252 T:139987040339776 [TST] Request took 42.338 (13.553u, 3.932s)
.DEBUG 2022-06-23 17:38:28,487 middleware P:1252 T:139987040339776 [TST] Current Language not in the available languages. Activating en
INFO 2022-06-23 17:38:33,853 middleware P:1252 T:139987040339776 [TST] Request took 5.365 (1.939u, 0.473s)
.........DEBUG 2022-06-23 17:38:41,010 model_utils P:1252 T:139987040339776 [TST] Calculating last_mod for <class 'submission.models.Article'>: 93 - This is a test article
DEBUG 2022-06-23 17:38:41,063 model_utils P:1252 T:139987040339776 [TST] Calculating last_mod for <class 'submission.models.Section'>: 125 - Test Section
....WARNING 2022-06-23 17:38:41,221 setting_handler P:1252 T:139987040339776 [TST] Passing 'create' to get_setting has been deprecated in in favour of returning the default value
WARNING 2022-06-23 17:38:41,274 setting_handler P:1252 T:139987040339776 [TST] Passing 'create' to get_setting has been deprecated in in favour of returning the default value
.WARNING 2022-06-23 17:38:41,301 setting_handler P:1252 T:139987040339776 [TST] Passing 'create' to get_setting has been deprecated in in favour of returning the default value
...
======================================================================
ERROR: test_article_full_text_search (src.submission.tests.SubmissionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 101, in execute
return self.cursor.execute(query, args)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute
self.errorhandler(self, exc, value)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler
raise errorvalue
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute
res = self._query(query)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query
rowcount = self._do_query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query
db.query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query
_mysql.connection.query(self, query)
_mysql_exceptions.OperationalError: (1191, "Can't find FULLTEXT index matching the column list")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/.local/lib/python3.6/site-packages/django/test/utils.py", line 384, in inner
return func(*args, **kwargs)
File "/app/src/submission/tests.py", line 590, in test_article_full_text_search
result = [a for a in queryset]
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/query.py", line 250, in __iter__
self._fetch_all()
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/query.py", line 1121, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 899, in execute_sql
raise original_exception
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 889, in execute_sql
cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/raven/contrib/django/client.py", line 114, in execute
return real_execute(self, sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/var/www/.local/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 101, in execute
return self.cursor.execute(query, args)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute
self.errorhandler(self, exc, value)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler
raise errorvalue
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute
res = self._query(query)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query
rowcount = self._do_query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query
db.query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query
_mysql.connection.query(self, query)
django.db.utils.OperationalError: (1191, "Can't find FULLTEXT index matching the column list")
======================================================================
ERROR: test_article_search_abstract (src.submission.tests.SubmissionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 101, in execute
return self.cursor.execute(query, args)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute
self.errorhandler(self, exc, value)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler
raise errorvalue
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute
res = self._query(query)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query
rowcount = self._do_query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query
db.query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query
_mysql.connection.query(self, query)
_mysql_exceptions.OperationalError: (1191, "Can't find FULLTEXT index matching the column list")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/.local/lib/python3.6/site-packages/django/test/utils.py", line 384, in inner
return func(*args, **kwargs)
File "/app/src/submission/tests.py", line 620, in test_article_search_abstract
result = [a for a in queryset]
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/query.py", line 250, in __iter__
self._fetch_all()
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/query.py", line 1121, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 899, in execute_sql
raise original_exception
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 889, in execute_sql
cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/raven/contrib/django/client.py", line 114, in execute
return real_execute(self, sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/var/www/.local/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 101, in execute
return self.cursor.execute(query, args)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute
self.errorhandler(self, exc, value)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler
raise errorvalue
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute
res = self._query(query)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query
rowcount = self._do_query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query
db.query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query
_mysql.connection.query(self, query)
django.db.utils.OperationalError: (1191, "Can't find FULLTEXT index matching the column list")
======================================================================
ERROR: test_article_search_title (src.submission.tests.SubmissionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 101, in execute
return self.cursor.execute(query, args)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute
self.errorhandler(self, exc, value)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler
raise errorvalue
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute
res = self._query(query)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query
rowcount = self._do_query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query
db.query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query
_mysql.connection.query(self, query)
_mysql_exceptions.OperationalError: (1191, "Can't find FULLTEXT index matching the column list")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/.local/lib/python3.6/site-packages/django/test/utils.py", line 384, in inner
return func(*args, **kwargs)
File "/app/src/submission/tests.py", line 643, in test_article_search_title
result = [a for a in queryset]
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/query.py", line 250, in __iter__
self._fetch_all()
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/query.py", line 1121, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 899, in execute_sql
raise original_exception
File "/var/www/.local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 889, in execute_sql
cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/raven/contrib/django/client.py", line 114, in execute
return real_execute(self, sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/var/www/.local/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/var/www/.local/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 101, in execute
return self.cursor.execute(query, args)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute
self.errorhandler(self, exc, value)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler
raise errorvalue
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute
res = self._query(query)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query
rowcount = self._do_query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query
db.query(q)
File "/var/www/.local/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query
_mysql.connection.query(self, query)
django.db.utils.OperationalError: (1191, "Can't find FULLTEXT index matching the column list")
----------------------------------------------------------------------
Ran 349 tests in 291.007s
FAILED (errors=3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment