Date: Wed, 28 Sep 2022 05:13:42 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266669] net-mgmt/py-pysnmp: incompatibility with Python > 3.7 Message-ID: <bug-266669-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266669-7788>