#36895: mysql,noble-pr,python3.13 and mysql_gis,noble-pr,python3.12 Jenkins CI
jobs
are are failing
---------------------------------+-----------------------------------------
Reporter: Thomas Grainger | Type: Uncategorized
Status: new | Component: Uncategorized
Version: dev | Severity: Normal
Keywords: ci | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-----------------------------------------
See the history of the following jobs (mostly failed builds)
https://djangoci.com/job/pull-requests-noble/database=mysql_gis,label
=noble-pr,python=python3.12/
https://djangoci.com/job/pull-requests-noble/database=mysql,label=noble-
pr,python=python3.13/
an example traceback from one particular job:
{{{
Traceback (most recent call last):
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/base/base.py", line 279, in
ensure_connection
self.connect()
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/base/base.py", line 256, in
connect
self.connection = self.get_new_connection(conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/mysql/base.py", line 255, in
get_new_connection
connection = Database.connect(**conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/tests/.venv/lib/python3.12/site-
packages/MySQLdb/__init__.py", line 121, in Connect
return Connection(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/tests/.venv/lib/python3.12/site-
packages/MySQLdb/connections.py", line 200, in __init__
super().__init__(*args, **kwargs2)
MySQLdb.OperationalError: (2002, "Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (2)")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/tests/./runtests.py", line 782, in <module>
failures = django_tests(
^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/tests/./runtests.py", line 377, in django_tests
test_labels, state = setup_run_tests(*process_setup_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/tests/./runtests.py", line 298, in setup_run_tests
apps.set_installed_apps(settings.INSTALLED_APPS)
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/apps/registry.py", line 362, in
set_installed_apps
self.populate(installed)
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/apps/registry.py", line 116, in populate
app_config.import_models()
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/apps/config.py", line 269, in import_models
self.models_module = import_module(models_module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/.local/share/uv/python/cpython-3.12.11-linux-
x86_64-gnu/lib/python3.12/importlib/__init__.py", line 90, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in
_find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 999, in exec_module
File "<frozen importlib._bootstrap>", line 488, in
_call_with_frames_removed
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/tests/gis_tests/distapp/models.py", line 3, in
<module>
from ..utils import gisfield_may_be_null
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/tests/gis_tests/utils.py", line 39, in <module>
cannot_save_multipoint = connection.ops.mariadb and
geos_version_tuple() >= (3, 12)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/utils/functional.py", line 47, in __get__
res = instance.__dict__[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/contrib/gis/db/backends/mysql/operations.py",
line 20, in mariadb
return self.connection.mysql_is_mariadb
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/utils/functional.py", line 47, in __get__
res = instance.__dict__[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/mysql/base.py", line 436, in
mysql_is_mariadb
return "mariadb" in self.mysql_server_info.lower()
^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/utils/functional.py", line 47, in __get__
res = instance.__dict__[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/mysql/base.py", line 422, in
mysql_server_info
return self.mysql_server_data["version"]
^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/utils/functional.py", line 47, in __get__
res = instance.__dict__[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/mysql/base.py", line 398, in
mysql_server_data
with self.temporary_connection() as cursor:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/.local/share/uv/python/cpython-3.12.11-linux-
x86_64-gnu/lib/python3.12/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/base/base.py", line 695, in
temporary_connection
with self.cursor() as cursor:
^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/base/base.py", line 320, in cursor
return self._cursor()
^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/base/base.py", line 296, in
_cursor
self.ensure_connection()
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/base/base.py", line 278, in
ensure_connection
with self.wrap_database_errors:
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/utils.py", line 94, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/base/base.py", line 279, in
ensure_connection
self.connect()
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/base/base.py", line 256, in
connect
self.connection = self.get_new_connection(conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/django/db/backends/mysql/base.py", line 255, in
get_new_connection
connection = Database.connect(**conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/tests/.venv/lib/python3.12/site-
packages/MySQLdb/__init__.py", line 121, in Connect
return Connection(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/workspace/pull-requests-
noble/database/mysql_gis/label/noble-
pr/python/python3.12/tests/.venv/lib/python3.12/site-
packages/MySQLdb/connections.py", line 200, in __init__
super().__init__(*args, **kwargs2)
django.db.utils.OperationalError: (2002, "Can't connect to local MySQL
server through socket '/var/run/mysqld/mysqld.sock' (2)")
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36895>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019c1384bfea-bb1bdae6-4fe0-458b-831c-673ed013351a-000000%40eu-central-1.amazonses.com.