From nobody Wed Sep 28 05:13:42 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mcl5M1Jjmz4cdqZ for ; Wed, 28 Sep 2022 05:13:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mcl5L6wsQz3nY5 for ; Wed, 28 Sep 2022 05:13:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mcl5L5h84zMyd for ; Wed, 28 Sep 2022 05:13:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28S5Dgdm074102 for ; Wed, 28 Sep 2022 05:13:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28S5DgcG074101 for ports-bugs@FreeBSD.org; Wed, 28 Sep 2022 05:13:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266669] net-mgmt/py-pysnmp: incompatibility with Python > 3.7 Date: Wed, 28 Sep 2022 05:13:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664342023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ydFgf97/EY1XDSlYgW+GmBIHFe8aV/KjV9IFvmTaUo0=; b=fdPcTl5NKdSBFOp/Jo1JUc2wCVZvoiPv2A58hPRUO7uvVgkB38/fCIXDJJ7BKnWD58C2Y0 qWEpASq0Z5727rdXQ9IEDXFGul0jZKiuBId9wc0NR2vUYqzRztGjK7nWqLLTuh5pCa+oPu oKEicGz/l3Nzi3+9RsdGcswKqEquz/dBAWS6A3rJeG4lfs7K0gyHi98eHLhxAipLjb2upF dzO5QU95LqPxIuc92j3sA0+F71WmGPde+LaqjpzIgqS0neSAughSHjk5YlzH2chvB1xFtD 3hHq2Tx5Aiwr+uZ5KxB0CylwCclHIzGDD6Anl+asb8jngluSJcR81AbU9I4xhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664342023; a=rsa-sha256; cv=none; b=YpPeL2XFa4tnbKRx2E1Om4tU/RzontPtO6r5RnHbni5ysjuEGTyYTdYualW+AjNwCPEUfG 3vFer0dyDZpx02viwfF2G7ZhQ22u5BLONA4t7RLIN4Y82cNzdSeEJo+rPKDMkdLclOzgak cc7r74ByGVzgfP/dzJkrOgO/OxaP33VgmY11JTRx+IjBtXsJhS1cCpoFus+eXJ99KNsRjb lG77yQb6arcYBBP49frLTNz/1/hJC9zmhzlMrur+/yLGqroQpCGSSlBJO7fkskwYkMumDW zSfOCbtSHO3VP/pULX5HurxlyKLkPWZSnSFx/vKkrHMJRBSctB1c35+VnE0XWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266669 Bug ID: 266669 Summary: net-mgmt/py-pysnmp: incompatibility with Python > 3.7 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ohartmann@walstatt.org CC: mhjacks@swbell.net CC: mhjacks@swbell.net Flags: maintainer-feedback?(mhjacks@swbell.net) running several boxes with both most recent 14-CURRENT, 13-STABE and offici= al 13.1-RELENG, I'm facing a problem utilizing port net-mgmt/py-pysnmp (most recent ports tree, of course) in combination with Python 3.9.=20 I'm playing around with Python and port net-mgmt/py-pysnmp to diff into sev= eral Cisco 4500 and 6000 type switches with a large amount of interfaces from wh= ich I'd like to retrieve informations. So far, getching single OIDs via a tutor= ial to be found here: https://www.ictshore.com/sdn/python-snmp-tutorial/ I run into a serious problem and I think it's related to the fact net-mgmt/py-pysnmp is only rated to be compatible with Python up to 3.7: Our switches report more than 500 interfaces for the department and retriev= ing at least 4 or 5 OIDs in a bulk request renders the bulkCmd to report crap beyond the 315th interface requested. Means, fetching ifIndex,ifDescr,ifInOctet,ifOutOctet,ifInErrors,ifOutErrors delivers on the first two OIDs just mentioned previously (no matter what order they are sent and retrieved) correct results, but with the 316th element, the OIDs starts= to shift into regions of the MIB I never requested for. 1-315 are as expected.= I checked on several FreeBSD flavours with no change of the behaviour as long= as I use Python 3.9 or Python 3.8 (I do not have a older FBSD at hand in the network of question, nor do I have a Linux box there at hand, sorry). The problem can be reproduced easily using recent FBSD, Python 3.9 and the above mentioned port and targeting network equipment reporting more than 315 interfaces. I'm new to Python, so be patient if this problem is a Noob's first-blood-er= ror. if one can confirm the observation and the observation reveals itself a true bug, then there should be a warning since this may reveal other serious issues. --=20 You are receiving this mail because: You are the assignee for the bug.=