GNU bug report logs - #68209
python-mysql-connector-python 8.0.33 test failures on some platforms

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; dated Tue, 2 Jan 2024 16:27:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 68209 <at> debbugs.gnu.org:


Received: (at 68209) by debbugs.gnu.org; 3 Jan 2024 16:33:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 03 11:33:10 2024
Received: from localhost ([127.0.0.1]:53111 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rL4B4-0000jT-Jq
	for submit <at> debbugs.gnu.org; Wed, 03 Jan 2024 11:33:10 -0500
Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]:44054)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1rL4B2-0000j6-Af
 for 68209 <at> debbugs.gnu.org; Wed, 03 Jan 2024 11:33:09 -0500
Received: by mail-qk1-x733.google.com with SMTP id
 af79cd13be357-7815ba075f9so477787685a.0
 for <68209 <at> debbugs.gnu.org>; Wed, 03 Jan 2024 08:33:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1704299579; x=1704904379; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=ZVQVVXl6taNFIjJWk0O55rKUN9osS1V2VKZXfjuR/7E=;
 b=Zf71p77i9hnN2FE7vQR3kHGZjHSwW7A/wuBmaw+QMcNI6meJCIiP3Cd0ghy6KRkv5D
 IVPvtv8kubRcklJEVuomZ71vMU4WjsJqPgP3Bcgjquu4cg1yAXXramGcpcFBSdCcL9L8
 z2qz23zmCbN8tZsiPW/XwMfmcbabTMPHckciOTTr32tjoRDY8i9Ah9eAJPvd8L/WUW2s
 7Xn5KdF+DF7bZvsYnLcr7DBdzetiaX9jeV9FMueqrDjetvRfF36pthDJvTS98mkF3OTb
 xyYfW5NApYqVo6xTsho5LX3DAx2K4zdKNO660OZpQOs3JWy4ZRtK2KtLCnhTe9G+iMa8
 cQOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1704299579; x=1704904379;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=ZVQVVXl6taNFIjJWk0O55rKUN9osS1V2VKZXfjuR/7E=;
 b=nigc8eCoLzkiuHeVst9c6utaW7yU/LYwLXzlV8u3TIA4QaGjtk2WCFPQ0lG5/1Gx1T
 AetyqIesuvu77PR7/UUDIJnH2e2ncxoogGeXszA05UYJbHGpIKLi4obV6n44wBMKHjCW
 VK5RO44zPTOdufZDm4lvVyfrsEkcTdMNrB9Yz/gGxEY2o8VaQBEPz40mI8149eHRY+7w
 G+qorjGbSYugCWfN1cd1SOhLZ19pvMYZ+JrLAZtdYu7G71zl/NoBJZ23sVNZCLJPiaIf
 AlL50IyzJ9Q6iLnJZz36NbuZqvXNG5IGggEa2OegWc5A2fmZ/yXFWhjn8hXm72bx3oz4
 psbA==
X-Gm-Message-State: AOJu0YzQgFTWPNXyrMq/Mr8eVzse4psM8DJALGE/sGlj4pGaUYAjx1wm
 XZ++eFqY57CBbIb27+nbvSytAuczLts=
X-Google-Smtp-Source: AGHT+IE0oQ6hzqhNxZTU+XU+fiiApvnTrhQ94buehLYZXfJcldo9Z++kIOClQ1CIDHE2BfUuODkEdw==
X-Received: by 2002:a05:620a:1a92:b0:781:5c81:94c4 with SMTP id
 bl18-20020a05620a1a9200b007815c8194c4mr16695543qkb.121.1704299579410; 
 Wed, 03 Jan 2024 08:32:59 -0800 (PST)
Received: from hurd (dsl-10-132-1.b2b2c.ca. [72.10.132.1])
 by smtp.gmail.com with ESMTPSA id
 az37-20020a05620a172500b007815f1592dasm5733932qkb.41.2024.01.03.08.32.58
 for <68209 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 03 Jan 2024 08:32:59 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: 68209 <at> debbugs.gnu.org
Subject: Re: bug#68209: python-mysql-connector-python.i686-linux 8.0.33 test
 failures
