Bug 2118329
| Summary: | [abrt] did: getaddrinfo(): socket.py:955:getaddrinfo:socket.gaierror: [Errno -2] Neznámé jméno nebo služba | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karel Volný <kvolny> | ||||||||||||||
| Component: | did | Assignee: | Petr Šplíchal <psplicha> | ||||||||||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||
| Priority: | unspecified | ||||||||||||||||
| Version: | 36 | CC: | lzachar, mfrodl, psplicha | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/4eeff74fe357db60adef5e6aaa0e877c6d46aa6f | ||||||||||||||||
| Whiteboard: | abrt_hash:80e00d7817b0b7a3a95c69c2ac62ba509d604f23; | ||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2023-03-31 15:29:19 UTC | Type: | --- | ||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
| Embargoed: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
Created attachment 1905600 [details]
File: backtrace
Created attachment 1905601 [details]
File: cpuinfo
Created attachment 1905602 [details]
File: environ
Created attachment 1905603 [details]
File: mountinfo
Created attachment 1905604 [details]
File: namespaces
Created attachment 1905605 [details]
File: open_fds
ok, it looks like it crashes due to Brno wiki being unavailable could it report which address is unreachable instead of throwing traceback without any clue what exactly is failing? Similar problem has been detected: I'm not sure why this happens. The backtrace suggests that some wiki address could not be resolved, but I do not know which one - looking into configuration, I have two configured, of which one is commented out due to lab inaccessibility, so this should not be the problem if it is commented out??? I would really help if did would report which address is inaccessible instead of throwing such confusing traceback ... p.s. I think I've already reported something like this when the (commented out) wiki went down, but can't find the previous bug? (why abrt doesn't see a duplicate? is the problem - and so the backtrace - that different???) reporter: libreport-2.17.2 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-b69a142ced40414cbbfdf6a5d50cd0f7.scope cmdline: /usr/bin/python3 -s /usr/bin/did last week crash_function: getaddrinfo exception_type: socket.gaierror executable: /usr/bin/did interpreter: python3-3.10.6-1.fc36.x86_64 kernel: 5.18.19-200.fc36.x86_64 package: did-0.19-1.fc36 reason: socket.py:955:getaddrinfo:socket.gaierror: [Errno -2] Neznámé jméno nebo služba runlevel: N 5 type: Python3 uid: 1000 (In reply to Karel Volný from comment #8) > p.s. I think I've already reported something like this when the (commented > out) wiki went down, but can't find the previous bug? (why abrt doesn't see > a duplicate? is the problem - and so the backtrace - that different???) ah cool, abrt has found the duplicate right after it let me write the problem description and confirm to report - when it already said that it was searching for duplicates and gave no result ... Thanks for reporting this and sorry for the slow response. Should be fixed by: https://github.com/psss/did/pull/303 The error provided to the user should look like this: > [ERROR] Unable to fetch wiki changes from 'http://some.invalid.url/' because of '[Errno -2] Name or service not known'. |
Version-Release number of selected component: did-0.19-1.fc36 Additional info: reporter: libreport-2.17.1 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-2ec6362e6cb449f0b8c63ccacdc969b8.scope cmdline: /usr/bin/python3 -s /usr/bin/did last week crash_function: getaddrinfo exception_type: socket.gaierror executable: /usr/bin/did interpreter: python3-3.10.6-1.fc36.x86_64 kernel: 5.18.16-200.fc36.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: socket.py:955:getaddrinfo:socket.gaierror: [Errno -2] Neznámé jméno nebo služba Traceback (most recent call last): File "/usr/bin/did", line 42, in <module> did.cli.main() File "/usr/lib/python3.10/site-packages/did/cli.py", line 223, in main user_stats.check() File "/usr/lib/python3.10/site-packages/did/stats.py", line 157, in check stat.check() File "/usr/lib/python3.10/site-packages/did/stats.py", line 157, in check stat.check() File "/usr/lib/python3.10/site-packages/did/stats.py", line 77, in check self.fetch() File "/usr/lib/python3.10/site-packages/did/plugins/wiki.py", line 44, in fetch for change in self.proxy.getRecentChanges( File "/usr/lib64/python3.10/xmlrpc/client.py", line 1122, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python3.10/xmlrpc/client.py", line 1464, in __request response = self.__transport.request( File "/usr/lib64/python3.10/xmlrpc/client.py", line 1166, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib64/python3.10/xmlrpc/client.py", line 1178, in single_request http_conn = self.send_request(host, handler, request_body, verbose) File "/usr/lib64/python3.10/xmlrpc/client.py", line 1291, in send_request self.send_content(connection, request_body) File "/usr/lib64/python3.10/xmlrpc/client.py", line 1321, in send_content connection.endheaders(request_body) File "/usr/lib64/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/usr/lib64/python3.10/http/client.py", line 975, in send self.connect() File "/usr/lib64/python3.10/http/client.py", line 941, in connect self.sock = self._create_connection( File "/usr/lib64/python3.10/socket.py", line 824, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/lib64/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Neznámé jméno nebo služba Local variables in innermost frame: host: 'wiki.brq.redhat.com' port: 80 family: 0 type: <SocketKind.SOCK_STREAM: 1> proto: 0 flags: 0 addrlist: []