Bug 1402159

Summary: [abrt] dnf: main.py:75:main:OSError: [Errno 5] Erro de entrada/saída
Product: [Fedora] Fedora Reporter: Bruno Gambarini <detonadorx>
Component: dnfAssignee: rpm-software-management
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 25CC: detonadorx, jmracek, mluscon, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---Keywords: i18n, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/5a6b680292532f19f7eaaaafb3ce144e5605e382
Whiteboard: abrt_hash:4d9ac5e6d65f577c04ef0195acb089922c8be49e;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-23 15:21:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: _var_log_dnf.log
none
File: backtrace
none
File: dnf-makecache.log
none
File: environ none

Description Bruno Gambarini 2016-12-06 23:24:06 UTC
Version-Release number of selected component:
dnf-1.1.10-4.fc25

Additional info:
reporter:       libreport-2.8.0
cmdline:        /usr/libexec/system-python /usr/bin/dnf config-manager --add-repo=http://negativo17.org/repos/fedora-multimedia.repo
executable:     /usr/bin/dnf
kernel:         4.8.11-300.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
main.py:75:main:OSError: [Errno 5] Erro de entrada/saída

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnfpluginscore/lib.py", line 87, in urlopen
    librepo.download_url(url, fo.fileno(), handle)
  File "/usr/lib64/python3.5/site-packages/librepo/__init__.py", line 1598, in download_url
    return _librepo.download_url(handle, url, fd)
librepo.LibrepoException: (8, 'Curl error (28): Timeout was reached for http://negativo17.org/repos/fedora-multimedia.repo [Connection timed out after 120001 milliseconds]', 'An Curl handle error')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 112, in _main
    cli.run()
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 1099, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python3.5/site-packages/dnf-plugins/config_manager.py", line 106, in run
    self.add_repo()
  File "/usr/lib/python3.5/site-packages/dnf-plugins/config_manager.py", line 176, in add_repo
    f = dnfpluginscore.lib.urlopen(self, None, url, 'w+')
  File "/usr/lib/python3.5/site-packages/dnfpluginscore/lib.py", line 87, in urlopen
    librepo.download_url(url, fo.fileno(), handle)
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 174, in user_main
    errcode = main(args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 75, in main
    print(_("Terminated."), file=sys.stderr)
OSError: [Errno 5] Erro de entrada/saída

Local variables in innermost frame:
args: ['config-manager', '--add-repo=http://negativo17.org/repos/fedora-multimedia.repo']
base: <dnf.cli.cli.BaseCli object at 0x7f5256143eb8>

Comment 1 Bruno Gambarini 2016-12-06 23:24:14 UTC
Created attachment 1228716 [details]
File: _var_log_dnf.log

Comment 2 Bruno Gambarini 2016-12-06 23:24:15 UTC
Created attachment 1228717 [details]
File: backtrace

Comment 3 Bruno Gambarini 2016-12-06 23:24:17 UTC
Created attachment 1228718 [details]
File: dnf-makecache.log

Comment 4 Bruno Gambarini 2016-12-06 23:24:18 UTC
Created attachment 1228719 [details]
File: environ

Comment 5 Honza Silhan 2016-12-12 12:18:51 UTC
Thanks for the error. Have you interrupted the DNF process by ctrl+c or other way?

Comment 6 Jaroslav Mracek 2017-05-23 15:21:36 UTC
Unfortunately we cannot solve a problem without additional data. We think that dnf progress was interrupted by ctr+c and traceback is consequence of that. Hope that it will not appears again.