In-Reply-To: <87ttnvog60.fsf@HIDDEN> (Maxim Cournoyer's message of "Tue, 02
 Jan 2024 11:26:15 -0500")
References: <3312@HIDDEN> <87ttnvog60.fsf@HIDDEN>
Date: Wed, 03 Jan 2024 11:32:58 -0500
Message-ID: <877ckq74xx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 68209
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

This problem also affects powerpc64le:
https://ci.guix.gnu.org/build/3140804.

Retitling accordingly.

-- 
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#68209; Package guix. Full text available.
Changed bug title to 'python-mysql-connector-python 8.0.33 test failures on some platforms' from 'python-mysql-connector-python.i686-linux 8.0.33 test failures' Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Jan 2024 16:26:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 02 11:26:35 2024
Received: from localhost ([127.0.0.1]:51092 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rKhb8-0005Cc-PK
	for submit <at> debbugs.gnu.org; Tue, 02 Jan 2024 11:26:35 -0500
Received: from lists.gnu.org ([2001:470:142::17]:58858)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1rKhb5-0005CO-4h
 for submit <at> debbugs.gnu.org; Tue, 02 Jan 2024 11:26:33 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1rKhaw-0007qt-3i
 for bug-guix@HIDDEN; Tue, 02 Jan 2024 11:26:22 -0500
Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1rKhat-0006J6-DQ
 for bug-guix@HIDDEN; Tue, 02 Jan 2024 11:26:21 -0500
Received: by mail-qt1-x835.google.com with SMTP id
 d75a77b69052e-42830cf2e01so3231421cf.3
 for <bug-guix@HIDDEN>; Tue, 02 Jan 2024 08:26:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1704212777; x=1704817577; darn=gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=RNjqjJ4/kfrrENRQGGFpSWRGBDX+dVvOZ8AvKt8vZqA=;
 b=E0aS7DfcK7nDzDdyZviq5z8QVhJaKqCzStUSG7yfqK4F8Ky2k4NN/L5la3Fzow+XjC
 vfYqrF/gs6+l7mASIiOxUkXiXJ4mw69rKjQZCTx2AW4QKffhZvkk+EYLH69I44vVm/S2
 AgTixlfQ5iYXcnjD6BTQWF1re2ceLOKN5PiwdVIEtoHoCPk/ZMDRoebZBR7qRL74wpTQ
 vbivw6hsckgl0J9keCqKpx3NdDAsw5oiKZ3UUlHWHxp3E0vJAH1FWhF3PVkrt6KHwow9
 6isJAxhWYdG9lVDrTNKAzaN95n5S2l8tRed67owWgxeBf9puBw6KsbyVoySzCQ8PCgud
 xDfg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1704212777; x=1704817577;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=RNjqjJ4/kfrrENRQGGFpSWRGBDX+dVvOZ8AvKt8vZqA=;
 b=dDnu/IukRXmROdnh6yDpx8O3nCu8Zktx61RvXi45ulfF58uec2fpu0/EFuGoDyXOBd
 As1hSQO0wC5n+lF2rHRbUIxt6wYHRG73lf3vj2H3TqKTIfo9MIDMyA/SeMnCZlR0kiN5
 CiExEmeJ7cYA46NfLT/uwkDEpOHaVK3VI7Mv4verFn/SVMXknnYxwmFJv+kzqiDYSqtG
 rhuAvp0/cg1Pfi3pjyc0A66+eruhXRAmNprIm8PO1zx6RmGzMYzVmWuwZJOgwnGc/my8
 VrnEEe59MNg/SNssN4rHMbH/t1IpyGqKzZXvKff/3PxiaNwtM1H2PYVLVB9cAT+FNuEW
 H6ng==
X-Gm-Message-State: AOJu0YzRCAV3YzkB1FYBCHGeljMnnGA+C+AoYHf2N78oIKuttFt4i7TT
 oVLU9eyw6wUEy6bMckofUzsC/cTpG+0=
X-Google-Smtp-Source: AGHT+IFsvBjF2ui1K5Bo8hBSRPi+JS2fRCubtzGKS7r4dnLkLtLpfaUjiSvW7Uj0JsRA75Q8YWlHBw==
X-Received: by 2002:a05:622a:4cf:b0:427:e905:3b5d with SMTP id
 q15-20020a05622a04cf00b00427e9053b5dmr15415949qtx.102.1704212777095; 
 Tue, 02 Jan 2024 08:26:17 -0800 (PST)
Received: from hurd (dsl-10-132-1.b2b2c.ca. [72.10.132.1])
 by smtp.gmail.com with ESMTPSA id
 fh4-20020a05622a588400b00427dcdebe17sm8322899qtb.2.2024.01.02.08.26.16
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 02 Jan 2024 08:26:16 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: python-mysql-connector-python.i686-linux 8.0.33 test failures
In-Reply-To: <3312@HIDDEN> (cuirass@HIDDEN's message of "Mon, 01 Jan
 2024 22:06:29 +0000")
References: <3312@HIDDEN>
Date: Tue, 02 Jan 2024 11:26:15 -0500
Message-ID: <87ttnvog60.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::835;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qt1-x835.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi,

cuirass@HIDDEN (Cuirass) writes:

> <p>The build <b>python-mysql-connector-python.i686-linux</b> for specification <b>master</b> is broken. You can find the detailed information about this build <a
> href="https://ci.guix.gnu.org/build/3141408/details">here</a>.</p>
>
> https://ci.guix.gnu.org/build/3141408/details

The test suite fails like:

--8<---------------cut here---------------start------------->8---
======================================================================
ERROR: bugs.BugOra25397650.test_cext_verify_server_certificate
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection_cext.py", line 291, in _open_connection
    self._cmysql.connect(**cnx_kwargs)
_mysql_connector.MySQLInterfaceError: SSL connection error: error:00000001:lib(0):func(0):reason(1)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/tests/test_bugs.py", line 4643, in test_cext_verify_server_certificate
    self._verify_cert(config)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/tests/test_bugs.py", line 4628, in _verify_cert
    mysql.connector.connect(**config)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/pooling.py", line 293, in connect
    return CMySQLConnection(*args, **kwargs)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection_cext.py", line 120, in __init__
    self.connect(**kwargs)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/abstracts.py", line 1181, in connect
    self._open_connection()
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection_cext.py", line 296, in _open_connection
    raise get_mysql_exception(
mysql.connector.errors.InterfaceError: 2026 (HY000): SSL connection error: error:00000001:lib(0):func(0):reason(1)

======================================================================
ERROR: bugs.BugOra25397650.test_pure_verify_server_certificate
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/network.py", line 455, in switch_to_ssl
    self.sock = context.wrap_socket(
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 513, in wrap_socket
    return self.sslsocket_class._create(
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 1071, in _create
    self.do_handshake()
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 1342, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/tests/test_bugs.py", line 4636, in test_pure_verify_server_certificate
    self._verify_cert(config)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/tests/test_bugs.py", line 4628, in _verify_cert
    mysql.connector.connect(**config)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/pooling.py", line 294, in connect
    return MySQLConnection(*args, **kwargs)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection.py", line 164, in __init__
    self.connect(**kwargs)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/abstracts.py", line 1181, in connect
    self._open_connection()
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection.py", line 572, in _open_connection
    self._do_auth(
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection.py", line 267, in _do_auth
    self._socket.switch_to_ssl(
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/network.py", line 491, in switch_to_ssl
    raise InterfaceError(
mysql.connector.errors.InterfaceError: 2055: Lost connection to MySQL server at 'localhost:3306', system error: 1 [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)

======================================================================
ERROR: bugs.BugOra27434751.test_verify_server_name_cext_cnx
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection_cext.py", line 291, in _open_connection
    self._cmysql.connect(**cnx_kwargs)
_mysql_connector.MySQLInterfaceError: SSL connection error: error:00000001:lib(0):func(0):reason(1)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/tests/test_bugs.py", line 5826, in test_verify_server_name_cext_cnx
    self._verify_server_name_cnx(use_pure=False)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/tests/test_bugs.py", line 5812, in _verify_server_name_cnx
    cnx = mysql.connector.connect(**config)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/pooling.py", line 293, in connect
    return CMySQLConnection(*args, **kwargs)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection_cext.py", line 120, in __init__
    self.connect(**kwargs)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/abstracts.py", line 1181, in connect
    self._open_connection()
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection_cext.py", line 296, in _open_connection
    raise get_mysql_exception(
mysql.connector.errors.InterfaceError: 2026 (HY000): SSL connection error: error:00000001:lib(0):func(0):reason(1)

======================================================================
ERROR: bugs.BugOra27434751.test_verify_server_name_pure_cnx
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/network.py", line 455, in switch_to_ssl
    self.sock = context.wrap_socket(
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 513, in wrap_socket
    return self.sslsocket_class._create(
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 1071, in _create
    self.do_handshake()
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 1342, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/tests/test_bugs.py", line 5829, in test_verify_server_name_pure_cnx
    self._verify_server_name_cnx(use_pure=True)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/tests/test_bugs.py", line 5812, in _verify_server_name_cnx
    cnx = mysql.connector.connect(**config)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/pooling.py", line 294, in connect
    return MySQLConnection(*args, **kwargs)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection.py", line 164, in __init__
    self.connect(**kwargs)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/abstracts.py", line 1181, in connect
    self._open_connection()
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection.py", line 572, in _open_connection
    self._do_auth(
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection.py", line 267, in _do_auth
    self._socket.switch_to_ssl(
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/network.py", line 491, in switch_to_ssl
    raise InterfaceError(
mysql.connector.errors.InterfaceError: 2055: Lost connection to MySQL server at '127.0.0.1:3306', system error: 1 [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)

======================================================================
ERROR: connection.MySQLConnectionTests.test_connect_with_unix_socket
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/network.py", line 455, in switch_to_ssl
    self.sock = context.wrap_socket(
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 513, in wrap_socket
    return self.sslsocket_class._create(
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 1071, in _create
    self.do_handshake()
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 1342, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_EXPIRED] sslv3 alert certificate expired (_ssl.c:997)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/tests/test_connection.py", line 1347, in test_connect_with_unix_socket
    with cls(**config) as cnx:
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection.py", line 164, in __init__
    self.connect(**kwargs)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/abstracts.py", line 1181, in connect
    self._open_connection()
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection.py", line 572, in _open_connection
    self._do_auth(
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/connection.py", line 267, in _do_auth
    self._socket.switch_to_ssl(
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysql/connector/network.py", line 491, in switch_to_ssl
    raise InterfaceError(
mysql.connector.errors.InterfaceError: 2055: Lost connection to MySQL server at '127.0.0.1:3306', system error: 1 [SSL: SSLV3_ALERT_CERTIFICATE_EXPIRED] sslv3 alert certificate expired (_ssl.c:997)

======================================================================
ERROR: mysqlx_connection.MySQLxSessionTests.test_ssl_connection
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysqlx/connection.py", line 422, in set_ssl
    self._socket = context.wrap_socket(self._socket, server_hostname=self._host)
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 513, in wrap_socket
    return self.sslsocket_class._create(
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 1071, in _create
    self.do_handshake()
  File "/gnu/store/6lf6s5bzr8ssg641qdnbn41ldq9hf9mj-python-3.10.7/lib/python3.10/ssl.py", line 1342, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/tests/test_mysqlx_connection.py", line 1302, in test_ssl_connection
    session = mysqlx.get_session(config)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysqlx/connection.py", line 3277, in get_session
    return Session(settings)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysqlx/connection.py", line 2196, in __init__
    self._connection.connect()
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysqlx/connection.py", line 815, in connect
    self._set_tls_capabilities(caps)
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysqlx/connection.py", line 898, in _set_tls_capabilities
    self.stream.set_ssl(
  File "/tmp/guix-build-python-mysql-connector-python-8.0.33.drv-0/mysql-connector-python-8.0.33-src/build/testing/mysqlx/connection.py", line 424, in set_ssl
    raise InterfaceError(f"{err}") from err
mysqlx.errors.InterfaceError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)

----------------------------------------------------------------------
Ran 1378 tests in 210.781s

FAILED (errors=6)
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#68209; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.