Bug 1566344

Summary: Traceback from DNF
Product: [Fedora] Fedora Reporter: Miroslav Suchý <msuchy>
Component: dnfAssignee: Martin Hatina <mhatina>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 28CC: dmach, fzatlouk, mhatina, mizdebsk, packaging-team-maint, robatino, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedBlocker
Fixed In Version: dnf-2.7.5-12.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-19 22:08:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1469206, 1478068    

Description Miroslav Suchý 2018-04-12 06:37:27 UTC
Description of problem:
When I run `dnf upgrade` or `dnf module list` (TB is for the former) I get:
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.6/site-packages/dnf/cli/main.py", line 179, in user_main
    errcode = main(args)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in cli_run
    cli.run()
  File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1015, in run
    self._process_demands()
  File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 768, in _process_demands
    load_available_repos=self.demands.available_repos)
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 455, in fill_sack
    self._setup_excludes_includes()
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 196, in _setup_excludes_includes
    self.use_module_includes()
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 238, in use_module_includes
    update_include_nevras(repo_module.name, repo_module.conf.stream)
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 230, in update_include_nevras
    include_set, _ = self.repo_module_dict.get_includes(name, stream)
  File "/usr/lib/python3.6/site-packages/dnf/module/repo_module_dict.py", line 165, in get_includes
    version_dependencies = self.get_module_dependency(name, stream)
  File "/usr/lib/python3.6/site-packages/dnf/module/repo_module_dict.py", line 141, in get_module_dependency
    repo_module_version.requires():
ValueError: too many values to unpack (expected 2)

Version-Release number of selected component (if applicable):
dnf-2.7.5-9.fc28.noarch


Additional info:
Note that I have sever modules enabled since the last test day.

Comment 1 Martin Hatina 2018-04-12 06:58:27 UTC
Fixed by https://github.com/rpm-software-management/dnf/pull/1054

Comment 2 Martin Hatina 2018-04-12 06:59:28 UTC
*** Bug 1566327 has been marked as a duplicate of this bug. ***

Comment 3 František Zatloukal 2018-04-16 16:51:46 UTC
Discussed during the 2018-04-16 blocker review meeting: [1]

The decision to classify this bug as an AcceptedBlocker was made as it violates the following blocker criteria:

"accepted as a clear violation of the requirements for Modularity specified in https://bugzilla.redhat.com/show_bug.cgi?id=1537253#c6 , as FESCo has declared modularity blocking F28"

[1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2018-04-16/f28-blocker-review.2018-04-16-16.00.log.txt

Comment 4 Fedora Update System 2018-04-17 14:39:32 UTC
dnf-2.7.5-11.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-183f616405

Comment 5 Fedora Update System 2018-04-17 18:09:22 UTC
dnf-2.7.5-11.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-183f616405

Comment 6 František Zatloukal 2018-04-18 13:24:37 UTC
Fixed in dnf-2.7.5-11.fc28.

Comment 7 Fedora Update System 2018-04-18 14:30:57 UTC
dnf-2.7.5-12.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-183f616405

Comment 8 Fedora Update System 2018-04-19 08:53:27 UTC
dnf-2.7.5-12.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-183f616405

Comment 9 Fedora Update System 2018-04-19 22:08:02 UTC
dnf-2.7.5-12.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.