[Bug 282928] ports-mgmt/fastest_pkg crashes with a python runtime error on application start
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Nov 2024 06:59:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282928
Bug ID: 282928
Summary: ports-mgmt/fastest_pkg crashes with a python runtime
error on application start
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ehaupt@FreeBSD.org
Reporter: polyduekes@proton.me
CC: ehaupt@FreeBSD.org
Assignee: ehaupt@FreeBSD.org
Flags: maintainer-feedback?(ehaupt@FreeBSD.org)
CC: ehaupt@FreeBSD.org
Flags: maintainer-feedback?(ehaupt@FreeBSD.org)
Overview: running the program results in crash after some delay
Steps to Reproduce:
(1) start the program with fastest_pkg, fastest_pkg -v or fastest_pkg -t
timeout.
(2) the application will crash after few seconds with only the python crash
lines as output.
Actual Results:
the application crashed after few seconds with the following output:-
Traceback (most recent call last):
File "/usr/local/bin/fastest_pkg", line 33, in <module>
sys.exit(load_entry_point('fastest-pkg==0.2.1', 'console_scripts',
'fastest_pkg')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastest_pkg/fastest_pkg.py",
line 130, in main
mirrors = get_mirrors()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastest_pkg/fastest_pkg.py",
line 87, in get_mirrors
pkg_mirrors = resolver.resolve("_http._tcp.pkg.all.freebsd.org", "SRV")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dns/resolver.py", line 1320, in
resolve
timeout = self._compute_timeout(start, lifetime, resolution.errors)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dns/resolver.py", line 1076, in
_compute_timeout
raise LifetimeTimeout(timeout=duration, errors=errors)
dns.resolver.LifetimeTimeout: The resolution lifetime expired after 5.463
seconds: Server Do53:192.168.0.1@53 answered ; Server Do53:192.168.0.1@53
answered The DNS operation timed out.; Server Do53:192.168.0.1@53 answered ;
Server Do53:192.168.0.1@53 answered The DNS operation timed out.; Server
Do53:192.168.0.1@53 answered ; Server Do53:192.168.0.1@53 answered The DNS
operation timed out.
Expected Results:
the application should run properly with the command fastest_pkg and display
the pkg mirrors speed and tell the fastest pkg mirror
Build Date & Hardware: 2024-11-01T19:51:35+0000 build on FreeBSD-14.1-RELEASE
--
You are receiving this mail because:
You are the assignee for the bug.